-
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.
Add support to create cli driven workflow workspaces
- Loading branch information
Showing
5 changed files
with
455 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,29 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "terrakube_workspace_cli Resource - terraform-provider-terrakube" | ||
subcategory: "" | ||
description: |- | ||
--- | ||
|
||
# terrakube_workspace_cli (Resource) | ||
|
||
|
||
|
||
|
||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `description` (String) Workspace CLI description | ||
- `execution_mode` (String) Workspace CLI execution mode (remote or local) | ||
- `iac_type` (String) Workspace CLI IaC type (Supported values terraform or tofu) | ||
- `iac_version` (String) Workspace CLI IaC type | ||
- `name` (String) Workspace CLI name | ||
- `organization_id` (String) Terrakube organization id | ||
|
||
### Read-Only | ||
|
||
- `id` (String) Workspace CLI 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,17 @@ | ||
resource "terrakube_workspace_cli" "sample1" { | ||
organization_id = data.terrakube_organization.org.id | ||
name = "work-from-provider1" | ||
description = "sample" | ||
execution_mode = "remote" | ||
iac_type = "terraform" | ||
iac_version = "1.5.7" | ||
} | ||
|
||
resource "terrakube_workspace_cli" "sample2" { | ||
organization_id = data.terrakube_organization.org.id | ||
name = "work-from-provider2" | ||
description = "sample" | ||
execution_mode = "local" | ||
iac_type = "tofu" | ||
iac_version = "1.7.0" | ||
} |
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.