Skip to content
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

[Bug]: Use of the ListStateMachineVersionsWithContext method is not supported in all AWS regions #32969

Open
Raptormstr opened this issue Aug 11, 2023 · 1 comment
Labels
bug Addresses a defect in current functionality. service/sfn Issues and PRs that pertain to the sfn service.

Comments

@Raptormstr
Copy link

Terraform Core Version

1.2.3

AWS Provider Version

5.12.0

Affected Resource(s)

The following call introduced with version 5.11.0 is not supported in AWS regions where Step Function versioning is unavailable.

listVersionsOutput, err := conn.ListStateMachineVersionsWithContext(ctx, input)

Expected Behavior

Terraform plan should complete successfully

Actual Behavior

An AccessDeniedException is reported while Terraform attempts to collect information about the existing resources.

Relevant Error/Panic Output Snippet

2023-08-11T12:16:33.154Z [ERROR] provider.terraform-provider-aws_v5.12.0_x5: Response contains error diagnostic: tf_resource_type=aws_sfn_state_machine tf_rpc=ReadResource @module=sdk.proto diagnostic_detail= diagnostic_severity=ERROR tf_provider_addr=registry.terraform.io/hashicorp/aws tf_req_id=ee12d10a-71b1-975f-695a-056d75260b28 @caller=github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov5/internal/diag/diagnostics.go:58 diagnostic_summary="listing Step Functions State Machine (actual state machine arn) Versions: AccessDeniedException: status code: 400, request id: 90ea0fcf-0d6c-4306-8887-e11d692d4f9a" tf_proto_version=5.3 timestamp=2023-08-11T12:16:33.154Z

Terraform Configuration Files

N/A

Steps to Reproduce

In an AWS region which does not support Step Function versions, attempt to create/update a state machine.

Debug Output

No response

Panic Output

No response

Important Factoids

This problem is limited to regions not supporting Step Function versions but for where it occurs, it is a complete blocker.

References

No response

Would you like to implement a fix?

No

@Raptormstr Raptormstr added the bug Addresses a defect in current functionality. label Aug 11, 2023
@github-actions
Copy link

Community Note

Voting for Prioritization

  • Please vote on this issue by adding a 👍 reaction to the original post to help the community and maintainers prioritize this request.
  • Please see our prioritization guide for information on how we prioritize.
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.

Volunteering to Work on This Issue

  • If you are interested in working on this issue, please leave a comment.
  • If this would be your first contribution, please review the contribution guide.

@terraform-aws-provider terraform-aws-provider bot added the needs-triage Waiting for first response or review from a maintainer. label Aug 11, 2023
@justinretzolk justinretzolk added service/sfn Issues and PRs that pertain to the sfn service. and removed needs-triage Waiting for first response or review from a maintainer. labels Aug 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Addresses a defect in current functionality. service/sfn Issues and PRs that pertain to the sfn service.
Projects
None yet
Development

No branches or pull requests

2 participants