From aeea0359cc13a2abc53272a35bf52b66f9453a18 Mon Sep 17 00:00:00 2001 From: matharoo Date: Wed, 6 Jul 2022 10:10:31 -0700 Subject: [PATCH 1/2] Adding pending state 'rebooting' to var resourceClusterCreatePendingStates when rds cluster creation happens --- internal/service/rds/cluster.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/service/rds/cluster.go b/internal/service/rds/cluster.go index 1bd94680752..16892794a1a 100644 --- a/internal/service/rds/cluster.go +++ b/internal/service/rds/cluster.go @@ -1501,6 +1501,7 @@ var resourceClusterCreatePendingStates = []string{ "preparing-data-migration", "migrating", "resetting-master-credentials", + "rebooting", } var resourceClusterDeletePendingStates = []string{ From ed846e03b8bf28721a6e4a6444b35eb63355dcbf Mon Sep 17 00:00:00 2001 From: matharoo Date: Tue, 12 Jul 2022 14:15:48 -0700 Subject: [PATCH 2/2] Changelog entry --- .changelog/25718.txt | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 .changelog/25718.txt diff --git a/.changelog/25718.txt b/.changelog/25718.txt new file mode 100644 index 00000000000..cb49d77f64e --- /dev/null +++ b/.changelog/25718.txt @@ -0,0 +1,3 @@ +```release-note:bug +resource/aws_rds_cluster: Prevent failure of AWS RDS Cluster creation when it is in `rebooting` state. +``` \ No newline at end of file