google_container_azure_client

AzureClient resources hold client authentication information needed by the Anthos Multi-Cloud API to manage Azure resources on your Azure subscription.When an AzureCluster is created, an AzureClient resource needs to be provided and all operations on Azure resources associated to that cluster will authenticate to Azure services using the given client.AzureClient resources are immutable and cannot be modified upon creation.Each AzureClient resource is bound to a single Azure Active Directory Application and tenant.

For more information, see:

Example Usage - basic_azure_client

A basic example of a containerazure azure client

resource "google_container_azure_client" "primary" {
  application_id = "12345678-1234-1234-1234-123456789111"
  location       = "us-west1"
  name           = "client-name"
  tenant_id      = "12345678-1234-1234-1234-123456789111"
  project        = "my-project-name"
}

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

Client can be imported using any of these accepted formats:

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

import {
  id = "projects/{{project}}/locations/{{location}}/azureClients/{{name}}"
  to = google_container_azure_client.default
}

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

$ terraform import google_container_azure_client.default projects/{{project}}/locations/{{location}}/azureClients/{{name}}
$ terraform import google_container_azure_client.default {{project}}/{{location}}/{{name}}
$ terraform import google_container_azure_client.default {{location}}/{{name}}