-
Notifications
You must be signed in to change notification settings - Fork 156
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
Supporting Variable Sets #391
Comments
Thanks for opening this feature request. What I would need is ability to add variable sets to a workspace. Creating and updating the variable sets would be nice option too. |
Thanks for submitting this, variable sets solve a problem very elegantly for us but cannot be used easily without the provider supporting them. |
Any ETA for this? |
I was told April 2022 timeframe. |
A couple of items that would be useful for customers like myself when implementing this provider: Seperate Set from Assignment objectsCan you please ensure that we have separate objects to handle the creation of the variable set, away from the assignment of that variable set. For example: Not this:
But rather this:
We would like this to be able to decouple the creation of global variable sets, from the assignment to workspaces. This particular pain point exists with the policy workspace, and it would be great if we could avoid it here! Handle Complex Terraform ObjectsThe current terraform variable class doesn't handle complex objects. If you want to output a complex object into a terraform managed variable (such as a map of objects), you must convert that object into a string (we normally use json encode). This limits the usefulness of the variable provider as you are not able to do type validation on the consuming workspace side. I have raised an issue here for resolution in the context of standard variables. In essence, handle:
|
This would be very useful 🤞 |
Plus one on this feature! |
That's what a thumbs up reaction is for.
In the future, please don't spam people with notifications just to express your support of an idea.
|
Nice one, we have Variable Sets supports merged in and available with 0.30.0! |
I'm getting an error adding a workspace to a varset. resource "tfe_variable_set" "this" { on ../modules/workspaces/main.tf line 46, in resource "tfe_variable_set" "this": |
It's `wonkspace_ids`, the docs are wrong here.
The documentation bug is being fixed, there's already a PR for it.
|
That’s sort of funny :) |
Use-cases
New feature released: https://www.hashicorp.com/blog/terraform-cloud-variable-sets-beta-now-available
Attempted Solutions
/
Proposal
It seems it's already part of API: https://www.terraform.io/docs/cloud/api/variable-sets.html
I recognize it's still in beta, but it would be nice have a resource in TFE for configuring it.
The text was updated successfully, but these errors were encountered: