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 Risposta
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
con risposta 3 mesi fa
profile picture
ESPERTO
verificato un mese fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande