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

feat: Adding variable collection support #88

Merged
merged 6 commits into from
Nov 15, 2024
Merged

Conversation

alfespa17
Copy link
Member

@alfespa17 alfespa17 commented Nov 15, 2024

This will allow to use variable collecion inside the provider

resource "terrakube_collection" "collection" {
  name            = "TERRAKUBE_SUPER_COLLECTION"
  organization_id = data.terrakube_organization.org.id
  description     = "Hello Worldd!"
  priority        = 10
}

resource "terrakube_collection_item" "sample1" {
  organization_id = data.terrakube_organization.org.id
  collection_id   = terrakube_collection.collection.id
  key             = "sample-env-var"
  value           = "sample-value2222"
  description     = "sample env varrrrr"
  category        = "ENV"
  sensitive       = false
  hcl             = false
}

resource "terrakube_collection_reference" "sample1" {
  organization_id = data.terrakube_organization.org.id
  collection_id   = terrakube_collection.collection.id
  workspace_id    = terrakube_workspace_cli.sample1.id
  description     = "sample descriptionnnnqerq"
}

This feature is supported from Terrakube version 2.24.0-beta.5

Fix #87

dependabot bot and others added 6 commits June 6, 2024 03:44
Bumps [github.com/hashicorp/terraform-plugin-docs](https://github.com/hashicorp/terraform-plugin-docs) from 0.18.0 to 0.19.4.
- [Release notes](https://github.com/hashicorp/terraform-plugin-docs/releases)
- [Changelog](https://github.com/hashicorp/terraform-plugin-docs/blob/main/CHANGELOG.md)
- [Commits](hashicorp/terraform-plugin-docs@v0.18.0...v0.19.4)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/terraform-plugin-docs
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@alfespa17 alfespa17 merged commit 293927b into main Nov 15, 2024
14 checks passed
@alfespa17 alfespa17 deleted the collection-support branch November 15, 2024 22:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Variable Collection support
1 participant