Skip to content

Conversation

@thujee
Copy link
Contributor

@thujee thujee commented Aug 28, 2025

Proposed changes

Jira ticket: CLOUDP-#

The error was

Resource handler returned message: "ResourceNotFoundException: Secrets Manager can't find the specified secret." (RequestToken: <redacted>, HandlerErrorCode: NotFound)

This happens because CfnPrivateEndpointService expects the profile option to correctly identity the secrets manager secret which is currently not being passed with options object in AtlasBasicPrivateEndpoint L3 resource.

This fix is correctly propagating the profile option of the l3 constructs to the L1 constructs.

Link to any related issue(s):

Type of change:

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as
    expected)
  • This change requires a documentation update

Required Checklist:

  • I have signed the MongoDB CLA
  • I have added tests that prove my fix is effective or that my feature works
  • I have added any necessary documentation (if appropriate)
  • I have run make fmt and formatted my code
  • I have tested the CDK constructor in a CFN stack. See TESTING.md
  • If changes include removal or addition of 3rd party GitHub actions, I updated our internal document. Reach out to the APIx Integration slack channel to get access to the internal document.

Further comments

passed necessary profile option to the respective L1 resources
@thujee thujee requested a review from a team as a code owner August 28, 2025 18:32
@AgustinBettati
Copy link
Member

Hi @thujee.

Thank you for identifying this bug and providing a fix! I will create a PR by cherry-picking your commit so all CI checks are run.

@thujee
Copy link
Contributor Author

thujee commented Sep 6, 2025

Hi @thujee.

Thank you for identifying this bug and providing a fix! I will create a PR by cherry-picking your commit so all CI checks are run.

thank you

@AgustinBettati
Copy link
Member

related PR: #488

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants