hashicorp/vault-guides

Error: Error refreshing state

joeauerbach opened this issue · 2 comments

This seems to have happened before, but I just got these errors (I had to downgrade to 0.11.14 thanks to issues mentioned elsewhere). Seems to be a duplicate of an error on another repo: #130

terraform apply

data.aws_iam_policy_document.assume_role: Refreshing state...
data.aws_ami.consul: Refreshing state...
data.aws_elb_service_account.consul_lb_access_logs: Refreshing state...
data.aws_elb_service_account.vault_lb_access_logs: Refreshing state...
data.aws_iam_policy_document.assume_role: Refreshing state...
data.aws_iam_policy_document.consul: Refreshing state...
data.aws_ami.vault: Refreshing state...
data.aws_availability_zones.main: Refreshing state...
data.aws_iam_policy_document.consul: Refreshing state...
data.aws_iam_policy_document.consul: Refreshing state...
data.aws_iam_policy_document.consul: Refreshing state...
data.aws_ami.hashistack: Refreshing state...
data.aws_iam_policy_document.assume_role: Refreshing state...
data.aws_iam_policy_document.assume_role: Refreshing state...

Error: Error refreshing state: 3 errors occurred:
* module.network_aws.data.aws_ami.hashistack: 1 error occurred:
* module.network_aws.data.aws_ami.hashistack: data.aws_ami.hashistack: Your query returned no results. Please change your search criteria and try again.

* module.vault_aws.data.aws_ami.vault: 1 error occurred:
* module.vault_aws.data.aws_ami.vault: data.aws_ami.vault: Your query returned no results. Please change your search criteria and try again.


* module.consul_aws.data.aws_ami.consul: 1 error occurred:
* module.consul_aws.data.aws_ami.consul: data.aws_ami.consul: Your query returned no results. Please change your search criteria and try again.

+1 from me. Terraform v0.11.14

The issue is still here. I originally commented in #130, but I guess here is the right place, since #130 is closed. The error shows up for 3 modules: consul-aws, network-aws and vault-aws.