hashicorp / terraform-google-vault

A Terraform Module for how to run Vault on Google Cloud using Terraform and Packer
Apache License 2.0
113 stars 75 forks source link

Terraform plan failures - google firewall #8

Closed aktarali closed 6 years ago

aktarali commented 6 years ago

Hi;

I am using 0.0.3 version and getting the following errors, can someone please help. Not sure why this is happening.

google aaktar$ terraform plan Refreshing Terraform state in-memory prior to plan... The refreshed state will be used to calculate this plan, but will not be persisted to local or remote state storage.

data.template_file.startup_script_nomad_client: Refreshing state... data.template_file.startup_script_vault: Refreshing state... data.template_file.startup_script_nomad_consul_server: Refreshing state...


Error: Error running plan: 2 error(s) occurred:

Thanks Ali.

josh-padnick commented 6 years ago

This is a Terraform 0.11.x compatibility issue. See https://github.com/hashicorp/terraform-google-vault/issues/6#issuecomment-347621870 for additional details.

Unfortunately Terraform 0.11.x had a backwards-incompatible change, and the discussion at https://github.com/hashicorp/terraform/issues/16726 is now resolved so we'll need to make this change, probably sometime next week.

It's a straightforward set of updates to the output values if anyone wants to open a PR for this! See #7 for a working example.

josh-padnick commented 6 years ago

Fixed by #7.