aws / aws/aws-sam-cli

Bootstrap doesn't support --role_arn

Open
#1,920 6 comments 0 reactions 0 assignees View on GitHub
area/deploy maintainer/need-followup type/feature
Dominant language
Python
Stars
6.7k
Forks
1.2k
Avg merge
1d 10h
Merged PRs (30d)
52

Description

### Description

Running `sam deploy --guided` the first time to create the S3 bucket via a CloudFormation template, the `--role_arn` parameter isn't supported in https://github.com/awslabs/aws-sam-cli/blob/master/samcli/lib/bootstrap/bootstrap.py

### Steps to reproduce

Run `sam deploy --guided` and it fails because we have policies that require all CloudFormation stacks to use a specific role.

### Observed result

Please provide command output with `--debug` flag set.

### Expected result

I'm able to run `sam deploy --guided --role_arn ` and SAM will provision it's CloudFormation stack with the role I specified.

### Additional environment details (Ex: Windows, Mac, Amazon Linux etc)

1. OS: Mac
2. `sam --version`: SAM CLI, version 0.47.0

Would you accept a pull request adding this?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.