ImportApplicationTemplateIaCResponse

Response message for ImportApplicationTemplateIaC method.

JSON representation
{
  "applicationTemplate": {
    object (ApplicationTemplate)
  },
  "errors": [
    {
      object (ImportIaCError)
    }
  ],
  "state": enum (State)
}
Fields
applicationTemplate

object (ApplicationTemplate)

Application template corresponding to the imported IaC.

errors[]

object (ImportIaCError)

Errors encountered during import.

state

enum (State)

The state of the import.

ImportIaCError

Message representing the error encountered during import. Example: A variable with name "name" is expected to be of type string, but is provided as number, inside a module named "my_module". { resourceAddress: "module.my_module.name" file: "gs://my_bucket/main.tf" range: { start: { line: 2 byteOffset: 1 column: 2 } end: { line: 2 byteOffset: 10 column: 10 } } description: "Error parsing field: "name". Expected type "string" but got "number"." type: INVALID }

JSON representation
{
  "resourceAddress": string,
  "file": string,
  "range": {
    object (CodeRange)
  },
  "description": string,
  "type": enum (Type)
}
Fields
resourceAddress

string

Output only. The resource address of the error.

file

string

Output only. The file where the error has occurred.

range

object (CodeRange)

Output only. The code portion where this error occurs.

description

string

Output only. The description of the error.

type

enum (Type)

Output only. The type of error.