After creating AWS resource with terraform, I applied the boundary module provided by the terraform example in GitHub - hashicorp/boundary-reference-architecture: Example reference architecture for a high availability Boundary deployment on AWS.. However, it fails with the error message below once I kick off terraform apply, and I am curious how to debug this kind of error. I cant seem to find the correlation with the client request and the bounday_scope.global module.
╷
│ Error: error calling read scope: error performing client request during Read call: Get “http://boundary-test-controller-xxxxx-xxxxxxxxxx.elb.xxx-xxxx-1.amazonaws.com:9200/v1/scopes/global”: dial tcp xx.xxx.xx.xx:9200: connect: connection refused
│
│ with module.boundary.boundary_scope.global,
│ on boundary/scopes.tf line 1, in resource “boundary_scope” “global”:
│ 1: resource “boundary_scope” “global” {
Here is a what I have in my scopes.tf file: