AWS Connect instance creation via Terraform script
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 ?
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
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
Relevant questions
lightsail ssh "connecting to instance..." can't connected to my instance with ssh
asked 3 months agoAWS Connect instance creation via Terraform script
Accepted Answerasked 4 months agoAmazon Connect instance creation via automated scripts
Accepted Answerasked 5 months agoHow I can increase the Integration association limit for the Amazon Connect instance?
asked 2 months agoUnable to connect to EC2 instance in private Subnet
asked a year agoContrast between file creation via EC2 Instance Connect & SSH Client
asked 6 months agoAmazon Connect security profile creation via Terraform scripts
Accepted Answerasked 4 months agoCan't connect to an RDS Instance from Lambda (different account tough)
asked 2 years agoUnable to connect to EC2 instance via aws website
Accepted Answerasked 10 days agoHow do I link my Amazon Connect instance to a Lambda function outside the contact flow with automation
asked 7 days ago