Home » Science & Technology » Deploy to AWS with Terraform within a GitHub Action

Deploy to AWS with Terraform within a GitHub Action

Written By CloudScalr on Sunday, Jul 31, 2022 | 11:57 AM

 
How to deploy to AWS with Terraform within a GitHub Action. My blog : https://cloudscalr.com Project repo : https://github.com/KasteM34/github-oidc-terraform GitHub Action : https://github.com/KasteM34/github-oidc-terraform/blob/main/github-action.yml IAM trusted entity : https://github.com/KasteM34/github-oidc-terraform/blob/main/policies/role-trusted-entity.json IAM policy for terraform states : https://github.com/KasteM34/github-oidc-terraform/blob/main/policies/s3-bucket-state.json Don't forget to calculate how much solutions will cost you on AWS before creating resources. mistakes can be expensive : https://calculator.aws/