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
Description: `All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Terraform, other clients and services.`,
134
134
Elem: &schema.Schema{Type: schema.TypeString},
135
135
},
136
+
137
+
"tags": {
138
+
Type: schema.TypeMap,
139
+
Optional: true,
140
+
ForceNew: true,
141
+
Elem: &schema.Schema{Type: schema.TypeString},
142
+
Description: `A map of resource manager tags. Resource manager tag keys and values have the same definition as resource manager tags. Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/456. The field is ignored when empty.`,
143
+
},
136
144
},
137
145
UseJSONNumber: true,
138
146
}
@@ -166,6 +174,10 @@ func resourceGoogleProjectCreate(d *schema.ResourceData, meta interface{}) error
Copy file name to clipboardExpand all lines: mmv1/third_party/terraform/website/docs/r/google_project.html.markdown
+15
Original file line number
Diff line number
Diff line change
@@ -20,6 +20,8 @@ doc for more information.
20
20
21
21
~> It is recommended to use the `constraints/compute.skipDefaultNetworkCreation`[constraint](/docs/providers/google/r/google_organization_policy.html) to remove the default network instead of setting `auto_create_network` to false, when possible.
22
22
23
+
~> It may take a while for the attached tag bindings to be deleted after the project is scheduled to be deleted.
@@ -100,6 +113,8 @@ The following arguments are supported:
100
113
to be abandoned rather than deleted, i.e., the Terraform resource can be deleted without deleting the Project via
101
114
the Google API. Possible values are: "PREVENT", "ABANDON", "DELETE". Default value is `PREVENT`.
102
115
116
+
*`tags` - (Optional) A map of resource manager tags. Resource manager tag keys and values have the same definition as resource manager tags. Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/456. The field is ignored when empty. The field is immutable and causes resource replacement when mutated.
117
+
103
118
## Attributes Reference
104
119
105
120
In addition to the arguments listed above, the following computed attributes are
0 commit comments