-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Workspace Variables Support
- Loading branch information
Showing
5 changed files
with
428 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "terrakube_workspace_variable Resource - terraform-provider-terrakube" | ||
subcategory: "" | ||
description: |- | ||
--- | ||
|
||
# terrakube_workspace_variable (Resource) | ||
|
||
|
||
|
||
|
||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `category` (String) Variable category (ENV or TERRAFORM) | ||
- `description` (String) Variable description | ||
- `hcl` (Boolean) is hcl? | ||
- `key` (String) Variable key | ||
- `organization_id` (String) Terrakube organization id | ||
- `sensitive` (Boolean) is sensitive? | ||
- `value` (String) Variable value | ||
- `workspace_id` (String) Terrakube workspace id | ||
|
||
### Read-Only | ||
|
||
- `id` (String) Variable Id |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
resource "terrakube_workspace_variable" "sample1" { | ||
organization_id = data.terrakube_organization.org.id | ||
workspace_id = terrakube_workspace_cli.sample1.id | ||
key = "sample-env-var" | ||
value = "sample-value2222" | ||
description = "sample env var" | ||
category = "ENV" | ||
sensitive = false | ||
hcl = false | ||
} | ||
|
||
resource "terrakube_workspace_variable" "sample2" { | ||
organization_id = data.terrakube_organization.org.id | ||
workspace_id = terrakube_workspace_cli.sample1.id | ||
key = "sample-terra-var" | ||
value = "sample-TERRAFORM" | ||
description = "sample env var" | ||
category = "TERRAFORM" | ||
sensitive = false | ||
hcl = false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.