aws / aws/aws-toolkit-visual-studio

AWS Serverless Application IAM Role

Open
#59 2 comments 0 reactions 0 assignees View on GitHub
feature-request service:lambda
Dominant language
No language data
Stars
135
Forks
37
PR merge metrics
No merged PRs in 30d

Description

When creating an AWS Serverless Application (Template ASP.NET Core Web App) in Visual Studio 2019, the "Publish to AWS Lambda" dialog does not allow us to specify an IAM Role.

In order to set the IAM Role we have to manually modify the aws-lambda-tools-defaults.json file and set the "function-role" : "arn:aws:iam::xxxxxxxxxxxx:role/my-role"

Is it possible to include the Lambda Role in the "Publish to AWS Lambda" dialog box?

Contributor guide

Open the contributing guide

Research direction

Start with the Visual Studio 2019 "Publish to AWS Lambda" dialog for the ASP.NET Core Web App template and compare its options with aws-lambda-tools-defaults.json, especially the existing "function-role" setting. Trace how publish settings are read and applied; done means the dialog accepts an IAM Role and uses it during publishing without requiring manual JSON edits.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, csharp
Domain
cloud, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.