Git Product home page Git Product logo

Comments (4)

guyernest avatar guyernest commented on September 27, 2024 4

Thanks @lorcanoeire for your help. The issue was eventually related to the credentials method. I tried to use the SSO login option, which is working well for most cases of AWS CLI, and it didn't work in this case. Once I've updated the temporary credentials in the ~/.aws/credentials file it worked. Thanks again for this great tool and support.

from eventbridge-canon.

lorcanoeire avatar lorcanoeire commented on September 27, 2024 1

@guyernest I encountered this exact stack trace and problem using SCHEMA_REGISTRY_NAME=discovered-schemas on a newly created eventbus.

My problem?

I had forgotten to enable schema discovery for my new eventbus! Once enabled I ensured I fired events at the same eventbus to the point that at least one event schema was discovered.

HTH,

Lorcan

from eventbridge-canon.

boyney123 avatar boyney123 commented on September 27, 2024 1

Hey @guyernest @lorcanoeire

Sorry for the late response, this issue managed to go through the net!

Sounds like you managed to fix the issue 🙏, yeah I need to update the docs and method to focus on moving away from ENV variables, so I will make a note of that!

If you have any ideas, or feedback for canon feel free to share!

Hope you enjoy the tool

Cheers,
Dave!

from eventbridge-canon.

lorcanoeire avatar lorcanoeire commented on September 27, 2024

It's also probably worth mentioning that I opted not to specify any credentials in the .env file in favour of using an AWS profile (I just happen to be using aws-vault but I'm sure a basic profile would also work).

$ aws-vault exec my-profile-name -- npm run populate

My .env file:

EVENT_BUS_NAME=my-eventbus-name
SCHEMA_REGISTRY_NAME=discovered-schemas
REGION="us-east-1"

AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_SESSION_TOKEN=

from eventbridge-canon.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.