diff options
Diffstat (limited to 'terraform')
-rw-r--r-- | terraform/aws/backend/main.tf | 2 | ||||
-rw-r--r-- | terraform/aws/mini_environment/main.tf | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/terraform/aws/backend/main.tf b/terraform/aws/backend/main.tf index 00d8b07..e066034 100644 --- a/terraform/aws/backend/main.tf +++ b/terraform/aws/backend/main.tf @@ -233,6 +233,8 @@ resource "aws_spot_instance_request" "main" { wait_for_fulfillment = true spot_price = "0.05" + spot_type = "one-time" + root_block_device { volume_size = "100" } diff --git a/terraform/aws/mini_environment/main.tf b/terraform/aws/mini_environment/main.tf index a0c5045..9c3cc14 100644 --- a/terraform/aws/mini_environment/main.tf +++ b/terraform/aws/mini_environment/main.tf @@ -73,6 +73,7 @@ resource "aws_spot_instance_request" "main" { wait_for_fulfillment = true spot_price = "0.05" + spot_type = "one-time" root_block_device { volume_size = "100" |