Skip to content

Commit c98ef00

Browse files
modular-magicianshuyama1
authored andcommitted
fix cloudfunction2_function permadiff on available_cpu and max_instance_request_concurrency (#7094) (#5060)
Signed-off-by: Modular Magician <[email protected]> Signed-off-by: Modular Magician <[email protected]>
1 parent de54add commit c98ef00

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.changelog/7094.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:none
2+
cloudfunctions2: fixed a permadiff on `available_cpu` and `max_instance_request_concurrency` of `google_cloudfunctions2_function`
3+
```

google-beta/resource_cloudfunctions2_function.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,7 @@ region. If not provided, defaults to the same region as the function.`,
275275
},
276276
"available_cpu": {
277277
Type: schema.TypeString,
278+
Computed: true,
278279
Optional: true,
279280
Description: `The number of CPUs used in a single container instance. Default value is calculated from available memory.`,
280281
},
@@ -306,6 +307,7 @@ given time.`,
306307
},
307308
"max_instance_request_concurrency": {
308309
Type: schema.TypeInt,
310+
Computed: true,
309311
Optional: true,
310312
Description: `Sets the maximum number of concurrent requests that each instance can receive. Defaults to 1.`,
311313
},

0 commit comments

Comments
 (0)