Difference between revisions of "Warning: Quoted references are deprecated"
Jump to navigation
Jump to search
Line 2: | Line 2: | ||
│ Warning: Quoted references are deprecated | │ Warning: Quoted references are deprecated | ||
│ | │ | ||
− | │ on .terraform/modules/alb/modules/alb/elbv2.tf line 226, in resource "aws_lb_target_group" "this": | + | │ on .terraform/modules/alb/modules/alb/elbv2.tf line 226, in resource "[[aws_lb_target_group]]" "this": |
│ 226: [[depends_on]] = ["[[aws_lb]].this"] | │ 226: [[depends_on]] = ["[[aws_lb]].this"] | ||
│ | │ |
Revision as of 22:41, 21 October 2021
╷ │ Warning: Quoted references are deprecated │ │ on .terraform/modules/alb/modules/alb/elbv2.tf line 226, in resource "aws_lb_target_group" "this": │ 226: depends_on = ["aws_lb.this"] │ │ In this context, references are expected literally rather than in quotes. Terraform 0.11 and earlier required │ quotes, but quoted references are now deprecated and will be removed in a future version of Terraform. Remove the │ quotes surrounding this reference to silence this warning. │ │ (and 8 more similar warnings elsewhere) ╵
Related
See also
terraform init
[-upgrade | -reconfigure | -backend-config | -get-plugins=false | -verify-plugins=false ]
,--help
, Execution examples, Execution with errors,~/.terraformrc, required_providers
- Terraform, OpenTofu, Terrakube.org, Installation, Terraform AWS, Terraform GCP, Terraform commands, Terraform Cloud, Terraform Enterprise (TFE), HCL, HIL, meta-arguments, providers, modules, resource, provisioners, data sources, backends: remote backends, examples, configuration files, state files, variables, types, Terraform Registry, conditionals:
depends_on
, functions, Blocks, dynamic blocks, errors, Terragrunt, Terraformer, Terratest, Terraform certifications, Terraform map type, Terraform Associate, Terraform: list type,TF_VAR_, TF_LOG
, Terraform provider versioning, Terraform Style Conventions, Required version, Terraform plugin, Terraform Named Values, tags, Changelog,tfsec, tflint
, Operators, Expressions:for, splat
, Debugging, Namespaces, Terraform Landing Zones, CDKTF, Atmos
Advertising: