You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* add descriptions to the schema
* add descriptions to schema
* run go fmt
Co-authored-by: Edward Sun <[email protected]>
Signed-off-by: Modular Magician <[email protected]>
Co-authored-by: Edward Sun <[email protected]>
Description: `The name (also called Instance Id in the Cloud Console) of the Cloud Bigtable instance.`,
48
49
},
49
50
50
51
"cluster": {
51
-
Type: schema.TypeList,
52
-
Optional: true,
53
-
Computed: true,
52
+
Type: schema.TypeList,
53
+
Optional: true,
54
+
Computed: true,
55
+
Description: `A block of cluster configuration options. This can be specified 1 or 2 times.`,
54
56
Elem: &schema.Resource{
55
57
Schema: map[string]*schema.Schema{
56
58
"cluster_id": {
57
-
Type: schema.TypeString,
58
-
Required: true,
59
+
Type: schema.TypeString,
60
+
Required: true,
61
+
Description: `The ID of the Cloud Bigtable cluster.`,
59
62
},
60
63
"zone": {
61
-
Type: schema.TypeString,
62
-
Required: true,
64
+
Type: schema.TypeString,
65
+
Required: true,
66
+
Description: `The zone to create the Cloud Bigtable cluster in. Each cluster must have a different zone in the same region. Zones that support Bigtable instances are noted on the Cloud Bigtable locations page.`,
Description: `The number of nodes in your Cloud Bigtable cluster. Required, with a minimum of 1 for a PRODUCTION instance. Must be left unset for a DEVELOPMENT instance.`,
Description: `The instance type to create. One of "DEVELOPMENT" or "PRODUCTION". Defaults to "PRODUCTION".`,
92
100
},
93
101
94
102
"deletion_protection": {
95
-
Type: schema.TypeBool,
96
-
Optional: true,
97
-
Default: true,
103
+
Type: schema.TypeBool,
104
+
Optional: true,
105
+
Default: true,
106
+
Description: `Whether or not to allow Terraform to destroy the instance. Unless this field is set to false in Terraform state, a terraform destroy or terraform apply that would delete the instance will fail.`,
98
107
},
99
108
100
109
"project": {
101
-
Type: schema.TypeString,
102
-
Optional: true,
103
-
Computed: true,
104
-
ForceNew: true,
110
+
Type: schema.TypeString,
111
+
Optional: true,
112
+
Computed: true,
113
+
ForceNew: true,
114
+
Description: `The ID of the project in which the resource belongs. If it is not provided, the provider project is used.`,
0 commit comments