1 2 3 4 5 6 7 8 9 10 11 12 13
package terraform //go:generate stringer -type=InstanceType instancetype.go // InstanceType is an enum of the various types of instances store in the State type InstanceType int const ( TypeInvalid InstanceType = iota TypePrimary TypeTainted TypeDeposed )