如何解决删除策略保留导致问题
我正在尝试使用以下代码将现有的ddb表导入到我的cf yaml中:
UserPreferencesDDBTable:
Type: AWS::DynamoDB::Table
DeletionPolicy: Retain
Properties:
AttributeDefinitions:
- AttributeName: id
AttributeType: S
- AttributeName: subid
AttributeType: S
KeySchema:
- AttributeName: id
KeyType: HASH
- AttributeName: subid
KeyType: RANGE
SSESpecification:
SSEEnabled: true
TableName: 'test-user-preferences'
在云形成堆栈事件中,我看到它正在尝试创建它并失败,因为存在具有该名称的资源。 我在这里做错了什么?
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。