Skip to content

How can I use the Data Manager/API Playground UI in AWS Amplify Gen2 for my Sandbox environment?

0

Is it possible to use the Data Manager UI in the AWS Console for Sandbox Environments when using AWS Amplify Gen2, or is it only available for 'real' deployments? I can access it for my 'main' deployment, but I'd like to use it for my sandbox deployment to speed up development.

asked 2 years ago484 views

1 Answer
0

Unfortunately, the Data Manager UI in the AWS Amplify Console is not available for sandbox environments in AWS Amplify Gen 2. The Data Manager and API Playground features are designed for use with deployed environments, typically associated with Git branches in your repository.

Sandbox environments in Amplify Gen 2 are optimized for local development and are separate from the deployed environments you see in the Amplify Console. They are meant to provide a quick, high-fidelity AWS backend for developers to work with locally while building their applications.

For your sandbox environment, you would typically interact with your data using the generated client code and the local development tools provided by Amplify Gen 2. This includes using the ampx sandbox commands for managing your local development environment, including working with data models and API operations.

If you need to manage data or test API operations during development, you would typically do this programmatically using the generated client code, or by using local development tools and commands provided by Amplify CLI.

For viewing and managing data in a more user-friendly interface, you would need to promote your changes to a deployed environment (like your 'main' branch) where you can then use the Data Manager UI in the Amplify Console. This aligns with the workflow of developing in a sandbox, then pushing changes to a shared environment for broader testing and collaboration.

While this might not provide the immediate UI-based data management for your sandbox that you're looking for, it's designed to maintain a clear separation between local development sandboxes and deployed, shared environments.

Sources
Manage Data with Amplify console - React - AWS Amplify Gen 2 Documentation
Concepts - AWS Amplify Gen 2 Documentation

answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.