-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Chaning definition of aws_sfn_state_machine doesn't update the state machine in AWS #12506
Comments
…on creation + wait for delete + add `arn` attribute (#12005) Output from acceptance testing (unrelated consistent test failure due to #12506): ``` --- PASS: TestAccAWSSfnStateMachine_tags (55.38s) --- FAIL: TestAccAWSSfnStateMachine_createUpdate (61.93s) --- PASS: TestAccAWSSfnStateMachine_disappears (67.31s) ```
Has this been fixed? I still have the same situation. Terraform Version Affected Resource(s) |
I don't think it has been fixed. Whenever I change state machine definition, I also change the terraform resource name to force terraform to recreate the machine (which isn't ideal obviously) |
From the AWS API Reference: so the read after update will not necessarily reflect changes immediately. |
This has been released in version 3.39.0 of the Terraform AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template for triage. Thanks! |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Terraform Version
0.11
Affected Resource(s)
aws_sfn_state_machine
Expected Behavior
Modifying the "Definition" of aws_sfn_state_machine should also update the aws_sfn_state_machine in AWS.
Actual Behavior
Modifying the "Definition" of aws_sfn_state_machine hasn't change the definition of aws_sfn_state_machine in AWS.
Steps to Reproduce
terraform apply
Modify aws_sfn_state_machine Definition. Specifically, I changed these lines:
To these:
When I ran the state machine (right after I was expecting it to update), individual lambdas received
totalSegments
of 2The text was updated successfully, but these errors were encountered: