From d4f08f71e003de307eccb4006278b96c347d5dcd Mon Sep 17 00:00:00 2001 From: trung Date: Tue, 14 Nov 2017 23:32:56 -0500 Subject: [PATCH] #2217: get default encryption configuration for s3 bucket data source --- aws/resource_aws_instance_test.go | 48 ------------------------------- 1 file changed, 48 deletions(-) diff --git a/aws/resource_aws_instance_test.go b/aws/resource_aws_instance_test.go index 98ff5ed8890..85d7cc2b4a5 100644 --- a/aws/resource_aws_instance_test.go +++ b/aws/resource_aws_instance_test.go @@ -189,11 +189,6 @@ func TestAccAWSInstance_GP2IopsDevice(t *testing.T) { testCheck(), ), }, - { - Config: testAccInstanceGP2IopsDeviceExplicit, - PlanOnly: true, - ExpectNonEmptyPlan: false, - }, }, }) } @@ -307,11 +302,6 @@ func TestAccAWSInstance_blockDevices(t *testing.T) { testCheck(), ), }, - { - Config: testAccInstanceGP2IopsDeviceExplicit, - PlanOnly: true, - ExpectNonEmptyPlan: false, - }, }, }) } @@ -1565,44 +1555,6 @@ resource "aws_instance" "foo" { } ` -const testAccInstanceGP2IopsDeviceExplicit = ` -resource "aws_instance" "foo" { - # us-west-2 - ami = "ami-55a7ea65" - - # In order to attach an encrypted volume to an instance you need to have an - # m3.medium or larger. See "Supported Instance Types" in: - # http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html - instance_type = "m3.medium" - - root_block_device { - volume_type = "gp2" - volume_size = 11 - # demo a test scenario - iops = 10 - } -} -` - -const testAccInstanceGP2IopsDeviceExplicit = ` -resource "aws_instance" "foo" { - # us-west-2 - ami = "ami-55a7ea65" - - # In order to attach an encrypted volume to an instance you need to have an - # m3.medium or larger. See "Supported Instance Types" in: - # http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html - instance_type = "m3.medium" - - root_block_device { - volume_type = "gp2" - volume_size = 11 - # demo a test scenario - iops = 10 - } -} -` - const testAccInstanceConfigBlockDevices = ` resource "aws_instance" "foo" { # us-west-2