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

Changed deprecated map function to modern tomap #13

Merged
merged 1 commit into from
Apr 18, 2021
Merged

Changed deprecated map function to modern tomap #13

merged 1 commit into from
Apr 18, 2021

Conversation

sitole
Copy link
Contributor

@sitole sitole commented Apr 18, 2021

map function was deprecated in Terraform v0.12 and recommended replacement is with tomap({ ... }).
Solves #12 issue

@sitole sitole changed the title Changed deprecated map function to modern tomap #12 Changed deprecated map function to modern tomap Apr 18, 2021
@squidfunk
Copy link
Owner

Perfect, thanks!

@squidfunk squidfunk merged commit d9fdf66 into squidfunk:master Apr 18, 2021
@maciejmajewski
Copy link
Contributor

I think this still isn't working correctly on 0.15.

I am getting errors like:

│ On .terraform/modules/something.cors/headers.tf line 28: Expected an attribute value, introduced by an equals sign ("=").

key/value pairs should be delimited by =, syntax with , was specific for removed map function

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.

3 participants