From 6644c9e56514bf55b4ca50305f2b125c95bdaad1 Mon Sep 17 00:00:00 2001 From: Itay Zagron Date: Thu, 9 Sep 2021 16:33:59 +0200 Subject: [PATCH] fixed ec2 images e2e test (#186) --- resources/integration_tests/aws_ec2_images_test.go | 5 ----- resources/integration_tests/infra/aws_ec2_images.tf | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/resources/integration_tests/aws_ec2_images_test.go b/resources/integration_tests/aws_ec2_images_test.go index c423c12ea..d9d31e599 100644 --- a/resources/integration_tests/aws_ec2_images_test.go +++ b/resources/integration_tests/aws_ec2_images_test.go @@ -31,11 +31,6 @@ func TestIntegrationEc2Images(t *testing.T) { "sriov_net_support": "simple", "usage_operation": "RunInstances", "virtualization_type": "hvm", - "tags": map[string]interface{}{ - "CreatedBy": "EC2 Image Builder", - "CostCenter": "IT", - "Ec2ImageBuilderArn": "arn:aws:imagebuilder:us-east-1:704956590351:image/ec2-images-recipe-awsec2imageswindowsfifl5fe/0.1.1/1", - }, }, }, }, diff --git a/resources/integration_tests/infra/aws_ec2_images.tf b/resources/integration_tests/infra/aws_ec2_images.tf index 866b61b2a..712cdde47 100644 --- a/resources/integration_tests/infra/aws_ec2_images.tf +++ b/resources/integration_tests/infra/aws_ec2_images.tf @@ -128,7 +128,7 @@ resource "aws_imagebuilder_component" "aws_ec2_images_hello_world" { }] schemaVersion = 1.0 }) - name = "hello_world_{var.test_prefix}${var.test_suffix}" + name = "hello_world_${var.test_prefix}${var.test_suffix}" platform = "Linux" version = "1.0.0" }