-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for global variables (#33)
* Add support for global variables
- Loading branch information
Showing
7 changed files
with
449 additions
and
1 deletion.
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
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,30 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "terrakube_organization_variable Resource - terraform-provider-terrakube" | ||
subcategory: "" | ||
description: |- | ||
--- | ||
|
||
# terrakube_organization_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 | ||
|
||
### 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,19 @@ | ||
resource "terrakube_organization_variable" "sample1" { | ||
organization_id = data.terrakube_organization.org.id | ||
key = "sample-env-var" | ||
value = "sample-var2" | ||
description = "sample env var2213241243" | ||
category = "ENV" | ||
sensitive = false | ||
hcl = false | ||
} | ||
|
||
resource "terrakube_organization_variable" "sample2" { | ||
organization_id = data.terrakube_organization.org.id | ||
key = "sample-terra-var" | ||
value = "sample-terraform234" | ||
description = "sample env var222212341234" | ||
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
Oops, something went wrong.