From aa3713b7364592693ca9ebd6e1a4783cc341c94f Mon Sep 17 00:00:00 2001 From: Jordi Piriz Date: Mon, 8 Jul 2024 14:40:19 +0200 Subject: [PATCH] Add delete attribute to rds resource (#683) --- graphql-schemas/schema.yml | 1 + schemas/aws/terraform-resource-2.yml | 11 +++++++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/graphql-schemas/schema.yml b/graphql-schemas/schema.yml index 61c93639..31eb5204 100644 --- a/graphql-schemas/schema.yml +++ b/graphql-schemas/schema.yml @@ -2104,6 +2104,7 @@ confs: - { name: event_notifications, type: AWSRDSEventNotification_v1, isList: true} - { name: data_classification, type: AWSRDSDataClassification_v1 } - { name: managed_by_erv2, type: boolean} + - { name: delete, type: boolean} - name: NamespaceTerraformResourceS3_v1 interface: NamespaceTerraformResourceAWS_v1 diff --git a/schemas/aws/terraform-resource-2.yml b/schemas/aws/terraform-resource-2.yml index 91565ffa..5afecc25 100644 --- a/schemas/aws/terraform-resource-2.yml +++ b/schemas/aws/terraform-resource-2.yml @@ -242,8 +242,12 @@ properties: - name - secret managed_by_erv2: - type: boolean - description: Manage the resource with erv2 + type: boolean + description: Manage the resource with erv2 + delete: + type: boolean + description: Flag to delete the resource + oneOf: - additionalProperties: false @@ -684,6 +688,9 @@ oneOf: managed_by_erv2: type: boolean description: Manage the resource with erv2 + delete: + type: boolean + description: Flag a resource to be deleted required: - identifier