Deploy cloudformation modification only?

Can i deploy my cloudformation modification only ? Let’s say the case, i modify the IAM Resources which defined in my serverless.yml. None of my functions are being modified - in this case, it’s only cloudformation modification. If i run sls deploy , i can get my cloudformation updated - but this also reupload and redeploy my lambda functions which don’t have any modification.

Is there any way to redeploy only the cloudformation modification ? without redeploying the function ?

No. The code is a required part of the CloudFormation template and serverless doesn’t support uploading it separately.

so in other words, if i have a modification only in my cloudformation, i have to redeploy whole functions again ?

Correct. Using Serverless you can’t update CloudFormation without deploying the code.

Noted. Thanks :smiley: