loading...

Building and Testing Infrastructure with Github Actions 🏗

ari_hacks profile image Ari 🪐 ・1 min read

My Workflow

I've been learning a bit about Terraform this past month and thought it would be cool to leverage IaC in a CI/CD environment with GitHub Actions!

My workflow runs terratest to test the infrastructure then initializes, formats, plans, and applies changes based on the Terraform configuration. Changes are applied after a pull request has been merged.

To ensure Terraform runs in the correct directory the commit and PR message should be the directory name.

Submission Category:

DIY Deployments

Link to Code

GitHub logo ari-hacks / infra-github-actions

Testing and provisioning infrastructure with Terraform and Github Actions

infra-github-actions




Actions used in my workflow

Posted on by:

ari_hacks profile

Ari 🪐

@ari_hacks

Dev with a growing interest in cloud technology, machine learning, and coding for good! 👩🏾‍💻 ✊🏿 ✊🏾 ✊🏽

Discussion

pic
Editor guide