Skip to content

Basic Infra and Resource Manager #2845

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 22 commits into
base: feature/dev-tools
Choose a base branch
from

Conversation

megha-narayanan
Copy link

Problem

Adding Basic Infra for DevTools

Changes

Added npx ampx sandbox devtools subcommand, which opens local web browser and loads a resource manager, which updates when sandbox changes resource config. This also includes AWS console links for certain supported resources. Certain functionality is not final, for example, "friendly names" in the resouce manager are rudimentary, and better friendly names from CDK Metadata will have to be implemented in the future. Additionally, this is still closely tied to the sandbox process, and the sandbox starts automatically when sandbox devtools is run (and they are stopped by the same interrupt). This is not representative of the final DevTools design.

Validation

Unit tests have been added (see sandbox-devtools). Testing is not comprehensive as implementation is also still ongoing, for example, certain types of resources are listed as "unsupported" and do not have AWS Console links even though in the final product they should.

Checklist

  • [ X] If this PR includes a functional change to the runtime behavior of the code, I have added or updated automated test coverage for this change.
  • [ X] If this PR requires a change to the Project Architecture README, I have included that update in this PR.
  • [X ] If this PR requires a docs update, I have linked to that docs PR above.
  • [X ] If this PR modifies E2E tests, makes changes to resource provisioning, or makes SDK calls, I have run the PR checks with the run-e2e label set.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Megha Narayanan added 2 commits May 28, 2025 12:29
Implements a web-based development console for Amplify sandbox that:

- Runs as a local Express server with automatic port selection
- Provides resource management with AWS console deep links
- Integrates with existing sandbox process
- Displays deployed backend resources in a React-based UI

Initial implementation focuses on core resource management and console integration.
Copy link

changeset-bot bot commented Jun 11, 2025

🦋 Changeset detected

Latest commit: 130d197

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 0 packages

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

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