vault-guides icon indicating copy to clipboard operation
vault-guides copied to clipboard

Error: Error refreshing state

Open joeauerbach opened this issue 5 years ago • 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: https://github.com/hashicorp/vault-guides/issues/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.

joeauerbach avatar Oct 23 '19 19:10 joeauerbach

+1 from me. Terraform v0.11.14

bobsmart avatar Dec 16 '19 17:12 bobsmart

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.

rozcietrzewiacz avatar Jan 30 '23 14:01 rozcietrzewiacz