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

feat(api): allow ${env} reference in custom-roles.json #804

Conversation

joekiller
Copy link
Contributor

@joekiller joekiller commented Sep 16, 2022

Description of changes

Allow using ${env} in custom-roles.json to reference the current Amplify CLI environment.

Also lint --fix was applied.

Issue #, if available

Documentation update: aws-amplify/docs#4591

Description of how you validated changes

Added tests.

Checklist

  • PR description included
  • yarn test passes
  • Tests are added
  • Relevant documentation is changed or added (and PR referenced)
  • New AWS SDK calls or CloudFormation actions have been added to relevant test and service IAM policies

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

@marcvberg
Copy link
Contributor

Hey @joekiller overall looks good, could you undo your changes to the yarn.lock? We'll manage yarn.lock changes separately

@joekiller joekiller force-pushed the category-auth/allow-env-reference-in-custom-role-file branch from f54309e to d11e788 Compare September 16, 2022 23:19
@joekiller
Copy link
Contributor Author

@marcvberg I have removed the yarn.lock changes

@joekiller
Copy link
Contributor Author

@marcvberg anything else I can do here? this feature would be useful for my team already :)

@joekiller
Copy link
Contributor Author

@marcvberg, @sundersc, or @alharris-at seems the docs have shipped but this has yet to merge.

@alharris-at
Copy link
Contributor

Hi @joekiller, just committed an additional merge conflict change, and reviewing this PR now. Also kicking off e2e tests, if those all look good, we'll get this merged in.

Thank you for following up.

alharris-at
alharris-at previously approved these changes Mar 21, 2023
@alharris-at alharris-at merged commit ba9d8c0 into aws-amplify:main Mar 21, 2023
@joekiller joekiller deleted the category-auth/allow-env-reference-in-custom-role-file branch June 13, 2023 23:31
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.

4 participants