How to: Deploy Terraform to AWS with GitHub Actions authenticated with OpenID Connect
Xebia
MAY 15, 2023
. - name: Setup Terraform uses: hashicorp/setup-terraform@v2 with: terraform_version: 1.4.6 - name: Terraform Init run: terraform init - name: Terraform Format run: terraform fmt -check - name: Terraform Plan run: terraform plan -input=false # On push to "main", deploy the Terraform infrastructure - name: Terraform Apply if: github.ref == 'refs/heads/main' (..)
Let's personalize your content