serverless-cloudformation-changesets icon indicating copy to clipboard operation
serverless-cloudformation-changesets copied to clipboard

creating change set with iam role

Open vdanniel opened this issue 5 years ago • 1 comments

unable to add [--role-arn ] to the the create change set.

vdanniel avatar Aug 05 '20 22:08 vdanniel

from what I can tell, it looks up [the provider.cfnRole settings instead] (https://github.com/trek10inc/serverless-cloudformation-changesets/blob/f202e4a2ac2f0bd258b5e1844d4752b896111916/lib/createChangeSet.js#L34)

Come Serverless 3.0, however, the provider.cfnRole is deprecated in favor of provider.iam.deploymentRole. So i think this library would need to be updated for that....

See https://www.serverless.com/framework/docs/deprecations/#PROVIDER_IAM_SETTINGS

kelvintaywl avatar Aug 10 '21 09:08 kelvintaywl