lorenzoaiello / terraform-aws-rds-alarms

This Terraform module manages Cloudwatch Alarms for an RDS instance.
https://registry.terraform.io/modules/lorenzoaiello/rds-alarms/aws
MIT License
37 stars 36 forks source link

Remove deprecated quoted type constraints #3

Closed ghost closed 4 years ago

ghost commented 4 years ago

Removing deprecated double quotes from list type variables.


Warning: Quoted type constraints are deprecated

  on .terraform/modules/aws-shared-rds-alarms/terraform-aws-rds-alarms-1.0.1/variables.tf line 31, in variable "actions_alarm":
  31:   type        = "list"

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 "list" and write
list(string) instead to explicitly indicate that the list elements are
strings.