-
Notifications
You must be signed in to change notification settings - Fork 19
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
Feature: Partial environment variables #295
Comments
Thanks for raising this. I might try to have a look in the next few days/weeks but our APIs for env variables is not the best to interact with 😄 |
This issue has been marked as Stale because it has been open for 90 days with no activity. If you would like the issue to remain open, please comment on the issue or else it will be closed in 7 days. |
Hi @b-per, have you had any chance to look at this yet? |
Hi @a-schot . No, I haven't had the time. There are a few other new resources/datasources that we want to add as well and I don't know when we will have the time to tackle this one. |
@a-schot I just want to clarify what you are proposing as we have a similar requirement. As part of our CI pipeline we don't want to deploy changes to production until that part of the CI pipeline executes as a separate job. If we have 3 environments
Are you proposing that the Should the provider be able to apply single values at the project/environment/variable level instead ? |
Is your feature request related to a problem? Please describe.
When provisioning environment variables through the resource
dbtcloud_environment_variable
, the environment already has to be deployed in order to give a value to the environment variable. When deploying dbt environments using separate state files this causes an issue where you can only really deploy the environment variables during the deployment of the last environment (eg. PROD)Describe the solution you'd like
A
dbtcloud_partial_environment_variable
resource, akin to thedbtcloud_partial_license_map
resource.Describe alternatives you've considered
We are currently using
count = var.environment == local.last_environment ? 1 : 0
, but want a more flexible solutionAdditional context
The text was updated successfully, but these errors were encountered: