AWS::SecretsManager::RotationSchedule doesn't check for existing schedule

0

I was able to add a SecretsManager rotation schedule resource to two different stacks for the same secret. When I removed the duplicate resource from one one of the stacks it deleted the schedule from the secret.

  1. This seems like a bug in Cloudformation/Secrets Manager. I'd expect them to prevent creating the same resource in two different stacks.
  2. Any advice on getting the schedule back in sync with the remaining stack resource?
1 Antwort
0

Hi, AWS-User-1437729

You're right, I'm not seeing a do not duplicate check in the API doc for AWS::SecretsManager::RotationSchedule properties.

What do your CFN templates look like, are you doing nested stack or export-import with your resource creations?

profile pictureAWS
beantwortet vor 3 Monaten
profile picture
EXPERTE
überprüft vor 2 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen