From a3ee1fa7e991300d6b11ac322b19de67c41d54d7 Mon Sep 17 00:00:00 2001 From: Thujeevan Date: Fri, 29 Aug 2025 00:00:48 +0530 Subject: [PATCH] fix: error creating endpoint service passed necessary profile option to the respective L1 resources --- src/l3-resources/atlas-basic-private-endpoint/index.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/l3-resources/atlas-basic-private-endpoint/index.ts b/src/l3-resources/atlas-basic-private-endpoint/index.ts index 07358718..58ec041b 100644 --- a/src/l3-resources/atlas-basic-private-endpoint/index.ts +++ b/src/l3-resources/atlas-basic-private-endpoint/index.ts @@ -67,6 +67,7 @@ export class AtlasBasicPrivateEndpoint extends Construct { this, "atlas-private-endpoint-service-".concat(id), { + profile: props.profile, projectId: this.atlasBasic.mProject.attrId, region: region.toUpperCase().replace(/-/g, "_"), cloudProvider: CfnPrivateEndpointServicePropsCloudProvider.AWS, @@ -90,6 +91,7 @@ export class AtlasBasicPrivateEndpoint extends Construct { this, "atlas-private-endpoint-".concat(id), { + profile: props.profile, projectId: this.atlasBasic.mProject.attrId, endpointServiceId: this.privateEndpointService.attrId, id: this.awsPrivateEndpoint.ref,