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

fixed map quotes #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

cryi-nnit
Copy link

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.

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

Successfully merging this pull request may close these issues.

None yet

1 participant