Google Managed Microsoft Active Directory Domain Trust

This page shows how to write Terraform for Managed Microsoft Active Directory Domain Trust and write them securely.

google_active_directory_domain_trust (Terraform)

The Domain Trust in Managed Microsoft Active Directory can be configured in Terraform with the resource name google_active_directory_domain_trust. The following sections describe how to use the resource and its parameters.

Example Usage from GitHub

An example could not be found in GitHub.

Review your Terraform file for Google best practices

Shisho Cloud, our free checker to make sure your Terraform configuration follows best practices, is available (beta).


The fully qualified domain name. e.g., with the restrictions,

Whether the trusted side has forest/domain wide access or selective access to an approved set of resources.

The target DNS server IP addresses which can resolve the remote domain involved in the trust.

The fully qualified target domain name which will be in trust with the current domain.

The trust direction, which decides if the current domain is trusted, trusting, or both. Possible values: ["INBOUND", "OUTBOUND", "BIDIRECTIONAL"]

The trust secret used for the handshake with the target domain. This will not be stored.

The type of trust represented by the trust resource. Possible values: ["FOREST", "EXTERNAL"]

Explanation in Terraform Registry

Adds a trust between Active Directory domains To get more information about DomainTrust, see:

Frequently asked questions

What is Google Managed Microsoft Active Directory Domain Trust?

Google Managed Microsoft Active Directory Domain Trust is a resource for Managed Microsoft Active Directory of Google Cloud Platform. Settings can be wrote in Terraform.


Automate config file reviews on your commits

Fix issues in your infrastructure as code with auto-generated patches.