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 年前檢視次數 1012 次
2 個答案
0
已接受的答案

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

profile picture
joahna
已回答 2 年前
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

profile pictureAWS
已回答 2 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南