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

Catch incomplete Terraform resource examples #49362

Open
ptgott opened this issue Nov 22, 2024 · 0 comments
Open

Catch incomplete Terraform resource examples #49362

ptgott opened this issue Nov 22, 2024 · 0 comments

Comments

@ptgott
Copy link
Contributor

ptgott commented Nov 22, 2024

Applies To

integrations/terraform/examples/resources

Details

Since we hand-write example resource configurations, we need a way to prevent drift between our examples and the lists of resource fields that are generated from the source.

We can write a script that catches fields that exist in the examples but not the source and vice versa, and use that to edit our examples.

How will we know this is resolved?

We can verify that Terraform resource reference docs and resource examples include the same fields.

Related Issues

@ptgott ptgott changed the title Catch incomplete Terraform resources examples Catch incomplete Terraform resource examples Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant