github.com/terraform-linters/tflint-plugin-sdk@v0.22.0/terraform/addrs/referenceable.go (about) 1 package addrs 2 3 // Referenceable is an interface implemented by all address types that can 4 // appear as references in configuration language expressions. 5 type Referenceable interface { 6 referenceableSigil() 7 8 // String produces a string representation of the address that could be 9 // parsed as a HCL traversal and passed to ParseRef to produce an identical 10 // result. 11 String() string 12 } 13 14 type referenceable struct { 15 } 16 17 func (r referenceable) referenceableSigil() { 18 }