Skip to content

Commit

Permalink
Vpc: fix namespace import
Browse files Browse the repository at this point in the history
closes #1090
  • Loading branch information
fwang committed Sep 19, 2024
1 parent 30fb505 commit 64442a5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion platform/src/components/aws/vpc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -764,7 +764,8 @@ export class Vpc extends Component implements Link.Linkable {
}).id;
const cloudmapNamespace = servicediscovery.PrivateDnsNamespace.get(
`${name}CloudmapNamespace`,
interpolate`${namespaceId}:${vpcID}`,
namespaceId,
{ vpc: vpcID },
);

return new Vpc(name, {
Expand Down

0 comments on commit 64442a5

Please sign in to comment.