Terraform module to manage the following Terraform Cloud/Enterprise resources:
- tfe_organization
- tfe_organization_membership
- tfe_organization_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]"
}| Name | Version |
|---|---|
| terraform | >= 1.0 |
| tfe | ~> 0.26 |
| Name | Version |
|---|---|
| tfe | 0.38.0 |
No modules.
| Name | Type |
|---|---|
| tfe_organization.default | resource |
| tfe_organization_membership.default | resource |
| tfe_organization_token.default | resource |
| Name | Description | Type | Default | Required |
|---|---|---|---|---|
| collaborator_auth_policy | Authentication policy | string |
"password" |
no |
| cost_estimation_enabled | Whether or not the cost estimation feature is enabled for all workspaces in the organization | bool |
false |
no |
| Admin email address | string |
n/a | yes | |
| force_regenerate | If set to true, a new token will be generated even if a token already exists | bool |
false |
no |
| members | Email of the users to add | list(string) |
[] |
no |
| name | Name of the organization | string |
n/a | yes |
| owners_team_saml_role_id | The name of the 'owners' team | string |
null |
no |
| send_passing_statuses_for_untriggered_speculative_plans | Whether or not to send VCS status updates for untriggered speculative plans | bool |
false |
no |
| session_remember_minutes | Session expiration | number |
20160 |
no |
| session_timeout_minutes | Session timeout after inactivity | number |
20160 |
no |
| Name | Description |
|---|---|
| id | The organization membership ID |
| name | The name of the organization |
| token | The generated token |
| user_id | The ID of the users associated with the organization membership |
Created and maintained by Dennis Hoppe.
Apache 2 licensed. See LICENSE for full details.