-
Notifications
You must be signed in to change notification settings - Fork 9.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
r/aws_instance: Remove hardcoded AMI IDs from acceptance tests #14159
r/aws_instance: Remove hardcoded AMI IDs from acceptance tests #14159
Conversation
Non-default test region (
|
f9d731b
to
806c37b
Compare
806c37b
to
8d62f29
Compare
@@ -893,11 +889,13 @@ data "aws_instance" "test" { | |||
func testAccInstanceDataSourceConfig_metadataOptions(rName string) string { | |||
return composeConfig( | |||
testAccLatestAmazonLinuxHvmEbsAmiConfig(), | |||
testAccAwsInstanceVpcConfig(rName, false), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add a VPC so that we remove dependence on default VPC and subnets.
@@ -236,52 +236,51 @@ func TestAccAWSInstance_inEc2Classic(t *testing.T) { | |||
|
|||
func TestAccAWSInstance_basic(t *testing.T) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Modify TestAccAWSInstance_basic
to test the minimal configuration.
Move the previous test functionality into new test TestAccAWSInstance_atLeastOneOtherEbsVolume
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like this 👍
|
||
resource.ParallelTest(t, resource.TestCase{ | ||
PreCheck: func() { testAccPreCheck(t) }, | ||
IDRefreshName: resourceName, | ||
Providers: testAccProviders, | ||
CheckDestroy: testAccCheckInstanceDestroy, | ||
Steps: []resource.TestStep{ | ||
// Create a volume to cover https://github.com/hashicorp/terraform/issues/1249 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Additional EBS volume is now created within Terraform configuration.
testAccCheckInstanceExists(resourceName, &conf), | ||
testAccCheckInstanceDisappears(&conf), | ||
testAccCheckInstanceExists(resourceName, &v), | ||
testAccCheckResourceDisappears(testAccProvider, resourceAwsInstance(), resourceName), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
aws/resource_aws_instance_test.go
Outdated
} | ||
|
||
func testAccCurrentAvailableAZsNoOptInExcludeConfig(exclude string) string { | ||
func testAccCurrentAvailableAZsNoOptInExcludeConfig(excludeZoneIds ...string) string { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Similar to testAccAvailableEc2InstanceTypeForRegion()
.
108911f
to
c96ff6b
Compare
Rebased and resolved merge conflicts. $ make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSInstance_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 2 -run=TestAccAWSInstance_ -timeout 120m
=== RUN TestAccAWSInstance_inDefaultVpcBySgName
=== PAUSE TestAccAWSInstance_inDefaultVpcBySgName
=== RUN TestAccAWSInstance_inDefaultVpcBySgId
=== PAUSE TestAccAWSInstance_inDefaultVpcBySgId
=== RUN TestAccAWSInstance_inEc2Classic
resource_aws_instance_test.go:210: Not running this test as it overrides the test region
--- SKIP: TestAccAWSInstance_inEc2Classic (0.00s)
=== RUN TestAccAWSInstance_basic
=== PAUSE TestAccAWSInstance_basic
=== RUN TestAccAWSInstance_atLeastOneOtherEbsVolume
=== PAUSE TestAccAWSInstance_atLeastOneOtherEbsVolume
=== RUN TestAccAWSInstance_EbsBlockDevice_KmsKeyArn
=== PAUSE TestAccAWSInstance_EbsBlockDevice_KmsKeyArn
=== RUN TestAccAWSInstance_EbsBlockDevice_InvalidIopsForVolumeType
=== PAUSE TestAccAWSInstance_EbsBlockDevice_InvalidIopsForVolumeType
=== RUN TestAccAWSInstance_RootBlockDevice_KmsKeyArn
=== PAUSE TestAccAWSInstance_RootBlockDevice_KmsKeyArn
=== RUN TestAccAWSInstance_userDataBase64
=== PAUSE TestAccAWSInstance_userDataBase64
=== RUN TestAccAWSInstance_GP2IopsDevice
=== PAUSE TestAccAWSInstance_GP2IopsDevice
=== RUN TestAccAWSInstance_GP2WithIopsValue
=== PAUSE TestAccAWSInstance_GP2WithIopsValue
=== RUN TestAccAWSInstance_blockDevices
=== PAUSE TestAccAWSInstance_blockDevices
=== RUN TestAccAWSInstance_rootInstanceStore
=== PAUSE TestAccAWSInstance_rootInstanceStore
=== RUN TestAccAWSInstance_noAMIEphemeralDevices
=== PAUSE TestAccAWSInstance_noAMIEphemeralDevices
=== RUN TestAccAWSInstance_sourceDestCheck
=== PAUSE TestAccAWSInstance_sourceDestCheck
=== RUN TestAccAWSInstance_disableApiTermination
=== PAUSE TestAccAWSInstance_disableApiTermination
=== RUN TestAccAWSInstance_vpc
=== PAUSE TestAccAWSInstance_vpc
=== RUN TestAccAWSInstance_outpost
=== PAUSE TestAccAWSInstance_outpost
=== RUN TestAccAWSInstance_placementGroup
=== PAUSE TestAccAWSInstance_placementGroup
=== RUN TestAccAWSInstance_ipv6_supportAddressCount
=== PAUSE TestAccAWSInstance_ipv6_supportAddressCount
=== RUN TestAccAWSInstance_ipv6AddressCountAndSingleAddressCausesError
=== PAUSE TestAccAWSInstance_ipv6AddressCountAndSingleAddressCausesError
=== RUN TestAccAWSInstance_ipv6_supportAddressCountWithIpv4
=== PAUSE TestAccAWSInstance_ipv6_supportAddressCountWithIpv4
=== RUN TestAccAWSInstance_multipleRegions
=== PAUSE TestAccAWSInstance_multipleRegions
=== RUN TestAccAWSInstance_NetworkInstanceSecurityGroups
=== PAUSE TestAccAWSInstance_NetworkInstanceSecurityGroups
=== RUN TestAccAWSInstance_NetworkInstanceRemovingAllSecurityGroups
=== PAUSE TestAccAWSInstance_NetworkInstanceRemovingAllSecurityGroups
=== RUN TestAccAWSInstance_NetworkInstanceVPCSecurityGroupIDs
=== PAUSE TestAccAWSInstance_NetworkInstanceVPCSecurityGroupIDs
=== RUN TestAccAWSInstance_tags
=== PAUSE TestAccAWSInstance_tags
=== RUN TestAccAWSInstance_volumeTags
=== PAUSE TestAccAWSInstance_volumeTags
=== RUN TestAccAWSInstance_volumeTagsComputed
=== PAUSE TestAccAWSInstance_volumeTagsComputed
=== RUN TestAccAWSInstance_instanceProfileChange
=== PAUSE TestAccAWSInstance_instanceProfileChange
=== RUN TestAccAWSInstance_withIamInstanceProfile
=== PAUSE TestAccAWSInstance_withIamInstanceProfile
=== RUN TestAccAWSInstance_privateIP
=== PAUSE TestAccAWSInstance_privateIP
=== RUN TestAccAWSInstance_associatePublicIPAndPrivateIP
=== PAUSE TestAccAWSInstance_associatePublicIPAndPrivateIP
=== RUN TestAccAWSInstance_Empty_PrivateIP
=== PAUSE TestAccAWSInstance_Empty_PrivateIP
=== RUN TestAccAWSInstance_keyPairCheck
=== PAUSE TestAccAWSInstance_keyPairCheck
=== RUN TestAccAWSInstance_rootBlockDeviceMismatch
=== PAUSE TestAccAWSInstance_rootBlockDeviceMismatch
=== RUN TestAccAWSInstance_forceNewAndTagsDrift
=== PAUSE TestAccAWSInstance_forceNewAndTagsDrift
=== RUN TestAccAWSInstance_changeInstanceType
=== PAUSE TestAccAWSInstance_changeInstanceType
=== RUN TestAccAWSInstance_EbsRootDevice_basic
=== PAUSE TestAccAWSInstance_EbsRootDevice_basic
=== RUN TestAccAWSInstance_EbsRootDevice_ModifySize
=== PAUSE TestAccAWSInstance_EbsRootDevice_ModifySize
=== RUN TestAccAWSInstance_EbsRootDevice_ModifyType
=== PAUSE TestAccAWSInstance_EbsRootDevice_ModifyType
=== RUN TestAccAWSInstance_EbsRootDevice_ModifyIOPS
=== PAUSE TestAccAWSInstance_EbsRootDevice_ModifyIOPS
=== RUN TestAccAWSInstance_EbsRootDevice_ModifyDeleteOnTermination
=== PAUSE TestAccAWSInstance_EbsRootDevice_ModifyDeleteOnTermination
=== RUN TestAccAWSInstance_EbsRootDevice_ModifyAll
=== PAUSE TestAccAWSInstance_EbsRootDevice_ModifyAll
=== RUN TestAccAWSInstance_EbsRootDevice_MultipleBlockDevices_ModifySize
=== PAUSE TestAccAWSInstance_EbsRootDevice_MultipleBlockDevices_ModifySize
=== RUN TestAccAWSInstance_EbsRootDevice_MultipleBlockDevices_ModifyDeleteOnTermination
=== PAUSE TestAccAWSInstance_EbsRootDevice_MultipleBlockDevices_ModifyDeleteOnTermination
=== RUN TestAccAWSInstance_EbsRootDevice_MultipleDynamicEBSBlockDevices
=== PAUSE TestAccAWSInstance_EbsRootDevice_MultipleDynamicEBSBlockDevices
=== RUN TestAccAWSInstance_primaryNetworkInterface
=== PAUSE TestAccAWSInstance_primaryNetworkInterface
=== RUN TestAccAWSInstance_primaryNetworkInterfaceSourceDestCheck
=== PAUSE TestAccAWSInstance_primaryNetworkInterfaceSourceDestCheck
=== RUN TestAccAWSInstance_addSecondaryInterface
=== PAUSE TestAccAWSInstance_addSecondaryInterface
=== RUN TestAccAWSInstance_addSecurityGroupNetworkInterface
=== PAUSE TestAccAWSInstance_addSecurityGroupNetworkInterface
=== RUN TestAccAWSInstance_NewNetworkInterface_PublicIPAndSecondaryPrivateIPs
=== PAUSE TestAccAWSInstance_NewNetworkInterface_PublicIPAndSecondaryPrivateIPs
=== RUN TestAccAWSInstance_NewNetworkInterface_EmptyPrivateIPAndSecondaryPrivateIPs
=== PAUSE TestAccAWSInstance_NewNetworkInterface_EmptyPrivateIPAndSecondaryPrivateIPs
=== RUN TestAccAWSInstance_NewNetworkInterface_EmptyPrivateIPAndSecondaryPrivateIPsUpdate
=== PAUSE TestAccAWSInstance_NewNetworkInterface_EmptyPrivateIPAndSecondaryPrivateIPsUpdate
=== RUN TestAccAWSInstance_NewNetworkInterface_PrivateIPAndSecondaryPrivateIPs
=== PAUSE TestAccAWSInstance_NewNetworkInterface_PrivateIPAndSecondaryPrivateIPs
=== RUN TestAccAWSInstance_NewNetworkInterface_PrivateIPAndSecondaryPrivateIPsUpdate
=== PAUSE TestAccAWSInstance_NewNetworkInterface_PrivateIPAndSecondaryPrivateIPsUpdate
=== RUN TestAccAWSInstance_associatePublic_defaultPrivate
=== PAUSE TestAccAWSInstance_associatePublic_defaultPrivate
=== RUN TestAccAWSInstance_associatePublic_defaultPublic
=== PAUSE TestAccAWSInstance_associatePublic_defaultPublic
=== RUN TestAccAWSInstance_associatePublic_explicitPublic
=== PAUSE TestAccAWSInstance_associatePublic_explicitPublic
=== RUN TestAccAWSInstance_associatePublic_explicitPrivate
=== PAUSE TestAccAWSInstance_associatePublic_explicitPrivate
=== RUN TestAccAWSInstance_associatePublic_overridePublic
=== PAUSE TestAccAWSInstance_associatePublic_overridePublic
=== RUN TestAccAWSInstance_associatePublic_overridePrivate
=== PAUSE TestAccAWSInstance_associatePublic_overridePrivate
=== RUN TestAccAWSInstance_getPasswordData_falseToTrue
=== PAUSE TestAccAWSInstance_getPasswordData_falseToTrue
=== RUN TestAccAWSInstance_getPasswordData_trueToFalse
=== PAUSE TestAccAWSInstance_getPasswordData_trueToFalse
=== RUN TestAccAWSInstance_CreditSpecification_Empty_NonBurstable
=== PAUSE TestAccAWSInstance_CreditSpecification_Empty_NonBurstable
=== RUN TestAccAWSInstance_CreditSpecification_UnspecifiedToEmpty_NonBurstable
=== PAUSE TestAccAWSInstance_CreditSpecification_UnspecifiedToEmpty_NonBurstable
=== RUN TestAccAWSInstance_creditSpecification_unspecifiedDefaultsToStandard
=== PAUSE TestAccAWSInstance_creditSpecification_unspecifiedDefaultsToStandard
=== RUN TestAccAWSInstance_creditSpecification_standardCpuCredits
=== PAUSE TestAccAWSInstance_creditSpecification_standardCpuCredits
=== RUN TestAccAWSInstance_creditSpecification_unlimitedCpuCredits
=== PAUSE TestAccAWSInstance_creditSpecification_unlimitedCpuCredits
=== RUN TestAccAWSInstance_creditSpecification_unknownCpuCredits_t2
=== PAUSE TestAccAWSInstance_creditSpecification_unknownCpuCredits_t2
=== RUN TestAccAWSInstance_creditSpecification_unknownCpuCredits_t3
=== PAUSE TestAccAWSInstance_creditSpecification_unknownCpuCredits_t3
=== RUN TestAccAWSInstance_creditSpecification_updateCpuCredits
=== PAUSE TestAccAWSInstance_creditSpecification_updateCpuCredits
=== RUN TestAccAWSInstance_creditSpecification_isNotAppliedToNonBurstable
=== PAUSE TestAccAWSInstance_creditSpecification_isNotAppliedToNonBurstable
=== RUN TestAccAWSInstance_creditSpecificationT3_unspecifiedDefaultsToUnlimited
=== PAUSE TestAccAWSInstance_creditSpecificationT3_unspecifiedDefaultsToUnlimited
=== RUN TestAccAWSInstance_creditSpecificationT3_standardCpuCredits
=== PAUSE TestAccAWSInstance_creditSpecificationT3_standardCpuCredits
=== RUN TestAccAWSInstance_creditSpecificationT3_unlimitedCpuCredits
=== PAUSE TestAccAWSInstance_creditSpecificationT3_unlimitedCpuCredits
=== RUN TestAccAWSInstance_creditSpecificationT3_updateCpuCredits
=== PAUSE TestAccAWSInstance_creditSpecificationT3_updateCpuCredits
=== RUN TestAccAWSInstance_creditSpecification_standardCpuCredits_t2Tot3Taint
=== PAUSE TestAccAWSInstance_creditSpecification_standardCpuCredits_t2Tot3Taint
=== RUN TestAccAWSInstance_creditSpecification_unlimitedCpuCredits_t2Tot3Taint
=== PAUSE TestAccAWSInstance_creditSpecification_unlimitedCpuCredits_t2Tot3Taint
=== RUN TestAccAWSInstance_disappears
=== PAUSE TestAccAWSInstance_disappears
=== RUN TestAccAWSInstance_UserData_EmptyStringToUnspecified
=== PAUSE TestAccAWSInstance_UserData_EmptyStringToUnspecified
=== RUN TestAccAWSInstance_UserData_UnspecifiedToEmptyString
=== PAUSE TestAccAWSInstance_UserData_UnspecifiedToEmptyString
=== RUN TestAccAWSInstance_hibernation
=== PAUSE TestAccAWSInstance_hibernation
=== RUN TestAccAWSInstance_metadataOptions
=== PAUSE TestAccAWSInstance_metadataOptions
=== CONT TestAccAWSInstance_inDefaultVpcBySgName
=== CONT TestAccAWSInstance_EbsRootDevice_ModifyAll
--- PASS: TestAccAWSInstance_inDefaultVpcBySgName (92.11s)
=== CONT TestAccAWSInstance_metadataOptions
--- PASS: TestAccAWSInstance_EbsRootDevice_ModifyAll (134.16s)
=== CONT TestAccAWSInstance_hibernation
--- PASS: TestAccAWSInstance_metadataOptions (130.14s)
=== CONT TestAccAWSInstance_UserData_UnspecifiedToEmptyString
--- PASS: TestAccAWSInstance_hibernation (195.72s)
=== CONT TestAccAWSInstance_UserData_EmptyStringToUnspecified
--- PASS: TestAccAWSInstance_UserData_UnspecifiedToEmptyString (110.62s)
=== CONT TestAccAWSInstance_disappears
--- PASS: TestAccAWSInstance_UserData_EmptyStringToUnspecified (110.42s)
=== CONT TestAccAWSInstance_creditSpecification_unlimitedCpuCredits_t2Tot3Taint
--- PASS: TestAccAWSInstance_disappears (182.83s)
=== CONT TestAccAWSInstance_creditSpecification_standardCpuCredits_t2Tot3Taint
--- PASS: TestAccAWSInstance_creditSpecification_unlimitedCpuCredits_t2Tot3Taint (200.82s)
=== CONT TestAccAWSInstance_creditSpecificationT3_updateCpuCredits
--- PASS: TestAccAWSInstance_creditSpecification_standardCpuCredits_t2Tot3Taint (221.84s)
=== CONT TestAccAWSInstance_creditSpecificationT3_unlimitedCpuCredits
--- PASS: TestAccAWSInstance_creditSpecificationT3_updateCpuCredits (128.54s)
=== CONT TestAccAWSInstance_creditSpecificationT3_standardCpuCredits
--- PASS: TestAccAWSInstance_creditSpecificationT3_unlimitedCpuCredits (114.84s)
=== CONT TestAccAWSInstance_creditSpecificationT3_unspecifiedDefaultsToUnlimited
--- PASS: TestAccAWSInstance_creditSpecificationT3_standardCpuCredits (143.93s)
=== CONT TestAccAWSInstance_creditSpecification_isNotAppliedToNonBurstable
--- PASS: TestAccAWSInstance_creditSpecificationT3_unspecifiedDefaultsToUnlimited (71.04s)
=== CONT TestAccAWSInstance_creditSpecification_updateCpuCredits
--- PASS: TestAccAWSInstance_creditSpecification_isNotAppliedToNonBurstable (120.82s)
=== CONT TestAccAWSInstance_creditSpecification_unknownCpuCredits_t3
--- PASS: TestAccAWSInstance_creditSpecification_updateCpuCredits (140.16s)
=== CONT TestAccAWSInstance_creditSpecification_unknownCpuCredits_t2
--- PASS: TestAccAWSInstance_creditSpecification_unknownCpuCredits_t3 (72.04s)
=== CONT TestAccAWSInstance_creditSpecification_unlimitedCpuCredits
--- PASS: TestAccAWSInstance_creditSpecification_unknownCpuCredits_t2 (101.82s)
=== CONT TestAccAWSInstance_creditSpecification_standardCpuCredits
--- PASS: TestAccAWSInstance_creditSpecification_unlimitedCpuCredits (112.67s)
=== CONT TestAccAWSInstance_creditSpecification_unspecifiedDefaultsToStandard
--- PASS: TestAccAWSInstance_creditSpecification_standardCpuCredits (123.93s)
=== CONT TestAccAWSInstance_CreditSpecification_UnspecifiedToEmpty_NonBurstable
--- PASS: TestAccAWSInstance_creditSpecification_unspecifiedDefaultsToStandard (102.82s)
=== CONT TestAccAWSInstance_CreditSpecification_Empty_NonBurstable
--- PASS: TestAccAWSInstance_CreditSpecification_Empty_NonBurstable (78.70s)
=== CONT TestAccAWSInstance_getPasswordData_trueToFalse
--- PASS: TestAccAWSInstance_CreditSpecification_UnspecifiedToEmpty_NonBurstable (124.24s)
=== CONT TestAccAWSInstance_getPasswordData_falseToTrue
--- PASS: TestAccAWSInstance_getPasswordData_falseToTrue (147.07s)
=== CONT TestAccAWSInstance_associatePublic_overridePrivate
--- PASS: TestAccAWSInstance_getPasswordData_trueToFalse (179.52s)
=== CONT TestAccAWSInstance_associatePublic_overridePublic
--- PASS: TestAccAWSInstance_associatePublic_overridePrivate (113.11s)
=== CONT TestAccAWSInstance_associatePublic_explicitPrivate
--- PASS: TestAccAWSInstance_associatePublic_overridePublic (112.78s)
=== CONT TestAccAWSInstance_associatePublic_explicitPublic
--- PASS: TestAccAWSInstance_associatePublic_explicitPrivate (103.58s)
=== CONT TestAccAWSInstance_associatePublic_defaultPublic
--- PASS: TestAccAWSInstance_associatePublic_explicitPublic (102.09s)
=== CONT TestAccAWSInstance_associatePublic_defaultPrivate
--- PASS: TestAccAWSInstance_associatePublic_defaultPublic (103.27s)
=== CONT TestAccAWSInstance_NewNetworkInterface_PrivateIPAndSecondaryPrivateIPsUpdate
--- PASS: TestAccAWSInstance_associatePublic_defaultPrivate (92.06s)
=== CONT TestAccAWSInstance_NewNetworkInterface_PrivateIPAndSecondaryPrivateIPs
--- PASS: TestAccAWSInstance_NewNetworkInterface_PrivateIPAndSecondaryPrivateIPs (71.75s)
=== CONT TestAccAWSInstance_NewNetworkInterface_EmptyPrivateIPAndSecondaryPrivateIPsUpdate
--- PASS: TestAccAWSInstance_NewNetworkInterface_PrivateIPAndSecondaryPrivateIPsUpdate (120.58s)
=== CONT TestAccAWSInstance_NewNetworkInterface_EmptyPrivateIPAndSecondaryPrivateIPs
--- PASS: TestAccAWSInstance_NewNetworkInterface_EmptyPrivateIPAndSecondaryPrivateIPsUpdate (119.11s)
=== CONT TestAccAWSInstance_NewNetworkInterface_PublicIPAndSecondaryPrivateIPs
--- PASS: TestAccAWSInstance_NewNetworkInterface_EmptyPrivateIPAndSecondaryPrivateIPs (82.30s)
=== CONT TestAccAWSInstance_addSecurityGroupNetworkInterface
--- PASS: TestAccAWSInstance_addSecurityGroupNetworkInterface (143.36s)
=== CONT TestAccAWSInstance_addSecondaryInterface
--- PASS: TestAccAWSInstance_NewNetworkInterface_PublicIPAndSecondaryPrivateIPs (226.24s)
=== CONT TestAccAWSInstance_primaryNetworkInterfaceSourceDestCheck
--- PASS: TestAccAWSInstance_addSecondaryInterface (161.88s)
=== CONT TestAccAWSInstance_primaryNetworkInterface
--- PASS: TestAccAWSInstance_primaryNetworkInterfaceSourceDestCheck (108.37s)
=== CONT TestAccAWSInstance_EbsRootDevice_MultipleDynamicEBSBlockDevices
--- PASS: TestAccAWSInstance_primaryNetworkInterface (97.17s)
=== CONT TestAccAWSInstance_EbsRootDevice_MultipleBlockDevices_ModifyDeleteOnTermination
--- PASS: TestAccAWSInstance_EbsRootDevice_MultipleBlockDevices_ModifyDeleteOnTermination (112.15s)
=== CONT TestAccAWSInstance_EbsRootDevice_MultipleBlockDevices_ModifySize
--- PASS: TestAccAWSInstance_EbsRootDevice_MultipleDynamicEBSBlockDevices (210.18s)
=== CONT TestAccAWSInstance_multipleRegions
--- PASS: TestAccAWSInstance_EbsRootDevice_MultipleBlockDevices_ModifySize (132.12s)
=== CONT TestAccAWSInstance_EbsRootDevice_ModifyDeleteOnTermination
--- PASS: TestAccAWSInstance_EbsRootDevice_ModifyDeleteOnTermination (133.01s)
=== CONT TestAccAWSInstance_EbsRootDevice_ModifyIOPS
--- PASS: TestAccAWSInstance_multipleRegions (245.05s)
=== CONT TestAccAWSInstance_EbsRootDevice_ModifyType
--- PASS: TestAccAWSInstance_EbsRootDevice_ModifyIOPS (131.78s)
=== CONT TestAccAWSInstance_EbsRootDevice_ModifySize
--- PASS: TestAccAWSInstance_EbsRootDevice_ModifyType (130.58s)
=== CONT TestAccAWSInstance_EbsRootDevice_basic
--- PASS: TestAccAWSInstance_EbsRootDevice_basic (74.62s)
=== CONT TestAccAWSInstance_changeInstanceType
--- PASS: TestAccAWSInstance_EbsRootDevice_ModifySize (122.16s)
=== CONT TestAccAWSInstance_forceNewAndTagsDrift
--- PASS: TestAccAWSInstance_changeInstanceType (181.98s)
=== CONT TestAccAWSInstance_rootBlockDeviceMismatch
--- PASS: TestAccAWSInstance_forceNewAndTagsDrift (151.18s)
=== CONT TestAccAWSInstance_keyPairCheck
--- PASS: TestAccAWSInstance_rootBlockDeviceMismatch (80.27s)
=== CONT TestAccAWSInstance_Empty_PrivateIP
--- PASS: TestAccAWSInstance_keyPairCheck (74.76s)
=== CONT TestAccAWSInstance_associatePublicIPAndPrivateIP
--- PASS: TestAccAWSInstance_Empty_PrivateIP (91.48s)
=== CONT TestAccAWSInstance_privateIP
--- PASS: TestAccAWSInstance_associatePublicIPAndPrivateIP (102.52s)
=== CONT TestAccAWSInstance_withIamInstanceProfile
--- PASS: TestAccAWSInstance_privateIP (91.41s)
=== CONT TestAccAWSInstance_instanceProfileChange
--- PASS: TestAccAWSInstance_withIamInstanceProfile (128.88s)
=== CONT TestAccAWSInstance_volumeTagsComputed
--- PASS: TestAccAWSInstance_volumeTagsComputed (125.96s)
=== CONT TestAccAWSInstance_volumeTags
--- PASS: TestAccAWSInstance_instanceProfileChange (187.44s)
=== CONT TestAccAWSInstance_tags
--- PASS: TestAccAWSInstance_volumeTags (156.85s)
=== CONT TestAccAWSInstance_NetworkInstanceVPCSecurityGroupIDs
--- PASS: TestAccAWSInstance_tags (219.09s)
=== CONT TestAccAWSInstance_NetworkInstanceRemovingAllSecurityGroups
--- PASS: TestAccAWSInstance_NetworkInstanceVPCSecurityGroupIDs (100.18s)
=== CONT TestAccAWSInstance_NetworkInstanceSecurityGroups
--- PASS: TestAccAWSInstance_NetworkInstanceRemovingAllSecurityGroups (112.63s)
=== CONT TestAccAWSInstance_rootInstanceStore
--- PASS: TestAccAWSInstance_NetworkInstanceSecurityGroups (118.93s)
=== CONT TestAccAWSInstance_ipv6_supportAddressCountWithIpv4
--- PASS: TestAccAWSInstance_rootInstanceStore (104.24s)
=== CONT TestAccAWSInstance_ipv6AddressCountAndSingleAddressCausesError
--- PASS: TestAccAWSInstance_ipv6AddressCountAndSingleAddressCausesError (20.88s)
=== CONT TestAccAWSInstance_ipv6_supportAddressCount
--- PASS: TestAccAWSInstance_ipv6_supportAddressCountWithIpv4 (113.57s)
=== CONT TestAccAWSInstance_placementGroup
--- PASS: TestAccAWSInstance_ipv6_supportAddressCount (102.96s)
=== CONT TestAccAWSInstance_outpost
data_source_aws_outposts_outposts_test.go:66: skipping since no Outposts Outpost found
=== CONT TestAccAWSInstance_vpc
=== CONT TestAccAWSInstance_outpost
--- SKIP: TestAccAWSInstance_outpost (1.73s)
--- PASS: TestAccAWSInstance_placementGroup (83.47s)
=== CONT TestAccAWSInstance_disableApiTermination
--- PASS: TestAccAWSInstance_vpc (110.25s)
=== CONT TestAccAWSInstance_sourceDestCheck
--- PASS: TestAccAWSInstance_disableApiTermination (135.86s)
=== CONT TestAccAWSInstance_noAMIEphemeralDevices
--- PASS: TestAccAWSInstance_noAMIEphemeralDevices (99.22s)
=== CONT TestAccAWSInstance_RootBlockDevice_KmsKeyArn
--- PASS: TestAccAWSInstance_sourceDestCheck (157.65s)
=== CONT TestAccAWSInstance_blockDevices
--- PASS: TestAccAWSInstance_blockDevices (85.83s)
=== CONT TestAccAWSInstance_GP2WithIopsValue
--- PASS: TestAccAWSInstance_GP2WithIopsValue (8.27s)
=== CONT TestAccAWSInstance_GP2IopsDevice
--- PASS: TestAccAWSInstance_RootBlockDevice_KmsKeyArn (124.55s)
=== CONT TestAccAWSInstance_userDataBase64
--- PASS: TestAccAWSInstance_GP2IopsDevice (95.40s)
=== CONT TestAccAWSInstance_atLeastOneOtherEbsVolume
--- PASS: TestAccAWSInstance_userDataBase64 (122.07s)
=== CONT TestAccAWSInstance_EbsBlockDevice_InvalidIopsForVolumeType
--- PASS: TestAccAWSInstance_EbsBlockDevice_InvalidIopsForVolumeType (8.98s)
=== CONT TestAccAWSInstance_EbsBlockDevice_KmsKeyArn
--- PASS: TestAccAWSInstance_atLeastOneOtherEbsVolume (143.49s)
=== CONT TestAccAWSInstance_basic
--- PASS: TestAccAWSInstance_EbsBlockDevice_KmsKeyArn (109.85s)
=== CONT TestAccAWSInstance_inDefaultVpcBySgId
--- PASS: TestAccAWSInstance_inDefaultVpcBySgId (91.98s)
--- PASS: TestAccAWSInstance_basic (127.89s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 4996.060s |
These are the failures I'm seeing today on
|
…2Classic'. Acceptance test output: $ make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSInstance_inEc2Classic' ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./aws/ -v -count 1 -parallel 20 -run=TestAccAWSInstance_inEc2Classic -timeout 120m === RUN TestAccAWSInstance_inEc2Classic === PAUSE TestAccAWSInstance_inEc2Classic === CONT TestAccAWSInstance_inEc2Classic --- PASS: TestAccAWSInstance_inEc2Classic (89.61s) PASS ok github.com/terraform-providers/terraform-provider-aws/aws 89.665s
…lockDevice_KmsKeyArn'. Acceptance test output: $ make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSInstance_EbsBlockDevice_KmsKeyArn' ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./aws/ -v -count 1 -parallel 20 -run=TestAccAWSInstance_EbsBlockDevice_KmsKeyArn -timeout 120m === RUN TestAccAWSInstance_EbsBlockDevice_KmsKeyArn === PAUSE TestAccAWSInstance_EbsBlockDevice_KmsKeyArn === CONT TestAccAWSInstance_EbsBlockDevice_KmsKeyArn --- PASS: TestAccAWSInstance_EbsBlockDevice_KmsKeyArn (114.53s) PASS ok github.com/terraform-providers/terraform-provider-aws/aws 114.602s
…BlockDevice_KmsKeyArn'. Acceptance test output: $ make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSInstance_RootBlockDevice_KmsKeyArn' ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./aws/ -v -count 1 -parallel 20 -run=TestAccAWSInstance_RootBlockDevice_KmsKeyArn -timeout 120m === RUN TestAccAWSInstance_RootBlockDevice_KmsKeyArn === PAUSE TestAccAWSInstance_RootBlockDevice_KmsKeyArn === CONT TestAccAWSInstance_RootBlockDevice_KmsKeyArn --- PASS: TestAccAWSInstance_RootBlockDevice_KmsKeyArn (121.92s) PASS ok github.com/terraform-providers/terraform-provider-aws/aws 121.975s
…DataBase64'. Acceptance test output: $ make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSInstance_userDataBase64' ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./aws/ -v -count 1 -parallel 20 -run=TestAccAWSInstance_userDataBase64 -timeout 120m === RUN TestAccAWSInstance_userDataBase64 === PAUSE TestAccAWSInstance_userDataBase64 === CONT TestAccAWSInstance_userDataBase64 --- PASS: TestAccAWSInstance_userDataBase64 (136.34s) PASS ok github.com/terraform-providers/terraform-provider-aws/aws 136.400s
…opsDevice'. Acceptance test output: $ make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSInstance_GP2IopsDevice' ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./aws/ -v -count 1 -parallel 20 -run=TestAccAWSInstance_GP2IopsDevice -timeout 120m === RUN TestAccAWSInstance_GP2IopsDevice === PAUSE TestAccAWSInstance_GP2IopsDevice === CONT TestAccAWSInstance_GP2IopsDevice --- PASS: TestAccAWSInstance_GP2IopsDevice (100.62s) PASS ok github.com/terraform-providers/terraform-provider-aws/aws 100.710s
…ithIopsValue'. Acceptance test output: $ make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSInstance_GP2WithIopsValue' ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./aws/ -v -count 1 -parallel 20 -run=TestAccAWSInstance_GP2WithIopsValue -timeout 120m === RUN TestAccAWSInstance_GP2WithIopsValue === PAUSE TestAccAWSInstance_GP2WithIopsValue === CONT TestAccAWSInstance_GP2WithIopsValue --- PASS: TestAccAWSInstance_GP2WithIopsValue (121.63s) PASS ok github.com/terraform-providers/terraform-provider-aws/aws 121.675s
…kDevices', 'TestAccAWSInstance_EbsRootDevice_MultipleBlockDevices_ModifySize', 'TestAccAWSInstance_EbsRootDevice_MultipleBlockDevices_ModifyDeleteOnTermination'. Acceptance test output: $ make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSInstance_blockDevices' ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./aws/ -v -count 1 -parallel 20 -run=TestAccAWSInstance_blockDevices -timeout 120m === RUN TestAccAWSInstance_blockDevices === PAUSE TestAccAWSInstance_blockDevices === CONT TestAccAWSInstance_blockDevices --- PASS: TestAccAWSInstance_blockDevices (100.71s) PASS ok github.com/terraform-providers/terraform-provider-aws/aws 100.772s $ make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSInstance_EbsRootDevice_MultipleBlockDevices_ModifySize' ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./aws/ -v -count 1 -parallel 20 -run=TestAccAWSInstance_EbsRootDevice_MultipleBlockDevices_ModifySize -timeout 120m === RUN TestAccAWSInstance_EbsRootDevice_MultipleBlockDevices_ModifySize === PAUSE TestAccAWSInstance_EbsRootDevice_MultipleBlockDevices_ModifySize === CONT TestAccAWSInstance_EbsRootDevice_MultipleBlockDevices_ModifySize --- PASS: TestAccAWSInstance_EbsRootDevice_MultipleBlockDevices_ModifySize (166.25s) PASS ok github.com/terraform-providers/terraform-provider-aws/aws 166.294s $ make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSInstance_EbsRootDevice_MultipleBlockDevices_ModifyDeleteOnTermination' ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./aws/ -v -count 1 -parallel 20 -run=TestAccAWSInstance_EbsRootDevice_MultipleBlockDevices_ModifyDeleteOnTermination -timeout 120m === RUN TestAccAWSInstance_EbsRootDevice_MultipleBlockDevices_ModifyDeleteOnTermination === PAUSE TestAccAWSInstance_EbsRootDevice_MultipleBlockDevices_ModifyDeleteOnTermination === CONT TestAccAWSInstance_EbsRootDevice_MultipleBlockDevices_ModifyDeleteOnTermination --- PASS: TestAccAWSInstance_EbsRootDevice_MultipleBlockDevices_ModifyDeleteOnTermination (146.25s) PASS ok github.com/terraform-providers/terraform-provider-aws/aws 146.295s
…InstanceStore'. Acceptance test output: $ make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSInstance_rootInstanceStore' ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./aws/ -v -count 1 -parallel 20 -run=TestAccAWSInstance_rootInstanceStore -timeout 120m === RUN TestAccAWSInstance_rootInstanceStore === PAUSE TestAccAWSInstance_rootInstanceStore === CONT TestAccAWSInstance_rootInstanceStore --- PASS: TestAccAWSInstance_rootInstanceStore (129.72s) PASS ok github.com/terraform-providers/terraform-provider-aws/aws 129.765s
…IEphemeralDevices'. Acceptance test output: $ make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSInstance_noAMIEphemeralDevices' ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./aws/ -v -count 1 -parallel 20 -run=TestAccAWSInstance_noAMIEphemeralDevices -timeout 120m === RUN TestAccAWSInstance_noAMIEphemeralDevices === PAUSE TestAccAWSInstance_noAMIEphemeralDevices === CONT TestAccAWSInstance_noAMIEphemeralDevices --- PASS: TestAccAWSInstance_noAMIEphemeralDevices (104.58s) PASS ok github.com/terraform-providers/terraform-provider-aws/aws 104.674s
Acceptance test output: $ make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSInstance_tags' ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./aws/ -v -count 1 -parallel 20 -run=TestAccAWSInstance_tags -timeout 120m === RUN TestAccAWSInstance_tags === PAUSE TestAccAWSInstance_tags === CONT TestAccAWSInstance_tags --- PASS: TestAccAWSInstance_tags (182.94s) PASS ok github.com/terraform-providers/terraform-provider-aws/aws 182.992s
…meTags' and 'TestAccAWSInstance_volumeTagsComputed'. Acceptance test output: $ make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSInstance_volumeTags' ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./aws/ -v -count 1 -parallel 20 -run=TestAccAWSInstance_volumeTags -timeout 120m === RUN TestAccAWSInstance_volumeTags === PAUSE TestAccAWSInstance_volumeTags === RUN TestAccAWSInstance_volumeTagsComputed === PAUSE TestAccAWSInstance_volumeTagsComputed === CONT TestAccAWSInstance_volumeTags === CONT TestAccAWSInstance_volumeTagsComputed --- PASS: TestAccAWSInstance_volumeTagsComputed (182.98s) --- PASS: TestAccAWSInstance_volumeTags (203.35s) PASS ok github.com/terraform-providers/terraform-provider-aws/aws 203.400s
…geInstanceType'. Acceptance test output: $ make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSInstance_changeInstanceType' ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./aws/ -v -count 1 -parallel 20 -run=TestAccAWSInstance_changeInstanceType -timeout 120m === RUN TestAccAWSInstance_changeInstanceType === PAUSE TestAccAWSInstance_changeInstanceType === CONT TestAccAWSInstance_changeInstanceType --- PASS: TestAccAWSInstance_changeInstanceType (217.76s) PASS ok github.com/terraform-providers/terraform-provider-aws/aws 217.804s
… run in `us-west-2`. $ make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSInstance_rootBlockDeviceMismatch' ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./aws/ -v -count 1 -parallel 20 -run=TestAccAWSInstance_rootBlockDeviceMismatch -timeout 120m === RUN TestAccAWSInstance_rootBlockDeviceMismatch === PAUSE TestAccAWSInstance_rootBlockDeviceMismatch === CONT TestAccAWSInstance_rootBlockDeviceMismatch --- PASS: TestAccAWSInstance_rootBlockDeviceMismatch (105.21s) PASS ok github.com/terraform-providers/terraform-provider-aws/aws 105.295s $ AWS_DEFAULT_REGION=us-east-2 make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSInstance_rootBlockDeviceMismatch' ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./aws/ -v -count 1 -parallel 20 -run=TestAccAWSInstance_rootBlockDeviceMismatch -timeout 120m === RUN TestAccAWSInstance_rootBlockDeviceMismatch === PAUSE TestAccAWSInstance_rootBlockDeviceMismatch === CONT TestAccAWSInstance_rootBlockDeviceMismatch --- SKIP: TestAccAWSInstance_rootBlockDeviceMismatch (2.42s) provider_test.go:525: skipping tests; AWS_DEFAULT_REGION (us-east-2) does not equal us-west-2 PASS ok github.com/terraform-providers/terraform-provider-aws/aws 2.472s
…nce_atLeastOneOtherEbsVolume'. Add new 'TestAccAWSInstance_basic'. Remove hardcoded AMI ID from 'TestAccAWSInstance_disappears', plus hashicorp#13527. Acceptance test output: $ make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSInstance_basic' ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./aws/ -v -count 1 -parallel 20 -run=TestAccAWSInstance_basic -timeout 120m === RUN TestAccAWSInstance_basic === PAUSE TestAccAWSInstance_basic === CONT TestAccAWSInstance_basic --- PASS: TestAccAWSInstance_basic (131.62s) PASS ok github.com/terraform-providers/terraform-provider-aws/aws 131.681s $ make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSInstance_disappears' ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./aws/ -v -count 1 -parallel 20 -run=TestAccAWSInstance_disappears -timeout 120m === RUN TestAccAWSInstance_disappears === PAUSE TestAccAWSInstance_disappears === CONT TestAccAWSInstance_disappears --- PASS: TestAccAWSInstance_disappears (260.98s) PASS ok github.com/terraform-providers/terraform-provider-aws/aws 261.031s
…astOneOtherEbsVolume'. Acceptance test output: $ make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSInstance_atLeastOneOtherEbsVolume' ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./aws/ -v -count 1 -parallel 20 -run=TestAccAWSInstance_atLeastOneOtherEbsVolume -timeout 120m === RUN TestAccAWSInstance_atLeastOneOtherEbsVolume === PAUSE TestAccAWSInstance_atLeastOneOtherEbsVolume === CONT TestAccAWSInstance_atLeastOneOtherEbsVolume --- PASS: TestAccAWSInstance_atLeastOneOtherEbsVolume (190.19s) PASS ok github.com/terraform-providers/terraform-provider-aws/aws 190.234s
Acceptance test output: $ make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSInstanceDataSource_metadataOptions' ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSInstanceDataSource_metadataOptions -timeout 120m === RUN TestAccAWSInstanceDataSource_metadataOptions === PAUSE TestAccAWSInstanceDataSource_metadataOptions === CONT TestAccAWSInstanceDataSource_metadataOptions --- PASS: TestAccAWSInstanceDataSource_metadataOptions (108.64s) PASS ok github.com/terraform-providers/terraform-provider-aws/aws 108.691s $ make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSInstance_metadataOptions' ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSInstance_metadataOptions -timeout 120m === RUN TestAccAWSInstance_metadataOptions === PAUSE TestAccAWSInstance_metadataOptions === CONT TestAccAWSInstance_metadataOptions --- PASS: TestAccAWSInstance_metadataOptions (111.01s) PASS ok github.com/terraform-providers/terraform-provider-aws/aws 111.055s $ make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSInstance_basic' ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSInstance_basic -timeout 120m === RUN TestAccAWSInstance_basic === PAUSE TestAccAWSInstance_basic === CONT TestAccAWSInstance_basic --- PASS: TestAccAWSInstance_basic (75.67s) PASS ok github.com/terraform-providers/terraform-provider-aws/aws 75.781s
This reverts commit 9532c8a06c2fc3a1afc017d91de381b9f25feccb.
…Instance_multipleRegions'. Acceptance test output: $ make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSInstance_multipleRegions' ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSInstance_multipleRegions -timeout 120m === RUN TestAccAWSInstance_multipleRegions === PAUSE TestAccAWSInstance_multipleRegions === CONT TestAccAWSInstance_multipleRegions --- PASS: TestAccAWSInstance_multipleRegions (243.89s) PASS ok github.com/terraform-providers/terraform-provider-aws/aws 243.949s
873b9bb
to
41d077e
Compare
Rebased and re-ran acceptance tests: $ make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSInstance_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 2 -run=TestAccAWSInstance_ -timeout 120m
=== RUN TestAccAWSInstance_inDefaultVpcBySgName
=== PAUSE TestAccAWSInstance_inDefaultVpcBySgName
=== RUN TestAccAWSInstance_inDefaultVpcBySgId
=== PAUSE TestAccAWSInstance_inDefaultVpcBySgId
=== RUN TestAccAWSInstance_basic
=== PAUSE TestAccAWSInstance_basic
=== RUN TestAccAWSInstance_atLeastOneOtherEbsVolume
=== PAUSE TestAccAWSInstance_atLeastOneOtherEbsVolume
=== RUN TestAccAWSInstance_EbsBlockDevice_KmsKeyArn
=== PAUSE TestAccAWSInstance_EbsBlockDevice_KmsKeyArn
=== RUN TestAccAWSInstance_EbsBlockDevice_InvalidIopsForVolumeType
=== PAUSE TestAccAWSInstance_EbsBlockDevice_InvalidIopsForVolumeType
=== RUN TestAccAWSInstance_RootBlockDevice_KmsKeyArn
=== PAUSE TestAccAWSInstance_RootBlockDevice_KmsKeyArn
=== RUN TestAccAWSInstance_userDataBase64
=== PAUSE TestAccAWSInstance_userDataBase64
=== RUN TestAccAWSInstance_GP2IopsDevice
=== PAUSE TestAccAWSInstance_GP2IopsDevice
=== RUN TestAccAWSInstance_GP2WithIopsValue
=== PAUSE TestAccAWSInstance_GP2WithIopsValue
=== RUN TestAccAWSInstance_blockDevices
=== PAUSE TestAccAWSInstance_blockDevices
=== RUN TestAccAWSInstance_rootInstanceStore
=== PAUSE TestAccAWSInstance_rootInstanceStore
=== RUN TestAccAWSInstance_noAMIEphemeralDevices
=== PAUSE TestAccAWSInstance_noAMIEphemeralDevices
=== RUN TestAccAWSInstance_sourceDestCheck
=== PAUSE TestAccAWSInstance_sourceDestCheck
=== RUN TestAccAWSInstance_disableApiTermination
=== PAUSE TestAccAWSInstance_disableApiTermination
=== RUN TestAccAWSInstance_vpc
=== PAUSE TestAccAWSInstance_vpc
=== RUN TestAccAWSInstance_outpost
=== PAUSE TestAccAWSInstance_outpost
=== RUN TestAccAWSInstance_placementGroup
=== PAUSE TestAccAWSInstance_placementGroup
=== RUN TestAccAWSInstance_ipv6_supportAddressCount
=== PAUSE TestAccAWSInstance_ipv6_supportAddressCount
=== RUN TestAccAWSInstance_ipv6AddressCountAndSingleAddressCausesError
=== PAUSE TestAccAWSInstance_ipv6AddressCountAndSingleAddressCausesError
=== RUN TestAccAWSInstance_ipv6_supportAddressCountWithIpv4
=== PAUSE TestAccAWSInstance_ipv6_supportAddressCountWithIpv4
=== RUN TestAccAWSInstance_multipleRegions
=== PAUSE TestAccAWSInstance_multipleRegions
=== RUN TestAccAWSInstance_NetworkInstanceSecurityGroups
=== PAUSE TestAccAWSInstance_NetworkInstanceSecurityGroups
=== RUN TestAccAWSInstance_NetworkInstanceRemovingAllSecurityGroups
=== PAUSE TestAccAWSInstance_NetworkInstanceRemovingAllSecurityGroups
=== RUN TestAccAWSInstance_NetworkInstanceVPCSecurityGroupIDs
=== PAUSE TestAccAWSInstance_NetworkInstanceVPCSecurityGroupIDs
=== RUN TestAccAWSInstance_tags
=== PAUSE TestAccAWSInstance_tags
=== RUN TestAccAWSInstance_volumeTags
=== PAUSE TestAccAWSInstance_volumeTags
=== RUN TestAccAWSInstance_volumeTagsComputed
=== PAUSE TestAccAWSInstance_volumeTagsComputed
=== RUN TestAccAWSInstance_instanceProfileChange
=== PAUSE TestAccAWSInstance_instanceProfileChange
=== RUN TestAccAWSInstance_withIamInstanceProfile
=== PAUSE TestAccAWSInstance_withIamInstanceProfile
=== RUN TestAccAWSInstance_privateIP
=== PAUSE TestAccAWSInstance_privateIP
=== RUN TestAccAWSInstance_associatePublicIPAndPrivateIP
=== PAUSE TestAccAWSInstance_associatePublicIPAndPrivateIP
=== RUN TestAccAWSInstance_Empty_PrivateIP
=== PAUSE TestAccAWSInstance_Empty_PrivateIP
=== RUN TestAccAWSInstance_keyPairCheck
=== PAUSE TestAccAWSInstance_keyPairCheck
=== RUN TestAccAWSInstance_rootBlockDeviceMismatch
=== PAUSE TestAccAWSInstance_rootBlockDeviceMismatch
=== RUN TestAccAWSInstance_forceNewAndTagsDrift
=== PAUSE TestAccAWSInstance_forceNewAndTagsDrift
=== RUN TestAccAWSInstance_changeInstanceType
=== PAUSE TestAccAWSInstance_changeInstanceType
=== RUN TestAccAWSInstance_EbsRootDevice_basic
=== PAUSE TestAccAWSInstance_EbsRootDevice_basic
=== RUN TestAccAWSInstance_EbsRootDevice_ModifySize
=== PAUSE TestAccAWSInstance_EbsRootDevice_ModifySize
=== RUN TestAccAWSInstance_EbsRootDevice_ModifyType
=== PAUSE TestAccAWSInstance_EbsRootDevice_ModifyType
=== RUN TestAccAWSInstance_EbsRootDevice_ModifyIOPS
=== PAUSE TestAccAWSInstance_EbsRootDevice_ModifyIOPS
=== RUN TestAccAWSInstance_EbsRootDevice_ModifyDeleteOnTermination
=== PAUSE TestAccAWSInstance_EbsRootDevice_ModifyDeleteOnTermination
=== RUN TestAccAWSInstance_EbsRootDevice_ModifyAll
=== PAUSE TestAccAWSInstance_EbsRootDevice_ModifyAll
=== RUN TestAccAWSInstance_EbsRootDevice_MultipleBlockDevices_ModifySize
=== PAUSE TestAccAWSInstance_EbsRootDevice_MultipleBlockDevices_ModifySize
=== RUN TestAccAWSInstance_EbsRootDevice_MultipleBlockDevices_ModifyDeleteOnTermination
=== PAUSE TestAccAWSInstance_EbsRootDevice_MultipleBlockDevices_ModifyDeleteOnTermination
=== RUN TestAccAWSInstance_EbsRootDevice_MultipleDynamicEBSBlockDevices
=== PAUSE TestAccAWSInstance_EbsRootDevice_MultipleDynamicEBSBlockDevices
=== RUN TestAccAWSInstance_primaryNetworkInterface
=== PAUSE TestAccAWSInstance_primaryNetworkInterface
=== RUN TestAccAWSInstance_primaryNetworkInterfaceSourceDestCheck
=== PAUSE TestAccAWSInstance_primaryNetworkInterfaceSourceDestCheck
=== RUN TestAccAWSInstance_addSecondaryInterface
=== PAUSE TestAccAWSInstance_addSecondaryInterface
=== RUN TestAccAWSInstance_addSecurityGroupNetworkInterface
=== PAUSE TestAccAWSInstance_addSecurityGroupNetworkInterface
=== RUN TestAccAWSInstance_NewNetworkInterface_PublicIPAndSecondaryPrivateIPs
=== PAUSE TestAccAWSInstance_NewNetworkInterface_PublicIPAndSecondaryPrivateIPs
=== RUN TestAccAWSInstance_NewNetworkInterface_EmptyPrivateIPAndSecondaryPrivateIPs
=== PAUSE TestAccAWSInstance_NewNetworkInterface_EmptyPrivateIPAndSecondaryPrivateIPs
=== RUN TestAccAWSInstance_NewNetworkInterface_EmptyPrivateIPAndSecondaryPrivateIPsUpdate
=== PAUSE TestAccAWSInstance_NewNetworkInterface_EmptyPrivateIPAndSecondaryPrivateIPsUpdate
=== RUN TestAccAWSInstance_NewNetworkInterface_PrivateIPAndSecondaryPrivateIPs
=== PAUSE TestAccAWSInstance_NewNetworkInterface_PrivateIPAndSecondaryPrivateIPs
=== RUN TestAccAWSInstance_NewNetworkInterface_PrivateIPAndSecondaryPrivateIPsUpdate
=== PAUSE TestAccAWSInstance_NewNetworkInterface_PrivateIPAndSecondaryPrivateIPsUpdate
=== RUN TestAccAWSInstance_associatePublic_defaultPrivate
=== PAUSE TestAccAWSInstance_associatePublic_defaultPrivate
=== RUN TestAccAWSInstance_associatePublic_defaultPublic
=== PAUSE TestAccAWSInstance_associatePublic_defaultPublic
=== RUN TestAccAWSInstance_associatePublic_explicitPublic
=== PAUSE TestAccAWSInstance_associatePublic_explicitPublic
=== RUN TestAccAWSInstance_associatePublic_explicitPrivate
=== PAUSE TestAccAWSInstance_associatePublic_explicitPrivate
=== RUN TestAccAWSInstance_associatePublic_overridePublic
=== PAUSE TestAccAWSInstance_associatePublic_overridePublic
=== RUN TestAccAWSInstance_associatePublic_overridePrivate
=== PAUSE TestAccAWSInstance_associatePublic_overridePrivate
=== RUN TestAccAWSInstance_getPasswordData_falseToTrue
=== PAUSE TestAccAWSInstance_getPasswordData_falseToTrue
=== RUN TestAccAWSInstance_getPasswordData_trueToFalse
=== PAUSE TestAccAWSInstance_getPasswordData_trueToFalse
=== RUN TestAccAWSInstance_CreditSpecification_Empty_NonBurstable
=== PAUSE TestAccAWSInstance_CreditSpecification_Empty_NonBurstable
=== RUN TestAccAWSInstance_CreditSpecification_UnspecifiedToEmpty_NonBurstable
=== PAUSE TestAccAWSInstance_CreditSpecification_UnspecifiedToEmpty_NonBurstable
=== RUN TestAccAWSInstance_creditSpecification_unspecifiedDefaultsToStandard
=== PAUSE TestAccAWSInstance_creditSpecification_unspecifiedDefaultsToStandard
=== RUN TestAccAWSInstance_creditSpecification_standardCpuCredits
=== PAUSE TestAccAWSInstance_creditSpecification_standardCpuCredits
=== RUN TestAccAWSInstance_creditSpecification_unlimitedCpuCredits
=== PAUSE TestAccAWSInstance_creditSpecification_unlimitedCpuCredits
=== RUN TestAccAWSInstance_creditSpecification_unknownCpuCredits_t2
=== PAUSE TestAccAWSInstance_creditSpecification_unknownCpuCredits_t2
=== RUN TestAccAWSInstance_creditSpecification_unknownCpuCredits_t3
=== PAUSE TestAccAWSInstance_creditSpecification_unknownCpuCredits_t3
=== RUN TestAccAWSInstance_creditSpecification_updateCpuCredits
=== PAUSE TestAccAWSInstance_creditSpecification_updateCpuCredits
=== RUN TestAccAWSInstance_creditSpecification_isNotAppliedToNonBurstable
=== PAUSE TestAccAWSInstance_creditSpecification_isNotAppliedToNonBurstable
=== RUN TestAccAWSInstance_creditSpecificationT3_unspecifiedDefaultsToUnlimited
=== PAUSE TestAccAWSInstance_creditSpecificationT3_unspecifiedDefaultsToUnlimited
=== RUN TestAccAWSInstance_creditSpecificationT3_standardCpuCredits
=== PAUSE TestAccAWSInstance_creditSpecificationT3_standardCpuCredits
=== RUN TestAccAWSInstance_creditSpecificationT3_unlimitedCpuCredits
=== PAUSE TestAccAWSInstance_creditSpecificationT3_unlimitedCpuCredits
=== RUN TestAccAWSInstance_creditSpecificationT3_updateCpuCredits
=== PAUSE TestAccAWSInstance_creditSpecificationT3_updateCpuCredits
=== RUN TestAccAWSInstance_creditSpecification_standardCpuCredits_t2Tot3Taint
=== PAUSE TestAccAWSInstance_creditSpecification_standardCpuCredits_t2Tot3Taint
=== RUN TestAccAWSInstance_creditSpecification_unlimitedCpuCredits_t2Tot3Taint
=== PAUSE TestAccAWSInstance_creditSpecification_unlimitedCpuCredits_t2Tot3Taint
=== RUN TestAccAWSInstance_disappears
=== PAUSE TestAccAWSInstance_disappears
=== RUN TestAccAWSInstance_UserData_EmptyStringToUnspecified
=== PAUSE TestAccAWSInstance_UserData_EmptyStringToUnspecified
=== RUN TestAccAWSInstance_UserData_UnspecifiedToEmptyString
=== PAUSE TestAccAWSInstance_UserData_UnspecifiedToEmptyString
=== RUN TestAccAWSInstance_hibernation
=== PAUSE TestAccAWSInstance_hibernation
=== RUN TestAccAWSInstance_metadataOptions
=== PAUSE TestAccAWSInstance_metadataOptions
=== CONT TestAccAWSInstance_inDefaultVpcBySgName
=== CONT TestAccAWSInstance_EbsRootDevice_ModifyAll
--- PASS: TestAccAWSInstance_inDefaultVpcBySgName (105.31s)
=== CONT TestAccAWSInstance_metadataOptions
--- PASS: TestAccAWSInstance_EbsRootDevice_ModifyAll (146.79s)
=== CONT TestAccAWSInstance_hibernation
--- PASS: TestAccAWSInstance_metadataOptions (125.75s)
=== CONT TestAccAWSInstance_UserData_UnspecifiedToEmptyString
--- PASS: TestAccAWSInstance_UserData_UnspecifiedToEmptyString (115.90s)
=== CONT TestAccAWSInstance_UserData_EmptyStringToUnspecified
--- PASS: TestAccAWSInstance_hibernation (220.16s)
=== CONT TestAccAWSInstance_disappears
--- PASS: TestAccAWSInstance_UserData_EmptyStringToUnspecified (124.81s)
=== CONT TestAccAWSInstance_creditSpecification_unlimitedCpuCredits_t2Tot3Taint
--- PASS: TestAccAWSInstance_disappears (186.04s)
=== CONT TestAccAWSInstance_creditSpecification_standardCpuCredits_t2Tot3Taint
--- PASS: TestAccAWSInstance_creditSpecification_unlimitedCpuCredits_t2Tot3Taint (196.03s)
=== CONT TestAccAWSInstance_creditSpecificationT3_updateCpuCredits
--- PASS: TestAccAWSInstance_creditSpecification_standardCpuCredits_t2Tot3Taint (196.48s)
=== CONT TestAccAWSInstance_creditSpecificationT3_unlimitedCpuCredits
--- PASS: TestAccAWSInstance_creditSpecificationT3_updateCpuCredits (167.46s)
=== CONT TestAccAWSInstance_creditSpecificationT3_standardCpuCredits
--- PASS: TestAccAWSInstance_creditSpecificationT3_unlimitedCpuCredits (159.30s)
=== CONT TestAccAWSInstance_creditSpecificationT3_unspecifiedDefaultsToUnlimited
--- PASS: TestAccAWSInstance_creditSpecificationT3_standardCpuCredits (149.88s)
=== CONT TestAccAWSInstance_creditSpecification_isNotAppliedToNonBurstable
--- PASS: TestAccAWSInstance_creditSpecificationT3_unspecifiedDefaultsToUnlimited (106.66s)
=== CONT TestAccAWSInstance_creditSpecification_updateCpuCredits
--- PASS: TestAccAWSInstance_creditSpecification_isNotAppliedToNonBurstable (126.48s)
=== CONT TestAccAWSInstance_creditSpecification_unknownCpuCredits_t3
--- PASS: TestAccAWSInstance_creditSpecification_updateCpuCredits (154.75s)
=== CONT TestAccAWSInstance_creditSpecification_unknownCpuCredits_t2
--- PASS: TestAccAWSInstance_creditSpecification_unknownCpuCredits_t3 (75.18s)
=== CONT TestAccAWSInstance_creditSpecification_unlimitedCpuCredits
--- PASS: TestAccAWSInstance_creditSpecification_unknownCpuCredits_t2 (105.44s)
=== CONT TestAccAWSInstance_creditSpecification_standardCpuCredits
--- PASS: TestAccAWSInstance_creditSpecification_unlimitedCpuCredits (129.97s)
=== CONT TestAccAWSInstance_creditSpecification_unspecifiedDefaultsToStandard
--- PASS: TestAccAWSInstance_creditSpecification_standardCpuCredits (138.78s)
=== CONT TestAccAWSInstance_CreditSpecification_UnspecifiedToEmpty_NonBurstable
--- PASS: TestAccAWSInstance_creditSpecification_unspecifiedDefaultsToStandard (105.00s)
=== CONT TestAccAWSInstance_CreditSpecification_Empty_NonBurstable
--- PASS: TestAccAWSInstance_CreditSpecification_UnspecifiedToEmpty_NonBurstable (129.82s)
=== CONT TestAccAWSInstance_getPasswordData_trueToFalse
--- PASS: TestAccAWSInstance_CreditSpecification_Empty_NonBurstable (128.18s)
=== CONT TestAccAWSInstance_getPasswordData_falseToTrue
--- PASS: TestAccAWSInstance_getPasswordData_falseToTrue (142.06s)
=== CONT TestAccAWSInstance_associatePublic_overridePrivate
--- PASS: TestAccAWSInstance_getPasswordData_trueToFalse (194.23s)
=== CONT TestAccAWSInstance_associatePublic_overridePublic
=== CONT TestAccAWSInstance_associatePublic_overridePrivate
testing.go:684: Step 0 error: Check failed: Check 2/3 error: aws_instance.test: Attribute 'associate_public_ip_address' expected "false", got "true"
--- FAIL: TestAccAWSInstance_associatePublic_overridePrivate (91.28s)
=== CONT TestAccAWSInstance_associatePublic_explicitPrivate
testing.go:684: Step 0 error: Check failed: Check 2/3 error: aws_instance.test: Attribute 'associate_public_ip_address' expected "false", got "true"
--- PASS: TestAccAWSInstance_associatePublic_overridePublic (95.03s)
=== CONT TestAccAWSInstance_associatePublic_explicitPublic
--- FAIL: TestAccAWSInstance_associatePublic_explicitPrivate (81.43s)
=== CONT TestAccAWSInstance_associatePublic_defaultPublic
--- PASS: TestAccAWSInstance_associatePublic_explicitPublic (96.23s)
=== CONT TestAccAWSInstance_associatePublic_defaultPrivate
--- PASS: TestAccAWSInstance_associatePublic_defaultPublic (96.16s)
=== CONT TestAccAWSInstance_NewNetworkInterface_PrivateIPAndSecondaryPrivateIPsUpdate
--- PASS: TestAccAWSInstance_associatePublic_defaultPrivate (116.56s)
=== CONT TestAccAWSInstance_NewNetworkInterface_PrivateIPAndSecondaryPrivateIPs
--- PASS: TestAccAWSInstance_NewNetworkInterface_PrivateIPAndSecondaryPrivateIPsUpdate (180.17s)
=== CONT TestAccAWSInstance_NewNetworkInterface_EmptyPrivateIPAndSecondaryPrivateIPsUpdate
--- PASS: TestAccAWSInstance_NewNetworkInterface_PrivateIPAndSecondaryPrivateIPs (116.74s)
=== CONT TestAccAWSInstance_NewNetworkInterface_EmptyPrivateIPAndSecondaryPrivateIPs
--- PASS: TestAccAWSInstance_NewNetworkInterface_EmptyPrivateIPAndSecondaryPrivateIPs (96.21s)
=== CONT TestAccAWSInstance_NewNetworkInterface_PublicIPAndSecondaryPrivateIPs
--- PASS: TestAccAWSInstance_NewNetworkInterface_EmptyPrivateIPAndSecondaryPrivateIPsUpdate (158.06s)
=== CONT TestAccAWSInstance_addSecurityGroupNetworkInterface
--- PASS: TestAccAWSInstance_addSecurityGroupNetworkInterface (158.18s)
=== CONT TestAccAWSInstance_addSecondaryInterface
--- PASS: TestAccAWSInstance_NewNetworkInterface_PublicIPAndSecondaryPrivateIPs (231.31s)
=== CONT TestAccAWSInstance_primaryNetworkInterfaceSourceDestCheck
--- PASS: TestAccAWSInstance_primaryNetworkInterfaceSourceDestCheck (101.24s)
=== CONT TestAccAWSInstance_primaryNetworkInterface
--- PASS: TestAccAWSInstance_addSecondaryInterface (156.29s)
=== CONT TestAccAWSInstance_EbsRootDevice_MultipleDynamicEBSBlockDevices
--- PASS: TestAccAWSInstance_primaryNetworkInterface (113.49s)
=== CONT TestAccAWSInstance_EbsRootDevice_MultipleBlockDevices_ModifyDeleteOnTermination
--- PASS: TestAccAWSInstance_EbsRootDevice_MultipleBlockDevices_ModifyDeleteOnTermination (115.88s)
=== CONT TestAccAWSInstance_EbsRootDevice_MultipleBlockDevices_ModifySize
--- PASS: TestAccAWSInstance_EbsRootDevice_MultipleDynamicEBSBlockDevices (213.06s)
=== CONT TestAccAWSInstance_multipleRegions
--- PASS: TestAccAWSInstance_EbsRootDevice_MultipleBlockDevices_ModifySize (148.32s)
=== CONT TestAccAWSInstance_EbsRootDevice_ModifyDeleteOnTermination
--- PASS: TestAccAWSInstance_multipleRegions (149.03s)
=== CONT TestAccAWSInstance_EbsRootDevice_ModifyIOPS
--- PASS: TestAccAWSInstance_EbsRootDevice_ModifyDeleteOnTermination (126.44s)
=== CONT TestAccAWSInstance_EbsRootDevice_ModifyType
--- PASS: TestAccAWSInstance_EbsRootDevice_ModifyIOPS (136.26s)
=== CONT TestAccAWSInstance_EbsRootDevice_ModifySize
--- PASS: TestAccAWSInstance_EbsRootDevice_ModifyType (145.99s)
=== CONT TestAccAWSInstance_EbsRootDevice_basic
--- PASS: TestAccAWSInstance_EbsRootDevice_ModifySize (148.23s)
=== CONT TestAccAWSInstance_changeInstanceType
--- PASS: TestAccAWSInstance_EbsRootDevice_basic (91.18s)
=== CONT TestAccAWSInstance_forceNewAndTagsDrift
--- PASS: TestAccAWSInstance_changeInstanceType (176.38s)
=== CONT TestAccAWSInstance_rootBlockDeviceMismatch
--- PASS: TestAccAWSInstance_forceNewAndTagsDrift (153.62s)
=== CONT TestAccAWSInstance_keyPairCheck
--- PASS: TestAccAWSInstance_rootBlockDeviceMismatch (93.00s)
=== CONT TestAccAWSInstance_Empty_PrivateIP
--- PASS: TestAccAWSInstance_keyPairCheck (77.69s)
=== CONT TestAccAWSInstance_associatePublicIPAndPrivateIP
--- PASS: TestAccAWSInstance_Empty_PrivateIP (95.77s)
=== CONT TestAccAWSInstance_privateIP
--- PASS: TestAccAWSInstance_associatePublicIPAndPrivateIP (95.74s)
=== CONT TestAccAWSInstance_withIamInstanceProfile
--- PASS: TestAccAWSInstance_privateIP (106.02s)
=== CONT TestAccAWSInstance_instanceProfileChange
--- PASS: TestAccAWSInstance_withIamInstanceProfile (128.88s)
=== CONT TestAccAWSInstance_volumeTagsComputed
--- PASS: TestAccAWSInstance_volumeTagsComputed (137.56s)
=== CONT TestAccAWSInstance_volumeTags
--- PASS: TestAccAWSInstance_instanceProfileChange (212.23s)
=== CONT TestAccAWSInstance_tags
--- PASS: TestAccAWSInstance_volumeTags (154.15s)
=== CONT TestAccAWSInstance_NetworkInstanceVPCSecurityGroupIDs
--- PASS: TestAccAWSInstance_tags (139.14s)
=== CONT TestAccAWSInstance_NetworkInstanceRemovingAllSecurityGroups
--- PASS: TestAccAWSInstance_NetworkInstanceVPCSecurityGroupIDs (112.13s)
=== CONT TestAccAWSInstance_NetworkInstanceSecurityGroups
--- PASS: TestAccAWSInstance_NetworkInstanceRemovingAllSecurityGroups (123.87s)
=== CONT TestAccAWSInstance_rootInstanceStore
--- PASS: TestAccAWSInstance_NetworkInstanceSecurityGroups (111.46s)
=== CONT TestAccAWSInstance_ipv6_supportAddressCountWithIpv4
--- PASS: TestAccAWSInstance_rootInstanceStore (106.72s)
=== CONT TestAccAWSInstance_ipv6AddressCountAndSingleAddressCausesError
--- PASS: TestAccAWSInstance_ipv6AddressCountAndSingleAddressCausesError (22.36s)
=== CONT TestAccAWSInstance_ipv6_supportAddressCount
--- PASS: TestAccAWSInstance_ipv6_supportAddressCountWithIpv4 (95.96s)
=== CONT TestAccAWSInstance_placementGroup
--- PASS: TestAccAWSInstance_ipv6_supportAddressCount (128.02s)
=== CONT TestAccAWSInstance_outpost
data_source_aws_outposts_outposts_test.go:66: skipping since no Outposts Outpost found
--- SKIP: TestAccAWSInstance_outpost (1.68s)
=== CONT TestAccAWSInstance_vpc
--- PASS: TestAccAWSInstance_placementGroup (87.11s)
=== CONT TestAccAWSInstance_disableApiTermination
--- PASS: TestAccAWSInstance_vpc (114.34s)
=== CONT TestAccAWSInstance_sourceDestCheck
--- PASS: TestAccAWSInstance_disableApiTermination (160.66s)
=== CONT TestAccAWSInstance_noAMIEphemeralDevices
--- PASS: TestAccAWSInstance_noAMIEphemeralDevices (92.29s)
=== CONT TestAccAWSInstance_RootBlockDevice_KmsKeyArn
--- PASS: TestAccAWSInstance_sourceDestCheck (165.97s)
=== CONT TestAccAWSInstance_blockDevices
--- PASS: TestAccAWSInstance_blockDevices (88.03s)
=== CONT TestAccAWSInstance_GP2WithIopsValue
--- PASS: TestAccAWSInstance_GP2WithIopsValue (10.35s)
=== CONT TestAccAWSInstance_GP2IopsDevice
--- PASS: TestAccAWSInstance_RootBlockDevice_KmsKeyArn (130.92s)
=== CONT TestAccAWSInstance_userDataBase64
--- PASS: TestAccAWSInstance_GP2IopsDevice (88.41s)
=== CONT TestAccAWSInstance_atLeastOneOtherEbsVolume
--- PASS: TestAccAWSInstance_userDataBase64 (124.09s)
=== CONT TestAccAWSInstance_EbsBlockDevice_InvalidIopsForVolumeType
--- PASS: TestAccAWSInstance_EbsBlockDevice_InvalidIopsForVolumeType (10.29s)
=== CONT TestAccAWSInstance_EbsBlockDevice_KmsKeyArn
--- PASS: TestAccAWSInstance_atLeastOneOtherEbsVolume (158.80s)
=== CONT TestAccAWSInstance_basic
--- PASS: TestAccAWSInstance_EbsBlockDevice_KmsKeyArn (103.02s)
=== CONT TestAccAWSInstance_inDefaultVpcBySgId
--- PASS: TestAccAWSInstance_basic (77.94s)
--- PASS: TestAccAWSInstance_inDefaultVpcBySgId (85.12s)
FAIL
FAIL github.com/terraform-providers/terraform-provider-aws/aws 5194.118s
FAIL
GNUmakefile:26: recipe for target 'testacc' failed
make: *** [testacc] Error 1 |
Investigating the failing cases... $ make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSInstance_associatePublic_explicitPrivate'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 2 -run=TestAccAWSInstance_associatePublic_explicitPrivate -timeout 120m
=== RUN TestAccAWSInstance_associatePublic_explicitPrivate
=== PAUSE TestAccAWSInstance_associatePublic_explicitPrivate
=== CONT TestAccAWSInstance_associatePublic_explicitPrivate
testing.go:684: Step 0 error: Check failed: Check 2/3 error: aws_instance.test: Attribute 'associate_public_ip_address' expected "false", got "true"
--- FAIL: TestAccAWSInstance_associatePublic_explicitPrivate (81.42s)
FAIL
FAIL github.com/terraform-providers/terraform-provider-aws/aws 81.470s
FAIL
GNUmakefile:26: recipe for target 'testacc' failed
make: *** [testacc] Error 1
$ make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSInstance_associatePublic_overridePrivate'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 2 -run=TestAccAWSInstance_associatePublic_overridePrivate -timeout 120m
=== RUN TestAccAWSInstance_associatePublic_overridePrivate
=== PAUSE TestAccAWSInstance_associatePublic_overridePrivate
=== CONT TestAccAWSInstance_associatePublic_overridePrivate
testing.go:684: Step 0 error: Check failed: Check 2/3 error: aws_instance.test: Attribute 'associate_public_ip_address' expected "false", got "true"
--- FAIL: TestAccAWSInstance_associatePublic_overridePrivate (82.56s)
FAIL
FAIL github.com/terraform-providers/terraform-provider-aws/aws 82.618s
FAIL
GNUmakefile:26: recipe for target 'testacc' failed
make: *** [testacc] Error 1 The EC2 API calls look correct: {
"eventVersion": "1.05",
"eventTime": "2020-08-06T18:10:07Z",
"eventSource": "ec2.amazonaws.com",
"eventName": "RunInstances",
"awsRegion": "us-west-2",
"userAgent": "aws-sdk-go/1.32.12 (go1.14.6; linux; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.26 (+https://www.terraform.io)",
"requestParameters": {
"instancesSet": {
"items": [
{
"imageId": "ami-060fda6c514402640",
"minCount": 1,
"maxCount": 1
}
]
},
"instanceType": "t2.micro",
"blockDeviceMapping": {},
"monitoring": {
"enabled": false
},
"disableApiTermination": false,
"clientToken": "4514C548-8606-44FE-BB12-9455D4BDB04A",
"networkInterfaceSet": {
"items": [
{
"deviceIndex": 0,
"subnetId": "subnet-02e8a7938f433e176",
"associatePublicIpAddress": false
}
]
},
"iamInstanceProfile": {},
"ebsOptimized": false,
"tagSpecificationSet": {
"items": [
{
"resourceType": "instance",
"tags": [
{
"key": "Name",
"value": "test-ec2-instance-public-ip"
}
]
}
]
},
"hibernationOptions": {
"configured": false
}
},
"responseElements": {
"requestId": "0ea0542e-e0ea-4ed9-8696-e1ec15b5796f",
"reservationId": "r-04c8422f890668f1f",
"groupSet": {},
"instancesSet": {
"items": [
{
"instanceId": "i-02107eda837a9bea7",
"imageId": "ami-060fda6c514402640",
"instanceState": {
"code": 0,
"name": "pending"
},
"privateDnsName": "ip-10-1-1-166.us-west-2.compute.internal",
"amiLaunchIndex": 0,
"productCodes": {},
"instanceType": "t2.micro",
"launchTime": 1596737407000,
"placement": {
"availabilityZone": "us-west-2a",
"tenancy": "default"
},
"monitoring": {
"state": "disabled"
},
"subnetId": "subnet-02e8a7938f433e176",
"vpcId": "vpc-0b0c6d93d05f4da0b",
"privateIpAddress": "10.1.1.166",
"stateReason": {
"code": "pending",
"message": "pending"
},
"architecture": "x86_64",
"rootDeviceType": "ebs",
"rootDeviceName": "/dev/xvda",
"blockDeviceMapping": {},
"virtualizationType": "hvm",
"hypervisor": "xen",
"tagSet": {
"items": [
{
"key": "Name",
"value": "test-ec2-instance-public-ip"
}
]
},
"clientToken": "4514C548-8606-44FE-BB12-9455D4BDB04A",
"groupSet": {
"items": [
{
"groupId": "sg-03c8d5976f382d963",
"groupName": "default"
}
]
},
"sourceDestCheck": true,
"networkInterfaceSet": {
"items": [
{
"networkInterfaceId": "eni-0e6a9531930c4f4e5",
"subnetId": "subnet-02e8a7938f433e176",
"vpcId": "vpc-0b0c6d93d05f4da0b",
"status": "in-use",
"macAddress": "02:5b:80:8e:3e:b7",
"privateIpAddress": "10.1.1.166",
"sourceDestCheck": true,
"interfaceType": "interface",
"groupSet": {
"items": [
{
"groupId": "sg-03c8d5976f382d963",
"groupName": "default"
}
]
},
"attachment": {
"attachmentId": "eni-attach-00517af03b72edac6",
"deviceIndex": 0,
"status": "attaching",
"attachTime": 1596737407000,
"deleteOnTermination": true
},
"privateIpAddressesSet": {
"item": [
{
"privateIpAddress": "10.1.1.166",
"primary": true
}
]
},
"ipv6AddressesSet": {},
"tagSet": {}
}
]
},
"ebsOptimized": false,
"cpuOptions": {
"coreCount": 1,
"threadsPerCore": 1
},
"capacityReservationSpecification": {
"capacityReservationPreference": "open"
},
"hibernationOptions": {
"configured": false
},
"enclaveOptions": {
"enabled": false
},
"metadataOptions": {
"state": "pending",
"httpTokens": "optional",
"httpPutResponseHopLimit": 1,
"httpEndpoint": "enabled"
}
}
]
}
},
"requestID": "0ea0542e-e0ea-4ed9-8696-e1ec15b5796f",
"eventID": "bf053c3a-d89c-457d-b8e2-b40e781840e7",
"eventType": "AwsApiCall",
"recipientAccountId": "346386234494"
} but the instance still ends up with a public IP address when the state becomes |
All the tests pass except one,
+ Initially failed but succeeded after re-running. |
@ewbankkit Thanks for all your work (and patience) on this! |
This has been released in version 3.1.0 of the Terraform AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template for triage. Thanks! |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks! |
Community Note
Relates #14082.
Relates #14083.
Relates #14145.
Relates #14147.
Relates #14148.
Relates #11126.
Relates #12994.
Release note for CHANGELOG:
Output from acceptance testing:
Default test region (
us-west-2
):