From f6449ecb9dc4fc1308aed934d26a3fa2f954ce37 Mon Sep 17 00:00:00 2001 From: MD NURE ALAM Nahid Date: Wed, 8 Nov 2023 15:04:23 +0000 Subject: [PATCH] AWS cloudformation has bug for deletion policy update --- provider/aws/formation/resource/mariadb.json.tmpl | 6 ------ provider/aws/formation/resource/mysql.json.tmpl | 6 ------ provider/aws/formation/resource/postgres.json.tmpl | 6 ------ 3 files changed, 18 deletions(-) diff --git a/provider/aws/formation/resource/mariadb.json.tmpl b/provider/aws/formation/resource/mariadb.json.tmpl index 1d703176e..145e6062a 100644 --- a/provider/aws/formation/resource/mariadb.json.tmpl +++ b/provider/aws/formation/resource/mariadb.json.tmpl @@ -19,11 +19,6 @@ "Type": "String", "Default": "db.t2.micro" }, - "DeletionProtection": { - "Type": "String", - "Default": "false", - "AllowedValues": [ "true", "false" ] - }, "Durable": { "Type": "String", "Default": "false", @@ -107,7 +102,6 @@ ] ] } } ] }, "DBSubnetGroupName": { "Ref": "SubnetGroup" }, - "DeletionProtection": { "Ref": "DeletionProtection" }, "Engine": "mariadb", "EngineVersion": { "Ref": "Version" }, "Iops": { "Fn::If": [ "BlankIops", { "Ref": "AWS::NoValue" }, { "Ref": "Iops" } ] }, diff --git a/provider/aws/formation/resource/mysql.json.tmpl b/provider/aws/formation/resource/mysql.json.tmpl index e9511c429..219aacaa1 100644 --- a/provider/aws/formation/resource/mysql.json.tmpl +++ b/provider/aws/formation/resource/mysql.json.tmpl @@ -19,11 +19,6 @@ "Type": "String", "Default": "db.t2.micro" }, - "DeletionProtection": { - "Type": "String", - "Default": "false", - "AllowedValues": [ "true", "false" ] - }, "Durable": { "Type": "String", "Default": "false", @@ -107,7 +102,6 @@ ] ] } } ] }, "DBSubnetGroupName": { "Ref": "SubnetGroup" }, - "DeletionProtection": { "Ref": "DeletionProtection" }, "Engine": "mysql", "EngineVersion": { "Ref": "Version" }, "Iops": { "Fn::If": [ "BlankIops", { "Ref": "AWS::NoValue" }, { "Ref": "Iops" } ] }, diff --git a/provider/aws/formation/resource/postgres.json.tmpl b/provider/aws/formation/resource/postgres.json.tmpl index 74928ee97..8c8d737e5 100644 --- a/provider/aws/formation/resource/postgres.json.tmpl +++ b/provider/aws/formation/resource/postgres.json.tmpl @@ -20,11 +20,6 @@ "Type": "String", "Default": "db.t2.micro" }, - "DeletionProtection": { - "Type": "String", - "Default": "false", - "AllowedValues": [ "true", "false" ] - }, "Durable": { "Type": "String", "Default": "false", @@ -111,7 +106,6 @@ ] } } ] }, "DBSubnetGroupName": { "Ref": "SubnetGroup" }, - "DeletionProtection": { "Ref": "DeletionProtection" }, "Engine": "postgres", "EngineVersion": { "Ref": "Version" }, "Iops": { "Fn::If": [ "BlankIops", { "Ref": "AWS::NoValue" }, { "Ref": "Iops" } ] },