Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Created hosted connect doesn't exist. aws_dx_hosted_connection #25912

Open
togasiiiix opened this issue Jul 21, 2022 · 0 comments
Open

Created hosted connect doesn't exist. aws_dx_hosted_connection #25912

togasiiiix opened this issue Jul 21, 2022 · 0 comments
Labels
bug Addresses a defect in current functionality. service/directconnect Issues and PRs that pertain to the directconnect service.

Comments

@togasiiiix
Copy link

Community Note

  • Please vote on this issue by adding a 馃憤 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Terraform CLI and Terraform AWS Provider Version

Affected Resource(s)

  • aws_dx_hosted_connection

Terraform Configuration Files

Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.

# Copy-paste your Terraform configurations here - for large Terraform configs,
# please use a service like Dropbox and share a link to the ZIP file. For
# security, you can also encrypt the files using our GPG public key: https://keybase.io/hashicorp

resource "aws_dx_hosted_connection" "hosted-connection01" {
  connection_id    = "dxcon-*******"
  bandwidth        = "50Mbps"
  name             = "TESTUSER-HOSTEDCONNECT"
  owner_account_id = "***AWSaccountID***"
  vlan             = 2
}

Debug Output

N/A

Panic Output

N/A

Expected Behavior

Newly creating a hosted connection on AWS DX partner (terraform apply) and hosted connect user (one indicated in "owner_account_id" in the hcl file) over pre-deployed direct connect (one indicated by "connection_id" in the hcl file).

Actual Behavior

[terraform plan]
no issues

[terraform apply]
Indeed the hosted connection is successfully deployed by terraform apply. However terminal shows error message like as follows.

Error: error reading Direct Connect Hosted Connection (dxcon-*******): DirectConnectClientException: ************ DescribeHostedConnections failed for connection dxcon-******* doesn't exist.

The created hosted connect is registered as resources, but it is not recognized from terraform well. Just error message is saying "connection doesnt exist" as error message.

Steps to Reproduce

  1. terraform apply

Important Factoids

This hosted connection only can be deployed by AWS DX connect partner and our AWS account is one approved as DX connect partner by AWS. Through AWS web console, we have confirmed hosted connect can be deployed without any issues.

References

  • #0000
@github-actions github-actions bot added needs-triage Waiting for first response or review from a maintainer. service/directconnect Issues and PRs that pertain to the directconnect service. labels Jul 21, 2022
@ewbankkit ewbankkit added bug Addresses a defect in current functionality. and removed needs-triage Waiting for first response or review from a maintainer. labels Jul 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Addresses a defect in current functionality. service/directconnect Issues and PRs that pertain to the directconnect service.
Projects
None yet
Development

No branches or pull requests

2 participants