Skip to content
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

Enabling HA after Creation - Fails - Does not first detach spoke from transit #10

Closed
bhp-aviatrix opened this issue Sep 22, 2022 · 1 comment

Comments

@bhp-aviatrix
Copy link

If a spoke is created without hagw enabled, and at a later date - ha is enabled (and terraform apply rerun), the hagw is not created.

module.mc-spoke["spoke5"].aviatrix_spoke_gateway.default: Still modifying... [id=bhp-mcna-lab-aws-use2-remotes, 10s elapsed]

│ Error: failed to enable HA Aviatrix Spoke Gateway: rest API enable_spoke_ha Post failed: Error: bhp-mcna-lab-aws-use2-remotes is attached to bhp-mcna-lab-aws-use2-transit, detach it first.

│ with module.mc-spoke["spoke5"].aviatrix_spoke_gateway.default,
│ on .terraform/modules/mc-spoke/main.tf line 36, in resource "aviatrix_spoke_gateway" "default":
│ 36: resource "aviatrix_spoke_gateway" "default" {

@Dennizz
Copy link
Contributor

Dennizz commented Oct 1, 2022

Addressed in 1.3.2 (requires Terraform version 1.2.0)

@Dennizz Dennizz closed this as completed Oct 1, 2022
Dennizz added a commit that referenced this issue Oct 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants