Difference between revisions of "Error: Reference to undeclared local value"
Jump to navigation
Jump to search
(4 intermediate revisions by one other user not shown) | |||
Line 2: | Line 2: | ||
A [[local value]] with the name "ecs_task_role" [[has not been declared]]. | A [[local value]] with the name "ecs_task_role" [[has not been declared]]. | ||
+ | |||
+ | Solution: review carefully your are using the same names defined in your [[locals]] block | ||
+ | |||
== Related == | == Related == | ||
− | * [[locals.tf]] | + | * <code>[[locals.tf]]</code> |
− | * [[locals]] | + | * <code>[[locals]]</code> |
* [[Terragrunt locals blocks]] | * [[Terragrunt locals blocks]] | ||
+ | * [[Error: Unsupported attribute]] | ||
== See also == | == See also == | ||
* {{terraform plan}} | * {{terraform plan}} | ||
+ | * {{terragrunt.hcl}} | ||
* {{tg}} | * {{tg}} | ||
[[Category:Terraform]] | [[Category:Terraform]] |
Latest revision as of 07:16, 30 March 2023
A local value with the name "ecs_task_role" has not been declared.
Solution: review carefully your are using the same names defined in your locals block
Related[edit]
See also[edit]
terraform plan
: [-refresh-only | -lock=false
|-target
|-var-file
|will be created
|--help
], Terraform plan errors, Terraform plan examples, Terraform plan execution errors, (known after apply)terragrunt.hcl
. blocks:remote_state, include, dependency, generate
- Terragrunt [
show | plan | run-all
|apply
|output
|destroy | terragrunt-info | render-json | graph-dependencies | fmt | hclfmt | validate |aws-provider-patch
], Terragrunt: inputs:,terragrunt --help, terragrunt.hcl
,tfswitch
, Blocks,generate
Advertising: