question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Set a custom Role

See original GitHub issue

This is a questions

Description

screen shot 2017-06-21 at 12 39 41 pm

I want to set a custom role for my Lambda function, and I have the following:

provider:
  name: aws
  runtime: nodejs6.10
  stage: dev
  region: us-east-1
  role: arn:aws:iam::28240630XXXX:role/LambdaExecutionRole

This doesn’t work, and I have to set it manually as shown in the screenshot above. What did I miss?

Additional Data

  • Serverless Framework Version you’re using: 1.15.3
  • Operating System: Debian
  • Stack Trace: N/A
  • Provider Error messages: N/A

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:16 (16 by maintainers)

github_iconTop GitHub Comments

1reaction
davidgatticommented, Jun 28, 2017

Sounds like a plan 😃 Let me create a new empty function, se owe can start with a clean slate 😃 I’ll ping you back in a day or two.

1reaction
HyperBraincommented, Jun 26, 2017

Then we should add it 😉 Having verbose logs during packaging would be great. Important would be, if the CF files in .serverless are missing already after package finished.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Create and assign a custom role in Azure Active Directory
Select Azure Active Directory > Roles and administrators > New custom role. Create or edit roles from the Roles and administrators page.
Read more >
Creating and managing custom roles - IAM - Google Cloud
In the Google Cloud console, go to the Roles page. · Select the organization or project in which you want to create a...
Read more >
Create, edit, and delete custom admin roles - Google Support
Click the custom role that you want to edit. Choose an action: To edit the name or description of the role, click Edit...
Read more >
How to setup roles & custom your role description ... - YouTube
How to set up roles and custom your own role description using YAGPDB bot! I hope this video was helpful & enjoyable!
Read more >
How to create and manage custom roles - YouTube
Custom Roles are an extension of Identity and Access Management (IAM) and are an effective way of enforcing the principle of least privilege ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found