Skip to content

Terraform module to manage the following Terraform Cloud/Enterprise resources (tfe_team, tfe_team_organization_member, tfe_team_token)

License

Notifications You must be signed in to change notification settings

dhoppeIT/terraform-tfe-team

Repository files navigation

terraform-tfe-team

Terraform module to manage the following Terraform Cloud/Enterprise resources:

  • tfe_team
  • tfe_team_organization_member
  • tfe_team_token

Graph

Graph

Usage

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
}

Requirements

Name Version
terraform >= 1.0
tfe ~> 0.26

Providers

Name Version
tfe 0.39.0

Modules

No modules.

Resources

Name Type
tfe_team_organization_member.default resource
tfe_team_token.default resource
tfe_team.default data source

Inputs

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

Outputs

Name Description
id The ID of the token
token The generated token

Authors

Created and maintained by Dennis Hoppe.

License

Apache 2 licensed. See LICENSE for full details.

About

Terraform module to manage the following Terraform Cloud/Enterprise resources (tfe_team, tfe_team_organization_member, tfe_team_token)

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages