-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to deploy along with single spoke (nonHA) deployment - "Gateway with dummy does not exist" #8
Comments
The 'test-non-ha' branch change helped deploy Avtx spoke + nat module without errors as before. (1)
2 locals { 3 locals { 'Terraform apply works without any issues and shows 'no changes' |
Hi, variables.tf > locals declaration. Replaced : " is_ha = var.spoke_gw_object.ha_gw_size != null" With : " is_ha = (var.spoke_gw_object.ha_gw_size == "") || (var.spoke_gw_object.ha_gw_size == null) ? "false" : "true"" Tests: RESULT: deploys module.spoke1_nat[0].aviatrix_gateway_dnat.dnat_rules_gw1[0] (2) Modify (nat_attached = false) and re-apply RESULT: deploys module.spoke_azure_211.aviatrix_spoke_gateway.default (3) Modify (nat_attached = true) and re-apply RESULT: deploys module.spoke1_nat[0].aviatrix_gateway_dnat.dnat_rules_gw1[0] (B) (1) Test spoke nonHA + nat - "github.com/terraform-aviatrix-modules/terraform-aviatrix-mc-overlap-nat-spoke.git?ref=test-non-ha" RESULT: module.spoke1_nat[0].aviatrix_gateway_dnat.dnat_rules_gw1[0] (2) Test spoke nonHA remove NAT and re-apply RESULT: OK data.aviatrix_spoke_gateway.morf (3) Only re-apply RESULT: OK |
Env:
Aviatrix nonHA spoke deployment (mc-spoke) + NAT (mc-overlap-nat-spoke)
Module 1.1.1
TF 1.5.2
Controller 7.1.x
Issue:
Following error noted during Terraform run :
Observations:
Issue with single spoke (non HA); the NAT resource blocks for gw2 still being parsed, HOWEVER, the single spoke snat and dnat is provisioned correctly, though ERROR above is still seen.
Deploying spokegw HA works fine.
The text was updated successfully, but these errors were encountered: