tfe_admin_organization_settings

Manage admin settings for an organization. This resource requires the use of an admin token and is for Terraform Enterprise only. See example usage for incorporating an admin token in your provider config.

Example Usage

Basic usage:

provider "tfe" {
  hostname = var.hostname
  token    = var.token
}

provider "tfe" {
  alias    = "admin"
  hostname = var.hostname
  token    = var.admin_token
}

resource "tfe_organization" "a-module-producer" {
  name  = "my-org"
  email = "admin@company.com"
}

resource "tfe_organization" "a-module-consumer" {
  name  = "my-other-org"
  email = "admin@company.com"
}

resource "tfe_admin_organization_settings" "test-settings" {
  provider                              = tfe.admin
  organization                          = tfe_organization.a-module-producer.name
  workspace_limit                       = 15
  access_beta_tools                     = false
  global_module_sharing                 = false
  module_sharing_consumer_organizations = [
    tfe_organization.a-module-consumer.name
  ]
}

Argument Reference

The following arguments are supported:

Attributes Reference