Design Center V1 API - Module Google::Cloud::DesignCenter::V1::ImportIaCError::ErrorCode (v0.1.0)

Reference documentation and code samples for the Design Center V1 API module Google::Cloud::DesignCenter::V1::ImportIaCError::ErrorCode.

Specific error code for UI and programmatic handling.

Constants

ERROR_CODE_UNSPECIFIED

value: 0
Default.

ERROR_CODE_SYNTAX_ERROR

value: 1
HCL Syntax errors (e.g. unclosed blocks, bad characters)

ERROR_CODE_UNSUPPORTED_BLOCK_TYPE

value: 2
Top-level block is e.g. "resource", "data", "locals"

ERROR_CODE_TOP_LEVEL_ATTRIBUTE

value: 3
Attributes defined outside of allowed blocks

ERROR_CODE_UNSUPPORTED_MODULE

value: 4
Module not present in catalog

ERROR_CODE_MODULE_UNSUPPORTED_ATTRIBUTE_ADDED

value: 5
Attribute defined inside module that is not in the shared template

ERROR_CODE_MODULE_REQUIRED_ATTRIBUTE_REMOVED

value: 6
Mandatory attribute of shared template is missing in module block

ERROR_CODE_PARAMETER_VALUE_INVALID

value: 7
Value fails shared template schema checks (regex, range, etc.)

ERROR_CODE_UNSUPPORTED_VARIABLE_CHANGE

value: 8
Variable in variables.tf is added, removed or schema changed

ERROR_CODE_UNSUPPORTED_OUTPUT_CHANGE

value: 9
Output in outputs.tf is added, removed or schema changed

ERROR_CODE_UNSUPPORTED_PROVIDER_CHANGE

value: 10
Provider in providers.tf has added blocks or modified attributes

ERROR_CODE_UNSUPPORTED_TFVAR_CHANGE

value: 11
Value modified for variables defined in terraform.tfvars