This is a workspace control for demo environment. You can use this, as well as the different branches to get access to different demos.
## Consul Demo Workspace
resource "tfe_workspace" "aws_consul_demo_setup" {
name = "aws-consul-demo"
organization = var.org_name
queue_all_runs = false
vcs_repo {
identifier = "someusername/consul-aws-demo"
branch = "master"
oauth_token_id = var.oauth_token_id
}
}
Name | Version |
---|---|
tfe | >= 0.15.1 |
Name | Version |
---|---|
tfe | >= 0.15.1 |
Name | Description | Type | Default | Required |
---|---|---|---|---|
aws_access_key_id | AWS Access key | any |
n/a | yes |
aws_region | AWS Region | string |
"us-east-2" |
no |
aws_secret_access_key | AWS Secret Access key | any |
n/a | yes |
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 |
google_credentials | Google Cloud Credentials | any |
n/a | yes |
google_project | Google Cloud Project | any |
n/a | yes |
google_region | Google Cloud Region | any |
n/a | yes |
instance_password | Password to connect to instances | any |
n/a | yes |
instance_username | Username to connect to instances | 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 |
private_key | Private key to connect to instances | any |
n/a | yes |
public_key | Public key to connect to instances | 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