Skip to content
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

Cannot delete secrets that are part of the Event Bridge connection #1204

Open
moltar opened this issue Mar 28, 2024 · 2 comments
Open

Cannot delete secrets that are part of the Event Bridge connection #1204

moltar opened this issue Mar 28, 2024 · 2 comments

Comments

@moltar
Copy link

moltar commented Mar 28, 2024

These secrets have the following naming pattern:

events!connection/${NAME}/${UUID}

They are managed by the Event Bridge connection.

They cannot be deleted, and can only be scheduled for deletion (min 7 days).

https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-target-connection.html

@ekristen
Copy link
Contributor

@moltar do you have any logs that you can share? It would be helpful to see what ResourceType is throwing the error and what the logs are. Thanks.

@moltar
Copy link
Author

moltar commented Mar 29, 2024

Hey @ekristen, it's just a secret from the AWS Secrets Manager.

The difference is that it's auto-managed by Amazon EventBridge service for you.

From the docs: https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-target-connection.html

A connection defines the authorization method and credentials for EventBridge to use in connecting to a given HTTP endpoint. When you configure the authorization settings and create a connection, it creates a secret in AWS Secrets Manager to securely store the authorization information.

Unfortunately, I cannot repro it at the moment, because I have already wiped it manually.

Next time I deploy and need to nuke again, I will update the error message.

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

No branches or pull requests

2 participants