Skip to content

Commit 6ee9201

Browse files
authored
fix: update consts.py supported_regions (#1838)
* fix: update consts.py supported_regions * chore: update hyperpod_stack_handler region list
1 parent 2f689ec commit 6ee9201

File tree

2 files changed

+20
-2
lines changed

2 files changed

+20
-2
lines changed

src/sagemaker-ai-mcp-server/awslabs/sagemaker_ai_mcp_server/consts.py

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,25 @@
4949

5050
STACK_OPERATIONS = Literal['deploy', 'describe', 'delete']
5151

52-
SUPPORTED_REGIONS = Literal['us-east-1', 'us-east-2', 'us-west-1', 'us-west-2']
52+
SUPPORTED_REGIONS = Literal[
53+
'ap-northeast-1',
54+
'ap-south-1',
55+
'ap-southeast-1',
56+
'ap-southeast-2',
57+
'ap-southeast-3',
58+
'ap-southeast-4',
59+
'ca-central-1',
60+
'eu-central-1',
61+
'eu-north-1',
62+
'eu-south-2',
63+
'eu-west-1',
64+
'eu-west-2',
65+
'sa-east-1',
66+
'us-east-1',
67+
'us-east-2',
68+
'us-west-1',
69+
'us-west-2',
70+
]
5371

5472
CLUSTER_ORCHESTRATORS = Literal['eks', 'slurm']
5573

src/sagemaker-ai-mcp-server/awslabs/sagemaker_ai_mcp_server/sagemaker_hyperpod/hyperpod_stack_handler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ async def manage_hyperpod_stacks(
222222
223223
For 'deploy' operation:
224224
- region_name: REQUIRED: ask user to region of deployment. Ensure this argument matches the AvailabilityZoneIds parameter key.
225-
- available regions: us-east-1,us-east-2,us-west-1,us-west-2,eu-central-1,eu-north-1,eu-west-1,eu-west-2,eu-south-2,ap-south-1,ap-southeast-1,ap-southeast-2,ap-southeast-3,ap-southeast-4,ap-northeast-1,sa-east-1
225+
- available regions: us-east-1,us-east-2,us-west-1,us-west-2,eu-central-1,eu-north-1,eu-west-1,eu-west-2,eu-south-2,ap-south-1,ap-southeast-1,ap-southeast-2,ap-southeast-3,ap-southeast-4,ap-northeast-1,sa-east-1,ca-central-1
226226
- stack_name: REQUIRED - generate a stack name and present to the user. should be in this format: "<HyperPodClusterName>-stack".
227227
- cluster_orchestrator: REQUIRED: ask user to specify "eks" or "slurm"; ONLY eks has NodeProvisioningMode and AutoScalerType, remove for slurm
228228
- params_file: REQUIRED - the parameters file should follow the below format. Ask the user to customize the parameters marked as "<to be filled out by user>" one by one. At the end, ask user if they want to add additional instance group.

0 commit comments

Comments
 (0)