Skip to content

Commit

Permalink
Empty string lists!
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewpatto committed Sep 12, 2023
1 parent 5ede2c2 commit 2fc246e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/stack/infrastructure-stack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,8 @@ export class InfrastructureStack extends Stack {
// our infrastructure client handles the other end of this behaviour
new StringListParameter(this, "PrivateSubnetIdsParameter", {
parameterName: vpcPrivateSubnetIdsParameterName(id),
stringListValue: [""],
// grrr... ssm string lists can neither be zero length... nor contain empty strings...
stringListValue: ["empty"],
});
}

Expand All @@ -140,7 +141,8 @@ export class InfrastructureStack extends Stack {
// our infrastructure client handles the other end of this behaviour
new StringListParameter(this, "IsolatedSubnetIdsParameter", {
parameterName: vpcIsolatedSubnetIdsParameterName(id),
stringListValue: [""],
// grrr... ssm string lists can neither be zero length... nor contain empty strings...
stringListValue: ["empty"],
});
}

Expand Down

0 comments on commit 2fc246e

Please sign in to comment.