File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 39
39
run : |
40
40
cd infra && terraform init \
41
41
-backend-config="bucket=${{ env.S3_BUCKET }}" \
42
- -backend-config="key=path/to/terraform.tfstate " \
42
+ -backend-config="key=${{ github.event.repository.name }} " \
43
43
-backend-config="region=${{ env.AWS_REGION }}" \
44
44
-backend-config="dynamodb_table=${{ env.DYNAMODB_TABLE }}"
45
45
Original file line number Diff line number Diff line change 1
1
terraform {
2
2
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"
7
7
# profile = "terraform"
8
8
# shared_credentials_file = "~/.aws/credentials"
9
9
}
You can’t perform that action at this time.
0 commit comments