Skip to content
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

Tech debt: Reduce tags boilerplate code - Plugin SDK resources EC2 (Phase 3b) #30430

Merged
merged 52 commits into from
Apr 4, 2023

Conversation

ewbankkit
Copy link
Contributor

@ewbankkit ewbankkit commented Apr 3, 2023

Description

Extends the work done in Phase 2 to the remaining resources implemented using Terraform Plugin SDK.

Relations

Relates #30280.
Relates #29747.
Relates #30417.
Relates #30421.

Output from Acceptance Testing

% make testacc TESTARGS='-run=TestAccTransitGateway_serial/Connect/basic\|TestAccTransitGateway_serial/Connect/tags\|TestAccTransitGateway_serial/Gateway/basic\|TestAccTransitGateway_serial/Gateway/tags\|TestAccTransitGateway_serial/MulticastDomain/basic\|TestAccTransitGateway_serial/MulticastDomain/tags\|TestAccTransitGateway_serial/PeeringAttachment/basic\|TestAccTransitGateway_serial/PeeringAttachment/tags\|TestAccTransitGateway_serial/PolicyTable/basic\|TestAccTransitGateway_serial/PolicyTable/tags\|TestAccTransitGateway_serial/RouteTable/basic\|TestAccTransitGateway_serial/RouteTable/tags\|TestAccTransitGateway_serial/VpcAttachment/tags\|TestAccTransitGateway_serial/VpcAttachment/basic' PKG=ec2
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/ec2/... -v -count 1 -parallel 20  -run=TestAccTransitGateway_serial/Connect/basic\|TestAccTransitGateway_serial/Connect/tags\|TestAccTransitGateway_serial/Gateway/basic\|TestAccTransitGateway_serial/Gateway/tags\|TestAccTransitGateway_serial/MulticastDomain/basic\|TestAccTransitGateway_serial/MulticastDomain/tags\|TestAccTransitGateway_serial/PeeringAttachment/basic\|TestAccTransitGateway_serial/PeeringAttachment/tags\|TestAccTransitGateway_serial/PolicyTable/basic\|TestAccTransitGateway_serial/PolicyTable/tags\|TestAccTransitGateway_serial/RouteTable/basic\|TestAccTransitGateway_serial/RouteTable/tags\|TestAccTransitGateway_serial/VpcAttachment/tags\|TestAccTransitGateway_serial/VpcAttachment/basic -timeout 180m
=== RUN   TestAccTransitGateway_serial
=== PAUSE TestAccTransitGateway_serial
=== CONT  TestAccTransitGateway_serial
=== RUN   TestAccTransitGateway_serial/VpcAttachment
=== RUN   TestAccTransitGateway_serial/VpcAttachment/basic
=== RUN   TestAccTransitGateway_serial/VpcAttachment/tags
=== RUN   TestAccTransitGateway_serial/MulticastDomainAssociation
=== RUN   TestAccTransitGateway_serial/MulticastDomainAssociation/basic
=== RUN   TestAccTransitGateway_serial/PolicyTableAssociation
=== RUN   TestAccTransitGateway_serial/PolicyTableAssociation/basic
=== RUN   TestAccTransitGateway_serial/RouteTableAssociation
=== RUN   TestAccTransitGateway_serial/RouteTableAssociation/basic
=== RUN   TestAccTransitGateway_serial/RouteTablePropagation
=== RUN   TestAccTransitGateway_serial/RouteTablePropagation/basic
=== RUN   TestAccTransitGateway_serial/Gateway
=== RUN   TestAccTransitGateway_serial/Gateway/tags
=== RUN   TestAccTransitGateway_serial/Gateway/basic
=== RUN   TestAccTransitGateway_serial/PolicyTable
=== RUN   TestAccTransitGateway_serial/PolicyTable/basic
=== RUN   TestAccTransitGateway_serial/PolicyTable/tags
=== RUN   TestAccTransitGateway_serial/RouteTable
=== RUN   TestAccTransitGateway_serial/RouteTable/basic
=== RUN   TestAccTransitGateway_serial/RouteTable/tags
=== RUN   TestAccTransitGateway_serial/PeeringAttachment
=== RUN   TestAccTransitGateway_serial/PeeringAttachment/basic
=== RUN   TestAccTransitGateway_serial/PeeringAttachment/tags
=== RUN   TestAccTransitGateway_serial/PeeringAttachmentAccepter
=== RUN   TestAccTransitGateway_serial/PeeringAttachmentAccepter/basic
=== RUN   TestAccTransitGateway_serial/PeeringAttachmentAccepter/tags
=== RUN   TestAccTransitGateway_serial/VpcAttachmentAccepter
=== RUN   TestAccTransitGateway_serial/VpcAttachmentAccepter/basic
    acctest.go:772: skipping test because at least one environment variable of [AWS_ALTERNATE_PROFILE AWS_ALTERNATE_ACCESS_KEY_ID] must be set. Usage: credentials for running acceptance testing in alternate AWS account.
=== RUN   TestAccTransitGateway_serial/VpcAttachmentAccepter/tags
    acctest.go:772: skipping test because at least one environment variable of [AWS_ALTERNATE_PROFILE AWS_ALTERNATE_ACCESS_KEY_ID] must be set. Usage: credentials for running acceptance testing in alternate AWS account.
=== RUN   TestAccTransitGateway_serial/Connect
=== RUN   TestAccTransitGateway_serial/Connect/tags
=== RUN   TestAccTransitGateway_serial/Connect/basic
=== RUN   TestAccTransitGateway_serial/ConnectPeer
=== RUN   TestAccTransitGateway_serial/ConnectPeer/basic
=== RUN   TestAccTransitGateway_serial/ConnectPeer/tags
=== RUN   TestAccTransitGateway_serial/MulticastDomain
=== RUN   TestAccTransitGateway_serial/MulticastDomain/basic
=== RUN   TestAccTransitGateway_serial/MulticastDomain/tags
--- PASS: TestAccTransitGateway_serial (8532.57s)
    --- PASS: TestAccTransitGateway_serial/VpcAttachment (714.47s)
        --- PASS: TestAccTransitGateway_serial/VpcAttachment/basic (322.13s)
        --- PASS: TestAccTransitGateway_serial/VpcAttachment/tags (392.34s)
    --- PASS: TestAccTransitGateway_serial/MulticastDomainAssociation (347.32s)
        --- PASS: TestAccTransitGateway_serial/MulticastDomainAssociation/basic (347.32s)
    --- PASS: TestAccTransitGateway_serial/PolicyTableAssociation (1106.92s)
        --- PASS: TestAccTransitGateway_serial/PolicyTableAssociation/basic (1106.92s)
    --- PASS: TestAccTransitGateway_serial/RouteTableAssociation (411.55s)
        --- PASS: TestAccTransitGateway_serial/RouteTableAssociation/basic (411.55s)
    --- PASS: TestAccTransitGateway_serial/RouteTablePropagation (300.75s)
        --- PASS: TestAccTransitGateway_serial/RouteTablePropagation/basic (300.75s)
    --- PASS: TestAccTransitGateway_serial/Gateway (398.80s)
        --- PASS: TestAccTransitGateway_serial/Gateway/tags (214.64s)
        --- PASS: TestAccTransitGateway_serial/Gateway/basic (184.16s)
    --- PASS: TestAccTransitGateway_serial/PolicyTable (452.93s)
        --- PASS: TestAccTransitGateway_serial/PolicyTable/basic (216.18s)
        --- PASS: TestAccTransitGateway_serial/PolicyTable/tags (236.75s)
    --- PASS: TestAccTransitGateway_serial/RouteTable (475.84s)
        --- PASS: TestAccTransitGateway_serial/RouteTable/basic (212.67s)
        --- PASS: TestAccTransitGateway_serial/RouteTable/tags (263.16s)
    --- PASS: TestAccTransitGateway_serial/PeeringAttachment (607.58s)
        --- PASS: TestAccTransitGateway_serial/PeeringAttachment/basic (300.76s)
        --- PASS: TestAccTransitGateway_serial/PeeringAttachment/tags (306.82s)
    --- PASS: TestAccTransitGateway_serial/PeeringAttachmentAccepter (1282.52s)
        --- PASS: TestAccTransitGateway_serial/PeeringAttachmentAccepter/basic (641.86s)
        --- PASS: TestAccTransitGateway_serial/PeeringAttachmentAccepter/tags (640.66s)
    --- PASS: TestAccTransitGateway_serial/VpcAttachmentAccepter (0.00s)
        --- SKIP: TestAccTransitGateway_serial/VpcAttachmentAccepter/basic (0.00s)
        --- SKIP: TestAccTransitGateway_serial/VpcAttachmentAccepter/tags (0.00s)
    --- PASS: TestAccTransitGateway_serial/Connect (704.00s)
        --- PASS: TestAccTransitGateway_serial/Connect/tags (384.39s)
        --- PASS: TestAccTransitGateway_serial/Connect/basic (319.61s)
    --- PASS: TestAccTransitGateway_serial/ConnectPeer (1212.30s)
        --- PASS: TestAccTransitGateway_serial/ConnectPeer/basic (558.98s)
        --- PASS: TestAccTransitGateway_serial/ConnectPeer/tags (653.31s)
    --- PASS: TestAccTransitGateway_serial/MulticastDomain (517.57s)
        --- PASS: TestAccTransitGateway_serial/MulticastDomain/basic (243.47s)
        --- PASS: TestAccTransitGateway_serial/MulticastDomain/tags (274.09s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/ec2	8537.963s
% AWS_DEFAULT_REGION=eu-west-1 make testacc TESTARGS='-run=TestAccVPCDefaultVPCAndSubnet_serial\|TestAccVPCDefaultVPCDHCPOptions_serial\|TestAccIPAMResourceDiscovery_serial/ResourceDiscovery/basic\|TestAccIPAMResourceDiscovery_serial/ResourceDiscovery/tags\|TestAccClientVPNEndpoint_serial/Endpoint_basic\|TestAccClientVPNEndpoint_serial/Endpoint_tags' PKG=ec2 ACCTEST_PARALLELISM=3
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/ec2/... -v -count 1 -parallel 3  -run=TestAccVPCDefaultVPCAndSubnet_serial\|TestAccVPCDefaultVPCDHCPOptions_serial\|TestAccIPAMResourceDiscovery_serial/ResourceDiscovery/basic\|TestAccIPAMResourceDiscovery_serial/ResourceDiscovery/tags\|TestAccClientVPNEndpoint_serial/Endpoint_basic\|TestAccClientVPNEndpoint_serial/Endpoint_tags -timeout 180m
=== RUN   TestAccIPAMResourceDiscovery_serial
=== PAUSE TestAccIPAMResourceDiscovery_serial
=== RUN   TestAccVPCDefaultVPCDHCPOptions_serial
=== PAUSE TestAccVPCDefaultVPCDHCPOptions_serial
=== RUN   TestAccVPCDefaultVPCAndSubnet_serial
=== PAUSE TestAccVPCDefaultVPCAndSubnet_serial
=== RUN   TestAccClientVPNEndpoint_serial
=== PAUSE TestAccClientVPNEndpoint_serial
=== CONT  TestAccIPAMResourceDiscovery_serial
=== RUN   TestAccIPAMResourceDiscovery_serial/ResourceDiscovery
=== CONT  TestAccVPCDefaultVPCAndSubnet_serial
=== CONT  TestAccVPCDefaultVPCDHCPOptions_serial
=== RUN   TestAccIPAMResourceDiscovery_serial/ResourceDiscovery/basic
=== RUN   TestAccVPCDefaultVPCDHCPOptions_serial/basic
=== RUN   TestAccVPCDefaultVPCAndSubnet_serial/Subnet
=== RUN   TestAccVPCDefaultVPCAndSubnet_serial/Subnet/existing.basic
=== CONT  TestAccVPCDefaultVPCDHCPOptions_serial/basic
    vpc_default_vpc_dhcp_options_test.go:30: Step 1/1 error: Error running apply: exit status 1
        
        Error: reading EC2 Default DHCP Options Set: too many results: wanted 1, got 2
        
          with aws_default_vpc_dhcp_options.test,
          on terraform_plugin_test.tf line 2, in resource "aws_default_vpc_dhcp_options" "test":
           2: resource "aws_default_vpc_dhcp_options" "test" {
        
=== RUN   TestAccVPCDefaultVPCDHCPOptions_serial/owner
    vpc_default_vpc_dhcp_options_test.go:57: Step 1/1 error: Error running apply: exit status 1
        
        Error: reading EC2 Default DHCP Options Set: too many results: wanted 1, got 2
        
          with aws_default_vpc_dhcp_options.test,
          on terraform_plugin_test.tf line 4, in resource "aws_default_vpc_dhcp_options" "test":
           4: resource "aws_default_vpc_dhcp_options" "test" {
        
=== RUN   TestAccVPCDefaultVPCDHCPOptions_serial/v4.20.0_regression
=== RUN   TestAccVPCDefaultVPCAndSubnet_serial/Subnet/existing.forceDestroy
=== RUN   TestAccIPAMResourceDiscovery_serial/ResourceDiscovery/tags
=== CONT  TestAccVPCDefaultVPCDHCPOptions_serial/v4.20.0_regression
    vpc_default_vpc_dhcp_options_test.go:86: Step 1/2 error: Error running apply: exit status 1
        
        Error: Multiple default DHCP Options Sets found
        
          with aws_default_vpc_dhcp_options.test,
          on terraform_plugin_test.tf line 14, in resource "aws_default_vpc_dhcp_options" "test":
          14: resource "aws_default_vpc_dhcp_options" "test" {
        
--- FAIL: TestAccVPCDefaultVPCDHCPOptions_serial (38.97s)
    --- FAIL: TestAccVPCDefaultVPCDHCPOptions_serial/basic (7.20s)
    --- FAIL: TestAccVPCDefaultVPCDHCPOptions_serial/owner (6.78s)
    --- FAIL: TestAccVPCDefaultVPCDHCPOptions_serial/v4.20.0_regression (24.99s)
=== CONT  TestAccClientVPNEndpoint_serial
=== RUN   TestAccClientVPNEndpoint_serial/Endpoint_basic
=== PAUSE TestAccClientVPNEndpoint_serial/Endpoint_basic
=== RUN   TestAccClientVPNEndpoint_serial/Endpoint_tags
=== PAUSE TestAccClientVPNEndpoint_serial/Endpoint_tags
=== RUN   TestAccClientVPNEndpoint_serial/Endpoint_basicDataSource
=== PAUSE TestAccClientVPNEndpoint_serial/Endpoint_basicDataSource
=== CONT  TestAccClientVPNEndpoint_serial/Endpoint_basic
=== RUN   TestAccVPCDefaultVPCAndSubnet_serial/Subnet/existing.ipv6
=== CONT  TestAccClientVPNEndpoint_serial/Endpoint_basicDataSource
=== RUN   TestAccIPAMResourceDiscovery_serial/ResourceDiscoveryAssociation
=== RUN   TestAccIPAMResourceDiscovery_serial/ResourceDiscoveryAssociation/tags
=== CONT  TestAccClientVPNEndpoint_serial/Endpoint_tags
=== RUN   TestAccVPCDefaultVPCAndSubnet_serial/Subnet/existing.privateDnsNameOptionsOnLaunch
--- PASS: TestAccClientVPNEndpoint_serial (0.82s)
    --- PASS: TestAccClientVPNEndpoint_serial/Endpoint_basic (23.04s)
    --- PASS: TestAccClientVPNEndpoint_serial/Endpoint_basicDataSource (20.75s)
    --- PASS: TestAccClientVPNEndpoint_serial/Endpoint_tags (50.94s)
=== RUN   TestAccVPCDefaultVPCAndSubnet_serial/Subnet/notFound.basic
    vpc_default_subnet_test.go:63: Deleting existing default subnet: subnet-077522134c11da70d
    vpc_default_subnet_test.go:63: Deleting existing default subnet: subnet-016c2bd9d7c0cd0dc
    vpc_default_subnet_test.go:63: Deleting existing default subnet: subnet-0908db79969574ffa
=== RUN   TestAccIPAMResourceDiscovery_serial/ResourceDiscoveryAssociation/basic
=== RUN   TestAccVPCDefaultVPCAndSubnet_serial/Subnet/notFound.ipv6Native
    vpc_default_subnet_test.go:63: Deleting existing default subnet: subnet-07de0fead9c5bda0f
    vpc_default_subnet_test.go:63: Deleting existing default subnet: subnet-037b29a61e501d62f
    vpc_default_subnet_test.go:63: Deleting existing default subnet: subnet-06d69ed388799a154
--- PASS: TestAccIPAMResourceDiscovery_serial (186.07s)
    --- PASS: TestAccIPAMResourceDiscovery_serial/ResourceDiscovery (82.05s)
        --- PASS: TestAccIPAMResourceDiscovery_serial/ResourceDiscovery/basic (30.13s)
        --- PASS: TestAccIPAMResourceDiscovery_serial/ResourceDiscovery/tags (51.91s)
    --- PASS: TestAccIPAMResourceDiscovery_serial/ResourceDiscoveryAssociation (104.02s)
        --- PASS: TestAccIPAMResourceDiscovery_serial/ResourceDiscoveryAssociation/tags (64.23s)
        --- PASS: TestAccIPAMResourceDiscovery_serial/ResourceDiscoveryAssociation/basic (39.79s)
=== RUN   TestAccVPCDefaultVPCAndSubnet_serial/VPC
=== RUN   TestAccVPCDefaultVPCAndSubnet_serial/VPC/existing.basic
=== RUN   TestAccVPCDefaultVPCAndSubnet_serial/VPC/existing.assignGeneratedIPv6CIDRBlock
=== RUN   TestAccVPCDefaultVPCAndSubnet_serial/VPC/existing.forceDestroy
=== RUN   TestAccVPCDefaultVPCAndSubnet_serial/VPC/notFound.basic
    vpc_default_vpc_test.go:54: Deleting existing default VPC: vpc-0d4b54dee16611f44
=== RUN   TestAccVPCDefaultVPCAndSubnet_serial/VPC/notFound.assignGeneratedIPv6CIDRBlock
    vpc_default_vpc_test.go:54: Deleting existing default VPC: vpc-069450f310bdf10e7
=== RUN   TestAccVPCDefaultVPCAndSubnet_serial/VPC/notFound.forceDestroy
    vpc_default_vpc_test.go:54: Deleting existing default VPC: vpc-0a2c67605f63eb430
--- PASS: TestAccVPCDefaultVPCAndSubnet_serial (405.83s)
    --- PASS: TestAccVPCDefaultVPCAndSubnet_serial/Subnet (222.98s)
        --- PASS: TestAccVPCDefaultVPCAndSubnet_serial/Subnet/existing.basic (21.29s)
        --- PASS: TestAccVPCDefaultVPCAndSubnet_serial/Subnet/existing.forceDestroy (21.34s)
        --- PASS: TestAccVPCDefaultVPCAndSubnet_serial/Subnet/existing.ipv6 (58.60s)
        --- PASS: TestAccVPCDefaultVPCAndSubnet_serial/Subnet/existing.privateDnsNameOptionsOnLaunch (40.84s)
        --- PASS: TestAccVPCDefaultVPCAndSubnet_serial/Subnet/notFound.basic (21.28s)
        --- PASS: TestAccVPCDefaultVPCAndSubnet_serial/Subnet/notFound.ipv6Native (59.63s)
    --- PASS: TestAccVPCDefaultVPCAndSubnet_serial/VPC (182.84s)
        --- PASS: TestAccVPCDefaultVPCAndSubnet_serial/VPC/existing.basic (37.21s)
        --- PASS: TestAccVPCDefaultVPCAndSubnet_serial/VPC/existing.assignGeneratedIPv6CIDRBlock (27.36s)
        --- PASS: TestAccVPCDefaultVPCAndSubnet_serial/VPC/existing.forceDestroy (42.49s)
        --- PASS: TestAccVPCDefaultVPCAndSubnet_serial/VPC/notFound.basic (20.54s)
        --- PASS: TestAccVPCDefaultVPCAndSubnet_serial/VPC/notFound.assignGeneratedIPv6CIDRBlock (30.96s)
        --- PASS: TestAccVPCDefaultVPCAndSubnet_serial/VPC/notFound.forceDestroy (24.28s)
FAIL
FAIL	github.com/hashicorp/terraform-provider-aws/internal/service/ec2	411.077s
FAIL
make: *** [testacc] Error 1

Failures are unrelated to this change.

% ACCTEST_TIMEOUT=360m  make testacc TESTARGS='-run=_basic$$\|_tags$$' PKG=ec2 ACCTEST_PARALLELISM=3
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/ec2/... -v -count 1 -parallel 3  -run=_basic$\|_tags$ -timeout 360m
=== RUN   TestAccEC2EBSDefaultKMSKeyDataSource_basic
=== PAUSE TestAccEC2EBSDefaultKMSKeyDataSource_basic
=== RUN   TestAccEC2EBSDefaultKMSKey_basic
=== PAUSE TestAccEC2EBSDefaultKMSKey_basic
=== RUN   TestAccEC2EBSEncryptionByDefaultDataSource_basic
=== PAUSE TestAccEC2EBSEncryptionByDefaultDataSource_basic
=== RUN   TestAccEC2EBSEncryptionByDefault_basic
=== PAUSE TestAccEC2EBSEncryptionByDefault_basic
=== RUN   TestAccEC2EBSSnapshotCopy_basic
=== PAUSE TestAccEC2EBSSnapshotCopy_basic
=== RUN   TestAccEC2EBSSnapshotCopy_tags
=== PAUSE TestAccEC2EBSSnapshotCopy_tags
=== RUN   TestAccEC2EBSSnapshotCreateVolumePermission_basic
=== PAUSE TestAccEC2EBSSnapshotCreateVolumePermission_basic
=== RUN   TestAccEC2EBSSnapshotDataSource_basic
=== PAUSE TestAccEC2EBSSnapshotDataSource_basic
=== RUN   TestAccEC2EBSSnapshotIDsDataSource_basic
=== PAUSE TestAccEC2EBSSnapshotIDsDataSource_basic
=== RUN   TestAccEC2EBSSnapshotImport_basic
=== PAUSE TestAccEC2EBSSnapshotImport_basic
=== RUN   TestAccEC2EBSSnapshotImport_tags
=== PAUSE TestAccEC2EBSSnapshotImport_tags
=== RUN   TestAccEC2EBSSnapshot_basic
=== PAUSE TestAccEC2EBSSnapshot_basic
=== RUN   TestAccEC2EBSSnapshot_tags
=== PAUSE TestAccEC2EBSSnapshot_tags
=== RUN   TestAccEC2EBSVolumeAttachment_basic
=== PAUSE TestAccEC2EBSVolumeAttachment_basic
=== RUN   TestAccEC2EBSVolumeDataSource_basic
=== PAUSE TestAccEC2EBSVolumeDataSource_basic
=== RUN   TestAccEC2EBSVolume_basic
=== PAUSE TestAccEC2EBSVolume_basic
=== RUN   TestAccEC2EBSVolume_GP3_basic
=== PAUSE TestAccEC2EBSVolume_GP3_basic
=== RUN   TestAccEC2EBSVolumesDataSource_basic
=== PAUSE TestAccEC2EBSVolumesDataSource_basic
=== RUN   TestAccEC2AMICopy_basic
=== PAUSE TestAccEC2AMICopy_basic
=== RUN   TestAccEC2AMICopy_tags
=== PAUSE TestAccEC2AMICopy_tags
=== RUN   TestAccEC2AMIFromInstance_basic
=== PAUSE TestAccEC2AMIFromInstance_basic
=== RUN   TestAccEC2AMIFromInstance_tags
=== PAUSE TestAccEC2AMIFromInstance_tags
=== RUN   TestAccEC2AMIIDsDataSource_basic
=== PAUSE TestAccEC2AMIIDsDataSource_basic
=== RUN   TestAccEC2AMILaunchPermission_basic
=== PAUSE TestAccEC2AMILaunchPermission_basic
=== RUN   TestAccEC2AMI_basic
=== PAUSE TestAccEC2AMI_basic
=== RUN   TestAccEC2AMI_tags
=== PAUSE TestAccEC2AMI_tags
=== RUN   TestAccEC2AvailabilityZonesDataSource_basic
=== PAUSE TestAccEC2AvailabilityZonesDataSource_basic
=== RUN   TestAccEC2CapacityReservation_basic
=== PAUSE TestAccEC2CapacityReservation_basic
=== RUN   TestAccEC2CapacityReservation_tags
=== PAUSE TestAccEC2CapacityReservation_tags
=== RUN   TestAccEC2EIPAssociation_basic
=== PAUSE TestAccEC2EIPAssociation_basic
=== RUN   TestAccEC2EIPDataSource_tags
=== PAUSE TestAccEC2EIPDataSource_tags
=== RUN   TestAccEC2EIP_basic
=== PAUSE TestAccEC2EIP_basic
=== RUN   TestAccEC2EIP_tags
=== PAUSE TestAccEC2EIP_tags
=== RUN   TestAccEC2EIPsDataSource_basic
=== PAUSE TestAccEC2EIPsDataSource_basic
=== RUN   TestAccEC2Fleet_basic
=== PAUSE TestAccEC2Fleet_basic
=== RUN   TestAccEC2Fleet_tags
=== PAUSE TestAccEC2Fleet_tags
=== RUN   TestAccEC2HostDataSource_basic
=== PAUSE TestAccEC2HostDataSource_basic
=== RUN   TestAccEC2Host_basic
=== PAUSE TestAccEC2Host_basic
=== RUN   TestAccEC2Host_tags
=== PAUSE TestAccEC2Host_tags
=== RUN   TestAccEC2InstanceDataSource_basic
=== PAUSE TestAccEC2InstanceDataSource_basic
=== RUN   TestAccEC2InstanceDataSource_tags
=== PAUSE TestAccEC2InstanceDataSource_tags
=== RUN   TestAccEC2InstanceState_basic
=== PAUSE TestAccEC2InstanceState_basic
=== RUN   TestAccEC2Instance_basic
=== PAUSE TestAccEC2Instance_basic
=== RUN   TestAccEC2Instance_tags
=== PAUSE TestAccEC2Instance_tags
=== RUN   TestAccEC2Instance_EBSRootDevice_basic
=== PAUSE TestAccEC2Instance_EBSRootDevice_basic
=== RUN   TestAccEC2Instance_LaunchTemplate_basic
=== PAUSE TestAccEC2Instance_LaunchTemplate_basic
=== RUN   TestAccEC2InstanceTypeDataSource_basic
=== PAUSE TestAccEC2InstanceTypeDataSource_basic
=== RUN   TestAccEC2InstanceTypesDataSource_basic
=== PAUSE TestAccEC2InstanceTypesDataSource_basic
=== RUN   TestAccEC2InstancesDataSource_basic
=== PAUSE TestAccEC2InstancesDataSource_basic
=== RUN   TestAccEC2InstancesDataSource_tags
=== PAUSE TestAccEC2InstancesDataSource_tags
=== RUN   TestAccEC2KeyPairDataSource_basic
=== PAUSE TestAccEC2KeyPairDataSource_basic
=== RUN   TestAccEC2KeyPair_basic
=== PAUSE TestAccEC2KeyPair_basic
=== RUN   TestAccEC2KeyPair_tags
=== PAUSE TestAccEC2KeyPair_tags
=== RUN   TestAccEC2LaunchTemplateDataSource_tags
=== PAUSE TestAccEC2LaunchTemplateDataSource_tags
=== RUN   TestAccEC2LaunchTemplate_basic
=== PAUSE TestAccEC2LaunchTemplate_basic
=== RUN   TestAccEC2LaunchTemplate_tags
=== PAUSE TestAccEC2LaunchTemplate_tags
=== RUN   TestAccEC2PlacementGroup_basic
=== PAUSE TestAccEC2PlacementGroup_basic
=== RUN   TestAccEC2PlacementGroup_tags
=== PAUSE TestAccEC2PlacementGroup_tags
=== RUN   TestAccEC2PublicIPv4PoolDataSource_basic
=== PAUSE TestAccEC2PublicIPv4PoolDataSource_basic
=== RUN   TestAccEC2PublicIPv4PoolsDataSource_basic
=== PAUSE TestAccEC2PublicIPv4PoolsDataSource_basic
=== RUN   TestAccEC2PublicIPv4PoolsDataSource_tags
=== PAUSE TestAccEC2PublicIPv4PoolsDataSource_tags
=== RUN   TestAccEC2SerialConsoleAccessDataSource_basic
=== PAUSE TestAccEC2SerialConsoleAccessDataSource_basic
=== RUN   TestAccEC2SerialConsoleAccess_basic
=== PAUSE TestAccEC2SerialConsoleAccess_basic
=== RUN   TestAccEC2SpotFleetRequest_basic
=== PAUSE TestAccEC2SpotFleetRequest_basic
=== RUN   TestAccEC2SpotFleetRequest_tags
=== PAUSE TestAccEC2SpotFleetRequest_tags
=== RUN   TestAccEC2SpotInstanceRequest_basic
=== PAUSE TestAccEC2SpotInstanceRequest_basic
=== RUN   TestAccEC2SpotInstanceRequest_tags
=== PAUSE TestAccEC2SpotInstanceRequest_tags
=== RUN   TestAccEC2SpotPriceDataSource_basic
=== PAUSE TestAccEC2SpotPriceDataSource_basic
=== RUN   TestAccIPAMOrganizationAdminAccount_basic
    acctest.go:772: skipping test because at least one environment variable of [AWS_ALTERNATE_PROFILE AWS_ALTERNATE_ACCESS_KEY_ID] must be set. Usage: credentials for running acceptance testing in alternate AWS account.
--- SKIP: TestAccIPAMOrganizationAdminAccount_basic (0.47s)
=== RUN   TestAccIPAMPoolCIDR_basic
=== PAUSE TestAccIPAMPoolCIDR_basic
=== RUN   TestAccIPAMPoolCIDRsDataSource_basic
=== PAUSE TestAccIPAMPoolCIDRsDataSource_basic
=== RUN   TestAccIPAMPoolDataSource_basic
=== PAUSE TestAccIPAMPoolDataSource_basic
=== RUN   TestAccIPAMPool_basic
=== PAUSE TestAccIPAMPool_basic
=== RUN   TestAccIPAMPool_tags
=== PAUSE TestAccIPAMPool_tags
=== RUN   TestAccIPAMPoolsDataSource_basic
=== PAUSE TestAccIPAMPoolsDataSource_basic
=== RUN   TestAccIPAMScope_basic
=== PAUSE TestAccIPAMScope_basic
=== RUN   TestAccIPAMScope_tags
=== PAUSE TestAccIPAMScope_tags
=== RUN   TestAccIPAM_basic
=== PAUSE TestAccIPAM_basic
=== RUN   TestAccIPAM_tags
=== PAUSE TestAccIPAM_tags
=== RUN   TestAccEC2OutpostsCoIPPoolsDataSource_basic
=== PAUSE TestAccEC2OutpostsCoIPPoolsDataSource_basic
=== RUN   TestAccEC2OutpostsLocalGatewayDataSource_basic
=== PAUSE TestAccEC2OutpostsLocalGatewayDataSource_basic
=== RUN   TestAccEC2OutpostsLocalGatewayRouteTableDataSource_basic
=== PAUSE TestAccEC2OutpostsLocalGatewayRouteTableDataSource_basic
=== RUN   TestAccEC2OutpostsLocalGatewayRouteTableVPCAssociation_basic
=== PAUSE TestAccEC2OutpostsLocalGatewayRouteTableVPCAssociation_basic
=== RUN   TestAccEC2OutpostsLocalGatewayRouteTableVPCAssociation_tags
=== PAUSE TestAccEC2OutpostsLocalGatewayRouteTableVPCAssociation_tags
=== RUN   TestAccEC2OutpostsLocalGatewayRouteTablesDataSource_basic
=== PAUSE TestAccEC2OutpostsLocalGatewayRouteTablesDataSource_basic
=== RUN   TestAccEC2OutpostsLocalGatewayRoute_basic
=== PAUSE TestAccEC2OutpostsLocalGatewayRoute_basic
=== RUN   TestAccEC2OutpostsLocalGatewayVirtualInterfaceDataSource_tags
=== PAUSE TestAccEC2OutpostsLocalGatewayVirtualInterfaceDataSource_tags
=== RUN   TestAccEC2OutpostsLocalGatewayVirtualInterfaceGroupDataSource_tags
=== PAUSE TestAccEC2OutpostsLocalGatewayVirtualInterfaceGroupDataSource_tags
=== RUN   TestAccEC2OutpostsLocalGatewayVirtualInterfaceGroupsDataSource_basic
=== PAUSE TestAccEC2OutpostsLocalGatewayVirtualInterfaceGroupsDataSource_basic
=== RUN   TestAccEC2OutpostsLocalGatewayVirtualInterfaceGroupsDataSource_tags
=== PAUSE TestAccEC2OutpostsLocalGatewayVirtualInterfaceGroupsDataSource_tags
=== RUN   TestAccEC2OutpostsLocalGatewaysDataSource_basic
=== PAUSE TestAccEC2OutpostsLocalGatewaysDataSource_basic
=== RUN   TestAccEC2Tag_basic
=== PAUSE TestAccEC2Tag_basic
=== RUN   TestAccVPCDataSource_basic
=== PAUSE TestAccVPCDataSource_basic
=== RUN   TestAccVPCDefaultNetworkACL_basic
=== PAUSE TestAccVPCDefaultNetworkACL_basic
=== RUN   TestAccVPCDefaultNetworkACL_tags
=== PAUSE TestAccVPCDefaultNetworkACL_tags
=== RUN   TestAccVPCDefaultRouteTable_basic
=== PAUSE TestAccVPCDefaultRouteTable_basic
=== RUN   TestAccVPCDefaultRouteTable_tags
=== PAUSE TestAccVPCDefaultRouteTable_tags
=== RUN   TestAccVPCDefaultSecurityGroup_basic
=== PAUSE TestAccVPCDefaultSecurityGroup_basic
=== RUN   TestAccVPCDHCPOptionsAssociation_basic
=== PAUSE TestAccVPCDHCPOptionsAssociation_basic
=== RUN   TestAccVPCDHCPOptionsDataSource_basic
=== PAUSE TestAccVPCDHCPOptionsDataSource_basic
=== RUN   TestAccVPCDHCPOptions_basic
=== PAUSE TestAccVPCDHCPOptions_basic
=== RUN   TestAccVPCDHCPOptions_tags
=== PAUSE TestAccVPCDHCPOptions_tags
=== RUN   TestAccVPCEgressOnlyInternetGateway_basic
=== PAUSE TestAccVPCEgressOnlyInternetGateway_basic
=== RUN   TestAccVPCEgressOnlyInternetGateway_tags
=== PAUSE TestAccVPCEgressOnlyInternetGateway_tags
=== RUN   TestAccVPCEndpointConnectionNotification_basic
=== PAUSE TestAccVPCEndpointConnectionNotification_basic
=== RUN   TestAccVPCEndpointPolicy_basic
=== PAUSE TestAccVPCEndpointPolicy_basic
=== RUN   TestAccVPCEndpointRouteTableAssociation_basic
=== PAUSE TestAccVPCEndpointRouteTableAssociation_basic
=== RUN   TestAccVPCEndpointSecurityGroupAssociation_basic
=== PAUSE TestAccVPCEndpointSecurityGroupAssociation_basic
=== RUN   TestAccVPCEndpointServiceAllowedPrincipal_basic
=== PAUSE TestAccVPCEndpointServiceAllowedPrincipal_basic
=== RUN   TestAccVPCEndpointServiceDataSource_CustomFilter_tags
=== PAUSE TestAccVPCEndpointServiceDataSource_CustomFilter_tags
=== RUN   TestAccVPCEndpointService_basic
=== PAUSE TestAccVPCEndpointService_basic
=== RUN   TestAccVPCEndpointService_tags
=== PAUSE TestAccVPCEndpointService_tags
=== RUN   TestAccVPCEndpointSubnetAssociation_basic
=== PAUSE TestAccVPCEndpointSubnetAssociation_basic
=== RUN   TestAccVPCEndpoint_tags
=== PAUSE TestAccVPCEndpoint_tags
=== RUN   TestAccVPCFlowLog_basic
=== PAUSE TestAccVPCFlowLog_basic
=== RUN   TestAccVPCFlowLog_tags
=== PAUSE TestAccVPCFlowLog_tags
=== RUN   TestAccVPCInternetGatewayAttachment_basic
=== PAUSE TestAccVPCInternetGatewayAttachment_basic
=== RUN   TestAccVPCInternetGatewayDataSource_basic
=== PAUSE TestAccVPCInternetGatewayDataSource_basic
=== RUN   TestAccVPCInternetGateway_basic
=== PAUSE TestAccVPCInternetGateway_basic
=== RUN   TestAccVPCIPv4CIDRBlockAssociation_basic
=== PAUSE TestAccVPCIPv4CIDRBlockAssociation_basic
=== RUN   TestAccVPCMainRouteTableAssociation_basic
=== PAUSE TestAccVPCMainRouteTableAssociation_basic
=== RUN   TestAccVPCManagedPrefixListDataSource_basic
=== PAUSE TestAccVPCManagedPrefixListDataSource_basic
=== RUN   TestAccVPCManagedPrefixList_basic
=== PAUSE TestAccVPCManagedPrefixList_basic
=== RUN   TestAccVPCManagedPrefixList_tags
=== PAUSE TestAccVPCManagedPrefixList_tags
=== RUN   TestAccVPCManagedPrefixListsDataSource_basic
=== PAUSE TestAccVPCManagedPrefixListsDataSource_basic
=== RUN   TestAccVPCManagedPrefixListsDataSource_tags
=== PAUSE TestAccVPCManagedPrefixListsDataSource_tags
=== RUN   TestAccVPCNATGatewayDataSource_basic
=== PAUSE TestAccVPCNATGatewayDataSource_basic
=== RUN   TestAccVPCNATGateway_basic
=== PAUSE TestAccVPCNATGateway_basic
=== RUN   TestAccVPCNATGateway_tags
=== PAUSE TestAccVPCNATGateway_tags
=== RUN   TestAccVPCNATGatewaysDataSource_basic
=== PAUSE TestAccVPCNATGatewaysDataSource_basic
=== RUN   TestAccVPCNetworkACLAssociation_basic
=== PAUSE TestAccVPCNetworkACLAssociation_basic
=== RUN   TestAccVPCNetworkACLRule_basic
=== PAUSE TestAccVPCNetworkACLRule_basic
=== RUN   TestAccVPCNetworkACL_basic
=== PAUSE TestAccVPCNetworkACL_basic
=== RUN   TestAccVPCNetworkACL_tags
=== PAUSE TestAccVPCNetworkACL_tags
=== RUN   TestAccVPCNetworkACL_OnlyIngressRules_basic
=== PAUSE TestAccVPCNetworkACL_OnlyIngressRules_basic
=== RUN   TestAccVPCNetworkACLsDataSource_basic
=== PAUSE TestAccVPCNetworkACLsDataSource_basic
=== RUN   TestAccVPCNetworkACLsDataSource_tags
=== PAUSE TestAccVPCNetworkACLsDataSource_tags
=== RUN   TestAccVPCNetworkInsightsAnalysisDataSource_basic
=== PAUSE TestAccVPCNetworkInsightsAnalysisDataSource_basic
=== RUN   TestAccVPCNetworkInsightsAnalysis_basic
=== PAUSE TestAccVPCNetworkInsightsAnalysis_basic
=== RUN   TestAccVPCNetworkInsightsAnalysis_tags
=== PAUSE TestAccVPCNetworkInsightsAnalysis_tags
=== RUN   TestAccVPCNetworkInsightsPathDataSource_basic
=== PAUSE TestAccVPCNetworkInsightsPathDataSource_basic
=== RUN   TestAccVPCNetworkInsightsPath_basic
=== PAUSE TestAccVPCNetworkInsightsPath_basic
=== RUN   TestAccVPCNetworkInsightsPath_tags
=== PAUSE TestAccVPCNetworkInsightsPath_tags
=== RUN   TestAccVPCNetworkInterfaceAttachment_basic
=== PAUSE TestAccVPCNetworkInterfaceAttachment_basic
=== RUN   TestAccVPCNetworkInterfaceDataSource_basic
=== PAUSE TestAccVPCNetworkInterfaceDataSource_basic
=== RUN   TestAccVPCNetworkInterfaceSgAttachment_basic
=== PAUSE TestAccVPCNetworkInterfaceSgAttachment_basic
=== RUN   TestAccVPCNetworkInterface_basic
=== PAUSE TestAccVPCNetworkInterface_basic
=== RUN   TestAccVPCNetworkInterface_tags
=== PAUSE TestAccVPCNetworkInterface_tags
=== RUN   TestAccVPCNetworkInterfacesDataSource_tags
=== PAUSE TestAccVPCNetworkInterfacesDataSource_tags
=== RUN   TestAccVPCPeeringConnectionOptions_basic
=== PAUSE TestAccVPCPeeringConnectionOptions_basic
=== RUN   TestAccVPCPeeringConnection_basic
=== PAUSE TestAccVPCPeeringConnection_basic
=== RUN   TestAccVPCPeeringConnection_tags
=== PAUSE TestAccVPCPeeringConnection_tags
=== RUN   TestAccVPCPeeringConnectionsDataSource_basic
=== PAUSE TestAccVPCPeeringConnectionsDataSource_basic
=== RUN   TestAccVPCPrefixListDataSource_basic
=== PAUSE TestAccVPCPrefixListDataSource_basic
=== RUN   TestAccVPCRouteDataSource_basic
=== PAUSE TestAccVPCRouteDataSource_basic
=== RUN   TestAccVPCRouteTableAssociation_Subnet_basic
=== PAUSE TestAccVPCRouteTableAssociation_Subnet_basic
=== RUN   TestAccVPCRouteTableAssociation_Gateway_basic
=== PAUSE TestAccVPCRouteTableAssociation_Gateway_basic
=== RUN   TestAccVPCRouteTableDataSource_basic
=== PAUSE TestAccVPCRouteTableDataSource_basic
=== RUN   TestAccVPCRouteTable_basic
=== PAUSE TestAccVPCRouteTable_basic
=== RUN   TestAccVPCRouteTable_tags
=== PAUSE TestAccVPCRouteTable_tags
=== RUN   TestAccVPCRouteTablesDataSource_basic
=== PAUSE TestAccVPCRouteTablesDataSource_basic
=== RUN   TestAccVPCRoute_basic
=== PAUSE TestAccVPCRoute_basic
=== RUN   TestAccVPCSecurityGroupDataSource_basic
=== PAUSE TestAccVPCSecurityGroupDataSource_basic
=== RUN   TestAccVPCSecurityGroupEgressRule_basic
=== PAUSE TestAccVPCSecurityGroupEgressRule_basic
=== RUN   TestAccVPCSecurityGroupIngressRule_basic
=== PAUSE TestAccVPCSecurityGroupIngressRule_basic
=== RUN   TestAccVPCSecurityGroupIngressRule_tags
=== PAUSE TestAccVPCSecurityGroupIngressRule_tags
=== RUN   TestAccVPCSecurityGroupRuleDataSource_basic
=== PAUSE TestAccVPCSecurityGroupRuleDataSource_basic
=== RUN   TestAccVPCSecurityGroupRule_PartialMatching_basic
=== PAUSE TestAccVPCSecurityGroupRule_PartialMatching_basic
=== RUN   TestAccVPCSecurityGroupRulesDataSource_basic
=== PAUSE TestAccVPCSecurityGroupRulesDataSource_basic
=== RUN   TestAccVPCSecurityGroupRulesDataSource_tags
=== PAUSE TestAccVPCSecurityGroupRulesDataSource_tags
=== RUN   TestAccVPCSecurityGroup_basic
=== PAUSE TestAccVPCSecurityGroup_basic
=== RUN   TestAccVPCSecurityGroup_tags
=== PAUSE TestAccVPCSecurityGroup_tags
=== RUN   TestAccVPCSubnetCIDRReservation_basic
=== PAUSE TestAccVPCSubnetCIDRReservation_basic
=== RUN   TestAccVPCSubnetDataSource_basic
=== PAUSE TestAccVPCSubnetDataSource_basic
=== RUN   TestAccVPCSubnetIDsDataSource_basic
=== PAUSE TestAccVPCSubnetIDsDataSource_basic
=== RUN   TestAccVPCSubnet_basic
=== PAUSE TestAccVPCSubnet_basic
=== RUN   TestAccVPCSubnet_tags
=== PAUSE TestAccVPCSubnet_tags
=== RUN   TestAccVPCSubnetsDataSource_basic
=== PAUSE TestAccVPCSubnetsDataSource_basic
=== RUN   TestAccVPC_basic
=== PAUSE TestAccVPC_basic
=== RUN   TestAccVPC_tags
=== PAUSE TestAccVPC_tags
=== RUN   TestAccVPCTrafficMirrorFilterRule_basic
=== PAUSE TestAccVPCTrafficMirrorFilterRule_basic
=== RUN   TestAccVPCTrafficMirrorFilter_basic
=== PAUSE TestAccVPCTrafficMirrorFilter_basic
=== RUN   TestAccVPCTrafficMirrorFilter_tags
=== PAUSE TestAccVPCTrafficMirrorFilter_tags
=== RUN   TestAccVPCTrafficMirrorSession_basic
=== PAUSE TestAccVPCTrafficMirrorSession_basic
=== RUN   TestAccVPCTrafficMirrorSession_tags
=== PAUSE TestAccVPCTrafficMirrorSession_tags
=== RUN   TestAccVPCTrafficMirrorTarget_tags
=== PAUSE TestAccVPCTrafficMirrorTarget_tags
=== RUN   TestAccVPCsDataSource_basic
=== PAUSE TestAccVPCsDataSource_basic
=== RUN   TestAccVPCsDataSource_tags
=== PAUSE TestAccVPCsDataSource_tags
=== RUN   TestAccSiteVPNConnectionRoute_basic
=== PAUSE TestAccSiteVPNConnectionRoute_basic
=== RUN   TestAccSiteVPNConnection_basic
=== PAUSE TestAccSiteVPNConnection_basic
=== RUN   TestAccSiteVPNConnection_tags
=== PAUSE TestAccSiteVPNConnection_tags
=== RUN   TestAccSiteVPNCustomerGateway_basic
=== PAUSE TestAccSiteVPNCustomerGateway_basic
=== RUN   TestAccSiteVPNCustomerGateway_tags
=== PAUSE TestAccSiteVPNCustomerGateway_tags
=== RUN   TestAccSiteVPNGatewayAttachment_basic
=== PAUSE TestAccSiteVPNGatewayAttachment_basic
=== RUN   TestAccSiteVPNGatewayRoutePropagation_basic
=== PAUSE TestAccSiteVPNGatewayRoutePropagation_basic
=== RUN   TestAccSiteVPNGateway_basic
=== PAUSE TestAccSiteVPNGateway_basic
=== RUN   TestAccSiteVPNGateway_tags
=== PAUSE TestAccSiteVPNGateway_tags
=== RUN   TestAccWavelengthCarrierGateway_basic
=== PAUSE TestAccWavelengthCarrierGateway_basic
=== RUN   TestAccWavelengthCarrierGateway_tags
=== PAUSE TestAccWavelengthCarrierGateway_tags
=== CONT  TestAccSiteVPNConnection_tags
=== CONT  TestAccEC2EBSDefaultKMSKeyDataSource_basic
=== CONT  TestAccVPCDefaultRouteTable_tags
=== CONT  TestAccEC2EBSDefaultKMSKeyDataSource_basic
    ebs_default_kms_key_data_source_test.go:13: Step 1/1 error: Check failed: Check 1/1 error: Default CMK (arn:aws:kms:us-west-2:123456789012:key/039ff87e-a813-4464-829a-603049ac93ee) is the account's AWS-managed default CMK (arn:aws:kms:us-west-2:123456789012:key/039ff87e-a813-4464-829a-603049ac93ee)
--- FAIL: TestAccEC2EBSDefaultKMSKeyDataSource_basic (7.07s)
=== CONT  TestAccEC2InstancesDataSource_basic
--- PASS: TestAccVPCDefaultRouteTable_tags (42.00s)
=== CONT  TestAccVPCDefaultRouteTable_basic
--- PASS: TestAccVPCDefaultRouteTable_basic (26.52s)
=== CONT  TestAccVPCDefaultNetworkACL_tags
--- PASS: TestAccVPCDefaultNetworkACL_tags (44.22s)
=== CONT  TestAccVPCDefaultNetworkACL_basic
--- PASS: TestAccEC2InstancesDataSource_basic (113.15s)
=== CONT  TestAccVPCDataSource_basic
--- PASS: TestAccVPCDefaultNetworkACL_basic (18.64s)
=== CONT  TestAccEC2Tag_basic
--- PASS: TestAccVPCDataSource_basic (29.49s)
=== CONT  TestAccIPAMPoolCIDR_basic
    ipam_pool_cidr_test.go:25: Step 1/2 error: After applying this test step, the plan was not empty.
        stdout:
        
        
        Terraform used the selected providers to generate the following execution
        plan. Resource actions are indicated with the following symbols:
          ~ update in-place
        
        Terraform will perform the following actions:
        
          # aws_vpc_ipam_pool.test will be updated in-place
          ~ resource "aws_vpc_ipam_pool" "test" {
                id                    = "ipam-pool-09a0014262402532d"
              + tags_all              = (known after apply)
                # (9 unchanged attributes hidden)
            }
        
        Plan: 0 to add, 1 to change, 0 to destroy.
--- FAIL: TestAccIPAMPoolCIDR_basic (59.73s)
=== CONT  TestAccEC2SpotPriceDataSource_basic
--- PASS: TestAccSiteVPNConnection_tags (217.82s)
=== CONT  TestAccEC2SpotInstanceRequest_tags
--- PASS: TestAccEC2SpotPriceDataSource_basic (11.61s)
=== CONT  TestAccEC2SpotInstanceRequest_basic
--- PASS: TestAccEC2SpotInstanceRequest_basic (108.46s)
=== CONT  TestAccEC2SpotFleetRequest_tags
=== CONT  TestAccEC2Tag_basic
    tag_test.go:19: Step 1/2 error: After applying this test step, the plan was not empty.
        stdout:
        
        
        Terraform used the selected providers to generate the following execution
        plan. Resource actions are indicated with the following symbols:
          ~ update in-place
        
        Terraform will perform the following actions:
        
          # aws_customer_gateway.test will be updated in-place
          ~ resource "aws_customer_gateway" "test" {
                id         = "cgw-06f1111c220e9948a"
              + tags_all   = (known after apply)
                # (4 unchanged attributes hidden)
            }
        
        Plan: 0 to add, 1 to change, 0 to destroy.
--- PASS: TestAccEC2SpotInstanceRequest_tags (175.07s)
=== CONT  TestAccEC2SpotFleetRequest_basic
--- PASS: TestAccEC2SpotFleetRequest_tags (190.26s)
=== CONT  TestAccEC2SerialConsoleAccess_basic
--- PASS: TestAccEC2SpotFleetRequest_basic (134.28s)
=== CONT  TestAccIPAMPoolCIDRsDataSource_basic
--- PASS: TestAccEC2SerialConsoleAccess_basic (24.67s)
=== CONT  TestAccEC2OutpostsLocalGatewaysDataSource_basic
    acctest.go:1047: skipping since no Outposts found
--- SKIP: TestAccEC2OutpostsLocalGatewaysDataSource_basic (0.63s)
=== CONT  TestAccEC2OutpostsLocalGatewayVirtualInterfaceGroupsDataSource_tags
    acctest.go:1047: skipping since no Outposts found
--- SKIP: TestAccEC2OutpostsLocalGatewayVirtualInterfaceGroupsDataSource_tags (0.20s)
=== CONT  TestAccEC2OutpostsLocalGatewayVirtualInterfaceGroupsDataSource_basic
    acctest.go:1047: skipping since no Outposts found
--- SKIP: TestAccEC2OutpostsLocalGatewayVirtualInterfaceGroupsDataSource_basic (0.18s)
=== CONT  TestAccEC2OutpostsLocalGatewayVirtualInterfaceGroupDataSource_tags
    acctest.go:1047: skipping since no Outposts found
--- SKIP: TestAccEC2OutpostsLocalGatewayVirtualInterfaceGroupDataSource_tags (0.23s)
=== CONT  TestAccEC2OutpostsLocalGatewayVirtualInterfaceDataSource_tags
    acctest.go:1047: skipping since no Outposts found
--- SKIP: TestAccEC2OutpostsLocalGatewayVirtualInterfaceDataSource_tags (0.21s)
=== CONT  TestAccEC2OutpostsLocalGatewayRoute_basic
    acctest.go:1047: skipping since no Outposts found
--- SKIP: TestAccEC2OutpostsLocalGatewayRoute_basic (0.20s)
=== CONT  TestAccEC2OutpostsLocalGatewayRouteTablesDataSource_basic
    acctest.go:1047: skipping since no Outposts found
--- SKIP: TestAccEC2OutpostsLocalGatewayRouteTablesDataSource_basic (0.17s)
=== CONT  TestAccEC2OutpostsLocalGatewayRouteTableVPCAssociation_tags
    acctest.go:1047: skipping since no Outposts found
--- SKIP: TestAccEC2OutpostsLocalGatewayRouteTableVPCAssociation_tags (0.22s)
=== CONT  TestAccEC2OutpostsLocalGatewayRouteTableVPCAssociation_basic
    acctest.go:1047: skipping since no Outposts found
--- SKIP: TestAccEC2OutpostsLocalGatewayRouteTableVPCAssociation_basic (0.17s)
=== CONT  TestAccEC2OutpostsLocalGatewayRouteTableDataSource_basic
    acctest.go:1047: skipping since no Outposts found
--- SKIP: TestAccEC2OutpostsLocalGatewayRouteTableDataSource_basic (0.20s)
=== CONT  TestAccEC2OutpostsLocalGatewayDataSource_basic
    acctest.go:1047: skipping since no Outposts found
--- SKIP: TestAccEC2OutpostsLocalGatewayDataSource_basic (0.21s)
=== CONT  TestAccEC2OutpostsCoIPPoolsDataSource_basic
    acctest.go:1047: skipping since no Outposts found
--- SKIP: TestAccEC2OutpostsCoIPPoolsDataSource_basic (0.18s)
=== CONT  TestAccIPAM_tags
--- FAIL: TestAccEC2Tag_basic (427.66s)
=== CONT  TestAccIPAM_basic
=== CONT  TestAccIPAMPoolCIDRsDataSource_basic
    ipam_pool_cidrs_data_source_test.go:15: Step 1/3 error: After applying this test step, the plan was not empty.
        stdout:
        
        
        Terraform used the selected providers to generate the following execution
        plan. Resource actions are indicated with the following symbols:
          ~ update in-place
         <= read (data resources)
        
        Terraform will perform the following actions:
        
          # data.aws_vpc_ipam_pool_cidrs.test will be read during apply
          # (config refers to values not yet known)
         <= data "aws_vpc_ipam_pool_cidrs" "test"  {
              ~ id              = "ipam-pool-0362fccaabab71f60" -> (known after apply)
              ~ ipam_pool_cidrs = [
                  - {
                      - cidr  = "172.2.0.0/16"
                      - state = "provisioned"
                    },
                ] -> (known after apply)
                # (1 unchanged attribute hidden)
        
              + timeouts {
                  + read = (known after apply)
                }
            }
        
          # aws_vpc_ipam_pool.test will be updated in-place
          ~ resource "aws_vpc_ipam_pool" "test" {
                id                    = "ipam-pool-0362fccaabab71f60"
              + tags_all              = (known after apply)
                # (9 unchanged attributes hidden)
            }
        
        Plan: 0 to add, 1 to change, 0 to destroy.
--- FAIL: TestAccIPAMPoolCIDRsDataSource_basic (73.46s)
=== CONT  TestAccIPAMScope_tags
--- PASS: TestAccIPAM_tags (53.97s)
=== CONT  TestAccEC2SerialConsoleAccessDataSource_basic
--- PASS: TestAccIPAM_basic (49.28s)
=== CONT  TestAccIPAMScope_basic
--- PASS: TestAccEC2SerialConsoleAccessDataSource_basic (11.96s)
=== CONT  TestAccIPAMPoolsDataSource_basic
    ipam_pools_data_source_test.go:17: Step 1/2 error: After applying this test step, the plan was not empty.
        stdout:
        
        
        Terraform used the selected providers to generate the following execution
        plan. Resource actions are indicated with the following symbols:
          ~ update in-place
         <= read (data resources)
        
        Terraform will perform the following actions:
        
          # data.aws_vpc_ipam_pools.test will be read during apply
          # (config refers to values not yet known)
         <= data "aws_vpc_ipam_pools" "test"  {
              ~ id         = "us-west-2" -> (known after apply)
              ~ ipam_pools = [
                  - {
                      - address_family                    = "ipv4"
                      - allocation_default_netmask_length = 32
                      - allocation_max_netmask_length     = 32
                      - allocation_min_netmask_length     = 32
                      - allocation_resource_tags          = {
                          - "test" = "1"
                        }
                      - arn                               = "arn:aws:ec2::123456789012:ipam-pool/ipam-pool-02cc2e9c8c88cf24a"
                      - auto_import                       = true
                      - aws_service                       = ""
                      - description                       = "test"
                      - id                                = ""
                      - ipam_pool_id                      = ""
                      - ipam_scope_id                     = "ipam-scope-034510857718e00d5"
                      - ipam_scope_type                   = "private"
                      - locale                            = "None"
                      - pool_depth                        = 1
                      - publicly_advertisable             = false
                      - source_ipam_pool_id               = ""
                      - state                             = "create-complete"
                      - tags                              = {}
                    },
                ] -> (known after apply)
            }
        
          # aws_vpc_ipam_pool.test will be updated in-place
          ~ resource "aws_vpc_ipam_pool" "test" {
                id                                = "ipam-pool-02cc2e9c8c88cf24a"
              + tags_all                          = (known after apply)
                # (14 unchanged attributes hidden)
            }
        
        Plan: 0 to add, 1 to change, 0 to destroy.
--- FAIL: TestAccIPAMPoolsDataSource_basic (49.93s)
=== CONT  TestAccIPAMPool_tags
--- PASS: TestAccIPAMScope_tags (62.68s)
=== CONT  TestAccEC2PublicIPv4PoolsDataSource_tags
--- PASS: TestAccIPAMScope_basic (62.95s)
=== CONT  TestAccIPAMPool_basic
--- PASS: TestAccEC2PublicIPv4PoolsDataSource_tags (11.68s)
=== CONT  TestAccEC2PublicIPv4PoolsDataSource_basic
--- PASS: TestAccEC2PublicIPv4PoolsDataSource_basic (11.49s)
=== CONT  TestAccEC2PublicIPv4PoolDataSource_basic
    ec2_public_ipv4_pool_data_source_test.go:49: skipping since no EC2 Public IPv4 Pools found
--- SKIP: TestAccEC2PublicIPv4PoolDataSource_basic (0.10s)
=== CONT  TestAccEC2PlacementGroup_tags
=== CONT  TestAccIPAMPool_tags
    ipam_pool_test.go:163: Step 2/4 error running import: ImportStateVerify attributes not equivalent. Difference is shown below. The - symbol indicates attributes missing after import.
        
          map[string]string{
        - 	"tags.%":        "1",
        - 	"tags.key1":     "value1",
        - 	"tags_all.%":    "1",
        - 	"tags_all.key1": "value1",
          }
=== CONT  TestAccIPAMPool_basic
    ipam_pool_test.go:22: Step 1/3 error: After applying this test step, the plan was not empty.
        stdout:
        
        
        Terraform used the selected providers to generate the following execution
        plan. Resource actions are indicated with the following symbols:
          ~ update in-place
        
        Terraform will perform the following actions:
        
          # aws_vpc_ipam_pool.test will be updated in-place
          ~ resource "aws_vpc_ipam_pool" "test" {
                id                    = "ipam-pool-0caf93bc244d46daa"
              + tags_all              = (known after apply)
                # (9 unchanged attributes hidden)
            }
        
        Plan: 0 to add, 1 to change, 0 to destroy.
=== CONT  TestAccEC2PlacementGroup_tags
    ec2_placement_group_test.go:79: Step 3/4 error: Error running apply: exit status 1
        
        Error: updating tags for EC2 (Elastic Compute Cloud) Placement Group (tf-acc-test-2618531062826989821): tagging resource (tf-acc-test-2618531062826989821): InvalidID: The ID 'tf-acc-test-2618531062826989821' is not valid
        	status code: 400, request id: 334bfe97-e849-4107-9e85-e21e1cf37910
        
          with aws_placement_group.test,
          on terraform_plugin_test.tf line 2, in resource "aws_placement_group" "test":
           2: resource "aws_placement_group" "test" {
        
--- FAIL: TestAccEC2PlacementGroup_tags (21.50s)
=== CONT  TestAccEC2PlacementGroup_basic
--- FAIL: TestAccIPAMPool_tags (57.71s)
=== CONT  TestAccEC2AMI_basic
--- FAIL: TestAccIPAMPool_basic (50.48s)
=== CONT  TestAccEC2InstanceTypesDataSource_basic
--- PASS: TestAccEC2PlacementGroup_basic (16.40s)
=== CONT  TestAccEC2InstanceTypeDataSource_basic
--- PASS: TestAccEC2InstanceTypeDataSource_basic (11.87s)
=== CONT  TestAccIPAMPoolDataSource_basic
--- PASS: TestAccEC2InstanceTypesDataSource_basic (21.79s)
=== CONT  TestAccEC2Instance_LaunchTemplate_basic
=== CONT  TestAccIPAMPoolDataSource_basic
    ipam_pool_data_source_test.go:16: Step 1/1 error: After applying this test step, the plan was not empty.
        stdout:
        
        
        Terraform used the selected providers to generate the following execution
        plan. Resource actions are indicated with the following symbols:
          ~ update in-place
         <= read (data resources)
        
        Terraform will perform the following actions:
        
          # data.aws_vpc_ipam_pool.test will be read during apply
          # (config refers to values not yet known)
         <= data "aws_vpc_ipam_pool" "test"  {
              ~ address_family                    = "ipv4" -> (known after apply)
              ~ allocation_default_netmask_length = 32 -> (known after apply)
              ~ allocation_max_netmask_length     = 32 -> (known after apply)
              ~ allocation_min_netmask_length     = 32 -> (known after apply)
              ~ allocation_resource_tags          = {
                  - "test" = "1"
                } -> (known after apply)
              ~ arn                               = "arn:aws:ec2::123456789012:ipam-pool/ipam-pool-0eb76d7f3bb4f07be" -> (known after apply)
              ~ auto_import                       = true -> (known after apply)
              + aws_service                       = (known after apply)
              ~ description                       = "test" -> (known after apply)
              - id                                = "ipam-pool-0eb76d7f3bb4f07be" -> null
              ~ ipam_scope_id                     = "ipam-scope-0f1e01075b68de311" -> (known after apply)
              ~ ipam_scope_type                   = "private" -> (known after apply)
              ~ locale                            = "None" -> (known after apply)
              ~ pool_depth                        = 1 -> (known after apply)
              ~ publicly_advertisable             = false -> (known after apply)
              + source_ipam_pool_id               = (known after apply)
              ~ state                             = "create-complete" -> (known after apply)
              ~ tags                              = {} -> (known after apply)
                # (1 unchanged attribute hidden)
        
              + timeouts {
                  + read = (known after apply)
                }
            }
        
          # aws_vpc_ipam_pool.test will be updated in-place
          ~ resource "aws_vpc_ipam_pool" "test" {
                id                                = "ipam-pool-0eb76d7f3bb4f07be"
              + tags_all                          = (known after apply)
                # (14 unchanged attributes hidden)
            }
        
        Plan: 0 to add, 1 to change, 0 to destroy.
--- FAIL: TestAccIPAMPoolDataSource_basic (45.95s)
=== CONT  TestAccEC2LaunchTemplate_tags
--- PASS: TestAccEC2AMI_basic (65.63s)
=== CONT  TestAccEC2Instance_EBSRootDevice_basic
--- PASS: TestAccEC2LaunchTemplate_tags (38.15s)
=== CONT  TestAccEC2KeyPair_tags
--- PASS: TestAccEC2KeyPair_tags (37.17s)
=== CONT  TestAccEC2KeyPair_basic
--- PASS: TestAccEC2Instance_LaunchTemplate_basic (117.83s)
=== CONT  TestAccEC2LaunchTemplate_basic
--- PASS: TestAccEC2KeyPair_basic (16.10s)
=== CONT  TestAccEC2KeyPairDataSource_basic
--- PASS: TestAccEC2LaunchTemplate_basic (16.79s)
=== CONT  TestAccEC2LaunchTemplateDataSource_tags
--- PASS: TestAccEC2KeyPairDataSource_basic (14.75s)
=== CONT  TestAccEC2InstancesDataSource_tags
--- PASS: TestAccEC2LaunchTemplateDataSource_tags (15.60s)
=== CONT  TestAccEC2EBSSnapshot_tags
--- PASS: TestAccEC2Instance_EBSRootDevice_basic (114.14s)
=== CONT  TestAccEC2AMILaunchPermission_basic
--- PASS: TestAccEC2EBSSnapshot_tags (77.06s)
=== CONT  TestAccEC2EBSSnapshotCreateVolumePermission_basic
    acctest.go:772: skipping test because at least one environment variable of [AWS_ALTERNATE_PROFILE AWS_ALTERNATE_ACCESS_KEY_ID] must be set. Usage: credentials for running acceptance testing in alternate AWS account.
--- SKIP: TestAccEC2EBSSnapshotCreateVolumePermission_basic (0.00s)
=== CONT  TestAccEC2AMIIDsDataSource_basic
--- PASS: TestAccEC2AMIIDsDataSource_basic (18.87s)
=== CONT  TestAccEC2EBSSnapshot_basic
--- PASS: TestAccEC2InstancesDataSource_tags (124.02s)
=== CONT  TestAccEC2AMIFromInstance_tags
--- PASS: TestAccEC2EBSSnapshot_basic (53.73s)
=== CONT  TestAccEC2Instance_tags
--- PASS: TestAccEC2Instance_tags (155.19s)
=== CONT  TestAccEC2Instance_basic
--- PASS: TestAccEC2AMILaunchPermission_basic (346.11s)
=== CONT  TestAccEC2InstanceState_basic
--- PASS: TestAccEC2Instance_basic (95.64s)
=== CONT  TestAccEC2InstanceDataSource_tags
--- PASS: TestAccEC2AMIFromInstance_tags (330.05s)
=== CONT  TestAccEC2InstanceDataSource_basic
--- PASS: TestAccEC2InstanceDataSource_tags (123.12s)
=== CONT  TestAccEC2AMIFromInstance_basic
--- PASS: TestAccEC2InstanceDataSource_basic (94.74s)
=== CONT  TestAccEC2AMICopy_tags
--- PASS: TestAccEC2InstanceState_basic (345.32s)
=== CONT  TestAccEC2AMICopy_basic
--- PASS: TestAccEC2AMIFromInstance_basic (315.30s)
=== CONT  TestAccEC2EBSVolumesDataSource_basic
--- PASS: TestAccEC2EBSVolumesDataSource_basic (36.88s)
=== CONT  TestAccEC2Host_tags
--- PASS: TestAccEC2Host_tags (41.91s)
=== CONT  TestAccEC2Host_basic
--- PASS: TestAccEC2Host_basic (17.77s)
=== CONT  TestAccEC2HostDataSource_basic
--- PASS: TestAccEC2HostDataSource_basic (15.09s)
=== CONT  TestAccEC2Fleet_tags
--- PASS: TestAccEC2AMICopy_tags (413.85s)
=== CONT  TestAccEC2EBSVolume_GP3_basic
--- PASS: TestAccEC2EBSVolume_GP3_basic (37.37s)
=== CONT  TestAccEC2EBSVolume_basic
--- PASS: TestAccEC2EBSVolume_basic (37.01s)
=== CONT  TestAccEC2EBSVolumeDataSource_basic
--- PASS: TestAccEC2Fleet_tags (98.08s)
=== CONT  TestAccEC2EBSVolumeAttachment_basic
--- PASS: TestAccEC2EBSVolumeDataSource_basic (35.28s)
=== CONT  TestAccEC2Fleet_basic
--- PASS: TestAccEC2AMICopy_basic (377.86s)
=== CONT  TestAccEC2EBSSnapshotIDsDataSource_basic
--- PASS: TestAccEC2Fleet_basic (47.46s)
=== CONT  TestAccEC2EIPsDataSource_basic
--- PASS: TestAccEC2EBSSnapshotIDsDataSource_basic (51.56s)
=== CONT  TestAccEC2EIP_tags
--- PASS: TestAccEC2EIPsDataSource_basic (14.36s)
=== CONT  TestAccEC2EIP_basic
--- PASS: TestAccEC2EIP_basic (16.17s)
=== CONT  TestAccEC2EIPDataSource_tags
--- PASS: TestAccEC2EIPDataSource_tags (14.67s)
=== CONT  TestAccEC2EIPAssociation_basic
--- PASS: TestAccEC2EIP_tags (37.16s)
=== CONT  TestAccEC2EBSSnapshotImport_basic
--- PASS: TestAccEC2EBSVolumeAttachment_basic (116.31s)
=== CONT  TestAccEC2CapacityReservation_tags
--- PASS: TestAccEC2CapacityReservation_tags (41.73s)
=== CONT  TestAccEC2CapacityReservation_basic
--- PASS: TestAccEC2CapacityReservation_basic (17.34s)
=== CONT  TestAccVPCMainRouteTableAssociation_basic
--- PASS: TestAccEC2EIPAssociation_basic (98.89s)
=== CONT  TestAccVPCNetworkInsightsPath_tags
--- PASS: TestAccVPCMainRouteTableAssociation_basic (35.68s)
=== CONT  TestAccEC2EBSSnapshotImport_tags
--- PASS: TestAccEC2EBSSnapshotImport_basic (143.44s)
=== CONT  TestAccEC2AvailabilityZonesDataSource_basic
--- PASS: TestAccVPCNetworkInsightsPath_tags (53.17s)
=== CONT  TestAccEC2AMI_tags
--- PASS: TestAccEC2AvailabilityZonesDataSource_basic (11.14s)
=== CONT  TestAccEC2EBSSnapshotDataSource_basic
--- PASS: TestAccEC2EBSSnapshotDataSource_basic (51.16s)
=== CONT  TestAccVPCSecurityGroupRule_PartialMatching_basic
--- PASS: TestAccVPCSecurityGroupRule_PartialMatching_basic (30.81s)
=== CONT  TestAccVPCNetworkACLRule_basic
--- PASS: TestAccEC2AMI_tags (90.82s)
=== CONT  TestAccSiteVPNConnection_basic
--- PASS: TestAccEC2EBSSnapshotImport_tags (163.08s)
=== CONT  TestAccVPCNetworkInsightsPathDataSource_basic
--- PASS: TestAccVPCNetworkACLRule_basic (27.16s)
=== CONT  TestAccSiteVPNConnectionRoute_basic
--- PASS: TestAccVPCNetworkInsightsPathDataSource_basic (21.81s)
=== CONT  TestAccVPCsDataSource_tags
--- PASS: TestAccVPCsDataSource_tags (16.31s)
=== CONT  TestAccVPCsDataSource_basic
--- PASS: TestAccVPCsDataSource_basic (17.03s)
=== CONT  TestAccVPCTrafficMirrorTarget_tags
--- PASS: TestAccSiteVPNConnection_basic (194.20s)
=== CONT  TestAccVPCTrafficMirrorSession_tags
--- PASS: TestAccSiteVPNConnectionRoute_basic (193.44s)
=== CONT  TestAccVPCNetworkInsightsPath_basic
--- PASS: TestAccVPCNetworkInsightsPath_basic (24.62s)
=== CONT  TestAccVPCNetworkInterfaceAttachment_basic
--- PASS: TestAccVPCTrafficMirrorTarget_tags (256.79s)
=== CONT  TestAccVPCNetworkACLAssociation_basic
--- PASS: TestAccVPCNetworkACLAssociation_basic (21.69s)
=== CONT  TestAccVPCSecurityGroupRuleDataSource_basic
--- PASS: TestAccVPCSecurityGroupRuleDataSource_basic (20.92s)
=== CONT  TestAccVPCNATGatewaysDataSource_basic
--- PASS: TestAccVPCTrafficMirrorSession_tags (304.72s)
=== CONT  TestAccVPCSecurityGroupIngressRule_tags
--- PASS: TestAccVPCNetworkInterfaceAttachment_basic (278.64s)
=== CONT  TestAccVPCNATGateway_tags
--- PASS: TestAccVPCSecurityGroupIngressRule_tags (49.25s)
=== CONT  TestAccVPCSecurityGroupIngressRule_basic
--- PASS: TestAccVPCSecurityGroupIngressRule_basic (22.28s)
=== CONT  TestAccVPCTrafficMirrorSession_basic
--- PASS: TestAccVPCNATGatewaysDataSource_basic (217.18s)
=== CONT  TestAccVPCTrafficMirrorFilter_tags
--- PASS: TestAccVPCTrafficMirrorFilter_tags (36.35s)
=== CONT  TestAccVPCTrafficMirrorFilter_basic
--- PASS: TestAccVPCTrafficMirrorFilter_basic (36.75s)
=== CONT  TestAccVPCPrefixListDataSource_basic
--- PASS: TestAccVPCPrefixListDataSource_basic (12.71s)
=== CONT  TestAccVPCSecurityGroupDataSource_basic
--- PASS: TestAccVPCSecurityGroupDataSource_basic (20.18s)
=== CONT  TestAccVPCRoute_basic
--- PASS: TestAccVPCRoute_basic (22.43s)
=== CONT  TestAccVPCRouteTablesDataSource_basic
--- PASS: TestAccVPCRouteTablesDataSource_basic (19.82s)
=== CONT  TestAccVPCRouteTable_tags
--- PASS: TestAccVPCNATGateway_tags (233.69s)
=== CONT  TestAccVPCRouteTable_basic
--- PASS: TestAccVPCRouteTable_basic (20.50s)
=== CONT  TestAccVPCNetworkInsightsAnalysis_tags
--- PASS: TestAccVPCRouteTable_tags (46.69s)
=== CONT  TestAccVPCNetworkInsightsAnalysis_basic
    vpc_network_insights_analysis_test.go:24: Step 1/2 error: Check failed: 1 error occurred:
        	* Check 5/9 error: aws_ec2_network_insights_analysis.test: Attribute 'path_found' expected "true", got "false"
        
--- FAIL: TestAccVPCNetworkInsightsAnalysis_basic (43.10s)
=== CONT  TestAccVPCNetworkInsightsAnalysisDataSource_basic
--- PASS: TestAccVPCTrafficMirrorSession_basic (287.81s)
=== CONT  TestAccVPCNetworkACLsDataSource_tags
--- PASS: TestAccVPCNetworkInsightsAnalysis_tags (85.02s)
=== CONT  TestAccVPCNetworkACLsDataSource_basic
--- PASS: TestAccVPCNetworkACLsDataSource_tags (18.09s)
=== CONT  TestAccVPCSecurityGroupEgressRule_basic
--- PASS: TestAccVPCNetworkInsightsAnalysisDataSource_basic (50.00s)
=== CONT  TestAccVPCNetworkACL_OnlyIngressRules_basic
--- PASS: TestAccVPCNetworkACLsDataSource_basic (18.21s)
=== CONT  TestAccVPCPeeringConnectionsDataSource_basic
--- PASS: TestAccVPCPeeringConnectionsDataSource_basic (19.85s)
=== CONT  TestAccVPCNetworkACL_tags
--- PASS: TestAccVPCSecurityGroupEgressRule_basic (23.98s)
=== CONT  TestAccVPCPeeringConnection_tags
--- PASS: TestAccVPCNetworkACL_OnlyIngressRules_basic (33.40s)
=== CONT  TestAccVPCNetworkACL_basic
--- PASS: TestAccVPCNetworkACL_basic (20.62s)
=== CONT  TestAccVPCPeeringConnection_basic
--- PASS: TestAccVPCNetworkACL_tags (47.75s)
=== CONT  TestAccVPCRouteTableDataSource_basic
--- PASS: TestAccVPCPeeringConnection_tags (49.13s)
=== CONT  TestAccVPCPeeringConnectionOptions_basic
--- PASS: TestAccVPCPeeringConnection_basic (20.86s)
=== CONT  TestAccVPCRouteTableAssociation_Gateway_basic
--- PASS: TestAccVPCRouteTableDataSource_basic (21.27s)
=== CONT  TestAccVPCNetworkInterfacesDataSource_tags
--- PASS: TestAccVPCRouteTableAssociation_Gateway_basic (26.50s)
=== CONT  TestAccVPCRouteTableAssociation_Subnet_basic
--- PASS: TestAccVPCNetworkInterfacesDataSource_tags (21.47s)
=== CONT  TestAccVPCNATGateway_basic
--- PASS: TestAccVPCPeeringConnectionOptions_basic (46.27s)
=== CONT  TestAccVPCRouteDataSource_basic
--- PASS: TestAccVPCRouteTableAssociation_Subnet_basic (24.24s)
=== CONT  TestAccVPCNATGatewayDataSource_basic
--- PASS: TestAccVPCRouteDataSource_basic (74.93s)
=== CONT  TestAccVPCSubnetIDsDataSource_basic
--- PASS: TestAccVPCSubnetIDsDataSource_basic (32.11s)
=== CONT  TestAccVPCTrafficMirrorFilterRule_basic
--- PASS: TestAccVPCTrafficMirrorFilterRule_basic (38.89s)
=== CONT  TestAccVPCSubnetDataSource_basic
--- PASS: TestAccVPCSubnetDataSource_basic (20.77s)
=== CONT  TestAccVPCSubnetCIDRReservation_basic
--- PASS: TestAccVPCNATGatewayDataSource_basic (176.89s)
=== CONT  TestAccEC2EBSEncryptionByDefault_basic
--- PASS: TestAccVPCSubnetCIDRReservation_basic (20.22s)
=== CONT  TestAccVPCNetworkInterface_tags
--- PASS: TestAccVPCNATGateway_basic (208.25s)
=== CONT  TestAccEC2EBSSnapshotCopy_tags
--- PASS: TestAccEC2EBSEncryptionByDefault_basic (25.78s)
=== CONT  TestAccVPCNetworkInterface_basic
--- PASS: TestAccVPCNetworkInterface_basic (34.78s)
=== CONT  TestAccEC2EBSSnapshotCopy_basic
--- PASS: TestAccVPCNetworkInterface_tags (65.20s)
=== CONT  TestAccSiteVPNGateway_basic
=== CONT  TestAccEC2EBSSnapshotCopy_tags
    ebs_snapshot_copy_test.go:69: Step 1/3 error: After applying this test step, the plan was not empty.
        stdout:
        
        
        Terraform used the selected providers to generate the following execution
        plan. Resource actions are indicated with the following symbols:
        -/+ destroy and then create replacement
        
        Terraform will perform the following actions:
        
          # aws_ebs_snapshot_copy.test must be replaced
        -/+ resource "aws_ebs_snapshot_copy" "test" {
              ~ arn                    = "arn:aws:ec2:us-west-2::snapshot/snap-0f270050ae4c30190" -> (known after apply)
              + data_encryption_key_id = (known after apply)
              - encrypted              = true -> null # forces replacement
              ~ id                     = "snap-0f270050ae4c30190" -> (known after apply)
              - kms_key_id             = "arn:aws:kms:us-west-2:123456789012:key/039ff87e-a813-4464-829a-603049ac93ee" -> null # forces replacement
              + outpost_arn            = (known after apply)
              + owner_alias            = (known after apply)
              ~ owner_id               = "123456789012" -> (known after apply)
              ~ storage_tier           = "standard" -> (known after apply)
                tags                   = {
                    "key1" = "value1"
                }
              ~ volume_id              = "vol-ffffffff" -> (known after apply)
              ~ volume_size            = 1 -> (known after apply)
                # (3 unchanged attributes hidden)
            }
        
        Plan: 1 to add, 0 to change, 1 to destroy.
--- FAIL: TestAccEC2EBSSnapshotCopy_tags (64.76s)
=== CONT  TestAccVPC_tags
--- PASS: TestAccVPC_tags (46.20s)
=== CONT  TestAccVPC_basic
--- PASS: TestAccEC2EBSSnapshotCopy_basic (68.31s)
=== CONT  TestAccVPCNetworkInterfaceSgAttachment_basic
--- PASS: TestAccVPC_basic (19.61s)
=== CONT  TestAccVPCManagedPrefixListsDataSource_tags
--- PASS: TestAccVPCNetworkInterfaceSgAttachment_basic (24.38s)
=== CONT  TestAccVPCSecurityGroup_tags
--- PASS: TestAccVPCManagedPrefixListsDataSource_tags (21.70s)
=== CONT  TestAccWavelengthCarrierGateway_tags
--- PASS: TestAccVPCSecurityGroup_tags (46.99s)
=== CONT  TestAccVPCSecurityGroup_basic
--- PASS: TestAccWavelengthCarrierGateway_tags (46.33s)
=== CONT  TestAccWavelengthCarrierGateway_basic
--- PASS: TestAccVPCSecurityGroup_basic (21.92s)
=== CONT  TestAccVPCSecurityGroupRulesDataSource_tags
--- PASS: TestAccWavelengthCarrierGateway_basic (21.11s)
=== CONT  TestAccVPCSecurityGroupRulesDataSource_basic
--- PASS: TestAccVPCSecurityGroupRulesDataSource_tags (22.95s)
=== CONT  TestAccVPCNetworkInterfaceDataSource_basic
--- PASS: TestAccVPCSecurityGroupRulesDataSource_basic (21.21s)
=== CONT  TestAccVPCManagedPrefixList_basic
--- PASS: TestAccVPCNetworkInterfaceDataSource_basic (22.53s)
=== CONT  TestAccVPCManagedPrefixList_tags
--- PASS: TestAccSiteVPNGateway_basic (227.37s)
=== CONT  TestAccSiteVPNGatewayAttachment_basic
--- PASS: TestAccVPCManagedPrefixList_basic (42.00s)
=== CONT  TestAccSiteVPNGateway_tags
--- PASS: TestAccVPCManagedPrefixList_tags (46.25s)
=== CONT  TestAccEC2EBSEncryptionByDefaultDataSource_basic
--- PASS: TestAccEC2EBSEncryptionByDefaultDataSource_basic (11.31s)
=== CONT  TestAccVPCManagedPrefixListsDataSource_basic
--- PASS: TestAccVPCManagedPrefixListsDataSource_basic (11.14s)
=== CONT  TestAccVPCEndpointServiceAllowedPrincipal_basic
--- PASS: TestAccSiteVPNGateway_tags (115.77s)
=== CONT  TestAccVPCSubnet_tags
--- PASS: TestAccVPCSubnet_tags (44.15s)
=== CONT  TestAccVPCIPv4CIDRBlockAssociation_basic
--- PASS: TestAccSiteVPNGatewayAttachment_basic (191.53s)
=== CONT  TestAccVPCInternetGateway_basic
--- PASS: TestAccVPCInternetGateway_basic (14.94s)
=== CONT  TestAccVPCInternetGatewayDataSource_basic
--- PASS: TestAccVPCIPv4CIDRBlockAssociation_basic (43.11s)
=== CONT  TestAccVPCInternetGatewayAttachment_basic
--- PASS: TestAccVPCInternetGatewayDataSource_basic (18.32s)
=== CONT  TestAccVPCFlowLog_tags
--- PASS: TestAccVPCInternetGatewayAttachment_basic (19.74s)
=== CONT  TestAccVPCFlowLog_basic
--- PASS: TestAccVPCFlowLog_basic (21.58s)
=== CONT  TestAccVPCEndpoint_tags
--- PASS: TestAccVPCEndpointServiceAllowedPrincipal_basic (213.37s)
=== CONT  TestAccVPCEndpointSubnetAssociation_basic
--- PASS: TestAccVPCFlowLog_tags (50.22s)
=== CONT  TestAccVPCEndpointService_tags
--- PASS: TestAccVPCEndpoint_tags (58.15s)
=== CONT  TestAccVPCEndpointService_basic
--- PASS: TestAccVPCEndpointService_tags (246.19s)
=== CONT  TestAccVPCEndpointServiceDataSource_CustomFilter_tags
--- PASS: TestAccVPCEndpointService_basic (225.17s)
=== CONT  TestAccVPCSubnetsDataSource_basic
--- PASS: TestAccVPCSubnetsDataSource_basic (31.56s)
=== CONT  TestAccEC2EBSDefaultKMSKey_basic
--- PASS: TestAccVPCEndpointSubnetAssociation_basic (317.32s)
=== CONT  TestAccVPCSubnet_basic
--- PASS: TestAccEC2EBSDefaultKMSKey_basic (18.36s)
=== CONT  TestAccSiteVPNCustomerGateway_tags
--- PASS: TestAccVPCSubnet_basic (20.57s)
=== CONT  TestAccSiteVPNCustomerGateway_basic
=== CONT  TestAccSiteVPNCustomerGateway_tags
    vpnsite_customer_gateway_test.go:85: Step 2/4 error running import: ImportStateVerify attributes not equivalent. Difference is shown below. The - symbol indicates attributes missing after import.
        
          map[string]string{
        - 	"tags.%":        "1",
        - 	"tags.key1":     "value1",
        - 	"tags_all.%":    "1",
        - 	"tags_all.key1": "value1",
          }
--- FAIL: TestAccSiteVPNCustomerGateway_tags (26.07s)
=== CONT  TestAccVPCDHCPOptionsDataSource_basic
=== CONT  TestAccSiteVPNCustomerGateway_basic
    vpnsite_customer_gateway_test.go:27: Step 1/2 error: After applying this test step, the plan was not empty.
        stdout:
        
        
        Terraform used the selected providers to generate the following execution
        plan. Resource actions are indicated with the following symbols:
          ~ update in-place
        
        Terraform will perform the following actions:
        
          # aws_customer_gateway.test will be updated in-place
          ~ resource "aws_customer_gateway" "test" {
                id         = "cgw-0863642ab81b0b84b"
              + tags_all   = (known after apply)
                # (4 unchanged attributes hidden)
            }
        
        Plan: 0 to add, 1 to change, 0 to destroy.
--- FAIL: TestAccSiteVPNCustomerGateway_basic (20.87s)
=== CONT  TestAccVPCDHCPOptionsAssociation_basic
--- PASS: TestAccVPCDHCPOptionsDataSource_basic (15.64s)
=== CONT  TestAccVPCManagedPrefixListDataSource_basic
--- PASS: TestAccVPCDHCPOptionsAssociation_basic (19.35s)
=== CONT  TestAccVPCDHCPOptions_basic
--- PASS: TestAccVPCManagedPrefixListDataSource_basic (15.77s)
=== CONT  TestAccVPCDefaultSecurityGroup_basic
--- PASS: TestAccVPCDHCPOptions_basic (15.84s)
=== CONT  TestAccVPCEndpointPolicy_basic
--- PASS: TestAccVPCDefaultSecurityGroup_basic (29.14s)
=== CONT  TestAccVPCEndpointSecurityGroupAssociation_basic
--- PASS: TestAccVPCEndpointPolicy_basic (62.99s)
=== CONT  TestAccVPCEndpointRouteTableAssociation_basic
--- PASS: TestAccVPCEndpointSecurityGroupAssociation_basic (54.32s)
=== CONT  TestAccVPCEgressOnlyInternetGateway_tags
--- PASS: TestAccVPCEndpointRouteTableAssociation_basic (31.90s)
=== CONT  TestAccSiteVPNGatewayRoutePropagation_basic
--- PASS: TestAccVPCEndpointServiceDataSource_CustomFilter_tags (227.89s)
=== CONT  TestAccVPCDHCPOptions_tags
--- PASS: TestAccVPCEgressOnlyInternetGateway_tags (45.12s)
=== CONT  TestAccVPCEndpointConnectionNotification_basic
--- PASS: TestAccVPCDHCPOptions_tags (36.60s)
=== CONT  TestAccVPCEgressOnlyInternetGateway_basic
--- PASS: TestAccVPCEgressOnlyInternetGateway_basic (29.21s)
--- PASS: TestAccSiteVPNGatewayRoutePropagation_basic (118.79s)
=== CONT  TestAccVPCEndpointConnectionNotification_basic
    vpc_endpoint_connection_notification_test.go:23: Step 1/3 error: Error running apply: exit status 1
        
        Error: modifying EC2 VPC Endpoint Service (vpce-svc-0444a3332c43e225e) permissions: InvalidPrincipal: Invalid Principal: 'arn:aws:sts::123456789012:assumed-role/terraform_team1_dev-developer/[email protected]'
        	status code: 400, request id: bae9be5e-ef15-4134-9712-66c4afa0a281
        
          with aws_vpc_endpoint_service.test,
          on terraform_plugin_test.tf line 47, in resource "aws_vpc_endpoint_service" "test":
          47: resource "aws_vpc_endpoint_service" "test" {
        
--- FAIL: TestAccVPCEndpointConnectionNotification_basic (223.58s)
FAIL
FAIL	github.com/hashicorp/terraform-provider-aws/internal/service/ec2	4770.821s
FAIL
make: *** [testacc] Error 1

After fixes:

% make testacc TESTARGS='-run=TestAccEC2EBSSnapshotCopy_tags\|TestAccEC2PlacementGroup_tags\|TestAccEC2PlacementGroup_basic\|TestAccSiteVPNCustomerGateway_basic\|TestAccSiteVPNCustomerGateway_tags\|TestAccIPAMPool_tags\|TestAccIPAMPool_basic' PKG=ec2 ACCTEST_PARALLELISM=3
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/ec2/... -v -count 1 -parallel 3  -run=TestAccEC2EBSSnapshotCopy_tags\|TestAccEC2PlacementGroup_tags\|TestAccEC2PlacementGroup_basic\|TestAccSiteVPNCustomerGateway_basic\|TestAccSiteVPNCustomerGateway_tags\|TestAccIPAMPool_tags\|TestAccIPAMPool_basic -timeout 180m
=== RUN   TestAccEC2EBSSnapshotCopy_tags
=== PAUSE TestAccEC2EBSSnapshotCopy_tags
=== RUN   TestAccEC2PlacementGroup_basic
=== PAUSE TestAccEC2PlacementGroup_basic
=== RUN   TestAccEC2PlacementGroup_tags
=== PAUSE TestAccEC2PlacementGroup_tags
=== RUN   TestAccIPAMPool_basic
=== PAUSE TestAccIPAMPool_basic
=== RUN   TestAccIPAMPool_tags
=== PAUSE TestAccIPAMPool_tags
=== RUN   TestAccSiteVPNCustomerGateway_basic
=== PAUSE TestAccSiteVPNCustomerGateway_basic
=== RUN   TestAccSiteVPNCustomerGateway_tags
=== PAUSE TestAccSiteVPNCustomerGateway_tags
=== CONT  TestAccEC2EBSSnapshotCopy_tags
=== CONT  TestAccIPAMPool_tags
=== CONT  TestAccSiteVPNCustomerGateway_tags
--- PASS: TestAccSiteVPNCustomerGateway_tags (50.67s)
=== CONT  TestAccSiteVPNCustomerGateway_basic
--- PASS: TestAccSiteVPNCustomerGateway_basic (27.03s)
=== CONT  TestAccEC2PlacementGroup_tags
--- PASS: TestAccIPAMPool_tags (84.52s)
=== CONT  TestAccIPAMPool_basic
--- PASS: TestAccEC2EBSSnapshotCopy_tags (95.50s)
=== CONT  TestAccEC2PlacementGroup_basic
--- PASS: TestAccEC2PlacementGroup_basic (17.06s)
--- PASS: TestAccEC2PlacementGroup_tags (40.05s)
--- PASS: TestAccIPAMPool_basic (88.09s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/ec2	178.337s

@ewbankkit ewbankkit merged commit 510b705 into main Apr 4, 2023
@ewbankkit ewbankkit deleted the td-transparent-tagging-phase3b-ec2 branch April 4, 2023 13:02
@github-actions github-actions bot added this to the v4.62.0 milestone Apr 4, 2023
@ewbankkit ewbankkit changed the title Tech debt: Reduce tags boilerplate code - Plugin Framework resources EC2 (Phase 3b) Tech debt: Reduce tags boilerplate code - Plugin SDK resources EC2 (Phase 3b) Apr 4, 2023
@github-actions
Copy link

github-actions bot commented Apr 7, 2023

This functionality has been released in v4.62.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. Thank you!

@github-actions
Copy link

github-actions bot commented May 9, 2023

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 9, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
generators Relates to code generators. service/ec2ebs Issues and PRs that pertain to the ec2ebs service. service/ec2outposts Issues and PRs that pertain to the ec2outposts service. service/ec2 Issues and PRs that pertain to the ec2 service. service/ipam Issues and PRs that pertain to the ipam service. service/transitgateway Issues and PRs that pertain to the transitgateway service. service/vpc Issues and PRs that pertain to the vpc service. service/vpnclient Issues and PRs that pertain to the vpnclient service. service/vpnsite Issues and PRs that pertain to the vpnsite service. service/wavelength Issues and PRs that pertain to the wavelength service. size/XL Managed by automation to categorize the size of a PR. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant