Skip to content

Commit eedd7e4

Browse files
committed
Fixed sample deployment command
1 parent 1ea645d commit eedd7e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ To deploy this workshop on your own account you need to have an IAM role with el
1212
of the repository run the following command:
1313

1414
```
15-
aws cloudformation create-stack --stack-name Observability-Workshop --template-body file://codepipeline-stack.yaml --capabilities CAPABILITY_NAMED_IAM --parameters ParameterKey=UserRoleArn,ParameterValue=$(aws sts get-caller-identity --query Arn --output text)
15+
aws cloudformation create-stack --stack-name Observability-Workshop --template-body file://codepipeline-stack.yaml --capabilities CAPABILITY_NAMED_IAM --parameters ParameterKey=UserRoleArn,ParameterValue=$(aws iam get-role --role-name $(aws sts get-caller-identity --query Arn --output text | awk -F/ '{print $(NF-1)}') --query Role.Arn --output text)
1616
```
1717

1818
You can replace the role specified in the paramter `UserRoleArn` with any other role with access to AWS CloudShell if you need so.

0 commit comments

Comments
 (0)