File tree 2 files changed +9
-6
lines changed
2 files changed +9
-6
lines changed Original file line number Diff line number Diff line change 30
30
31
31
- name : Terraform Init
32
32
run : |
33
- cd infra && terraform init \
34
- -backend-config="bucket=${{ env.TERRAFORM_S3_STATEFILE_BUCKET }}" \
35
- -backend-config-key="key=${{ github.event.repository.name }}" \
36
- -backend-config="region=${{ env.AWS_REGION }}" \
37
- -backend-config="dynamodb_table=${{ env.TERRAFORM_DYNAMODB_LOCK_TABLE }}"
33
+ cd infra && terraform init
38
34
39
35
- name : Terraform Validate
40
36
run : terraform validate
Original file line number Diff line number Diff line change 1
1
terraform {
2
- backend "s3" {}
2
+ backend "s3" {
3
+ bucket = " buildrun-sa-east-1-terraform-s3-statefile"
4
+ dynamodb_table = " buildrun-terraform-state-lock"
5
+ # key = "terraform-baseline-project"
6
+ region = " sa-east-1"
7
+ # profile = "terraform"
8
+ # shared_credentials_file = "~/.aws/credentials"
9
+ }
3
10
}
You can’t perform that action at this time.
0 commit comments