Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#3687] Specify policies to be used by each service
### What is the feature/fix? Create a role that will use the defined policies on that service. It overrides the [IamPolicy](https://docsv2.convox.com/reference/app-parameters#iampolicy) just for that service (it will not be used if `policies` is defined on convox.yml`). Priority: 1. DedicatedRole (at service level, if specified) 2. IamPolicy ### Does it has a breaking change? No, current ServiceRoles are not affected by the change. ### How to use/test it? - Create a rack with the RC installed. - Deploy an app with the following yml: ``` services: web: policies: - arn:aws:iam::aws:policy/AdministratorAccess build: . port: 3000 api: build: . port: 3000 ``` - Check on IAM if the policies were created correctly. ### Checklist - [ ] New coverage tests - [ ] Unit tests passing - [ ] E2E tests passing - [ ] E2E downgrade/update test passing - [ ] Documentation updated - [ ] No warnings or errors on Deepsource/Codecov
- Loading branch information
1 parent
4dd44d9
commit 8b261ae
Showing
3 changed files
with
30 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters