diff options
author | Alexandre Garand <alexandre.garand@fretlink.com> | 2019-08-09 15:59:15 +0200 |
---|---|---|
committer | Alexandre Garand <alexandre.garand@fretlink.com> | 2019-08-09 16:39:21 +0200 |
commit | 863486a6b71ed0e562a3965bed56465d007b1418 (patch) | |
tree | e93f6a687695af86d54237ec9f575d4ef104222d /vendor/github.com/hashicorp/terraform/addrs/for_each_attr.go | |
parent | 49c1c7b4dc69ffb9ab52330e6dc52ccdd6351087 (diff) | |
download | terraform-provider-statuscake-add_contact_groups.tar.gz terraform-provider-statuscake-add_contact_groups.tar.zst terraform-provider-statuscake-add_contact_groups.zip |
update vendor and go.modadd_contact_groups
Diffstat (limited to 'vendor/github.com/hashicorp/terraform/addrs/for_each_attr.go')
-rw-r--r-- | vendor/github.com/hashicorp/terraform/addrs/for_each_attr.go | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/vendor/github.com/hashicorp/terraform/addrs/for_each_attr.go b/vendor/github.com/hashicorp/terraform/addrs/for_each_attr.go new file mode 100644 index 0000000..7a63850 --- /dev/null +++ b/vendor/github.com/hashicorp/terraform/addrs/for_each_attr.go | |||
@@ -0,0 +1,12 @@ | |||
1 | package addrs | ||
2 | |||
3 | // ForEachAttr is the address of an attribute referencing the current "for_each" object in | ||
4 | // the interpolation scope, addressed using the "each" keyword, ex. "each.key" and "each.value" | ||
5 | type ForEachAttr struct { | ||
6 | referenceable | ||
7 | Name string | ||
8 | } | ||
9 | |||
10 | func (f ForEachAttr) String() string { | ||
11 | return "each." + f.Name | ||
12 | } | ||