github.com/terramate-io/tf@v0.0.0-20230830114523-fce866b4dfcd/legacy/terraform/instancetype.go (about) 1 // Copyright (c) HashiCorp, Inc. 2 // SPDX-License-Identifier: MPL-2.0 3 4 package terraform 5 6 //go:generate go run golang.org/x/tools/cmd/stringer -type=InstanceType instancetype.go 7 8 // InstanceType is an enum of the various types of instances store in the State 9 type InstanceType int 10 11 const ( 12 TypeInvalid InstanceType = iota 13 TypePrimary 14 TypeTainted 15 TypeDeposed 16 )