aws-cloudformation / cloudformation-resource-schema

The CloudFormation Resource Schema defines the shape and semantic for resources provisioned by CloudFormation. It is used by provider developers using the CloudFormation RPDK.
Apache License 2.0
90 stars 38 forks source link

Check if properties list is empty before attempting to remove #128

Closed narmadn closed 2 years ago

narmadn commented 3 years ago

Issue #, if available:

This change add a check if property list is empty or not before it attempt to remove any property.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.