Terraform module to manage the following Terraform Cloud/Enterprise resource:
- tfe_registry_module
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 = "terraform@dhoppe.it"
}
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"
}
module "tfe_registry" {
source = "dhoppeIT/registry/tfe"
version = "~> 0.1"
display_identifier = "dhoppeIT/terraform-tfe-registry"
identifier = "dhoppeIT/terraform-tfe-registry"
oauth_token_id = module.tfe_oauth_client.oauth_token_id
}
Name | Version |
---|---|
terraform | >= 1.0 |
tfe | ~> 0.26 |
Name | Version |
---|---|
tfe | 0.38.0 |
No modules.
Name | Type |
---|---|
tfe_registry_module.default | resource |
Name | Description | Type | Default | Required |
---|---|---|---|---|
display_identifier | The display identifier for your VCS repository | string |
n/a | yes |
identifier | A reference to your VCS repository in the format / | string |
n/a | yes |
oauth_token_id | Token ID of the VCS Connection (OAuth Connection Token) to use | string |
n/a | yes |
Name | Description |
---|---|
id | The ID of the registry module |
module_provider | The provider of the registry module |
name | The name of registry module |
organization | The name of the organization associated with the registry module |
Created and maintained by Dennis Hoppe.
Apache 2 licensed. See LICENSE for full details.