awsdocs/aws-cdk-guide

Combine Resources and Identifiers topic and describe implications of various identifiers

Opened this issue · 0 comments

  • Logical IDs are based on construct IDs and the tree
  • Changing logical ID means replacement (so refactoring implies replacement)
  • Physical names impede replacement and can get you stuck so don't use them, Use autogenerated names instead and pass the result around
  • If you get stuck, use stack.renameLogicalId
  • Cover how to override logical IDs