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

[DBInstance] Set `EnablePerformanceInsights` on Restore #422

Closed osdrv closed 1 year ago

osdrv commented 1 year ago

This commit enables modify-after-create handler step on instances that are being restored from a snapshot and have EnablePerformanceInsights set to true. The flag was not set previously becuase RestoreDBInstanceFromDBSnapshot would not expose the corresponding attribute and CFN would detect a false resource drift.

Refs https://github.com/aws-cloudformation/cloudformation-coverage-roadmap/issues/1569.

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