Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
kaizencc committed Dec 31, 2024
1 parent 6d9606c commit 1045640
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions packages/aws-cdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -399,18 +399,20 @@ CloudFormation change set but not execute it.

#### Import existing resources

You can pass the `--import-existing-resources` flag to the `deploy` command:
You can utilize the AWS CloudFormation
[feature](https://aws.amazon.com/about-aws/whats-new/2023/11/aws-cloudformation-import-parameter-changesets/)
that automatically imports resources in your template that already exist in your account.
To do so, pass the `--import-existing-resources` flag to the `deploy` command:

```console
$ cdk deploy --import-existing-resources
```

Automatically import resources in your CDK application which represent
unmanaged resources in your account.
Reduces the manual effort of import operations and avoids
deployment failures due to naming conflicts with unmanaged resources in your account.
This automatically imports resources in your CDK application that represent
unmanaged resources in your account. It reduces the manual effort of import operations and
avoids deployment failures due to naming conflicts with unmanaged resources in your account.

Use `--method=prepare-change-set` flag to review which resources are imported or not before deploying a changeset.
Use the `--method=prepare-change-set` flag to review which resources are imported or not before deploying a changeset.
You can inspect the change set created by CDK from the management console or other external tools.

```console
Expand Down

0 comments on commit 1045640

Please sign in to comment.