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

06-organizations-and-modules/consul error regarding "aws_ami.consul" #28

Open
MarcPadrosJimenez opened this issue Jan 8, 2025 · 0 comments

Comments

@MarcPadrosJimenez
Copy link

In "06-organizations-and-modul/consul/", I first had an issue in "terraform init" where I got an error message regarding the tf.state. I solved it by executing "terraform init -reconfigure".
However, when I execute "terraform plan" or "terraform apply" I get the following error:

Error: Your query returned no results. Please change your search criteria and try again. │ │ with module.consul.data.aws_ami.consul, │ on .terraform\modules\consul\main.tf line 34, in data "aws_ami" "consul": │ 34: data "aws_ami" "consul" {

I don't understand what it is wrong. I would appreciate receiving any hint or help.
Thank you.

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

No branches or pull requests

1 participant