Using Git workflow with Terraform and AWS Backend. See the full blog post here. https://hyperdrive.tech/blog/using-github-actions-terraform-and-aws/
- fork/clone repo
- Modify
provider.tf
and addbucket
,key
,region
. (Bucket must be created outside terraform) - Add secret environments of
AWS_SECRET_ACCESS_KEY
andAWS_ACCESS_KEY_ID
info here - Enable branch protection on master
- Use Gitflow
git clone [email protected]:hyperdrivetech/AWS-Terraform-Github-Actions.git
MIT