Skip to content

feat: directly update the basemaps lambda function configuration#1086

Draft
blacha wants to merge 1 commit intomasterfrom
build/update-lambda-config-directly
Draft

feat: directly update the basemaps lambda function configuration#1086
blacha wants to merge 1 commit intomasterfrom
build/update-lambda-config-directly

Conversation

@blacha
Copy link
Copy Markdown
Member

@blacha blacha commented May 15, 2025

Motivation

Modifications

Verification

- name: Import config
run: |
./scripts/bmc.sh ./index.cjs import --config ${CONFIG_LOCATION_PROD} --commit
./scripts/update-lambda-config.sh
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This looks nice and easy for update the environment variables. Just wondering if we want to wrap this into a cli?
And also we might still want to compare and comment changes for between old config and new config in the PR for preview changes.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

It was duplicated in two places is why I made it a bash shell, we could write a full cli for it, but figured it wasn't really worth it to wrap 2 aws sdk calls.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

the comparison between the config diffs, is also already handled futher up the script this is just the deployment phase

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think we just need to update the import cli to compare cli, which is download production config from v1/version and do diffs between Pull request config. So we still got the diffs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants