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 option to only deploy marked query lambdas. #71

Closed
wants to merge 1 commit into from

Conversation

jhochmuth
Copy link
Contributor

No description provided.


1. Limit the number of Query Lambdas that are in your local state.
2. Call the deploy command with the `--onlyDeployIfFlagged` option. Calling this command with that flag enabled will cause the CLI to ignore any Query Lambdas that do not have config.flagForDeploy set to true in the local file. You must handle setting this value for each Query Lambda yourself.

Copy link
Contributor Author

@jhochmuth jhochmuth Aug 25, 2023

Choose a reason for hiding this comment

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

only readme changes, everything else is formatting

Copy link
Contributor

@kristielim kristielim left a comment

Choose a reason for hiding this comment

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

Is the change that if onlyDeployIfFlagged then QLs will only be deployed if flagForDeploy is set? I'm not sure this is a very easy to use solution, since it can be hard to know what changed.

Can we get all the query lambdas before updating and check if there are any query text changes instead of the flag mechanism? The db read rate limit is more generous so I don't think we'd hit the read rate limit.

@jhochmuth jhochmuth closed this Aug 28, 2023
@jhochmuth jhochmuth deleted the julius_deploy_flag branch August 29, 2023 02:27
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.

2 participants