-
Notifications
You must be signed in to change notification settings - Fork 106
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
awscc_connect_approved_origin Error: AWS SDK Go Service Operation Incomplete #966
Comments
Thank you for raising this @gregorycottone. Can you confirm the format of The example below works. terraform {
required_providers {
aws = {
source = "hashicorp/aws"
}
awscc = {
source = "hashicorp/awscc"
}
}
}
resource "aws_connect_instance" "this" {
identity_management_type = "CONNECT_MANAGED"
inbound_calls_enabled = false
outbound_calls_enabled = false
instance_alias = "potato-123456"
}
resource "awscc_connect_approved_origin" "this" {
instance_id = aws_connect_instance.this.arn # Something's going on here
origin = "http://localhost:8080"
} If I set
So I tried giving it a definitely incorrect Arn by doing
and ended up with the same issue you are seeing. |
Thank you for the reply @kadrach I confirm that the input that I set to instance_id is the correct arn. In particular this is how I have defined the output of my connect instance: Also, from the error I get: "Invalid parameter: arn:aws:connect:xx-xxxx-x:xxxxxxxxxxxx:instance/xxxxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx" which is an "arn", not an "id". My code is exactly equal to your example except for this parameter: identity_management_type = "CONNECT_MANAGED", I didn't define this parameter in my resource |
Ok I found the error in my code, I was configuring awscc provider in a different region with respect to the region of the connect instance. |
Community Note
Terraform CLI and Terraform AWS Cloud Control Provider Version
terraform-provider-awscc_v0.52.0_x5
Affected Resource(s)
Terraform Configuration Files
Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.
Debug Output
Panic Output
Expected Behavior
I would expected the creation of an approved domain in my existing Amazon Connect Instance:
Actual Behavior
I got this terraform error:
Steps to Reproduce
Important Factoids
References
The text was updated successfully, but these errors were encountered: