Skip to content

feat: expose singleton uuid for SopsSyncProvider #1141

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

tonnico
Copy link
Contributor

@tonnico tonnico commented Apr 14, 2025

A singleton function in AWS CDK is unique by the uuid. To create a custom singleton the user may want to overwrite the uuid to create a custom one. Because of the nature of AWS CDK singelton functions, the first function created in a stack is always used. Other functions with the same uuid would be thrown away.

Additional the default id from the SopsSyncProvider is marked deprecated. It has no influence of creating a Singleton or not. So it is better pratice to not have a default value.

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.

1 participant