This is a workspace control for demo environment. You can use this, as well as the different branches to get access to different demos.
## Azure Demo Workspace
resource "tfe_workspace" "azure_terraform_demo_setup" {
name = "azure-terraform-demo"
organization = var.org_name
queue_all_runs = false
vcs_repo {
identifier = "someusername/azure-aws-demo"
branch = "main"
oauth_token_id = var.oauth_token_id
}
}
Name | Version |
---|---|
tfe | >= 0.15.1 |
Name | Version |
---|---|
tfe | >= 0.15.1 |
Name | Description | Type | Default | Required |
---|---|---|---|---|
azure_client_id | Azure Client ID | any |
n/a | yes |
azure_client_secret | Azure Clinet Secret | any |
n/a | yes |
azure_subscription_id | Azure Subscription ID | any |
n/a | yes |
azure_tenant_id | Azure Tenant ID | any |
n/a | yes |
password | Client Secret | any |
n/a | yes |
appId | Application ID | any |
n/a | yes |
oauth_token_id | Terraform Enterprise/Cloud VCS oauth token ID (found in settings/VCS) | any |
n/a | yes |
org_name | Terraform Enterprise/Cloud Organization name to create the workspaces in | any |
n/a | yes |
tfe_api_key | Terraform Enterprise/Cloud API used to connect and configure workspaces | any |
n/a | yes |
No output.
Maintainer:: HashiCorp (hello@hashicorp.com)
Source:: https://github.com/mtharpe/terraform-tfe-workspace-control
Issues:: https://github.com/mtharpe/terraform-tfe-workspace-control/issues
License:: Apache-2.0