-
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 workspace_vcs resource (#44)
* Add support workspace_vcs resource
- Loading branch information
Showing
5 changed files
with
466 additions
and
2 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_vcs Resource - terraform-provider-terrakube" | ||
subcategory: "" | ||
description: |- | ||
--- | ||
|
||
# terrakube_workspace_vcs (Resource) | ||
|
||
|
||
|
||
|
||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `branch` (String) Workspace VCS branch | ||
- `description` (String) Workspace VCS description | ||
- `execution_mode` (String) Workspace VCS execution mode (remote or local) | ||
- `iac_type` (String) Workspace VCS IaC type (Supported values terraform or tofu) | ||
- `iac_version` (String) Workspace VCS VCS type | ||
- `name` (String) Workspace VCS name | ||
- `organization_id` (String) Terrakube organization id | ||
- `repository` (String) Workspace VCS repository | ||
|
||
### 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,10 @@ | ||
resource "terrakube_workspace_cli" "sample1" { | ||
organization_id = data.terrakube_organization.org.id | ||
name = "work-from-provider1" | ||
description = "sample" | ||
execution_mode = "remote" | ||
repository = "https://github.com/AzBuilder/terrakube-docker-compose.git" | ||
branch = "main" | ||
iac_type = "terraform" | ||
iac_version = "1.5.7" | ||
} |
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.