You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current version of skuba: 3.12.2 (default version when running yarn global add skuba)
Problem
With version 3.12.2, when doing a brand new deployment to AWS
I am having an issue in running deploying the lambda-sqs-worker template.
Deploying using serverless caused the following exception:
Serverless: Operation failed!
Serverless: View the full error output: https://ap-southeast-2.console.aws.amazon.com/cloudformation/home?region=ap-southeast-2#/stack/detail?stackId=arn%3Aaws%3Acloudformation%3Aap-southeast-2%3A509392342809%3Astack%2Flambda-canary-deployment-demo%2F512f3790-9cd8-11eb-9426-0accb46fa7d2
Serverless Error ----------------------------------------
An error occurred: CodeDeployServiceRole - Policy arn:aws:iam::aws:policy/AWSLambdaFullAccess does not exist or is not attachable. (Service: AmazonIdentityManagement; Status Code: 404; Error Code: NoSuchEntity; Request ID: 5d89ed97-3f45-431c-afec-a30c1a098977; Proxy: null).
Get Support --------------------------------------------
Docs: docs.serverless.com
Bugs: github.com/serverless/serverless/issues
Issues: forum.serverless.com
Your Environment Information ---------------------------
Operating System: darwin
Node Version: 14.15.5
Framework Version: 2.35.0 (local)
Plugin Version: 4.5.3
SDK Version: 4.2.2
Components Version: 3.8.2
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Which upgrades serverless-plugin-canary-deployments version to 0.6.0 from ^0.4.8 (which is defaulted in Skuba: 3.12.2)
Note
This error only happens when deploying a brand new provision of an SQS Lambda worker. Once that is set up, then updating the stack does not produce any errors.
The text was updated successfully, but these errors were encountered:
Setup
yarn global add skuba
)Problem
lambda-sqs-worker
template.serverless-canary-deployments
repo as well (AWSLambdaFullAccess and AWSLambdaReadOnlyAccess managed roles deprecated as of March 1, 2021 davidgf/serverless-plugin-canary-deployments#115)serverless-canary-deployments
has since released a new upgrade that fixes this issue here: Replace deprecated AWS managed policy for codedeploy davidgf/serverless-plugin-canary-deployments#116Fix
serverless-plugin-canary-deployments
version to0.6.0
from^0.4.8
(which is defaulted in Skuba: 3.12.2)Note
The text was updated successfully, but these errors were encountered: