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

Fix for Terraform 0.13 #7

Open
hongkongkiwi opened this issue Oct 15, 2020 · 0 comments
Open

Fix for Terraform 0.13 #7

hongkongkiwi opened this issue Oct 15, 2020 · 0 comments

Comments

@hongkongkiwi
Copy link

Using this with Terraform 0.13 produces a lot of warnings because the module uses the depreciated ways of handling things. e.g.

Warning: Interpolation-only expressions are deprecated

  on .terraform/modules/ssm_iam_role_chamber.label/main.tf line 2, in locals:
   2:   enabled    = "${var.enabled == "true" ? true : false }"

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 41 more similar warnings elsewhere)


Warning: Quoted type constraints are deprecated

  on .terraform/modules/ssm_iam_role_chamber.label/variables.tf line 19, in variable "delimiter":
  19:   type        = "string"

Terraform 0.11 and earlier required type constraints to be given in quotes,
but that form is now deprecated and will be removed in a future version of
Terraform. To silence this warning, remove the quotes around "string".

(and 13 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