From 0ecdbafad3a183ec2faf6e3674a48372cbd5e85f Mon Sep 17 00:00:00 2001 From: Mike Balfour <82224783+mbalfour-amzn@users.noreply.github.com> Date: Fri, 31 May 2024 11:09:12 -0500 Subject: [PATCH] Add update and delete policies. Fixes a warning flagged by AWS Rules that stateful resources need an explicit update and delete policy. --- extra/cloudformation/default-unauth-resources-template.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/extra/cloudformation/default-unauth-resources-template.yaml b/extra/cloudformation/default-unauth-resources-template.yaml index e87ba7eb..768fbdf7 100644 --- a/extra/cloudformation/default-unauth-resources-template.yaml +++ b/extra/cloudformation/default-unauth-resources-template.yaml @@ -378,6 +378,8 @@ Resources: AmazonLocationDemoKinesisStream: Condition: EnablePinTranslate Type: AWS::Kinesis::Stream + DeletionPolicy: RetainExceptOnCreate + UpdateReplacePolicy: Retain Properties: Name: location.aws.com.demo.app RetentionPeriodHours: 24