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

Update data_source_yaml_to_json.md #9

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

Conversation

ravi-mrk
Copy link
Contributor

fix for Interpolation

fix for Interpolation
@ashald
Copy link
Owner

ashald commented Jun 10, 2019

This data source works only starting with Terraform v0.12 and therefore example is HCL2 that is default since that version. Given that it's impossible to use it with earlier versions of Terraform I don't think converting the the example to HCL1 would be of any benefit.

@ravi-mrk
Copy link
Contributor Author

I was executing these on Terraform v0.11.11 and with these interpolations in place, it was working for me. I just realised after your comments that my terraform version is out of date. Just upgraded to v0.12.1 and this is working with both the versions with interpolation.

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.

2 participants