Terraform Testing and Release

terraform-tfe-workspace-control

This is a workspace control for demo environment. You can use this, as well as the different branches to get access to different demos.

⚠️ This will require a TFE API key as well as well as admin access to the workspace/org that you wouuld like to control.

Example

## 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
  }
}

Requirements

Name Version
tfe >= 0.15.1

Providers

Name Version
tfe >= 0.15.1

Inputs

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

Outputs

No output.

License and Maintainer

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