- [JSON representation](https://docs.cloud.google.com/application-design-center/docs/reference/rest/v1alpha/ExportIaCConfig#SCHEMA_REPRESENTATION)
- [TerraformConfig](https://docs.cloud.google.com/application-design-center/docs/reference/rest/v1alpha/ExportIaCConfig#TerraformConfig)
  - [JSON representation](https://docs.cloud.google.com/application-design-center/docs/reference/rest/v1alpha/ExportIaCConfig#TerraformConfig.SCHEMA_REPRESENTATION)
- [TerraformModuleConfig](https://docs.cloud.google.com/application-design-center/docs/reference/rest/v1alpha/ExportIaCConfig#TerraformModuleConfig)
  - [JSON representation](https://docs.cloud.google.com/application-design-center/docs/reference/rest/v1alpha/ExportIaCConfig#TerraformModuleConfig.SCHEMA_REPRESENTATION)

Configuration for exporting a resource as IAC.

| JSON representation |
|---|
| ``` { "iacFormat": enum (`https://docs.cloud.google.com/application-design-center/docs/reference/rest/v1alpha/IACFormat`), // The following is a list of mutually exclusive fields. At most one of the // fields will be set in a response: "tfConfig": { object (`https://docs.cloud.google.com/application-design-center/docs/reference/rest/v1alpha/ExportIaCConfig#TerraformConfig`) } // End of mutually exclusive fields. } ``` |

| Fields ||
|---|---|
| `iacFormat` | ``enum (`https://docs.cloud.google.com/application-design-center/docs/reference/rest/v1alpha/IACFormat`)`` Optional. IaC format of the export. Default is \[IACFormat.TERRAFORM\]. |
| Configuration for the export based on the IaC format. The following is a list of mutually exclusive fields. At most one of the fields will be set in a response: ||
| `tfConfig` | ``object (`https://docs.cloud.google.com/application-design-center/docs/reference/rest/v1alpha/ExportIaCConfig#TerraformConfig`)`` Optional. Configuration on how to handle terraform IaC export. |
| End of mutually exclusive fields. ||

## TerraformConfig

Configuration for exporting a resource as Terraform IAC.

| JSON representation |
|---|
| ``` { "tfModuleConfig": { object (`https://docs.cloud.google.com/application-design-center/docs/reference/rest/v1alpha/ExportIaCConfig#TerraformModuleConfig`) } } ``` |

| Fields ||
|---|---|
| `tfModuleConfig` | ``object (`https://docs.cloud.google.com/application-design-center/docs/reference/rest/v1alpha/ExportIaCConfig#TerraformModuleConfig`)`` Optional. Configuration on how terraform module should be handled during export. |

## TerraformModuleConfig

Configuration on how terraform module should be handled during export.

| JSON representation |
|---|
| ``` { // The following is a list of mutually exclusive fields. At most one of the // fields will be set in a response: "gitProxyEnabled": boolean, "localReferencesEnabled": boolean // End of mutually exclusive fields. } ``` |

| Fields ||
|---|---|
| Specifies an override for the default module source handling. If no override is set, the default behavior is to keep the original module references. The following is a list of mutually exclusive fields. At most one of the fields will be set in a response: ||
| `gitProxyEnabled` | `boolean` Optional. This is typically only valid for 3P components if ingested via devconnect URI. Typically, for 1P components, since they are sourced from public git repos, this field is not applicable. |
| `localReferencesEnabled` | `boolean` Optional. If set, all the dependent modules will be downloaded from the target repository and referenced locally. |
| End of mutually exclusive fields. ||