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?
已提問 3 個月前檢視次數 120 次
1 個回答
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
已回答 3 個月前
profile picture
專家
已審閱 1 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南