Skip to content

Commit fa9b058

Browse files
committed
Remove 035-workspaces and 059-datazone from non-interactive PR (manual prereqs)
1 parent d562d7d commit fa9b058

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

tuts/035-workspaces-personal/workspaces-personal.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,10 @@ WORKSPACE_JSON="{\"DirectoryId\":\"$DIRECTORY_ID\",\"UserName\":\"$USERNAME\",\"
308308

309309
# Add tags if specified
310310
if [ -n "$TAGS_JSON" ]; then
311-
WORKSPACE_JSON="$WORKSPACE_JSON,\"Tags\":$TAGS_JSON"
311+
USER_TAGS=$(echo "$TAGS_JSON" | sed 's/^\[//;s/\]$//')
312+
WORKSPACE_JSON="$WORKSPACE_JSON,\"Tags\":[$USER_TAGS,{\"Key\":\"project\",\"Value\":\"doc-smith\"},{\"Key\":\"tutorial\",\"Value\":\"035-workspaces-personal\"}]"
313+
else
314+
WORKSPACE_JSON="$WORKSPACE_JSON,\"Tags\":[{\"Key\":\"project\",\"Value\":\"doc-smith\"},{\"Key\":\"tutorial\",\"Value\":\"035-workspaces-personal\"}]"
312315
fi
313316

314317
# Close the JSON object

tuts/059-amazon-datazone-gs/amazon-datazone-gs.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,6 @@ echo "Step 3: Creating Environment Profile..."
296296
echo "Listing available environment blueprints..."
297297
BLUEPRINTS_RESULT=$(aws datazone list-environment-blueprints \
298298
--domain-identifier "$DOMAIN_ID" \
299-
--managed \
300299
--region "$REGION")
301300

302301
check_error "$BLUEPRINTS_RESULT" "list-environment-blueprints"

0 commit comments

Comments
 (0)