File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed
internal/service/sagemaker Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -418,6 +418,12 @@ func resourceSpace() *schema.Resource {
418
418
},
419
419
},
420
420
},
421
+ "remote_access" : {
422
+ Type : schema .TypeString ,
423
+ Optional : true ,
424
+ Computed : true ,
425
+ ValidateDiagFunc : enum .Validate [awstypes.FeatureStatus ](),
426
+ },
421
427
},
422
428
},
423
429
},
@@ -679,6 +685,10 @@ func expandSpaceSettings(l []any) *awstypes.SpaceSettings {
679
685
config .KernelGatewayAppSettings = expandDomainKernelGatewayAppSettings (v )
680
686
}
681
687
688
+ if v , ok := m ["remote_access" ].(string ); ok {
689
+ config .RemoteAccess = awstypes .FeatureStatus (v )
690
+ }
691
+
682
692
if v , ok := m ["space_storage_settings" ].([]any ); ok && len (v ) > 0 {
683
693
config .SpaceStorageSettings = expandSpaceStorageSettings (v )
684
694
}
@@ -715,6 +725,10 @@ func flattenSpaceSettings(config *awstypes.SpaceSettings) []map[string]any {
715
725
m ["kernel_gateway_app_settings" ] = flattenDomainKernelGatewayAppSettings (config .KernelGatewayAppSettings )
716
726
}
717
727
728
+ if config .RemoteAccess != "" {
729
+ m ["remote_access" ] = config .RemoteAccess
730
+ }
731
+
718
732
if config .SpaceStorageSettings != nil {
719
733
m ["space_storage_settings" ] = flattenSpaceStorageSettings (config .SpaceStorageSettings )
720
734
}
You can’t perform that action at this time.
0 commit comments