AWS re:Post Knowledge Center Feedback Survey
Help us improve the AWS re:Post Knowledge Center by sharing your feedback in a brief survey. Your input can influence how we create and update our content to better support your AWS journey.
【以下的问题经过翻译处理】 我无法在 CloudFormation 模板中使用 Fn::GetAtt 获取 AWS::Scheduler::Schedule 的 ARN。 CloudFormation 在更新堆栈时会出现此错误。
根据AWS::Scheduler::Schedule的资源和策略参考,Arn 已定义为 Fn::GetAtt。
在我的 CFT 中,我定义了 AWS::Scheduler::Schedule 资源并成功部署。
资源: ScheduleGroup: 类型:AWS::Scheduler::ScheduleGroup DjangoBackendClearDjangoSessionsSchedule: 类型:AWS::Scheduler::Schedule 属性: GroupName:!Ref调度组 # …
如果我为计划的 ARN 添加输出,则 CloudFormation 将出现上述消息。 这是模板的唯一更改。
输出: DjangoBackendClearDjangoSessionsScheduleArn: 值:!GetAtt DjangoBackendClearDjangoSessionsSchedule.Arn
我已确认在同一帐户和同一区域中确实有一个名为 lops-coder-DjangoBackendClearDjangoSessionsSchedul-VZ00I61PNLJ4 的计划。
lops-coder-DjangoBackendClearDjangoSessionsSchedul-VZ00I61PNLJ4
【以下的回答经过翻译处理】 我在我的环境中能够复现这个问题。可能是一个bug,你应该联系AWS支持。
您未登录。 登录 发布回答。
一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。