We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6420ed9 commit b6caa02Copy full SHA for b6caa02
1 file changed
cdk/src/handlers/shared/strategies/ec2-strategy.ts
@@ -153,8 +153,8 @@ export class Ec2ComputeStrategy implements ComputeStrategy {
153
'cleanup() {',
154
' docker system prune -f || true',
155
' rm -f /tmp/payload.json',
156
- ` aws ec2 create-tags --resources "$INSTANCE_ID" --region "$AWS_REGION" --tags Key=bgagent:status,Value=idle || true`,
157
- ` aws ec2 delete-tags --resources "$INSTANCE_ID" --region "$AWS_REGION" --tags Key=bgagent:task-id || true`,
+ ' aws ec2 create-tags --resources "$INSTANCE_ID" --region "$AWS_REGION" --tags Key=bgagent:status,Value=idle || true',
+ ' aws ec2 delete-tags --resources "$INSTANCE_ID" --region "$AWS_REGION" --tags Key=bgagent:task-id || true',
158
'}',
159
'trap cleanup EXIT',
160
'',
0 commit comments