File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed
Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -25,15 +25,15 @@ jobs:
2525 - name : Check Format
2626 run : terraform fmt -check -diff
2727
28- - name : Validate
29- run : terraform validate
30-
3128 - name : Bootstrap
3229 run : ./bootstrap.sh
3330
3431 - name : Init Terraform
3532 run : terraform init -input=false
3633
34+ - name : Validate
35+ run : terraform validate
36+
3737 - name : Deploy Infrastructure
3838 run : terraform apply -input=false -auto-approve
3939
Original file line number Diff line number Diff line change 11# /bin/bash
22
3- if aws s3api head-bucket --bucket " $TF_VAR_state_bucket " 2> /dev/null;
3+ if aws s3api head-bucket --bucket " iplocate-terraform-state " 2> /dev/null;
44then
55 echo " skiping create state bucket"
66else
77 echo " creating bucket for terraform state"
8- aws s3api create-bucket --acl private --bucket " $TF_VAR_state_bucket "
8+ aws s3api create-bucket --acl private --bucket " iplocate-terraform-state "
99fi
Original file line number Diff line number Diff line change 11terraform {
22 backend "s3" {
3- bucket = var . state_bucket
4- key = var . state_bucket_key
5- region = var . aws_region
3+ bucket = " iplocate-terraform-state "
4+ key = " tfstate "
5+ region = " us-east-1 "
66 }
77}
88
You can’t perform that action at this time.
0 commit comments