v0.3 - microapps-publish - Move Alias creation to deployer-svc
huntharo opened this issue · 0 comments
huntharo commented
Motivations
- This is currently happening within the CLI tool
- This requires that the invoker of the CLI have permission to create aliases on the target function rather than just the deployer-svc having this permission
- The deployer-svc modifies the resource policy on the alias so it makes sense that the deployer-svc should create the alias as well
To-Do
- When deployer-svc is of specific version or higher, skip Create Alias in the CLI
- Add Create Alias into the deployer-svc
- Create the Alias in deployer-svc when it does not already exist
- Handle creating a Version for a Function ARN too in the deployer-svc