DOC: updated readme regarding spot instance.

This commit is contained in:
xpk 2024-01-30 18:08:30 +08:00
parent a112747c14
commit 18944c32f0
Signed by: xpk
GPG Key ID: CD4FF6793F09AB86

View File

@ -34,7 +34,7 @@ No modules.
| ami-id | Image id of EC2 instance | `string` | n/a | yes |
| asso-eip | Whether to associate Elastic IP | `bool` | n/a | yes |
| asso-public-ip | Whether to associate ephemeral public IP | `bool` | n/a | yes |
| data-volumes | Attach additional data volumes | `map(object)` | n/a | yes |
| data-volumes | Attach additional data volumes | <pre>map(object({<br> size = number<br> type = string<br> }))</pre> | n/a | yes |
| delete-on-termination | Whether to delete volumes on termination | `bool` | `true` | no |
| disable\_secure\_idmsv2 | If set to true, the insecure IDMSv1 will be used. | `bool` | `false` | no |
| ebs-encrypted | Whether to enable EBS encryption | `bool` | `true` | no |
@ -49,6 +49,7 @@ No modules.
| root-volume-size | Size of root volume | `number` | n/a | yes |
| root-volume-type | Root volume type | `string` | `"gp3"` | no |
| security-groups | List of security groups for Ec2 instance | `list(string)` | n/a | yes |
| spot-max-price | Max hourly price for spot instance. If greater than zero, spot instance will be used. | `number` | `0` | no |
| subnet-id | Id of subnet to deploy Ec2 instance to | `string` | n/a | yes |
| user-data | Ec2 user-data | `string` | `""` | no |
@ -62,4 +63,4 @@ No modules.
---
## Authorship
This module was developed by xpk.
This module was developed by xpk.