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

Rain forecast uses assumed role to get the registry schema #203

Open
ericzbeard opened this issue Oct 4, 2023 · 1 comment
Open

Rain forecast uses assumed role to get the registry schema #203

ericzbeard opened this issue Oct 4, 2023 · 1 comment
Labels
enhancement New feature or request forecast Related to the forecast command that predicts deployment failures

Comments

@ericzbeard
Copy link
Contributor

The forecast command uses the role specified by --role-arn for all SDK calls, including the registry lookup, which causes it to fail since the stack deployment role doesn't need this permission. We need to either cache all registry schemas locally, or use different credentials for different SDK calls. Only the IAM policy simulator should use the specified role arn. The registry lookup should assume the user's credentials.

@ericzbeard ericzbeard added bug Something isn't working forecast Related to the forecast command that predicts deployment failures labels Oct 4, 2023
@ericzbeard ericzbeard added enhancement New feature or request and removed bug Something isn't working labels Jan 19, 2024
@ericzbeard
Copy link
Contributor Author

Undecided on whether this is a bug or a feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request forecast Related to the forecast command that predicts deployment failures
Projects
None yet
Development

No branches or pull requests

1 participant