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

Cannot run the root-example #57

Closed
maxsxu opened this issue Mar 28, 2022 · 0 comments · Fixed by #58
Closed

Cannot run the root-example #57

maxsxu opened this issue Mar 28, 2022 · 0 comments · Fixed by #58
Assignees

Comments

@maxsxu
Copy link
Member

maxsxu commented Mar 28, 2022

Environment

  • Terraform v1.1.7 on darwin_amd64

Reproduce

Execute terraform apply under the examples/root-example directory will got below errors:

╷
│ Error: Reference to undeclared input variable
│ 
│   on main.tf line 32, in provider "aws":
│   32:   region = var.region
│ 
│ An input variable with the name "region" has not been declared. This variable can be declared with a variable "region" {} block.
╵
╷
│ Error: Reference to undeclared local value
│ 
│   on main.tf line 57, in module "sn_cluster":
│   57:   cluster_name             = local.cluster_name
│ 
│ A local value with the name "cluster_name" has not been declared.
╵
╷
│ Error: Reference to undeclared input variable
│ 
│   on main.tf line 75, in module "sn_cluster":
│   75:   region             = var.region
│ 
│ An input variable with the name "region" has not been declared. This variable can be declared with a variable "region" {} block.
@maxsxu maxsxu self-assigned this Mar 28, 2022
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

Successfully merging a pull request may close this issue.

1 participant