Skip to content

Commit e8c5266

Browse files
authored
Mark subnetwork field in container cluster as computed (#1061)
* Mark subnetwork field in container cluster as computed * make fmt
1 parent e48f247 commit e8c5266

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

google/resource_container_cluster.go

+5-3
Original file line numberDiff line numberDiff line change
@@ -339,9 +339,11 @@ func resourceContainerCluster() *schema.Resource {
339339
},
340340

341341
"subnetwork": {
342-
Type: schema.TypeString,
343-
Optional: true,
344-
ForceNew: true,
342+
Type: schema.TypeString,
343+
Optional: true,
344+
Computed: true,
345+
ForceNew: true,
346+
DiffSuppressFunc: compareSelfLinkOrResourceName,
345347
},
346348

347349
"endpoint": {

0 commit comments

Comments
 (0)