问题描述
我正在尝试使用以下代码将现有的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 (将#修改为@)