Skip to content

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

Draft
wants to merge 10 commits into
base: development
Choose a base branch
from

Conversation

netrajpatel
Copy link
Contributor

  • 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

@netrajpatel netrajpatel requested review from aman19K and Copilot June 12, 2025 11:46
@netrajpatel netrajpatel assigned cs-raj and unassigned cs-raj Jun 12, 2025
Copy link

@Copilot Copilot AI left a 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 = '';

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.

5 participants