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

terraform validate support #68

Merged
merged 3 commits into from
Dec 7, 2020
Merged

terraform validate support #68

merged 3 commits into from
Dec 7, 2020

Conversation

paultyng
Copy link
Contributor

@paultyng paultyng commented Sep 1, 2020

The types don't seem to be in terraform-json yet, so need to add those there first.

@paultyng paultyng changed the base branch from master to json September 1, 2020 13:55
@paultyng paultyng force-pushed the validation branch 4 times, most recently from 8880293 to 2121f98 Compare September 1, 2020 23:10
Base automatically changed from json to master September 4, 2020 16:31
@paultyng paultyng added the enhancement New feature or request label Sep 4, 2020
@appilon appilon force-pushed the validation branch 2 times, most recently from f9d65bf to 6ca73f2 Compare December 1, 2020 21:56
@appilon appilon marked this pull request as ready for review December 6, 2020 20:00
@@ -0,0 +1,30 @@
package tfexec

// TODO: move these types to terraform-json
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this project 1.0? Would it be a breaking change to export these types, and then move them to tfjson and remove them here?

Copy link
Member

@radeksimko radeksimko Dec 7, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have just raised hashicorp/terraform-json#23 - will see if I can get it merged 🔜 then this would be resolved by just bumping tfjson to the latest version.

Copy link
Member

@kmoe kmoe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good stuff. This can go in once hashicorp/terraform-json#23 is merged, so we're not duplicating the types. @radeksimko, hashicorp/terraform-json#23 LGTM but I think the owners of that repo should approve.

Remove validate types as they have moved upstream
@appilon appilon merged commit 81f5df8 into master Dec 7, 2020
@appilon appilon deleted the validation branch December 7, 2020 22:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants