-
Notifications
You must be signed in to change notification settings - Fork 657
Adding compatibility with actual terraform version #484
base: master
Are you sure you want to change the base?
Conversation
Yesterday I tried to use terraforming with to get ec2 instances and there was some uncompatibility with new version of terraform. In fact tags aren't declared as resource, but as a map so it changes to "tags = {" instead of "tags {" and keys in this shouldn't be specified as a String. After rebuilding it works correctly
What is the risk of this change on backward compatibility? Seems like the way this change is committed could a potential problem. |
Actually as I find out it terraforming now supports terraform between 0.9.3 - 0.12.0-alpha2 (October 30, 2018) so probably there will be more and more people who will have potential problems using terraforming. In my opinion it should be compatible with newer versions or it should be mentioned in README.md that you need older version of terraform |
I agree. I'd skip this commit to be in favor of a change to the README and maybe looking into supporting newer versions of terraform. |
I think that the It looks like PR #442 is trying to address the same issue. I am definitely interested in seeing Terraformer output HCL that's valid in 0.12. If there are any issues with either of the existing PRs, I'd be happy to dig in and help fix them. |
Yesterday I tried to use terraforming with to get ec2 instances and there was some uncompatibility with new version of terraform. In fact tags aren't declared as resource, but as a map so it changes to "tags = {" instead of "tags {" and keys in this shouldn't be specified as a String. After rebuilding it works correctly