diff --git a/addrs/resourcemode_string.go b/addrs/resourcemode_string.go index 56e99adfa..0b5c33f8e 100644 --- a/addrs/resourcemode_string.go +++ b/addrs/resourcemode_string.go @@ -4,6 +4,15 @@ package addrs import "strconv" +func _() { + // An "invalid array index" compiler error signifies that the constant values have changed. + // Re-run the stringer command to generate them again. + var x [1]struct{} + _ = x[InvalidResourceMode-0] + _ = x[ManagedResourceMode-77] + _ = x[DataResourceMode-68] +} + const ( _ResourceMode_name_0 = "InvalidResourceMode" _ResourceMode_name_1 = "DataResourceMode" diff --git a/backend/local/counthookaction_string.go b/backend/local/counthookaction_string.go index 507bab917..591004749 100644 --- a/backend/local/counthookaction_string.go +++ b/backend/local/counthookaction_string.go @@ -4,6 +4,15 @@ package local import "strconv" +func _() { + // An "invalid array index" compiler error signifies that the constant values have changed. + // Re-run the stringer command to generate them again. + var x [1]struct{} + _ = x[countHookActionAdd-0] + _ = x[countHookActionChange-1] + _ = x[countHookActionRemove-2] +} + const _countHookAction_name = "countHookActionAddcountHookActionChangecountHookActionRemove" var _countHookAction_index = [...]uint8{0, 18, 39, 60} diff --git a/backend/operationtype_string.go b/backend/operationtype_string.go index 16b7b3819..fe84d848d 100644 --- a/backend/operationtype_string.go +++ b/backend/operationtype_string.go @@ -4,6 +4,16 @@ package backend import "strconv" +func _() { + // An "invalid array index" compiler error signifies that the constant values have changed. + // Re-run the stringer command to generate them again. + var x [1]struct{} + _ = x[OperationTypeInvalid-0] + _ = x[OperationTypeRefresh-1] + _ = x[OperationTypePlan-2] + _ = x[OperationTypeApply-3] +} + const _OperationType_name = "OperationTypeInvalidOperationTypeRefreshOperationTypePlanOperationTypeApply" var _OperationType_index = [...]uint8{0, 20, 40, 57, 75} diff --git a/config/resource_mode_string.go b/config/resource_mode_string.go index 8a55e0603..010527824 100644 --- a/config/resource_mode_string.go +++ b/config/resource_mode_string.go @@ -4,6 +4,14 @@ package config import "strconv" +func _() { + // An "invalid array index" compiler error signifies that the constant values have changed. + // Re-run the stringer command to generate them again. + var x [1]struct{} + _ = x[ManagedResourceMode-0] + _ = x[DataResourceMode-1] +} + const _ResourceMode_name = "ManagedResourceModeDataResourceMode" var _ResourceMode_index = [...]uint8{0, 19, 35} diff --git a/configs/provisioneronfailure_string.go b/configs/provisioneronfailure_string.go index 8704b0861..7ff5a6e00 100644 --- a/configs/provisioneronfailure_string.go +++ b/configs/provisioneronfailure_string.go @@ -4,6 +4,15 @@ package configs import "strconv" +func _() { + // An "invalid array index" compiler error signifies that the constant values have changed. + // Re-run the stringer command to generate them again. + var x [1]struct{} + _ = x[ProvisionerOnFailureInvalid-0] + _ = x[ProvisionerOnFailureContinue-1] + _ = x[ProvisionerOnFailureFail-2] +} + const _ProvisionerOnFailure_name = "ProvisionerOnFailureInvalidProvisionerOnFailureContinueProvisionerOnFailureFail" var _ProvisionerOnFailure_index = [...]uint8{0, 27, 55, 79} diff --git a/configs/provisionerwhen_string.go b/configs/provisionerwhen_string.go index cbecb20ae..9f21b3ac6 100644 --- a/configs/provisionerwhen_string.go +++ b/configs/provisionerwhen_string.go @@ -4,6 +4,15 @@ package configs import "strconv" +func _() { + // An "invalid array index" compiler error signifies that the constant values have changed. + // Re-run the stringer command to generate them again. + var x [1]struct{} + _ = x[ProvisionerWhenInvalid-0] + _ = x[ProvisionerWhenCreate-1] + _ = x[ProvisionerWhenDestroy-2] +} + const _ProvisionerWhen_name = "ProvisionerWhenInvalidProvisionerWhenCreateProvisionerWhenDestroy" var _ProvisionerWhen_index = [...]uint8{0, 22, 43, 65} diff --git a/configs/variabletypehint_string.go b/configs/variabletypehint_string.go index 4447cf556..2b50428ce 100644 --- a/configs/variabletypehint_string.go +++ b/configs/variabletypehint_string.go @@ -4,6 +4,16 @@ package configs import "strconv" +func _() { + // An "invalid array index" compiler error signifies that the constant values have changed. + // Re-run the stringer command to generate them again. + var x [1]struct{} + _ = x[TypeHintNone-0] + _ = x[TypeHintString-83] + _ = x[TypeHintList-76] + _ = x[TypeHintMap-77] +} + const ( _VariableTypeHint_name_0 = "TypeHintNone" _VariableTypeHint_name_1 = "TypeHintListTypeHintMap" diff --git a/helper/schema/getsource_string.go b/helper/schema/getsource_string.go index 38cd8c70d..0184d7b08 100644 --- a/helper/schema/getsource_string.go +++ b/helper/schema/getsource_string.go @@ -4,6 +4,18 @@ package schema import "strconv" +func _() { + // An "invalid array index" compiler error signifies that the constant values have changed. + // Re-run the stringer command to generate them again. + var x [1]struct{} + _ = x[getSourceState-1] + _ = x[getSourceConfig-2] + _ = x[getSourceDiff-4] + _ = x[getSourceSet-8] + _ = x[getSourceExact-16] + _ = x[getSourceLevelMask-15] +} + const ( _getSource_name_0 = "getSourceStategetSourceConfig" _getSource_name_1 = "getSourceDiff" diff --git a/helper/schema/valuetype_string.go b/helper/schema/valuetype_string.go index 3bc3ac455..914ca32cb 100644 --- a/helper/schema/valuetype_string.go +++ b/helper/schema/valuetype_string.go @@ -4,6 +4,21 @@ package schema import "strconv" +func _() { + // An "invalid array index" compiler error signifies that the constant values have changed. + // Re-run the stringer command to generate them again. + var x [1]struct{} + _ = x[TypeInvalid-0] + _ = x[TypeBool-1] + _ = x[TypeInt-2] + _ = x[TypeFloat-3] + _ = x[TypeString-4] + _ = x[TypeList-5] + _ = x[TypeMap-6] + _ = x[TypeSet-7] + _ = x[typeObject-8] +} + const _ValueType_name = "TypeInvalidTypeBoolTypeIntTypeFloatTypeStringTypeListTypeMapTypeSettypeObject" var _ValueType_index = [...]uint8{0, 11, 19, 26, 35, 45, 53, 60, 67, 77} diff --git a/plans/action_string.go b/plans/action_string.go index c79465a2a..be43ab175 100644 --- a/plans/action_string.go +++ b/plans/action_string.go @@ -4,6 +4,19 @@ package plans import "strconv" +func _() { + // An "invalid array index" compiler error signifies that the constant values have changed. + // Re-run the stringer command to generate them again. + var x [1]struct{} + _ = x[NoOp-0] + _ = x[Create-43] + _ = x[Read-8592] + _ = x[Update-126] + _ = x[DeleteThenCreate-8723] + _ = x[CreateThenDelete-177] + _ = x[Delete-45] +} + const ( _Action_name_0 = "NoOp" _Action_name_1 = "Create" diff --git a/states/eachmode_string.go b/states/eachmode_string.go index 6de61802f..0dc73499a 100644 --- a/states/eachmode_string.go +++ b/states/eachmode_string.go @@ -4,6 +4,15 @@ package states import "strconv" +func _() { + // An "invalid array index" compiler error signifies that the constant values have changed. + // Re-run the stringer command to generate them again. + var x [1]struct{} + _ = x[NoEach-0] + _ = x[EachList-76] + _ = x[EachMap-77] +} + const ( _EachMode_name_0 = "NoEach" _EachMode_name_1 = "EachListEachMap" diff --git a/states/objectstatus_string.go b/states/objectstatus_string.go index cd6d12849..96a6db2f4 100644 --- a/states/objectstatus_string.go +++ b/states/objectstatus_string.go @@ -4,6 +4,15 @@ package states import "strconv" +func _() { + // An "invalid array index" compiler error signifies that the constant values have changed. + // Re-run the stringer command to generate them again. + var x [1]struct{} + _ = x[ObjectReady-82] + _ = x[ObjectTainted-84] + _ = x[ObjectPlanned-80] +} + const ( _ObjectStatus_name_0 = "ObjectPlanned" _ObjectStatus_name_1 = "ObjectReady" diff --git a/states/statemgr/snapshotmetarel_string.go b/states/statemgr/snapshotmetarel_string.go index 28e1b966f..a5b66138c 100644 --- a/states/statemgr/snapshotmetarel_string.go +++ b/states/statemgr/snapshotmetarel_string.go @@ -4,6 +4,17 @@ package statemgr import "strconv" +func _() { + // An "invalid array index" compiler error signifies that the constant values have changed. + // Re-run the stringer command to generate them again. + var x [1]struct{} + _ = x[SnapshotOlder-60] + _ = x[SnapshotNewer-62] + _ = x[SnapshotEqual-61] + _ = x[SnapshotUnrelated-33] + _ = x[SnapshotLegacy-63] +} + const ( _SnapshotMetaRel_name_0 = "SnapshotUnrelated" _SnapshotMetaRel_name_1 = "SnapshotOlderSnapshotEqualSnapshotNewerSnapshotLegacy" diff --git a/terraform/graphtype_string.go b/terraform/graphtype_string.go index 855ef7b12..b51e1a266 100644 --- a/terraform/graphtype_string.go +++ b/terraform/graphtype_string.go @@ -4,6 +4,20 @@ package terraform import "strconv" +func _() { + // An "invalid array index" compiler error signifies that the constant values have changed. + // Re-run the stringer command to generate them again. + var x [1]struct{} + _ = x[GraphTypeInvalid-0] + _ = x[GraphTypeLegacy-1] + _ = x[GraphTypeRefresh-2] + _ = x[GraphTypePlan-3] + _ = x[GraphTypePlanDestroy-4] + _ = x[GraphTypeApply-5] + _ = x[GraphTypeValidate-6] + _ = x[GraphTypeEval-7] +} + const _GraphType_name = "GraphTypeInvalidGraphTypeLegacyGraphTypeRefreshGraphTypePlanGraphTypePlanDestroyGraphTypeApplyGraphTypeValidateGraphTypeEval" var _GraphType_index = [...]uint8{0, 16, 31, 47, 60, 80, 94, 111, 124} diff --git a/terraform/instancetype_string.go b/terraform/instancetype_string.go index b8e7d1fb9..95b7a9802 100644 --- a/terraform/instancetype_string.go +++ b/terraform/instancetype_string.go @@ -4,6 +4,16 @@ package terraform import "strconv" +func _() { + // An "invalid array index" compiler error signifies that the constant values have changed. + // Re-run the stringer command to generate them again. + var x [1]struct{} + _ = x[TypeInvalid-0] + _ = x[TypePrimary-1] + _ = x[TypeTainted-2] + _ = x[TypeDeposed-3] +} + const _InstanceType_name = "TypeInvalidTypePrimaryTypeTaintedTypeDeposed" var _InstanceType_index = [...]uint8{0, 11, 22, 33, 44} diff --git a/terraform/valuesourcetype_string.go b/terraform/valuesourcetype_string.go index 1380c851f..627593d76 100644 --- a/terraform/valuesourcetype_string.go +++ b/terraform/valuesourcetype_string.go @@ -4,6 +4,21 @@ package terraform import "strconv" +func _() { + // An "invalid array index" compiler error signifies that the constant values have changed. + // Re-run the stringer command to generate them again. + var x [1]struct{} + _ = x[ValueFromUnknown-0] + _ = x[ValueFromConfig-67] + _ = x[ValueFromAutoFile-70] + _ = x[ValueFromNamedFile-78] + _ = x[ValueFromCLIArg-65] + _ = x[ValueFromEnvVar-69] + _ = x[ValueFromInput-73] + _ = x[ValueFromPlan-80] + _ = x[ValueFromCaller-83] +} + const ( _ValueSourceType_name_0 = "ValueFromUnknown" _ValueSourceType_name_1 = "ValueFromCLIArg" diff --git a/terraform/walkoperation_string.go b/terraform/walkoperation_string.go index a802b5286..0666aa5f3 100644 --- a/terraform/walkoperation_string.go +++ b/terraform/walkoperation_string.go @@ -4,6 +4,21 @@ package terraform import "strconv" +func _() { + // An "invalid array index" compiler error signifies that the constant values have changed. + // Re-run the stringer command to generate them again. + var x [1]struct{} + _ = x[walkInvalid-0] + _ = x[walkApply-1] + _ = x[walkPlan-2] + _ = x[walkPlanDestroy-3] + _ = x[walkRefresh-4] + _ = x[walkValidate-5] + _ = x[walkDestroy-6] + _ = x[walkImport-7] + _ = x[walkEval-8] +} + const _walkOperation_name = "walkInvalidwalkApplywalkPlanwalkPlanDestroywalkRefreshwalkValidatewalkDestroywalkImportwalkEval" var _walkOperation_index = [...]uint8{0, 11, 20, 28, 43, 54, 66, 77, 87, 95} diff --git a/tfdiags/severity_string.go b/tfdiags/severity_string.go index 0b1249bbe..78a721068 100644 --- a/tfdiags/severity_string.go +++ b/tfdiags/severity_string.go @@ -4,6 +4,14 @@ package tfdiags import "strconv" +func _() { + // An "invalid array index" compiler error signifies that the constant values have changed. + // Re-run the stringer command to generate them again. + var x [1]struct{} + _ = x[Error-69] + _ = x[Warning-87] +} + const ( _Severity_name_0 = "Error" _Severity_name_1 = "Warning"