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

Python library/script for modularizing a terraform provider #7

Open
gooseops opened this issue Jan 30, 2024 · 0 comments
Open

Python library/script for modularizing a terraform provider #7

gooseops opened this issue Jan 30, 2024 · 0 comments
Labels
idea An item that could turn into a focused project in the future

Comments

@gooseops
Copy link
Owner

Information

  • In order to support lots of terraform providers it would be nice to have a script that can modularize a terraform provider based on its documentation
  • The script would have to pull from a web page or github repo and parse the documentation which is usually pretty standardized amongst well-used terraform providers
  • The script would also have to output valid HCL
  • The requirement for outputting valid HCL might also require being able to parse HCL so finding or creating an HCL parser/library might be a necessary first step to this task

Deliverables

  • A script that can take a provider name as input, and reach out to documentation or webpage and scrape information needed form the documentation to create a terraform/opentofu module that can immediately be used as a terraform/opentofu module for provisioning resources.

Considerations

  • Keep it simple
  • It doesn't have to support every possible configuration or edge cases since it will be mostly boilerplate.
  • It is fine if it meets specific opinions about how a terraform module should look.
@gooseops gooseops added the idea An item that could turn into a focused project in the future label Jan 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
idea An item that could turn into a focused project in the future
Projects
None yet
Development

No branches or pull requests

1 participant