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

Add the new Frigg Serverless Plugin #352

Open
wants to merge 1 commit into
base: formatter-on-mock-integration
Choose a base branch
from

Conversation

seanspeaks
Copy link
Contributor

@seanspeaks seanspeaks commented Oct 17, 2024

Adds the new Frigg Serverless Plugin (which, may be obsolete once we migrate off serverless?) that creates the queues in the localstack SQS instead of requiring the user to run a bash script/command.

This plugin initializes during the serverless offline command, creating SQS queues in localstack based on the custom configuration. It also updates the environment variables with the newly created queue URLs.

Also sets the stage to do a lot more, now that I/we know how to write plugins (pretty easy actually).

TODO:
[] Webpack fix?
[] Start localstack? Check to see if it's running?
[] Allow a flag to determine what to run (THIS ONE IS CRITICAL FOR WORKING WITH PROD)

…igrate off serverless?) that creates the queues in the localstack SQS instead of requiring the user to run a bash script/command.

Also sets the stage to do a lot more, now that I/we know how to write plugins (pretty easy actually).

TODO:
[] Webpack fix?
[] Start localstack? Check to see if it's running?
[] Allow a flag to determine what to run (THIS ONE IS CRITICAL FOR WORKING WITH PROD)
Copy link

sonarcloud bot commented Oct 17, 2024

});

const sqs = new AWS.SQS();
// Find the environment variables that we nee dto override and create an easy map
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The comment contains a typo. Please correct 'nee dto' to 'need to' for improved readability:

Suggested change
// Find the environment variables that we nee dto override and create an easy map
// Find the environment variables that we need to override and create an easy map

Spotted by Graphite Reviewer

Is this helpful? React 👍 or 👎 to let us know.

@seanspeaks seanspeaks mentioned this pull request Oct 17, 2024
2 tasks
@seanspeaks seanspeaks marked this pull request as ready for review October 17, 2024 03:36
@seanspeaks seanspeaks changed the title Add the new Frigg Serverless Plugin (which, may be obsolete once we migrate off serverless?) that creates the queues in the localstack SQS instead of requiring the user to run a bash script/command. Add the new Frigg Serverless Plugin Oct 17, 2024
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

Successfully merging this pull request may close these issues.

1 participant