-
Notifications
You must be signed in to change notification settings - Fork 113
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
Conversation
8880293
to
2121f98
Compare
78d4598
to
dd030c6
Compare
f9d65bf
to
6ca73f2
Compare
tfexec/validate_types.go
Outdated
@@ -0,0 +1,30 @@ | |||
package tfexec | |||
|
|||
// TODO: move these types to terraform-json |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
There was a problem hiding this 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
The types don't seem to be in terraform-json yet, so need to add those there first.