Skip to content

Commit

Permalink
Merge pull request #36506 from SignalWhisperer/f-requires-restart
Browse files Browse the repository at this point in the history
fix(aws_mq_broker): Do not reboot on changes to `maintenance_window_start_time` or `auto_minor_version_upgrade`
  • Loading branch information
gdavison committed Jun 4, 2024
2 parents 1e912eb + fda6f7b commit d8ec76b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .changelog/36506.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
resource/aws_mq_broker: Do not reboot on changes to `maintenance_window_start_time` or `auto_minor_version_upgrade`
```
4 changes: 0 additions & 4 deletions internal/service/mq/broker.go
Original file line number Diff line number Diff line change
Expand Up @@ -615,8 +615,6 @@ func resourceBrokerUpdate(ctx context.Context, d *schema.ResourceData, meta inte
if err != nil {
return sdkdiag.AppendErrorf(diags, "updating MQ Broker (%s) auto minor version upgrade: %s", d.Id(), err)
}

requiresReboot = true
}

if d.HasChange("maintenance_window_start_time") {
Expand All @@ -630,8 +628,6 @@ func resourceBrokerUpdate(ctx context.Context, d *schema.ResourceData, meta inte
if err != nil {
return sdkdiag.AppendErrorf(diags, "updating MQ Broker (%s) maintenance window start time: %s", d.Id(), err)
}

requiresReboot = true
}

if d.HasChange("data_replication_mode") {
Expand Down

0 comments on commit d8ec76b

Please sign in to comment.