Delete a variable
terrakube workspace variable delete [flags]
-h, --help help for delete
--id string Id of the variable (required)
--organization-id string Organization Id (required)
-w, --workspace-id string Workspace Id (required)
Delete a variable
terrakube workspace variable delete --organization-id e5ad0642-f9b3-48b3-9bf4-35997febe1fb -w 38b6635a-d38e-46f2-a95e-d00a416de4fd --id 38b6635a-d38e-46f2-a95e-d00a416de4fd
terrakube workspace variable create [flags]
-c, --category string Category of the new variable. Valid values are TERRAFORM or ENV
-d, --description string Description of the new variable
--hcl Whether to evaluate the value of the variable as a string of HCL code. Has no effect for environment variables.
-h, --help help for create
-k, --key string Key of the new variable (required)
--organization-id string Organization Id (required)
-s, --sensitive Whether the value is sensitive. If true then the variable is written once and not visible thereafter.
-v, --value string Value for the new variable
-w, --workspace-id string Workspace Id (required)
terrakube workspace variable create --organization-id e5ad0642-f9b3-48b3-9bf4-35997febe1fb -w 38b6635a-d38e-46f2-a95e-d00a416de4fd -k tag_name -v "Hola mundo" --hcl=false --sensitive=false --category TERRAFORM
Update a variable
terrakube workspace variable update [flags]
-c, --category string Category of the variable. Valid values are TERRAFORM or ENV
-d, --description string Description of the variable
--hcl Whether to evaluate the value of the variable as a string of HCL code. Has no effect for environment variables.
-h, --help help for update
--id string Id of the variable (required)
-k, --key string Key of the variable
--organization-id string Organization Id (required)
-s, --sensitive Whether the value is sensitive. If true then the variable is written once and not visible thereafter.
-v, --value string Value of the variable
-w, --workspace-id string Workspace Id (required)
Update the value of the variable
terrakube workspace variable update --organization-id e5ad0642-f9b3-48b3-9bf4-35997febe1fb -w 38b6635a-d38e-46f2-a95e-d00a416de4fd --id 38b6635a-d38e-46f2-a95e-d00a416de4fd -v "new value"