-
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
[Bug]: aws_connect_contact_flow is not working correctly after updating provider to 5.77 #40267
Comments
Community NoteVoting for Prioritization
Volunteering to Work on This Issue
|
data.aws_connect_contact_flow type of resources are also affected by this since it also performs Connect:DescribeContactFlow. |
I can reproduce this with our acceptance tests (v5.77.0): % make testacc TESTARGS='-run=TestAccConnect_serial/^ContactFlow$$/basic' PKG=connect
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.23.3 test ./internal/service/connect/... -v -count 1 -parallel 20 -run=TestAccConnect_serial/^ContactFlow$/basic -timeout 360m
2024/11/22 10:38:01 Initializing Terraform AWS Provider...
=== RUN TestAccConnect_serial
=== PAUSE TestAccConnect_serial
=== CONT TestAccConnect_serial
=== RUN TestAccConnect_serial/ContactFlow
=== RUN TestAccConnect_serial/ContactFlow/basic
contact_flow_test.go:29: Step 1/3 error: Error running apply: exit status 1
Error: reading Connect Contact Flow (09d5b286-4ac5-48f1-b1d4-a62efb50d473:bb7fed29-8244-4200-83ad-50259d7c808c): operation error Connect: DescribeContactFlow, https response error StatusCode: 200, RequestID: dc15e5b8-c97b-4741-9aae-67eb70e62a92, deserialization failed, failed to decode response body with invalid JSON, expected Boolean to be of type *bool, got string instead
with aws_connect_contact_flow.test,
on terraform_plugin_test.tf line 19, in resource "aws_connect_contact_flow" "test":
19: resource "aws_connect_contact_flow" "test" {
panic.go:629: Error running post-test destroy, there may be dangling resources: operation error Connect: DescribeContactFlow, serialization failed: serialization failed: input member ContactFlowId must not be empty
--- FAIL: TestAccConnect_serial (76.21s)
--- FAIL: TestAccConnect_serial/ContactFlow (76.21s)
--- FAIL: TestAccConnect_serial/ContactFlow/basic (76.21s)
FAIL
FAIL github.com/hashicorp/terraform-provider-aws/internal/service/connect 81.346s
FAIL
make: *** [testacc] Error 1 |
My initial thoughts are that this problem was introduced with an upstream |
connect@v1.116.0Terraform AWS Provider v5.77.0.
|
Opened aws/aws-sdk-go-v2#2909. |
5.78 was released 2 hours ago and this is still happening... |
Warning This issue has been closed, meaning that any additional comments are hard for our team to see. Please assume that the maintainers will not see them. Ongoing conversations amongst community members are welcome, however, the issue will be locked after 30 days. Moving conversations to another venue, such as the AWS Provider forum, is recommended. If you have additional concerns, please open a new issue, referencing this one where needed. |
This functionality has been released in v5.80.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. Thank you! |
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 Core Version
1.9.3
AWS Provider Version
5.77
Affected Resource(s)
aws_connect_contact_flow
Expected Behavior
Resource should work correctly.
Actual Behavior
After updating AWS provider from 5.76 to 5.77, terraform plan is not working anymore, throwing following error message:
Flows were deployed wit previous version of provider without any issue, now it's not possible to update the resource as even plan is not working. I managed to workaround the problem by locking provider version to 5.76, but it cannot be a long term solution.
Looks like problem concerns
OUTBOUND_WHISPER
andCUSTOMER_QUEUE
flow type.Relevant Error/Panic Output Snippet
Terraform Configuration Files
Steps to Reproduce
CUSTOMER_QUEUE
flow usingaws_connect_contact_flow
resource with provider version 5.76.Debug Output
No response
Panic Output
No response
Important Factoids
No response
References
No response
Would you like to implement a fix?
None
The text was updated successfully, but these errors were encountered: