Skip to content
This repository was archived by the owner on Jan 16, 2025. It is now read-only.

Commit 42b0427

Browse files
hkdobrevnpalm
authored andcommitted
fix(docs): fix variable name create_service_linked_role_spot in readme (#750)
Fixes #736.
1 parent 8df249f commit 42b0427

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ For local development you can build all the lambdas at once using `.ci/build.sh`
137137

138138
#### Service-linked role <!-- omit in toc -->
139139

140-
To create spot instances the `AWSServiceRoleForEC2Spot` role needs to be added to your account. You can do that manually by following the [AWS docs](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-requests.html#service-linked-roles-spot-instance-requests). To use terraform for creating the role, either add the following resource or let the module manage the the service linked role by setting `create_service_linked_role` to `true`. Be aware this is an account global role, so maybe you don't want to manage it via a specific deployment.
140+
To create spot instances the `AWSServiceRoleForEC2Spot` role needs to be added to your account. You can do that manually by following the [AWS docs](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-requests.html#service-linked-roles-spot-instance-requests). To use terraform for creating the role, either add the following resource or let the module manage the the service linked role by setting `create_service_linked_role_spot` to `true`. Be aware this is an account global role, so maybe you don't want to manage it via a specific deployment.
141141

142142
```hcl
143143
resource "aws_iam_service_linked_role" "spot" {

0 commit comments

Comments
 (0)