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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connecting to local-data-api results in HTTPEndpoint not enabled #99

Open
mkhraisha opened this issue Jul 23, 2021 · 0 comments
Open

Connecting to local-data-api results in HTTPEndpoint not enabled #99

mkhraisha opened this issue Jul 23, 2021 · 0 comments

Comments

@mkhraisha
Copy link

Package versions and database engine type (please complete the following information):

  • Database Engine: mysql
  • TypeORM Version: 0.2.34
  • Driver Version: 2.2.0

Describe the bug
When connecting to local data api it results in
HTTPEndPoint not enabled for arn:aws:rds:us-east-1:1234578123456789012:cluster:dummy

To Reproduce
Please provide the code which reproduces an issue or as much information as you can. Thank you.

{
      type: 'aurora-data-api',
      secretArn: ARN_VALUE,
      resourceArn: RESOURCE_ARN_VALUE,
      database: DB_NAME,
      region: REGION,
      //rest of configs
      serviceConfigOptions:   {
          endpoint: 'http://127.0.0.1:8080',
          credentials: {
            accessKeyId: 'dummy',
            secretAccessKey: 'dummy'
          }
        }
}

this was based on #34

I tried with and without credentials object and is reproducible whether the Nest service is running as a container or on the host machine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant