[Bug]: aws_workspaces_workspace running_mode_auto_stop_timeout_in_minutes not updating #40580
Open
Description
Terraform Core Version
v1.10.2, v1.1.9
AWS Provider Version
v5.81.0, v5.46.0
Affected Resource(s)
- aws_workspaces_workspace
Expected Behavior
When updating the workspace property running_mode_auto_stop_timeout_in_minutes
from the default of 60 minutes to 120 minutes the property should change.
Actual Behavior
After updating the workspace property running_mode_auto_stop_timeout_in_minutes
from the default of 60 minutes to 120 minutes Terraform showed this was modified but it had not changed.
Relevant Error/Panic Output Snippet
aws_workspaces_workspace.workspaces["redacted"] will be updated in-place
~ resource "aws_workspaces_workspace" "workspaces" {
id = "ws-redacted"
tags = {
}
# (10 unchanged attributes hidden)
~ workspace_properties {
~ running_mode_auto_stop_timeout_in_minutes = 60 -> 120
# (4 unchanged attributes hidden)
}
}
aws_workspaces_workspace.workspaces["redacted"]: Modifying... [id=redacted]
aws_workspaces_workspace.workspaces["redacted"]: Modifications complete after 0s [id=redacted]
Terraform Configuration Files
terraform {
required_version = "1.10.2"
required_providers {
aws = {
source = "hashicorp/aws"
version = "~> 5.81.0"
}
}
}
Steps to Reproduce
- Deploy an aws_workspaces_workspace resource with the workspace property
running_mode_auto_stop_timeout_in_minutes
set - Modify the property
running_mode_auto_stop_timeout_in_minutes
- Apply the change
- Observe that the time has not changed in the AWS console
Debug Output
No response
Panic Output
No response
Important Factoids
No response
References
No response
Would you like to implement a fix?
None