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

r/aws_connect_instance: Crash when CreatedTime is null. #31684

Closed
ewbankkit opened this issue May 31, 2023 · 2 comments · Fixed by #31689
Closed

r/aws_connect_instance: Crash when CreatedTime is null. #31684

ewbankkit opened this issue May 31, 2023 · 2 comments · Fixed by #31689
Labels
bug Addresses a defect in current functionality. crash Results from or addresses a Terraform crash or kernel panic. service/connect Issues and PRs that pertain to the connect service.

Comments

@ewbankkit
Copy link
Contributor

ewbankkit commented May 31, 2023

github.com/hashicorp/terraform-provider-aws/internal/service/connect.resourceInstanceRead({0xf0a19c0, 0xc007dc82d0}, 0xc007d96a00, {0xdb8cd20?, 0xc0002eec00?}) github.com/hashicorp/terraform-provider-aws/internal/service/connect/instance.go:206 +0x628
2023-05-24T14:29:57.883Z [DEBUG] provider.terraform-provider-aws_v4.67.0_x5: HTTP Response Received: http.response.body="{"Instance":{"Id":"7a9a8f2f-b47b-4d10-8343-e31dc541c2db","Arn":"arn:aws:connect:us-east-1:123456789012:instance/7a9a8f2f-b47b-4d10-8343-e31dc541c2db","IdentityManagementType":null,"InstanceAlias":null,"InstanceAccessUrl":null,"CreatedTime":null,"ServiceRole":null,"InstanceStatus":"CREATION_FAILED","StatusReason":{"Message":"Instance creation failed due to directory issue, please refer to documentation."},"InboundCallsEnabled":null,"OutboundCallsEnabled":null,"Tags":{"resourceArn":"arn:aws:connect:us-east-1:123456789012:instance/7a9a8f2f-b47b-4d10-8343-e31dc541c2db"}}}" http.response.header.x_amz_apigw_id=FbnYhGJRIAMF5CQ= tf_req_id=23365aa2-d737-0aaa-4e63-f4f59b6b1a04 http.duration=91 http.response.header.access_control_allow_origin=* http.response.header.x_amzn_requestid=075c579d-ad40-4e6d-b31b-6dcae0512be6 http.response.header.x_amzn_trace_id=Root=1-646e1f69-6156ec7f0a6a5eca08bd4bd9 @caller=github.com/hashicorp/aws-sdk-go-base/v2/awsv1shim/[email protected]/logger.go:138 tf_mux_provider=*schema.GRPCProviderServer tf_provider_addr=registry.terraform.io/hashicorp/aws aws.operation=DescribeInstance aws.region=us-east-1 http.response.header.access_control_allow_methods=GET,OPTIONS,POST http.response.header.content_type=application/json http.status_code=200 @module=aws http.response_content_length=574 tf_resource_type=aws_connect_instance aws.sdk=aws-sdk-go http.response.header.access_control_allow_headers=Content-Type,X-Amz-Date,Authorization,X-Api-Key,X-Amz-Security-Token http.response.header.access_control_expose_headers=x-amzn-RequestId,x-amzn-ErrorType aws.service=Connect http.response.header.date="Wed, 24 May 2023 14:30:01 GMT" tf_rpc=ReadResource timestamp=2023-05-24T14:29:57.882Z

d.Set("created_time", instance.CreatedTime.Format(time.RFC3339))

@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.

@ewbankkit ewbankkit added bug Addresses a defect in current functionality. crash Results from or addresses a Terraform crash or kernel panic. service/connect Issues and PRs that pertain to the connect service. labels May 31, 2023
@ewbankkit ewbankkit changed the title r/aws_connect_instance: Crash when CreatedTime is null. r/aws_connect_instance: Crash when CreatedTime is null. May 31, 2023
@github-actions
Copy link

github-actions bot commented Jul 1, 2023

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.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 1, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Addresses a defect in current functionality. crash Results from or addresses a Terraform crash or kernel panic. service/connect Issues and PRs that pertain to the connect service.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant