Azure / terraform-azurerm-manageddisk

Terraform Azure RM Managed Disk Module
MIT License
5 stars 15 forks source link

fixed map quotes #4

Open cryi-nnit opened 3 years ago

cryi-nnit commented 3 years ago

Using the module, I got the following error:


Error: Invalid quoted type constraints
│
│   on .terraform\modules\manageddisk\variables.tf line 48, in variable "tags":
│   48:   type        = "map"
│
│ 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. Remove the quotes around "map" and write map(string) instead to
│ explicitly indicate that the map elements are strings.
```'

I fixed it by removing quotes on map type.