How do I delete a CloudFormation stack but retain some or all of the provisioned resources?

    16
    7



    Find more details in the AWS Knowledge Center: https://aws.amazon.com/premiumsupport/knowledge-center/delete-cf-stack-retain-resources/

    Sujith, an AWS Cloud Support Engineer, shows you how to delete a CloudFormation stack but retain some or all of the provisioned resources.

    source

    Previous articleData Science Nima ? | Birinchi Dastur
    Next articlePublishing Build Artifact In Azure DevOps Pipelines

    7 COMMENTS

    1. Thanks for this good tutorial. It clears my mind regarding CF Retain Policy.
      I got one question though. How CF handle the stack recreation with resources that have been retains.

      Actually, what happens if a create a new stack from the same template ?
      Does CF :
      – Override the previously retained resources ?
      – Fail to execute because retained resources already exist ?

      Thanks in advance