@echo off
setlocal enableextensions
FOR /F "tokens=* USEBACKQ" %%g IN (`aws ssm get-parameters --names "/provisioning/core/vpc/default/subnet/compute/connected/SubnetIds" --query "Parameters[*].{Value:Value}" --output=text`) DO (SET PARAM_STORE_VALUE=%%g)
ECHO %PARAM_STORE_VALUE%
set PARAM_STORE_VALUE=%PARAM_STORE_VALUE:,=\",\"%
ECHO "\"%PARAM_STORE_VALUE%\""
aws ssm put-parameter --name "/provisioning/core/vpc/default/subnet/compute/connected/SubnetIds/Sagemaker" --value "\"%PARAM_STORE_VALUE%\"" --type StringList --tier Standard --data-type text --description "This is for testing purpose"
|
No comments:
Post a Comment