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

bbl up fails on Azure (public IPs not available) #245

Closed
zmb3 opened this issue Jan 28, 2018 · 8 comments
Closed

bbl up fails on Azure (public IPs not available) #245

zmb3 opened this issue Jan 28, 2018 · 8 comments
Labels

Comments

@zmb3
Copy link
Contributor

zmb3 commented Jan 28, 2018

I downloaded the v6.0 binary from the releases page and tried to do a bbl plan + bbl up on Azure. The bbl up step fails with the following errors:

Error: Error applying plan:

3 error(s) occurred:

* output.external_ip: Resource 'azurerm_public_ip.bosh' does not have attribute 'ip_address' for variable 'azurerm_public_ip.bosh.ip_address'
* output.jumpbox_url: Resource 'azurerm_public_ip.bosh' does not have attribute 'ip_address' for variable 'azurerm_public_ip.bosh.ip_address'
* output.director_address: Resource 'azurerm_public_ip.bosh' does not have attribute 'ip_address' for variable 'azurerm_public_ip.bosh.ip_address'

I tore everything down, went back to v5.11.5, re-planned, and got the same result. It seems this may be related to hashicorp/terraform-provider-azurerm#310.

@cf-gitbot
Copy link

We have created an issue in Pivotal Tracker to manage this:

https://www.pivotaltracker.com/story/show/154708010

The labels on this github issue will be updated when the story is started.

@genevieve
Copy link
Contributor

We haven't seen that issue locally. I'll try to reproduce and potentially add their depends_upon workaround!

@genevieve
Copy link
Contributor

That issue seems to be releated to dynamically allocated IPs. We chose static allocation so the resource should be available at the time that the outputs are printed during terraform apply. We can try creating the data source for it and then the output can depend on it.

@genevieve
Copy link
Contributor

genevieve commented Jan 29, 2018

I reverted to terraform azure provider v1.0.0 and got a bbl environment. This might be tied to the latest release of the provider v1.1.0 from 3 days ago.

@zmb3
Copy link
Contributor Author

zmb3 commented Jan 29, 2018

I’ll check which version I was running locally as soon as I get to the office. We’re you able to reproduce with 1.1.0 then?

@genevieve
Copy link
Contributor

Yes, reproduced.

@genevieve
Copy link
Contributor

Made a PR to the azure provider here: hashicorp/terraform-provider-azurerm#772

@genevieve
Copy link
Contributor

We pinned the provider temporarily and this will be out in the next release of bbl!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants