Google Cloud Design Center V1 Client - Class ErrorCode (0.1.0)

Reference documentation and code samples for the Google Cloud Design Center V1 Client class ErrorCode.

Specific error code for UI and programmatic handling.

Protobuf type google.cloud.designcenter.v1.ImportIaCError.ErrorCode

Namespace

Google \ Cloud \ DesignCenter \ V1 \ ImportIaCError

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

ERROR_CODE_UNSPECIFIED

Value: 0

Default.

Generated from protobuf enum ERROR_CODE_UNSPECIFIED = 0;

ERROR_CODE_SYNTAX_ERROR

Value: 1

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

Generated from protobuf enum ERROR_CODE_SYNTAX_ERROR = 1;

ERROR_CODE_UNSUPPORTED_BLOCK_TYPE

Value: 2

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

Generated from protobuf enum ERROR_CODE_UNSUPPORTED_BLOCK_TYPE = 2;

ERROR_CODE_TOP_LEVEL_ATTRIBUTE

Value: 3

Attributes defined outside of allowed blocks

Generated from protobuf enum ERROR_CODE_TOP_LEVEL_ATTRIBUTE = 3;

ERROR_CODE_UNSUPPORTED_MODULE

Value: 4

Module not present in catalog

Generated from protobuf enum ERROR_CODE_UNSUPPORTED_MODULE = 4;

ERROR_CODE_MODULE_UNSUPPORTED_ATTRIBUTE_ADDED

Value: 5

Attribute defined inside module that is not in the shared template

Generated from protobuf enum ERROR_CODE_MODULE_UNSUPPORTED_ATTRIBUTE_ADDED = 5;

ERROR_CODE_MODULE_REQUIRED_ATTRIBUTE_REMOVED

Value: 6

Mandatory attribute of shared template is missing in module block

Generated from protobuf enum ERROR_CODE_MODULE_REQUIRED_ATTRIBUTE_REMOVED = 6;

ERROR_CODE_PARAMETER_VALUE_INVALID

Value: 7

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

Generated from protobuf enum ERROR_CODE_PARAMETER_VALUE_INVALID = 7;

ERROR_CODE_UNSUPPORTED_VARIABLE_CHANGE

Value: 8

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

Generated from protobuf enum ERROR_CODE_UNSUPPORTED_VARIABLE_CHANGE = 8;

ERROR_CODE_UNSUPPORTED_OUTPUT_CHANGE

Value: 9

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

Generated from protobuf enum ERROR_CODE_UNSUPPORTED_OUTPUT_CHANGE = 9;

ERROR_CODE_UNSUPPORTED_PROVIDER_CHANGE

Value: 10

Provider in providers.tf has added blocks or modified attributes

Generated from protobuf enum ERROR_CODE_UNSUPPORTED_PROVIDER_CHANGE = 10;

ERROR_CODE_UNSUPPORTED_TFVAR_CHANGE

Value: 11

Value modified for variables defined in terraform.tfvars

Generated from protobuf enum ERROR_CODE_UNSUPPORTED_TFVAR_CHANGE = 11;