File tree 3 files changed +13
-10
lines changed
google/services/cloudfunctions2
3 files changed +13
-10
lines changed Original file line number Diff line number Diff line change
1
+ ```release-note:breaking-change
2
+ cloudfunction2: made `location` required on `google_cloudfunctions2_function`
3
+ ```
Original file line number Diff line number Diff line change @@ -54,6 +54,12 @@ func ResourceCloudfunctions2function() *schema.Resource {
54
54
),
55
55
56
56
Schema : map [string ]* schema.Schema {
57
+ "location" : {
58
+ Type : schema .TypeString ,
59
+ Required : true ,
60
+ ForceNew : true ,
61
+ Description : `The location of this cloud function.` ,
62
+ },
57
63
"name" : {
58
64
Type : schema .TypeString ,
59
65
Required : true ,
@@ -273,12 +279,6 @@ It must match the pattern projects/{project}/locations/{location}/keyRings/{key_
273
279
Description : `A set of key/value label pairs associated with this Cloud Function.` ,
274
280
Elem : & schema.Schema {Type : schema .TypeString },
275
281
},
276
- "location" : {
277
- Type : schema .TypeString ,
278
- Optional : true ,
279
- ForceNew : true ,
280
- Description : `The location of this cloud function.` ,
281
- },
282
282
"service_config" : {
283
283
Type : schema .TypeList ,
284
284
Optional : true ,
Original file line number Diff line number Diff line change @@ -769,6 +769,10 @@ The following arguments are supported:
769
769
A user-defined name of the function. Function names must
770
770
be unique globally and match pattern ` projects/*/locations/*/functions/* ` .
771
771
772
+ * ` location ` -
773
+ (Required)
774
+ The location of this cloud function.
775
+
772
776
773
777
- - -
774
778
@@ -803,10 +807,6 @@ The following arguments are supported:
803
807
Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt function resources.
804
808
It must match the pattern projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}.
805
809
806
- * ` location ` -
807
- (Optional)
808
- The location of this cloud function.
809
-
810
810
* ` project ` - (Optional) The ID of the project in which the resource belongs.
811
811
If it is not provided, the provider project is used.
812
812
You can’t perform that action at this time.
0 commit comments