Getting
Serverless Error ----------------------------------------
The CloudFormation template is invalid: User: arn:aws:iam:user1 is not authorized to perform: cloudformation:ValidateTemplate because no identity-based policy allows the cloudformation:ValidateTemplate action
I have created a new user with different name. i don't know why its getting connected with older user.