aws-cloudformation / aws-cloudformation-resource-providers-rds

The CloudFormation Resource Provider Package For Amazon Relational Database Service
https://aws.amazon.com/rds/
Apache License 2.0
27 stars 43 forks source link

[DBCluster][DBInstance] Fix empty feature name in `AssiciatedRoles` #444

Closed osdrv closed 1 year ago

osdrv commented 1 year ago

This commit addresses a role mutate stabilization issue that occurs if the role association feature name is an empty string. RDS API treats this as a no-value and returns an null feature name back. Both DBInstance and DBCluster handlers stabilize on both RoleARN and FeatureName attributes upon an addition, hence this discrepancy between an empty string and a null value cause an infinite stabilization.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.