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 ?

posta 2 anni fa1010 visualizzazioni
2 Risposte
0
Risposta accettata

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
con risposta 2 anni fa
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
con risposta 2 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande