We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a031d3 commit b961751Copy full SHA for b961751
packages/cdk/stacks/VpcResourcesStack.ts
@@ -128,7 +128,7 @@ export class VpcResourcesStack extends Stack {
128
}
129
130
let privateSubnetIds = []
131
- for (const [i, subnet] of vpc.publicSubnets.entries()){
+ for (const [i, subnet] of vpc.privateSubnets.entries()){
132
const subnetIdentifier = String.fromCharCode("A".charCodeAt(0) + i)
133
new CfnOutput(this, `PrivateSubnet${subnetIdentifier}`, {
134
value: subnet.subnetId,
0 commit comments