Terraform module to manage the following Terraform Cloud/Enterprise resource:
- tfe_oauth_client
Copy and paste into your Terraform configuration, insert the variables and run terraform init:
module "tfe_organization" {
source = "dhoppeIT/organization/tfe"
version = "~> 0.1"
name = "dhoppeIT"
email = "[email protected]"
}
module "tfe_oauth_client" {
source = "dhoppeIT/oauth_client/tfe"
version = "~> 0.2"
organization = module.tfe_organization.name
api_url = "https://api.github.com"
http_url = "https://github.com"
oauth_token = "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"
service_provider = "github"
}| Name | Version |
|---|---|
| terraform | >= 1.0 |
| tfe | ~> 0.26 |
| Name | Version |
|---|---|
| tfe | 0.39.0 |
No modules.
| Name | Type |
|---|---|
| tfe_oauth_client.default | resource |
| Name | Description | Type | Default | Required |
|---|---|---|---|---|
| api_url | The base URL of your VCS provider's API | string |
n/a | yes |
| http_url | The homepage of your VCS provider | string |
n/a | yes |
| key | The OAuth Client key can refer to a Consumer Key, Application Key, or another type of client key for the VCS provider | string |
null |
no |
| oauth_token | The token string you were given by your VCS provider | string |
null |
no |
| organization | Name of the organization | string |
n/a | yes |
| private_key | The text of the private key associated with your Azure DevOps Server account | string |
null |
no |
| rsa_public_key | Required for BitBucket Server in conjunction with the secret | string |
null |
no |
| secret | The OAuth Client secret is used for BitBucket Server, this secret is the the text of the SSH private key associated with your BitBucket Server Application Link | string |
null |
no |
| service_provider | The VCS provider being connected with | string |
n/a | yes |
| Name | Description |
|---|---|
| id | The ID of the OAuth client |
| oauth_token_id | The ID of the OAuth token associated with the OAuth client |
Created and maintained by Dennis Hoppe.
Apache 2 licensed. See LICENSE for full details.