Skip to content

Commit 44bbccd

Browse files
authored
Add missing resource attributes to Spot. (#131)
1 parent 8f1c785 commit 44bbccd

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

main.tf

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -676,7 +676,12 @@ resource "aws_elastic_beanstalk_environment" "default" {
676676
resource = ""
677677
}
678678

679-
679+
setting {
680+
namespace = "aws:ec2:instances"
681+
name = "SpotMaxPrice"
682+
value = var.spot_max_price == -1 ? "" : var.spot_max_price
683+
resource = ""
684+
}
680685

681686
setting {
682687
namespace = "aws:autoscaling:launchconfiguration"

0 commit comments

Comments
 (0)