我如何 link 现有资源到 cloudformation 堆栈?
How can I link an existing resource to cloudformation stack?
我在 AWS 中部署了一个现有的 dynamodb table。我正在创建一个 cloudformation 堆栈来包含这个 table。创建失败,因为 table 已经存在。有没有办法让我 link dynamodb table 到 cloudformation 堆栈?
参见Bringing existing resources into CloudFormation。
During an import operation, you create a change set that imports your
existing resources into a stack or creates a new stack from your
existing resources. You provide the following during import:
- A template that describes the entire stack.
- Identifiers for the resources to import.
我在 AWS 中部署了一个现有的 dynamodb table。我正在创建一个 cloudformation 堆栈来包含这个 table。创建失败,因为 table 已经存在。有没有办法让我 link dynamodb table 到 cloudformation 堆栈?
参见Bringing existing resources into CloudFormation。
During an import operation, you create a change set that imports your existing resources into a stack or creates a new stack from your existing resources. You provide the following during import:
- A template that describes the entire stack.
- Identifiers for the resources to import.