terrajet
terrajet copied to clipboard
Consider generation terraform.SetupFn based on Terraform Provider Configuration
What problem are you facing?
Today, we leave implementing provider-specific SetupFn to the developer. This requires manually adding all configuration parameters which is usually postponed to later steps.
How could Terrajet help solve your problem?
We should consider generating terraform.SetupFn based on Terraform Provider Configuration if possible.
What would be the source information to that could help us know what goes to SetupFn
?
What would be the source information to that could help us know what goes to
SetupFn
?
I believe we could get most of this information (maybe not all) from the provider schema: https://github.com/integrations/terraform-provider-github/blob/3444b63ec2a8ed2b7665fe48f8747b88e6d5dcd8/github/provider.go#L15
AFAIR, similar information available in terraform providers schema -json
output.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.