Skip to content
This repository has been archived by the owner on Jan 25, 2023. It is now read-only.

Terraform plan failures - google firewall #8

Closed
aktarali opened this issue Dec 5, 2017 · 2 comments
Closed

Terraform plan failures - google firewall #8

aktarali opened this issue Dec 5, 2017 · 2 comments

Comments

@aktarali
Copy link

aktarali commented Dec 5, 2017

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:

  • module.vault_cluster.output.firewall_rule_allow_inbound_health_check_id: Resource 'google_compute_firewall.allow_inboud_health_check' not found for variable 'google_compute_firewall.allow_inboud_health_check.id'
  • module.vault_cluster.output.firewall_rule_allow_inbound_health_check_url: Resource 'google_compute_firewall.allow_inboud_health_check' not found for variable 'google_compute_firewall.allow_inboud_health_check.self_link'

Thanks
Ali.

@josh-padnick
Copy link
Collaborator

This is a Terraform 0.11.x compatibility issue. See #6 (comment) for additional details.

Unfortunately Terraform 0.11.x had a backwards-incompatible change, and the discussion at hashicorp/terraform#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
Copy link
Collaborator

Fixed by #7.

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

No branches or pull requests

2 participants