Skip to content
This repository has been archived by the owner on Oct 13, 2021. It is now read-only.

Generic ProviderConfig generation #10

Open
kasey opened this issue Feb 10, 2021 · 0 comments
Open

Generic ProviderConfig generation #10

kasey opened this issue Feb 10, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@kasey
Copy link
Collaborator

kasey commented Feb 10, 2021

Terraform gives us the schema of provider configuration fields which we can use to code generate a provider with initialization methods. Currently we are hard-coding these types and initialization methods. Since the pattern of having a username and password or token is fairly common, we could also have boilerplate config secret generation. The config yaml for the provider in /provider-configs/ could specify the names of fields in the secret which would be automatically mapped to the corresponding fields in the ProviderConfig -- these fields would also then be filtered out of the providerconfig spec.

@kasey kasey added the enhancement New feature or request label Feb 10, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant