Skip to content

Commit a87d33a

Browse files
fix: Propagate optional profile property from L3 to L1 constructs in atlas-basic-private-endpoint (#488)
Co-authored-by: Thujeevan <[email protected]>
1 parent b5cbec6 commit a87d33a

File tree

1 file changed

+2
-0
lines changed
  • src/l3-resources/atlas-basic-private-endpoint

1 file changed

+2
-0
lines changed

src/l3-resources/atlas-basic-private-endpoint/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ export class AtlasBasicPrivateEndpoint extends Construct {
6767
this,
6868
"atlas-private-endpoint-service-".concat(id),
6969
{
70+
profile: props.profile,
7071
projectId: this.atlasBasic.mProject.attrId,
7172
region: region.toUpperCase().replace(/-/g, "_"),
7273
cloudProvider: CfnPrivateEndpointServicePropsCloudProvider.AWS,
@@ -90,6 +91,7 @@ export class AtlasBasicPrivateEndpoint extends Construct {
9091
this,
9192
"atlas-private-endpoint-".concat(id),
9293
{
94+
profile: props.profile,
9395
projectId: this.atlasBasic.mProject.attrId,
9496
endpointServiceId: this.privateEndpointService.attrId,
9597
id: this.awsPrivateEndpoint.ref,

0 commit comments

Comments
 (0)