From 0f81fe449a5494a36a5d1f14ca1db64d05afd094 Mon Sep 17 00:00:00 2001 From: Martin Evgeniev Date: Mon, 11 Jun 2018 10:48:30 +0200 Subject: [PATCH] Fix: Issue with terraform ec2-module ec2-module was unable to create instances other than T2. Issue: https://github.com/terraform-aws-modules/terraform-aws-ec2-instance/pull/35 --- tests/cloud/aws/outputs.tf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/cloud/aws/outputs.tf b/tests/cloud/aws/outputs.tf index dc3feeae2..2dd2cef11 100644 --- a/tests/cloud/aws/outputs.tf +++ b/tests/cloud/aws/outputs.tf @@ -35,6 +35,6 @@ output "instance_public_dns" { } output "credit_specification" { - description = "Credit specification of EC2 instance" - value = "${module.ec2.credit_specification[0]}" -} + description = "Credit specification of EC2 instance (empty list for not t2 instance types)" + value = "${module.ec2.credit_specification}" +} \ No newline at end of file