fpco / terraform-aws-foundation

Establish a solid Foundation on AWS with these modules for Terraform
MIT License
203 stars 99 forks source link

Fix quoted type variable in the dlm module #323

Closed mcgirr closed 4 years ago

mcgirr commented 4 years ago

This is a small fix for a deprecation warning we frequently see when using the dlm-lifecycle-policy module:

Warning: Quoted type constraints are deprecated

  on .terraform/modules/<REDACTED>/modules/dlm-lifecycle-policy/variables.tf line 3, in variable "name_prefix":
   3:   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 one more similar warning elsewhere)