Skip to content
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

Parametrized environment name #2902

Open
1 of 2 tasks
ricardoribas opened this issue Sep 25, 2024 · 1 comment
Open
1 of 2 tasks

Parametrized environment name #2902

ricardoribas opened this issue Sep 25, 2024 · 1 comment
Labels
feature-request New feature or request Gen 2

Comments

@ricardoribas
Copy link

Describe the feature you'd like to request

Right now, you need to define a context value for amplifyEnvironmentName to define a suffix for the database tables. In my use case, I have multiple stacks that will generate the same AmplifyGraphqlApi but for different regions. Additionally, i would like to use different namings for the suffix.

Describe the solution you'd like

Add a property in the constructor that may accept an environment, and as a fallback, it would consume from the context as it is right now or NONE if no conditions were met

Describe alternatives you've considered

(No alternatives)

Additional context

No response

Is this something that you'd be interested in working on?

  • 👋 I may be able to implement this feature request

Would this feature include a breaking change?

  • ⚠️ This feature might incur a breaking change
@AnilMaktala
Copy link
Member

Hey @ricardoribas , Thank you for bringing this up. We're marking it as a feature request for the team to review further.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request New feature or request Gen 2
Projects
None yet
Development

No branches or pull requests

2 participants