Fix bug with incorrect db_subnet. Also add first retry after fail at TF due to diffs do not match bug
This commit is contained in:
parent
bb3604b74f
commit
a11ca1844d
|
@ -26,7 +26,7 @@ instance_type: "m5.large"
|
|||
## VPC containing Blockscout resources will be created as following:
|
||||
vpc_cidr: "10.0.0.0/16"
|
||||
public_subnet_cidr: "10.0.0.0/24"
|
||||
db_subnet_cidr: "10.0.1.0/24"
|
||||
db_subnet_cidr: "10.0.1.0/16"
|
||||
|
||||
## Internal DNS zone will looks like:
|
||||
dns_zone_name: "poa.internal"
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
backend: true
|
|
@ -0,0 +1 @@
|
|||
../../main_infra/defaults/main.yml
|
|
@ -58,6 +58,13 @@
|
|||
args:
|
||||
chdir: "roles/main_infra/files"
|
||||
when: user_answer.user_input|bool == True
|
||||
ignore_errors: True
|
||||
|
||||
- name: Ensure Terraform resources being provisioned
|
||||
shell: "echo yes | {{ terraform_location }} apply"
|
||||
args:
|
||||
chdir: "roles/main_infra/files"
|
||||
when: user_answer.user_input|bool == True
|
||||
|
||||
- name: Terraform output info into variable
|
||||
shell: "{{ terraform_location }} output"
|
||||
|
|
Loading…
Reference in New Issue