Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change default skuba release version to have serverless-plugin-canary-deployments > 0.6.0 #413

Closed
relientm96 opened this issue Apr 14, 2021 · 0 comments · Fixed by #348
Closed

Comments

@relientm96
Copy link

Setup

  • 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.

Fix

  • Include the following change to the default release version.
  • 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant