Skip to content

Remove hashicorp/terraform-provider-aws build dependency #144

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

Merged
merged 3 commits into from
Aug 7, 2021

Conversation

wata727
Copy link
Member

@wata727 wata727 commented Jul 24, 2021

Previously, go generate ./... was too slow because it built github.com/hashicorp/terraform-provider-aws. This PR removes this dependency to improve build speed. Instead, use the JSON file generated in advance by the terraform providers schema command for schema validation. This is faster than building a lot of Go code.

In addition, add the rules/api/api.go file so that the rules/api directory is also subject to go generate. This allows go generate ./... to generate all auto-generate rules.

@wata727 wata727 merged commit 34323bf into master Aug 7, 2021
@wata727 wata727 deleted the remove_aws_provider_dep branch August 7, 2021 13:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant