google_active_directory_domain

Creates a Microsoft AD domain

To get more information about Domain, see:

Example Usage - Active Directory Domain Basic

resource "google_active_directory_domain" "ad-domain" {
  domain_name       = "tfgen.org.com"
  locations         = ["us-central1"]
  reserved_ip_range = "192.168.255.0/24" 
}

Argument Reference

The following arguments are supported:


Attributes Reference

In addition to the arguments listed above, the following computed attributes are exported:

Timeouts

This resource provides the following Timeouts configuration options:

Import

Domain can be imported using any of these accepted formats:

In Terraform v1.5.0 and later, use an import block to import Domain using one of the formats above. For example:

import {
  id = "{{name}}"
  to = google_active_directory_domain.default
}

When using the terraform import command, Domain can be imported using one of the formats above. For example:

$ terraform import google_active_directory_domain.default {{name}}

User Project Overrides

This resource supports User Project Overrides.