-
Notifications
You must be signed in to change notification settings - Fork 15
Added AWS AU support in other CLI commands #1966
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
base: development
Are you sure you want to change the base?
Conversation
netrajpatel
commented
Jun 12, 2025
- Added AWS AU support in other internal CLI plugins
- Updated test cases
- Replaced NA and EU with AWS-NA and AWS-EU in all internal CLI plugins
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds support for AWS regions (including AWS-AU) in internal CLI plugins and updates the default regions accordingly. Key changes include updating configuration files, modifying unit and integration tests to reflect the new region names, and updating documentation and version numbers.
Reviewed Changes
Copilot reviewed 63 out of 63 changed files in this pull request and generated no comments.
Show a summary per file
File | Description |
---|---|
packages/contentstack-export/test/config.json | Updated region list to include AWS-NA, AWS-EU, AWS-AU, and others |
packages/contentstack-export/src/config/index.ts | Changed region key mapping from NA to AWS-NA for personalize API URL |
packages/contentstack-config/test/unit/commands/region.test.ts | Updated region tests with new region names and type annotations |
packages/contentstack-config/src/utils/region-handler.ts | Added AU and AWS-AU regional support and updated default region comment |
packages/contentstack-config/src/utils/interactive.ts | Added AWS-AU option in interactive region selection |
packages/contentstack-config/src/commands/config/set/region.ts | Adjusted region whitelist and updated error handling comments |
Other files | Updated tests, README, package.json versions and configuration values |
Comments suppressed due to low confidence (1)
packages/contentstack-auth/test/unit/tokens-validation.test.ts:12
- The identifier 'validEnvironemnt' appears misspelled. Consider renaming it to 'validEnvironment'.
const validEnvironemnt = '';