Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion internal/instance/resource_instance.go
Original file line number Diff line number Diff line change
Expand Up @@ -1372,7 +1372,7 @@ func (r InstanceResource) SyncState(ctx context.Context, tfState *tfsdk.State, s
// Update "running" attribute based on the instance's current status.
// This way, terraform will detect the change if the current status
// does not match the expected one.
m.Running = types.BoolValue(instanceState.Status == api.Running.String())
m.Running = types.BoolValue(isInstanceRunning(*instanceState))

m.Target = types.StringValue("")
if server.IsClustered() || instance.Location != "none" {
Expand Down
Loading