TerraformでAuroraクラスターとインスタンスを作成しようとしたら
InvalidParameterCombination: The requested DB Instance will be a member of a DB Cluster. Set backup window for the DB Cluster.
と怒られた。
解決策
aws_rds_clusterとaws_rds_cluster_instanceの両方にpreferred_backup_windowを入れていたのが原因でした。
aws_rds_cluster_instance側からpreferred_backup_windowを削除して解決。
NOTE: If preferred_backup_window is set at the cluster level, this argument must be omitted.
コメント