up stack delete
attempts to delete roles it didn't create
#787
Labels
up stack delete
attempts to delete roles it didn't create
#787
Prerequisites
up upgrade
)-v, --verbose
flag.Description
At the company I work at, we do not have the IAM permission to create/delete IAM roles/policies. I was expecting that if
up.yml
was configured with a value forlamba.role
, it would use that role without attempting to modify it. This appears to work as expected for stack creation and deployment, but when doing a stack deletion, it appears to attempt to delete the default function role even though it wasn't using it.While it's possible that my situation (not having permission to delete roles) is uncommon, this also has the possibility of deleting unrelated roles that happen to have the expected name and may be in use for other purposes.
Steps to Reproduce
up stack delete
and see the errorLove Up?
Please consider signing up for Up Pro (https://up.docs.apex.sh/#guides.subscribing_to_up_pro) or donating via https://opencollective.com/apex-up/donate.
Slack
Join us on Slack https://chat.apex.sh/
The text was updated successfully, but these errors were encountered: