@@ -338,6 +338,11 @@ Must be smaller than periodSeconds.`,
338338 ValidateFunc : verify .ValidateEnum ([]string {"EXECUTION_ENVIRONMENT_GEN1" , "EXECUTION_ENVIRONMENT_GEN2" , "" }),
339339 Description : `The execution environment being used to host this Task. Possible values: ["EXECUTION_ENVIRONMENT_GEN1", "EXECUTION_ENVIRONMENT_GEN2"]` ,
340340 },
341+ "gpu_zonal_redundancy_disabled" : {
342+ Type : schema .TypeBool ,
343+ Optional : true ,
344+ Description : `True if GPU zonal redundancy is disabled on this execution.` ,
345+ },
341346 "max_retries" : {
342347 Type : schema .TypeInt ,
343348 Optional : true ,
@@ -1642,6 +1647,8 @@ func flattenCloudRunV2JobTemplateTemplate(v interface{}, d *schema.ResourceData,
16421647 flattenCloudRunV2JobTemplateTemplateMaxRetries (original ["maxRetries" ], d , config )
16431648 transformed ["node_selector" ] =
16441649 flattenCloudRunV2JobTemplateTemplateNodeSelector (original ["nodeSelector" ], d , config )
1650+ transformed ["gpu_zonal_redundancy_disabled" ] =
1651+ flattenCloudRunV2JobTemplateTemplateGpuZonalRedundancyDisabled (original ["gpuZonalRedundancyDisabled" ], d , config )
16451652 return []interface {}{transformed }
16461653}
16471654func flattenCloudRunV2JobTemplateTemplateContainers (v interface {}, d * schema.ResourceData , config * transport_tpg.Config ) interface {} {
@@ -2374,6 +2381,10 @@ func flattenCloudRunV2JobTemplateTemplateNodeSelectorAccelerator(v interface{},
23742381 return v
23752382}
23762383
2384+ func flattenCloudRunV2JobTemplateTemplateGpuZonalRedundancyDisabled (v interface {}, d * schema.ResourceData , config * transport_tpg.Config ) interface {} {
2385+ return v
2386+ }
2387+
23772388func flattenCloudRunV2JobObservedGeneration (v interface {}, d * schema.ResourceData , config * transport_tpg.Config ) interface {} {
23782389 return v
23792390}
@@ -2785,6 +2796,13 @@ func expandCloudRunV2JobTemplateTemplate(v interface{}, d tpgresource.TerraformR
27852796 transformed ["nodeSelector" ] = transformedNodeSelector
27862797 }
27872798
2799+ transformedGpuZonalRedundancyDisabled , err := expandCloudRunV2JobTemplateTemplateGpuZonalRedundancyDisabled (original ["gpu_zonal_redundancy_disabled" ], d , config )
2800+ if err != nil {
2801+ return nil , err
2802+ } else if val := reflect .ValueOf (transformedGpuZonalRedundancyDisabled ); val .IsValid () && ! tpgresource .IsEmptyValue (val ) {
2803+ transformed ["gpuZonalRedundancyDisabled" ] = transformedGpuZonalRedundancyDisabled
2804+ }
2805+
27882806 return transformed , nil
27892807}
27902808
@@ -3762,6 +3780,10 @@ func expandCloudRunV2JobTemplateTemplateNodeSelectorAccelerator(v interface{}, d
37623780 return v , nil
37633781}
37643782
3783+ func expandCloudRunV2JobTemplateTemplateGpuZonalRedundancyDisabled (v interface {}, d tpgresource.TerraformResourceData , config * transport_tpg.Config ) (interface {}, error ) {
3784+ return v , nil
3785+ }
3786+
37653787func expandCloudRunV2JobEffectiveLabels (v interface {}, d tpgresource.TerraformResourceData , config * transport_tpg.Config ) (map [string ]string , error ) {
37663788 if v == nil {
37673789 return map [string ]string {}, nil
0 commit comments