Skip to content

Commit 9ca2730

Browse files
committed
cd: debug
1 parent 874f279 commit 9ca2730

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/terraform.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
run: |
4040
cd infra && terraform init \
4141
-backend-config="bucket=${{ env.S3_BUCKET }}" \
42-
-backend-config="key=path/to/terraform.tfstate" \
42+
-backend-config="key=${{ github.event.repository.name }}" \
4343
-backend-config="region=${{ env.AWS_REGION }}" \
4444
-backend-config="dynamodb_table=${{ env.DYNAMODB_TABLE }}"
4545

infra/backend.tf

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
terraform {
22
backend "s3" {
3-
bucket = "buildrun-sa-east-1-terraform-s3-statefile"
4-
dynamodb_table = "buildrun-terraform-state-lock"
5-
key = "buildrun-infra-terraform-pipeline"
6-
region = "sa-east-1"
3+
# bucket = "buildrun-sa-east-1-terraform-s3-statefile"
4+
# dynamodb_table = "buildrun-terraform-state-lock"
5+
# key = "buildrun-infra-terraform-pipeline"
6+
# region = "sa-east-1"
77
# profile = "terraform"
88
# shared_credentials_file = "~/.aws/credentials"
99
}

0 commit comments

Comments
 (0)