Skip to content

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

Merged
alfespa17 merged 2 commits intomainfrom
fix-sensitive
May 13, 2024
Merged

Fix logic to create/delete/update sensitive variables#37
alfespa17 merged 2 commits intomainfrom
fix-sensitive

Conversation

@alfespa17
Copy link
Copy Markdown
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
@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