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

Showing deprecation warning in Terraform v0.12 #11

Open
sandeshacharya7 opened this issue Mar 26, 2020 · 0 comments
Open

Showing deprecation warning in Terraform v0.12 #11

sandeshacharya7 opened this issue Mar 26, 2020 · 0 comments

Comments

@sandeshacharya7
Copy link

Showing below warning in terraform plan

Warning: Interpolation-only expressions are deprecated

  on .terraform/modules/api-elb-ssl-policy/ELBSample-ELBDefaultCipherPolicy/main.tf line 2, in resource "aws_lb_ssl_negotiation_policy" "policy":
   2:   count         = "${var.create ? 1  : 0}"

Terraform 0.11 and earlier required all non-constant expressions to be
provided via interpolation syntax, but this pattern is now deprecated. To
silence this warning, remove the "${ sequence from the start and the }"
sequence from the end of this expression, leaving just the inner expression.

Template interpolation syntax is still used to construct strings from
expressions when the template includes multiple interpolation sequences or a
mixture of literal strings and interpolations. This deprecation applies only
to templates that consist entirely of a single interpolation sequence.

(and 119 more similar warnings elsewhere)
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