aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--terraform/aws/mini_environment/main.tf5
1 files changed, 5 insertions, 0 deletions
diff --git a/terraform/aws/mini_environment/main.tf b/terraform/aws/mini_environment/main.tf
index 4247f8b..a0c5045 100644
--- a/terraform/aws/mini_environment/main.tf
+++ b/terraform/aws/mini_environment/main.tf
@@ -146,3 +146,8 @@ output "spot_bid_status" {
output "spot_request_status" {
value = "${aws_spot_instance_request.main.spot_request_state}"
}
+
+output "mini_environment_up" {
+ value = "${aws_spot_instance_request.main.spot_bid_status == "fulfilled"}"
+}
+