diff --git a/.github/workflows/terraform.yml b/.github/workflows/terraform.yml index 6e7df42c1..5a69df16e 100644 --- a/.github/workflows/terraform.yml +++ b/.github/workflows/terraform.yml @@ -3,7 +3,7 @@ name: "Terraform" on: push: branches: - - main + - master pull_request: jobs: @@ -72,5 +72,5 @@ jobs: run: exit 1 - name: Terraform Apply - if: github.ref == 'refs/heads/main' && github.event_name == 'push' + if: github.ref == 'refs/heads/master' && github.event_name == 'push' run: terraform apply -auto-approve diff --git a/main.tf b/main.tf index e1d1b8045..f26dbd34a 100644 --- a/main.tf +++ b/main.tf @@ -1,3 +1,4 @@ +#adding comments to create a PR terraform { required_providers { aws = { @@ -12,10 +13,10 @@ terraform { required_version = "~> 1.0" backend "remote" { - organization = "REPLACE_ME" + organization = "ACG-Terraform-Labs-Bhuvi" workspaces { - name = "REPLACE_ME" + name = "demo-github-actions-apidriven" } } }