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

Fix logic to create/delete/update sensitive variables #37

Merged
merged 2 commits into from
May 13, 2024
Merged

Conversation

alfespa17
Copy link
Member

Fix internal logic when creating resources with "sensitive=true" like the following:

resource "terrakube_organization_variable" "sample0" {
  organization_id = data.terrakube_organization.org.id
  key             = "org-sensitive"
  value           = "sensitive"
  description     = "sample"
  category        = "ENV"
  sensitive       = true
  hcl             = false
}

resource "terrakube_workspace_variable" "sample1" {
  organization_id = data.terrakube_organization.org.id
  workspace_id    = terrakube_workspace_cli.sample1.id
  key             = "workspace-sensitive"
  value           = "sensitive"
  description     = "Sample"
  category        = "ENV"
  sensitive       = true
  hcl             = false
}

Fix #36

@alfespa17 alfespa17 merged commit 6a67352 into main May 13, 2024
14 checks passed
@alfespa17 alfespa17 deleted the fix-sensitive branch May 13, 2024 21:23
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.

Provider produced inconsistent result after apply
1 participant