Skip to content

(aws-ec2): AmazonLinuxImage: add option to remember selected AMI in context for stateful instances #12355

@felipepulpo

Description

@felipepulpo

The ec2 instance was recreated when I made a deployment where only the cdk version was updated.

Reproduction Steps

  • update the CDK version from 1.78 to 1.82
  • deploy cdk

What did you expect to happen?

The ec2 instance (and any other resource) stays running

What actually happened?

The ec2 instance was removed and recreated

Environment

  • CDK CLI Version : 1.77
  • Framework Version: 1.82
  • Node.js Version: 10.18.1
  • OS :
  • Language (Version): TypeScript (3.8.3)

Other


This is 🐛 Bug Report

Metadata

Metadata

Assignees

No one assigned

    Labels

    @aws-cdk/aws-ec2Related to Amazon Elastic Compute Cloudclosed-for-stalenessThis issue was automatically closed because it hadn't received any attention in a while.effort/smallSmall work item – less than a day of effortfeature-requestA feature should be added or improved.feature/enhancementA new API to make things easier or more intuitive. A catch-all for general feature requests.good first issueRelated to contributions. See CONTRIBUTING.mdp2

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions