Skip to content

Commit

Permalink
Setup script does not fail if spot SLR already installed (#1480)
Browse files Browse the repository at this point in the history
  • Loading branch information
njtran authored Mar 8, 2022
1 parent 2041bb5 commit dea0157
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
aws iam create-service-linked-role --aws-service-name spot.amazonaws.com
aws iam create-service-linked-role --aws-service-name spot.amazonaws.com || true
# If the role has already been successfully created, you will see:
# An error occurred (InvalidInput) when calling the CreateServiceLinkedRole operation: Service role name AWSServiceRoleForEC2Spot has been taken in this account, please try a different suffix.

0 comments on commit dea0157

Please sign in to comment.