ExportIaCConfig

Configuration for exporting a resource as IAC.

JSON representation
{
  "iacFormat": enum (IACFormat),

  // The following is a list of mutually exclusive fields. At most one of the
  // fields will be set in a response:
  "tfConfig": {
    object (TerraformConfig)
  }
  // End of mutually exclusive fields.
}
Fields
iacFormat

enum (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 (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 (TerraformModuleConfig)
  }
}
Fields
tfModuleConfig

object (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.