mirror of
https://github.com/floci-io/floci.git
synced 2026-11-27 15:49:33 -05:00
* fix(rds): store the Tags and KmsKeyId of CreateDBCluster CreateDBCluster ignored both. ListTagsForResource on a cluster created with Tags returned none, DescribeDBClusters had no TagList, and it never returned a KmsKeyId, so a caller that reads them back sees none of them. The Terraform AWS provider then has an empty tags and tags_all in the state and, because kms_key_id differs from the configuration, plans to replace the cluster on every run. handleCreateDbCluster now reads Tags (the Tag and member forms, as the other RDS create calls do) and KmsKeyId and stores them on the new cluster. DBCluster gets a KmsKeyId of its own, separate from the master user secret's, and CreateDBCluster and DescribeDBClusters return it, and the cluster's tags as its TagList. * docs(rds): keep the addRolesToNewDbCluster javadoc above its method applyCreateDbClusterOptions was inserted between the javadoc of addRolesToNewDbCluster and the method, so that javadoc described the new method. Each method now has its own. * refactor(rds): tag a new DB cluster through addTagsToResource