[Bug]: Scheduled Action Update State Override Start Time and End Time with Null value #33708
Labels
bug
Addresses a defect in current functionality.
service/appautoscaling
Issues and PRs that pertain to the appautoscaling service.
Milestone
Terraform Core Version
1.1.X
AWS Provider Version
5.3.0
Affected Resource(s)
Expected Behavior
startTime
andendTime
minCapacity
for existing scheduled action that has been created at step 1schedule
value updated, but retain start time and end time valueActual Behavior
startTime
andendTime
minCapacity
for existing scheduled action that has been created at step 1schedule
value updated,startTime
andendTime
value changed to nullRelevant Error/Panic Output Snippet
Terraform Configuration Files
This the only config, but as I mentioned above on the behavior section, I update the
minCapacity
value and re-apply it again, thenstart_time
andend_time
is null when I check the schedule action state.Steps to Reproduce
minCapacity
value (Notice thatStartTime
andEndTime
are missing after update):Debug Output
I tried to debug it locally with
main
branch and checkout a new branch base onmain
and try to debug it from I got the unexpected result when run the acc test.StartTime
andEndTime
are missing after update):Panic Output
No response
Important Factoids
Since I'm newb so I tried to debug it locally by print the request payload and the state that has been stored, here is my findings:
with the stored state:
Schedule
value above scheduled action input payload:stored state after update
Somehow
StartTime
andEndTime
has been override but other value likeScalableTargetAction
doesn't get override bynull
valueReferences
No response
Would you like to implement a fix?
Yes
The text was updated successfully, but these errors were encountered: