File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3232 uses : dflook/terraform-apply@v1
3333 with :
3434 path : terraform
35+ backend_config_file : prod.backend.tfvars
Original file line number Diff line number Diff line change 3232 uses : dflook/terraform-plan@v1
3333 with :
3434 path : terraform
35+ backend_config_file : prod.backend.tfvars
Original file line number Diff line number Diff line change 44# Ignore variables files
55* .auto.tfvars
66
7+ # Ignore local development variable file
8+ backend.tfvars
9+
710# Ignore override files
811* .tfoverride
912
Original file line number Diff line number Diff line change @@ -242,7 +242,7 @@ cd terraform
242242- Next initilize the terraform configuration
243243
244244```bash
245- terraform init
245+ terraform init --backend-config=backend.tfvars
246246```
247247
248248- Then generate and run an execution plan
Original file line number Diff line number Diff line change 11terraform {
22 backend "s3" {
3- bucket = " hfla-ops-terraform-state"
4- key = " devops-security/terraform.tfstate"
5- region = " us-west-2"
6- dynamodb_table = " hfla_ops_terraform_table"
7- encrypt = true
83 }
9- }
4+ }
Original file line number Diff line number Diff line change 1+ bucket = " hfla-ops-terraform-state"
2+ key = " devops-security/terraform.tfstate"
3+ region = " us-west-2"
4+ dynamodb_table = " hfla_ops_terraform_table"
5+ encrypt = true
You can’t perform that action at this time.
0 commit comments