- Más nuevo
- Más votos
- Más comentarios
Hello,
To answer the question, it Is possible to import resources using cdk these are the supported resources [https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/resource-import-supported-resources.html],
The error “you have modified resources [CDKMetadata] in your template that are not being imported. Update, create or delete operations cannot be executed during import operations” occurs when you modify an existing resource during a resource import operation. During an import operation, you can't create, update, and delete a resource.
CDK is under the impression that you are attempting both an import and an UPDATE/CREATE on a resource. In order to troubleshoot this issue, kindly compare the currently existing stack template to the import template. If that the CDK metadata differs on both templates. Cdk will assume that you wanted to update the metadata resource.
For further troubleshooting, I recommend that you open a support case with AWS so we can analyze the two templates.
Contenido relevante
- OFICIAL DE AWSActualizada hace 2 años