Terraform module to manage the following Terraform Cloud/Enterprise resources:
- tfe_team
- tfe_team_organization_member
- tfe_team_token
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]"
members = [
"[email protected]"
]
}
module "tfe_team" {
source = "dhoppeIT/team/tfe"
version = "~> 0.1"
name = "owners"
organization = module.tfe_organization.name
organization_membership_id = module.tfe_organization.id
}
Name | Version |
---|---|
terraform | >= 1.0 |
tfe | ~> 0.26 |
Name | Version |
---|---|
tfe | 0.39.0 |
No modules.
Name | Type |
---|---|
tfe_team_organization_member.default | resource |
tfe_team_token.default | resource |
tfe_team.default | data source |
Name | Description | Type | Default | Required |
---|---|---|---|---|
force_regenerate | If set to true, a new token will be generated even if a token already exists | bool |
false |
no |
name | Name of the team | string |
n/a | yes |
organization | Name of the organization | string |
n/a | yes |
organization_membership_id | ID of the organization membership | list(string) |
n/a | yes |
Name | Description |
---|---|
id | The ID of the token |
token | The generated token |
Created and maintained by Dennis Hoppe.
Apache 2 licensed. See LICENSE for full details.