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
validation: Use lowercase letters, numbers,underscores, periods and hyphens. Start with a letter/number and end with letter/number. Must be between 3 and 63 characters.
Copy file name to clipboardExpand all lines: modules/simple_bucket/metadata.yaml
+25-25
Original file line number
Diff line number
Diff line change
@@ -38,10 +38,6 @@ spec:
38
38
location: examples/simple_bucket
39
39
interfaces:
40
40
variables:
41
-
- name: name
42
-
description: The name of the bucket.
43
-
varType: string
44
-
required: true
45
41
- name: project_id
46
42
description: The ID of the project to create the bucket in.
47
43
varType: string
@@ -50,24 +46,10 @@ spec:
50
46
description: The location of the bucket. See https://cloud.google.com/storage/docs/locations.
51
47
varType: string
52
48
required: true
53
-
- name: storage_class
54
-
description: The Storage Class of the new bucket.
49
+
- name: name
50
+
description: The name of the bucket.
55
51
varType: string
56
-
- name: labels
57
-
description: A set of key/value label pairs to assign to the bucket.
58
-
varType: map(string)
59
-
- name: bucket_policy_only
60
-
description: Enables Bucket Policy Only access to a bucket.
61
-
varType: bool
62
-
defaultValue: true
63
-
- name: versioning
64
-
description: While set to true, versioning is fully enabled for this bucket.
65
-
varType: bool
66
-
defaultValue: true
67
-
- name: autoclass
68
-
description: While set to true, autoclass is enabled for this bucket.
69
-
varType: bool
70
-
defaultValue: false
52
+
required: true
71
53
- name: force_destroy
72
54
description: When deleting a bucket, this boolean option will delete all contained objects. If false, Terraform will fail to delete buckets which contain objects.
Copy file name to clipboardExpand all lines: modules/simple_bucket/variables.tf
+20-20
Original file line number
Diff line number
Diff line change
@@ -14,11 +14,6 @@
14
14
* limitations under the License.
15
15
*/
16
16
17
-
variable"name" {
18
-
description="The name of the bucket."
19
-
type=string
20
-
}
21
-
22
17
variable"project_id" {
23
18
description="The ID of the project to create the bucket in."
24
19
type=string
@@ -29,6 +24,26 @@ variable "location" {
29
24
type=string
30
25
}
31
26
27
+
variable"name" {
28
+
description="The name of the bucket."
29
+
type=string
30
+
}
31
+
32
+
variable"force_destroy" {
33
+
description="When deleting a bucket, this boolean option will delete all contained objects. If false, Terraform will fail to delete buckets which contain objects."
34
+
type=bool
35
+
default=false
36
+
}
37
+
38
+
variable"iam_members" {
39
+
description="The list of IAM members to grant permissions on the bucket."
40
+
type=list(object({
41
+
role =string
42
+
member =string
43
+
}))
44
+
default=[]
45
+
}
46
+
32
47
variable"storage_class" {
33
48
description="The Storage Class of the new bucket."
34
49
type=string
@@ -60,21 +75,6 @@ variable "autoclass" {
60
75
default=false
61
76
}
62
77
63
-
variable"force_destroy" {
64
-
description="When deleting a bucket, this boolean option will delete all contained objects. If false, Terraform will fail to delete buckets which contain objects."
65
-
type=bool
66
-
default=false
67
-
}
68
-
69
-
variable"iam_members" {
70
-
description="The list of IAM members to grant permissions on the bucket."
71
-
type=list(object({
72
-
role =string
73
-
member =string
74
-
}))
75
-
default=[]
76
-
}
77
-
78
78
variable"retention_policy" {
79
79
description="Configuration of the bucket's data retention policy for how long objects in the bucket should be retained."
0 commit comments