Skip to content
This repository has been archived by the owner on Oct 14, 2022. It is now read-only.

Terraform > 0.11 support #172

Open
eddiewebb opened this issue Dec 4, 2019 · 0 comments
Open

Terraform > 0.11 support #172

eddiewebb opened this issue Dec 4, 2019 · 0 comments
Labels

Comments

@eddiewebb
Copy link
Contributor

Throws warning, that will soon become errors if not addressed.

Warning: Interpolation-only expressions are deprecated

  on modules/aws_sqs/main.tf line 27, in resource "aws_iam_role_policy" "mod_role_policy":
  27:   role = "${aws_iam_role.mod_role.id}"

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.

@eddiewebb eddiewebb added the bug label Dec 4, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant