diff options
Diffstat (limited to 'vendor/github.com/hashicorp/terraform/config/resource_mode_string.go')
-rw-r--r-- | vendor/github.com/hashicorp/terraform/config/resource_mode_string.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/vendor/github.com/hashicorp/terraform/config/resource_mode_string.go b/vendor/github.com/hashicorp/terraform/config/resource_mode_string.go index 8a55e06..0105278 100644 --- a/vendor/github.com/hashicorp/terraform/config/resource_mode_string.go +++ b/vendor/github.com/hashicorp/terraform/config/resource_mode_string.go | |||
@@ -4,6 +4,14 @@ package config | |||
4 | 4 | ||
5 | import "strconv" | 5 | import "strconv" |
6 | 6 | ||
7 | func _() { | ||
8 | // An "invalid array index" compiler error signifies that the constant values have changed. | ||
9 | // Re-run the stringer command to generate them again. | ||
10 | var x [1]struct{} | ||
11 | _ = x[ManagedResourceMode-0] | ||
12 | _ = x[DataResourceMode-1] | ||
13 | } | ||
14 | |||
7 | const _ResourceMode_name = "ManagedResourceModeDataResourceMode" | 15 | const _ResourceMode_name = "ManagedResourceModeDataResourceMode" |
8 | 16 | ||
9 | var _ResourceMode_index = [...]uint8{0, 19, 35} | 17 | var _ResourceMode_index = [...]uint8{0, 19, 35} |