By using AWS re:Post, you agree to the Terms of Use
/AWS Connect instance creation via Terraform script/

AWS Connect instance creation via Terraform script

0

Hi, I am trying to create an AWS connect instance with the below script instance. tf file. I am getting the below error

resource "aws_connect_instance" "test" { Instance_alias = "second-instance-alias" identity_management_type = "SAML" inbound_calls_enabled = true outbound_calls_enabled = true }

**Error: error creating Connect instance (): Request context cancelled caused by: Context deadline exceeded. ** I have checked with the internal IAS team and they said that there was no issue on TFE as well as network side. Please let me know if the above script if missed anything ?

2 Answers
0
Accepted Answer

This looks to be a terraform-related issue and not AWS. However, I did try creating an Amazon Connect instance the other day with a similar configuration as yours and it was working. I tried again today and it's still working. However, in both times, I used Terraform OSS. I suggest to save the logs and check your issue with Terraform team.

https://github.com/hashicorp/terraform/issues https://github.com/hashicorp/terraform-provider-aws/issues

answered 4 months ago
0

Hashicorp tooling is written in Golang. The error context deadline exceeded means that the expected time from the completion of an operation exceeded, and an exception was thrown. Hashicorp has posted a blog about this error that I would recommend you review:

Hashicorp Blog on context deadline exceeded (external link) https://support.hashicorp.com/hc/en-us/articles/4404634420755-Why-am-I-seeing-context-deadline-exceeded-errors

answered 9 days ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions