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

azurestack_lb public_ip_address_id Cycle issue #126

Open
stravze opened this issue Jan 22, 2021 · 0 comments
Open

azurestack_lb public_ip_address_id Cycle issue #126

stravze opened this issue Jan 22, 2021 · 0 comments

Comments

@stravze
Copy link

stravze commented Jan 22, 2021

Unable to assign azurestack load balancer with a public ip address, copied the supporting documentation

resource "azurestack_lb" "lb" {
  name                              = var.lb_name
  location                          = var.location
  resource_group_name               = var.rg_name

  frontend_ip_configuration {
    name                            = "frontendIP"
    public_ip_address_id            = "${azurestack_public_ip.pips.id}"
  }

Keep getting the following error

Error: Cycle: azurestack_public_ip.pips, azurestack_lb.lb

I have tried the following:
different terraform versions 0.12.2 + 0.12.20 + 0.13.5
different stack provider versions 0.8.1 + 0.9.0

I can provision a public ip address and the load balancer but as soon as I assign the public ip address to the load balancer
public_ip_address_id = "${azurestack_public_ip.pips.id}"

I get the above error

I can successfully provision a AzureStack LB using private ip address etc.

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

1 participant