-
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
EC2 Subnet: Add DNS64, IPv6-only and Resource-based Name attributes #22339
Conversation
Acceptance test output: % make testacc PKG=ec2 TESTS=TestAccEC2Subnet_ ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./internal/service/ec2/... -v -count 1 -parallel 20 -run='TestAccEC2Subnet_' -timeout 180m === RUN TestAccEC2Subnet_basic === PAUSE TestAccEC2Subnet_basic === RUN TestAccEC2Subnet_tags === PAUSE TestAccEC2Subnet_tags === RUN TestAccEC2Subnet_DefaultTags_providerOnly === PAUSE TestAccEC2Subnet_DefaultTags_providerOnly === RUN TestAccEC2Subnet_DefaultTags_updateToProviderOnly === PAUSE TestAccEC2Subnet_DefaultTags_updateToProviderOnly === RUN TestAccEC2Subnet_DefaultTags_updateToResourceOnly === PAUSE TestAccEC2Subnet_DefaultTags_updateToResourceOnly === RUN TestAccEC2Subnet_DefaultTagsProviderAndResource_nonOverlappingTag === PAUSE TestAccEC2Subnet_DefaultTagsProviderAndResource_nonOverlappingTag === RUN TestAccEC2Subnet_DefaultTagsProviderAndResource_overlappingTag === PAUSE TestAccEC2Subnet_DefaultTagsProviderAndResource_overlappingTag === RUN TestAccEC2Subnet_DefaultTagsProviderAndResource_duplicateTag === PAUSE TestAccEC2Subnet_DefaultTagsProviderAndResource_duplicateTag === RUN TestAccEC2Subnet_defaultAndIgnoreTags === PAUSE TestAccEC2Subnet_defaultAndIgnoreTags === RUN TestAccEC2Subnet_updateTagsKnownAtApply === PAUSE TestAccEC2Subnet_updateTagsKnownAtApply === RUN TestAccEC2Subnet_ignoreTags === PAUSE TestAccEC2Subnet_ignoreTags === RUN TestAccEC2Subnet_ipv6 === PAUSE TestAccEC2Subnet_ipv6 === RUN TestAccEC2Subnet_enableIPv6 === PAUSE TestAccEC2Subnet_enableIPv6 === RUN TestAccEC2Subnet_availabilityZoneID === PAUSE TestAccEC2Subnet_availabilityZoneID === RUN TestAccEC2Subnet_disappears === PAUSE TestAccEC2Subnet_disappears === RUN TestAccEC2Subnet_customerOwnedIPv4Pool === PAUSE TestAccEC2Subnet_customerOwnedIPv4Pool === RUN TestAccEC2Subnet_mapCustomerOwnedIPOnLaunch === PAUSE TestAccEC2Subnet_mapCustomerOwnedIPOnLaunch === RUN TestAccEC2Subnet_mapPublicIPOnLaunch === PAUSE TestAccEC2Subnet_mapPublicIPOnLaunch === RUN TestAccEC2Subnet_outpost === PAUSE TestAccEC2Subnet_outpost === CONT TestAccEC2Subnet_basic === CONT TestAccEC2Subnet_ignoreTags === CONT TestAccEC2Subnet_DefaultTagsProviderAndResource_nonOverlappingTag === CONT TestAccEC2Subnet_ipv6 === CONT TestAccEC2Subnet_DefaultTags_updateToProviderOnly === CONT TestAccEC2Subnet_updateTagsKnownAtApply === CONT TestAccEC2Subnet_DefaultTags_updateToResourceOnly === CONT TestAccEC2Subnet_DefaultTagsProviderAndResource_overlappingTag === CONT TestAccEC2Subnet_defaultAndIgnoreTags === CONT TestAccEC2Subnet_DefaultTags_providerOnly === CONT TestAccEC2Subnet_mapPublicIPOnLaunch === CONT TestAccEC2Subnet_mapCustomerOwnedIPOnLaunch === CONT TestAccEC2Subnet_customerOwnedIPv4Pool === CONT TestAccEC2Subnet_disappears === CONT TestAccEC2Subnet_availabilityZoneID === CONT TestAccEC2Subnet_enableIPv6 === CONT TestAccEC2Subnet_DefaultTagsProviderAndResource_duplicateTag === CONT TestAccEC2Subnet_tags === CONT TestAccEC2Subnet_outpost === CONT TestAccEC2Subnet_mapCustomerOwnedIPOnLaunch acctest.go:1254: skipping since no Outposts found --- SKIP: TestAccEC2Subnet_mapCustomerOwnedIPOnLaunch (1.48s) === CONT TestAccEC2Subnet_outpost acctest.go:1254: skipping since no Outposts found --- SKIP: TestAccEC2Subnet_outpost (1.53s) === CONT TestAccEC2Subnet_customerOwnedIPv4Pool acctest.go:1254: skipping since no Outposts found --- SKIP: TestAccEC2Subnet_customerOwnedIPv4Pool (1.60s) --- PASS: TestAccEC2Subnet_DefaultTagsProviderAndResource_duplicateTag (6.71s) --- PASS: TestAccEC2Subnet_disappears (43.98s) --- PASS: TestAccEC2Subnet_basic (48.25s) --- PASS: TestAccEC2Subnet_availabilityZoneID (48.45s) --- PASS: TestAccEC2Subnet_DefaultTags_updateToProviderOnly (68.48s) --- PASS: TestAccEC2Subnet_DefaultTags_updateToResourceOnly (70.67s) --- PASS: TestAccEC2Subnet_defaultAndIgnoreTags (83.56s) --- PASS: TestAccEC2Subnet_ignoreTags (83.58s) --- PASS: TestAccEC2Subnet_updateTagsKnownAtApply (85.68s) --- PASS: TestAccEC2Subnet_DefaultTagsProviderAndResource_nonOverlappingTag (89.37s) --- PASS: TestAccEC2Subnet_DefaultTagsProviderAndResource_overlappingTag (91.52s) --- PASS: TestAccEC2Subnet_tags (93.09s) --- PASS: TestAccEC2Subnet_DefaultTags_providerOnly (94.98s) --- PASS: TestAccEC2Subnet_ipv6 (96.26s) --- PASS: TestAccEC2Subnet_enableIPv6 (99.16s) --- PASS: TestAccEC2Subnet_mapPublicIPOnLaunch (119.37s) PASS ok github.com/hashicorp/terraform-provider-aws/internal/service/ec2 123.363s
…itSubnetIPv6CIDRBlockAssociationDeleted'. Acceptance test output: % make testacc PKG=ec2 TESTS=TestAccEC2Subnet_ ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./internal/service/ec2/... -v -count 1 -parallel 20 -run='TestAccEC2Subnet_' -timeout 180m === RUN TestAccEC2Subnet_basic === PAUSE TestAccEC2Subnet_basic === RUN TestAccEC2Subnet_tags === PAUSE TestAccEC2Subnet_tags === RUN TestAccEC2Subnet_DefaultTags_providerOnly === PAUSE TestAccEC2Subnet_DefaultTags_providerOnly === RUN TestAccEC2Subnet_DefaultTags_updateToProviderOnly === PAUSE TestAccEC2Subnet_DefaultTags_updateToProviderOnly === RUN TestAccEC2Subnet_DefaultTags_updateToResourceOnly === PAUSE TestAccEC2Subnet_DefaultTags_updateToResourceOnly === RUN TestAccEC2Subnet_DefaultTagsProviderAndResource_nonOverlappingTag === PAUSE TestAccEC2Subnet_DefaultTagsProviderAndResource_nonOverlappingTag === RUN TestAccEC2Subnet_DefaultTagsProviderAndResource_overlappingTag === PAUSE TestAccEC2Subnet_DefaultTagsProviderAndResource_overlappingTag === RUN TestAccEC2Subnet_DefaultTagsProviderAndResource_duplicateTag === PAUSE TestAccEC2Subnet_DefaultTagsProviderAndResource_duplicateTag === RUN TestAccEC2Subnet_defaultAndIgnoreTags === PAUSE TestAccEC2Subnet_defaultAndIgnoreTags === RUN TestAccEC2Subnet_updateTagsKnownAtApply === PAUSE TestAccEC2Subnet_updateTagsKnownAtApply === RUN TestAccEC2Subnet_ignoreTags === PAUSE TestAccEC2Subnet_ignoreTags === RUN TestAccEC2Subnet_ipv6 === PAUSE TestAccEC2Subnet_ipv6 === RUN TestAccEC2Subnet_enableIPv6 === PAUSE TestAccEC2Subnet_enableIPv6 === RUN TestAccEC2Subnet_availabilityZoneID === PAUSE TestAccEC2Subnet_availabilityZoneID === RUN TestAccEC2Subnet_disappears === PAUSE TestAccEC2Subnet_disappears === RUN TestAccEC2Subnet_customerOwnedIPv4Pool === PAUSE TestAccEC2Subnet_customerOwnedIPv4Pool === RUN TestAccEC2Subnet_mapCustomerOwnedIPOnLaunch === PAUSE TestAccEC2Subnet_mapCustomerOwnedIPOnLaunch === RUN TestAccEC2Subnet_mapPublicIPOnLaunch === PAUSE TestAccEC2Subnet_mapPublicIPOnLaunch === RUN TestAccEC2Subnet_outpost === PAUSE TestAccEC2Subnet_outpost === CONT TestAccEC2Subnet_basic === CONT TestAccEC2Subnet_ignoreTags === CONT TestAccEC2Subnet_disappears === CONT TestAccEC2Subnet_ipv6 === CONT TestAccEC2Subnet_mapCustomerOwnedIPOnLaunch === CONT TestAccEC2Subnet_availabilityZoneID === CONT TestAccEC2Subnet_DefaultTagsProviderAndResource_nonOverlappingTag === CONT TestAccEC2Subnet_DefaultTags_updateToProviderOnly === CONT TestAccEC2Subnet_enableIPv6 === CONT TestAccEC2Subnet_DefaultTags_updateToResourceOnly === CONT TestAccEC2Subnet_defaultAndIgnoreTags === CONT TestAccEC2Subnet_customerOwnedIPv4Pool === CONT TestAccEC2Subnet_updateTagsKnownAtApply === CONT TestAccEC2Subnet_DefaultTags_providerOnly === CONT TestAccEC2Subnet_outpost === CONT TestAccEC2Subnet_tags === CONT TestAccEC2Subnet_DefaultTagsProviderAndResource_duplicateTag === CONT TestAccEC2Subnet_DefaultTagsProviderAndResource_overlappingTag === CONT TestAccEC2Subnet_mapPublicIPOnLaunch === CONT TestAccEC2Subnet_mapCustomerOwnedIPOnLaunch acctest.go:1254: skipping since no Outposts found --- SKIP: TestAccEC2Subnet_mapCustomerOwnedIPOnLaunch (1.63s) === CONT TestAccEC2Subnet_outpost acctest.go:1254: skipping since no Outposts found --- SKIP: TestAccEC2Subnet_outpost (1.63s) === CONT TestAccEC2Subnet_customerOwnedIPv4Pool acctest.go:1254: skipping since no Outposts found --- SKIP: TestAccEC2Subnet_customerOwnedIPv4Pool (1.65s) --- PASS: TestAccEC2Subnet_DefaultTagsProviderAndResource_duplicateTag (6.15s) --- PASS: TestAccEC2Subnet_disappears (40.68s) --- PASS: TestAccEC2Subnet_basic (50.94s) --- PASS: TestAccEC2Subnet_availabilityZoneID (51.98s) --- PASS: TestAccEC2Subnet_DefaultTags_updateToProviderOnly (86.02s) --- PASS: TestAccEC2Subnet_defaultAndIgnoreTags (95.92s) --- PASS: TestAccEC2Subnet_DefaultTagsProviderAndResource_nonOverlappingTag (98.62s) --- PASS: TestAccEC2Subnet_ignoreTags (98.65s) --- PASS: TestAccEC2Subnet_DefaultTags_updateToResourceOnly (100.88s) --- PASS: TestAccEC2Subnet_DefaultTagsProviderAndResource_overlappingTag (105.88s) --- PASS: TestAccEC2Subnet_updateTagsKnownAtApply (111.71s) --- PASS: TestAccEC2Subnet_tags (112.73s) --- PASS: TestAccEC2Subnet_enableIPv6 (112.74s) --- PASS: TestAccEC2Subnet_DefaultTags_providerOnly (119.37s) --- PASS: TestAccEC2Subnet_ipv6 (129.33s) --- PASS: TestAccEC2Subnet_mapPublicIPOnLaunch (135.72s) PASS ok github.com/hashicorp/terraform-provider-aws/internal/service/ec2 139.657s
…efix, 'VPN' -> 'Vpn', 'VPC' -> 'Vpc'.
Acceptance test output: % make testacc PKG=ec2 TESTS=TestAccEC2SubnetDataSource_ ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./internal/service/ec2/... -v -count 1 -parallel 20 -run='TestAccEC2SubnetDataSource_' -timeout 180m === RUN TestAccEC2SubnetDataSource_basic === PAUSE TestAccEC2SubnetDataSource_basic === RUN TestAccEC2SubnetDataSource_ipv6ByIPv6Filter === PAUSE TestAccEC2SubnetDataSource_ipv6ByIPv6Filter === RUN TestAccEC2SubnetDataSource_ipv6ByIPv6CIDRBlock === PAUSE TestAccEC2SubnetDataSource_ipv6ByIPv6CIDRBlock === CONT TestAccEC2SubnetDataSource_basic === CONT TestAccEC2SubnetDataSource_ipv6ByIPv6CIDRBlock === CONT TestAccEC2SubnetDataSource_ipv6ByIPv6Filter --- PASS: TestAccEC2SubnetDataSource_basic (28.75s) --- PASS: TestAccEC2SubnetDataSource_ipv6ByIPv6CIDRBlock (51.50s) --- PASS: TestAccEC2SubnetDataSource_ipv6ByIPv6Filter (51.61s) PASS ok github.com/hashicorp/terraform-provider-aws/internal/service/ec2 56.688s
d/aws_subnet_ids: Use 'FindSubnets'. Acceptance test output: % make testacc PKG_NAME=internal/service/ec2 TESTARGS='-run=TestAccEC2SubnetIDsDataSource_\|TestAccEC2SubnetsDataSource_' ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./internal/service/ec2/... -v -count 1 -parallel 20 -run=TestAccEC2SubnetIDsDataSource_\|TestAccEC2SubnetsDataSource_ -timeout 180m === RUN TestAccEC2SubnetIDsDataSource_basic === PAUSE TestAccEC2SubnetIDsDataSource_basic === RUN TestAccEC2SubnetIDsDataSource_filter === PAUSE TestAccEC2SubnetIDsDataSource_filter === RUN TestAccEC2SubnetsDataSource_basic === PAUSE TestAccEC2SubnetsDataSource_basic === RUN TestAccEC2SubnetsDataSource_filter === PAUSE TestAccEC2SubnetsDataSource_filter === CONT TestAccEC2SubnetIDsDataSource_basic === CONT TestAccEC2SubnetsDataSource_filter === CONT TestAccEC2SubnetIDsDataSource_filter === CONT TestAccEC2SubnetsDataSource_basic --- PASS: TestAccEC2SubnetIDsDataSource_filter (28.35s) --- PASS: TestAccEC2SubnetsDataSource_filter (30.39s) --- PASS: TestAccEC2SubnetsDataSource_basic (43.29s) --- PASS: TestAccEC2SubnetIDsDataSource_basic (43.41s) PASS ok github.com/hashicorp/terraform-provider-aws/internal/service/ec2 47.055s
Acceptance test output: % make testacc PKG=ec2 TESTS=TestAccEC2Subnet_ ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./internal/service/ec2/... -v -count 1 -parallel 20 -run='TestAccEC2Subnet_' -timeout 180m === RUN TestAccEC2Subnet_basic === PAUSE TestAccEC2Subnet_basic === RUN TestAccEC2Subnet_tags === PAUSE TestAccEC2Subnet_tags === RUN TestAccEC2Subnet_DefaultTags_providerOnly === PAUSE TestAccEC2Subnet_DefaultTags_providerOnly === RUN TestAccEC2Subnet_DefaultTags_updateToProviderOnly === PAUSE TestAccEC2Subnet_DefaultTags_updateToProviderOnly === RUN TestAccEC2Subnet_DefaultTags_updateToResourceOnly === PAUSE TestAccEC2Subnet_DefaultTags_updateToResourceOnly === RUN TestAccEC2Subnet_DefaultTagsProviderAndResource_nonOverlappingTag === PAUSE TestAccEC2Subnet_DefaultTagsProviderAndResource_nonOverlappingTag === RUN TestAccEC2Subnet_DefaultTagsProviderAndResource_overlappingTag === PAUSE TestAccEC2Subnet_DefaultTagsProviderAndResource_overlappingTag === RUN TestAccEC2Subnet_DefaultTagsProviderAndResource_duplicateTag === PAUSE TestAccEC2Subnet_DefaultTagsProviderAndResource_duplicateTag === RUN TestAccEC2Subnet_defaultAndIgnoreTags === PAUSE TestAccEC2Subnet_defaultAndIgnoreTags === RUN TestAccEC2Subnet_updateTagsKnownAtApply === PAUSE TestAccEC2Subnet_updateTagsKnownAtApply === RUN TestAccEC2Subnet_ignoreTags === PAUSE TestAccEC2Subnet_ignoreTags === RUN TestAccEC2Subnet_ipv6 === PAUSE TestAccEC2Subnet_ipv6 === RUN TestAccEC2Subnet_enableIPv6 === PAUSE TestAccEC2Subnet_enableIPv6 === RUN TestAccEC2Subnet_availabilityZoneID === PAUSE TestAccEC2Subnet_availabilityZoneID === RUN TestAccEC2Subnet_disappears === PAUSE TestAccEC2Subnet_disappears === RUN TestAccEC2Subnet_customerOwnedIPv4Pool === PAUSE TestAccEC2Subnet_customerOwnedIPv4Pool === RUN TestAccEC2Subnet_mapCustomerOwnedIPOnLaunch === PAUSE TestAccEC2Subnet_mapCustomerOwnedIPOnLaunch === RUN TestAccEC2Subnet_mapPublicIPOnLaunch === PAUSE TestAccEC2Subnet_mapPublicIPOnLaunch === RUN TestAccEC2Subnet_outpost === PAUSE TestAccEC2Subnet_outpost === RUN TestAccEC2Subnet_enableDNS64 === PAUSE TestAccEC2Subnet_enableDNS64 === CONT TestAccEC2Subnet_basic === CONT TestAccEC2Subnet_ipv6 === CONT TestAccEC2Subnet_DefaultTagsProviderAndResource_overlappingTag === CONT TestAccEC2Subnet_ignoreTags === CONT TestAccEC2Subnet_mapCustomerOwnedIPOnLaunch === CONT TestAccEC2Subnet_updateTagsKnownAtApply === CONT TestAccEC2Subnet_outpost === CONT TestAccEC2Subnet_defaultAndIgnoreTags === CONT TestAccEC2Subnet_mapPublicIPOnLaunch === CONT TestAccEC2Subnet_DefaultTags_updateToProviderOnly === CONT TestAccEC2Subnet_DefaultTagsProviderAndResource_nonOverlappingTag === CONT TestAccEC2Subnet_DefaultTagsProviderAndResource_duplicateTag === CONT TestAccEC2Subnet_disappears === CONT TestAccEC2Subnet_enableDNS64 === CONT TestAccEC2Subnet_DefaultTags_updateToResourceOnly === CONT TestAccEC2Subnet_customerOwnedIPv4Pool === CONT TestAccEC2Subnet_availabilityZoneID === CONT TestAccEC2Subnet_DefaultTags_providerOnly === CONT TestAccEC2Subnet_tags === CONT TestAccEC2Subnet_enableIPv6 === CONT TestAccEC2Subnet_outpost acctest.go:1254: skipping since no Outposts found --- SKIP: TestAccEC2Subnet_outpost (1.59s) === CONT TestAccEC2Subnet_customerOwnedIPv4Pool acctest.go:1254: skipping since no Outposts found --- SKIP: TestAccEC2Subnet_customerOwnedIPv4Pool (1.62s) === CONT TestAccEC2Subnet_mapCustomerOwnedIPOnLaunch acctest.go:1254: skipping since no Outposts found --- SKIP: TestAccEC2Subnet_mapCustomerOwnedIPOnLaunch (1.68s) --- PASS: TestAccEC2Subnet_DefaultTagsProviderAndResource_duplicateTag (6.17s) --- PASS: TestAccEC2Subnet_disappears (43.34s) --- PASS: TestAccEC2Subnet_basic (48.42s) --- PASS: TestAccEC2Subnet_availabilityZoneID (48.45s) --- PASS: TestAccEC2Subnet_DefaultTags_updateToResourceOnly (67.18s) --- PASS: TestAccEC2Subnet_DefaultTags_updateToProviderOnly (68.57s) --- PASS: TestAccEC2Subnet_ignoreTags (79.65s) --- PASS: TestAccEC2Subnet_defaultAndIgnoreTags (82.49s) --- PASS: TestAccEC2Subnet_updateTagsKnownAtApply (84.98s) --- PASS: TestAccEC2Subnet_DefaultTagsProviderAndResource_nonOverlappingTag (87.77s) --- PASS: TestAccEC2Subnet_DefaultTagsProviderAndResource_overlappingTag (88.85s) --- PASS: TestAccEC2Subnet_DefaultTags_providerOnly (89.11s) --- PASS: TestAccEC2Subnet_tags (90.93s) --- PASS: TestAccEC2Subnet_ipv6 (94.52s) --- PASS: TestAccEC2Subnet_enableIPv6 (96.98s) --- PASS: TestAccEC2Subnet_mapPublicIPOnLaunch (115.57s) --- PASS: TestAccEC2Subnet_enableDNS64 (119.49s) PASS ok github.com/hashicorp/terraform-provider-aws/internal/service/ec2 123.259s
Acceptance test output: % make testacc PKG=ec2 TESTS=TestAccEC2SubnetDataSource_ ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./internal/service/ec2/... -v -count 1 -parallel 20 -run='TestAccEC2SubnetDataSource_' -timeout 180m === RUN TestAccEC2SubnetDataSource_basic === PAUSE TestAccEC2SubnetDataSource_basic === RUN TestAccEC2SubnetDataSource_ipv6ByIPv6Filter === PAUSE TestAccEC2SubnetDataSource_ipv6ByIPv6Filter === RUN TestAccEC2SubnetDataSource_ipv6ByIPv6CIDRBlock === PAUSE TestAccEC2SubnetDataSource_ipv6ByIPv6CIDRBlock === CONT TestAccEC2SubnetDataSource_basic === CONT TestAccEC2SubnetDataSource_ipv6ByIPv6CIDRBlock === CONT TestAccEC2SubnetDataSource_ipv6ByIPv6Filter --- PASS: TestAccEC2SubnetDataSource_basic (27.79s) --- PASS: TestAccEC2SubnetDataSource_ipv6ByIPv6Filter (45.22s) --- PASS: TestAccEC2SubnetDataSource_ipv6ByIPv6CIDRBlock (45.34s) PASS ok github.com/hashicorp/terraform-provider-aws/internal/service/ec2 49.526s
…enable_resource_name_dns_a_record_on_launch' and 'private_dns_hostname_type_on_launch' arguments. Acceptance test output: % make testacc PKG=ec2 TESTS=TestAccEC2Subnet_ ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./internal/service/ec2/... -v -count 1 -parallel 20 -run='TestAccEC2Subnet_' -timeout 180m === RUN TestAccEC2Subnet_basic === PAUSE TestAccEC2Subnet_basic === RUN TestAccEC2Subnet_tags === PAUSE TestAccEC2Subnet_tags === RUN TestAccEC2Subnet_DefaultTags_providerOnly === PAUSE TestAccEC2Subnet_DefaultTags_providerOnly === RUN TestAccEC2Subnet_DefaultTags_updateToProviderOnly === PAUSE TestAccEC2Subnet_DefaultTags_updateToProviderOnly === RUN TestAccEC2Subnet_DefaultTags_updateToResourceOnly === PAUSE TestAccEC2Subnet_DefaultTags_updateToResourceOnly === RUN TestAccEC2Subnet_DefaultTagsProviderAndResource_nonOverlappingTag === PAUSE TestAccEC2Subnet_DefaultTagsProviderAndResource_nonOverlappingTag === RUN TestAccEC2Subnet_DefaultTagsProviderAndResource_overlappingTag === PAUSE TestAccEC2Subnet_DefaultTagsProviderAndResource_overlappingTag === RUN TestAccEC2Subnet_DefaultTagsProviderAndResource_duplicateTag === PAUSE TestAccEC2Subnet_DefaultTagsProviderAndResource_duplicateTag === RUN TestAccEC2Subnet_defaultAndIgnoreTags === PAUSE TestAccEC2Subnet_defaultAndIgnoreTags === RUN TestAccEC2Subnet_updateTagsKnownAtApply === PAUSE TestAccEC2Subnet_updateTagsKnownAtApply === RUN TestAccEC2Subnet_ignoreTags === PAUSE TestAccEC2Subnet_ignoreTags === RUN TestAccEC2Subnet_ipv6 === PAUSE TestAccEC2Subnet_ipv6 === RUN TestAccEC2Subnet_enableIPv6 === PAUSE TestAccEC2Subnet_enableIPv6 === RUN TestAccEC2Subnet_availabilityZoneID === PAUSE TestAccEC2Subnet_availabilityZoneID === RUN TestAccEC2Subnet_disappears === PAUSE TestAccEC2Subnet_disappears === RUN TestAccEC2Subnet_customerOwnedIPv4Pool === PAUSE TestAccEC2Subnet_customerOwnedIPv4Pool === RUN TestAccEC2Subnet_mapCustomerOwnedIPOnLaunch === PAUSE TestAccEC2Subnet_mapCustomerOwnedIPOnLaunch === RUN TestAccEC2Subnet_mapPublicIPOnLaunch === PAUSE TestAccEC2Subnet_mapPublicIPOnLaunch === RUN TestAccEC2Subnet_outpost === PAUSE TestAccEC2Subnet_outpost === RUN TestAccEC2Subnet_enableDNS64 === PAUSE TestAccEC2Subnet_enableDNS64 === RUN TestAccEC2Subnet_privateDnsNameOptionsOnLaunch === PAUSE TestAccEC2Subnet_privateDnsNameOptionsOnLaunch === CONT TestAccEC2Subnet_basic === CONT TestAccEC2Subnet_ipv6 === CONT TestAccEC2Subnet_DefaultTags_updateToResourceOnly === CONT TestAccEC2Subnet_DefaultTagsProviderAndResource_overlappingTag === CONT TestAccEC2Subnet_ignoreTags === CONT TestAccEC2Subnet_updateTagsKnownAtApply === CONT TestAccEC2Subnet_defaultAndIgnoreTags === CONT TestAccEC2Subnet_DefaultTags_updateToProviderOnly === CONT TestAccEC2Subnet_mapCustomerOwnedIPOnLaunch === CONT TestAccEC2Subnet_customerOwnedIPv4Pool === CONT TestAccEC2Subnet_disappears === CONT TestAccEC2Subnet_availabilityZoneID === CONT TestAccEC2Subnet_mapPublicIPOnLaunch === CONT TestAccEC2Subnet_enableDNS64 === CONT TestAccEC2Subnet_DefaultTagsProviderAndResource_duplicateTag === CONT TestAccEC2Subnet_DefaultTagsProviderAndResource_nonOverlappingTag === CONT TestAccEC2Subnet_enableIPv6 === CONT TestAccEC2Subnet_outpost === CONT TestAccEC2Subnet_DefaultTags_providerOnly === CONT TestAccEC2Subnet_tags === CONT TestAccEC2Subnet_customerOwnedIPv4Pool acctest.go:1254: skipping since no Outposts found --- SKIP: TestAccEC2Subnet_customerOwnedIPv4Pool (1.74s) === CONT TestAccEC2Subnet_privateDnsNameOptionsOnLaunch === CONT TestAccEC2Subnet_outpost acctest.go:1254: skipping since no Outposts found --- SKIP: TestAccEC2Subnet_outpost (1.74s) === CONT TestAccEC2Subnet_mapCustomerOwnedIPOnLaunch acctest.go:1254: skipping since no Outposts found --- SKIP: TestAccEC2Subnet_mapCustomerOwnedIPOnLaunch (1.74s) --- PASS: TestAccEC2Subnet_DefaultTagsProviderAndResource_duplicateTag (6.18s) --- PASS: TestAccEC2Subnet_disappears (41.57s) --- PASS: TestAccEC2Subnet_availabilityZoneID (46.97s) --- PASS: TestAccEC2Subnet_basic (47.07s) --- PASS: TestAccEC2Subnet_DefaultTags_updateToProviderOnly (67.21s) --- PASS: TestAccEC2Subnet_DefaultTags_updateToResourceOnly (74.46s) --- PASS: TestAccEC2Subnet_ignoreTags (83.13s) --- PASS: TestAccEC2Subnet_defaultAndIgnoreTags (83.56s) --- PASS: TestAccEC2Subnet_updateTagsKnownAtApply (84.71s) --- PASS: TestAccEC2Subnet_DefaultTagsProviderAndResource_nonOverlappingTag (91.13s) --- PASS: TestAccEC2Subnet_DefaultTagsProviderAndResource_overlappingTag (91.29s) --- PASS: TestAccEC2Subnet_tags (94.37s) --- PASS: TestAccEC2Subnet_DefaultTags_providerOnly (95.25s) --- PASS: TestAccEC2Subnet_enableIPv6 (96.52s) --- PASS: TestAccEC2Subnet_ipv6 (98.29s) --- PASS: TestAccEC2Subnet_enableDNS64 (120.47s) --- PASS: TestAccEC2Subnet_mapPublicIPOnLaunch (120.47s) --- PASS: TestAccEC2Subnet_privateDnsNameOptionsOnLaunch (136.19s) PASS ok github.com/hashicorp/terraform-provider-aws/internal/service/ec2 141.719s
…enable_resource_name_dns_a_record_on_launch' and 'private_dns_hostname_type_on_launch' attributes. Acceptance test output: % make testacc PKG_NAME=internal/service/ec2 TESTARGS='-run=TestAccEC2SubnetIDsDataSource_\|TestAccEC2SubnetsDataSource_\|TestAccEC2SubnetDataSource_' ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./internal/service/ec2/... -v -count 1 -parallel 20 -run=TestAccEC2SubnetIDsDataSource_\|TestAccEC2SubnetsDataSource_\|TestAccEC2SubnetDataSource_ -timeout 180m === RUN TestAccEC2SubnetDataSource_basic === PAUSE TestAccEC2SubnetDataSource_basic === RUN TestAccEC2SubnetDataSource_ipv6ByIPv6Filter === PAUSE TestAccEC2SubnetDataSource_ipv6ByIPv6Filter === RUN TestAccEC2SubnetDataSource_ipv6ByIPv6CIDRBlock === PAUSE TestAccEC2SubnetDataSource_ipv6ByIPv6CIDRBlock === RUN TestAccEC2SubnetIDsDataSource_basic === PAUSE TestAccEC2SubnetIDsDataSource_basic === RUN TestAccEC2SubnetIDsDataSource_filter === PAUSE TestAccEC2SubnetIDsDataSource_filter === RUN TestAccEC2SubnetsDataSource_basic === PAUSE TestAccEC2SubnetsDataSource_basic === RUN TestAccEC2SubnetsDataSource_filter === PAUSE TestAccEC2SubnetsDataSource_filter === CONT TestAccEC2SubnetDataSource_basic === CONT TestAccEC2SubnetIDsDataSource_filter === CONT TestAccEC2SubnetDataSource_ipv6ByIPv6CIDRBlock === CONT TestAccEC2SubnetsDataSource_filter === CONT TestAccEC2SubnetDataSource_ipv6ByIPv6Filter === CONT TestAccEC2SubnetIDsDataSource_basic === CONT TestAccEC2SubnetsDataSource_basic --- PASS: TestAccEC2SubnetDataSource_basic (30.40s) --- PASS: TestAccEC2SubnetIDsDataSource_filter (30.47s) --- PASS: TestAccEC2SubnetsDataSource_filter (31.83s) --- PASS: TestAccEC2SubnetsDataSource_basic (45.73s) --- PASS: TestAccEC2SubnetIDsDataSource_basic (47.15s) --- PASS: TestAccEC2SubnetDataSource_ipv6ByIPv6Filter (48.22s) --- PASS: TestAccEC2SubnetDataSource_ipv6ByIPv6CIDRBlock (48.48s) PASS ok github.com/hashicorp/terraform-provider-aws/internal/service/ec2 52.212s
enable_dns64
attributeAcceptance test output: % make testacc PKG=ec2 TESTS=TestAccEC2Subnet_ ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./internal/service/ec2/... -v -count 1 -parallel 20 -run='TestAccEC2Subnet_' -timeout 180m === RUN TestAccEC2Subnet_basic === PAUSE TestAccEC2Subnet_basic === RUN TestAccEC2Subnet_tags === PAUSE TestAccEC2Subnet_tags === RUN TestAccEC2Subnet_DefaultTags_providerOnly === PAUSE TestAccEC2Subnet_DefaultTags_providerOnly === RUN TestAccEC2Subnet_DefaultTags_updateToProviderOnly === PAUSE TestAccEC2Subnet_DefaultTags_updateToProviderOnly === RUN TestAccEC2Subnet_DefaultTags_updateToResourceOnly === PAUSE TestAccEC2Subnet_DefaultTags_updateToResourceOnly === RUN TestAccEC2Subnet_DefaultTagsProviderAndResource_nonOverlappingTag === PAUSE TestAccEC2Subnet_DefaultTagsProviderAndResource_nonOverlappingTag === RUN TestAccEC2Subnet_DefaultTagsProviderAndResource_overlappingTag === PAUSE TestAccEC2Subnet_DefaultTagsProviderAndResource_overlappingTag === RUN TestAccEC2Subnet_DefaultTagsProviderAndResource_duplicateTag === PAUSE TestAccEC2Subnet_DefaultTagsProviderAndResource_duplicateTag === RUN TestAccEC2Subnet_defaultAndIgnoreTags === PAUSE TestAccEC2Subnet_defaultAndIgnoreTags === RUN TestAccEC2Subnet_updateTagsKnownAtApply === PAUSE TestAccEC2Subnet_updateTagsKnownAtApply === RUN TestAccEC2Subnet_ignoreTags === PAUSE TestAccEC2Subnet_ignoreTags === RUN TestAccEC2Subnet_ipv6 === PAUSE TestAccEC2Subnet_ipv6 === RUN TestAccEC2Subnet_enableIPv6 === PAUSE TestAccEC2Subnet_enableIPv6 === RUN TestAccEC2Subnet_availabilityZoneID === PAUSE TestAccEC2Subnet_availabilityZoneID === RUN TestAccEC2Subnet_disappears === PAUSE TestAccEC2Subnet_disappears === RUN TestAccEC2Subnet_customerOwnedIPv4Pool === PAUSE TestAccEC2Subnet_customerOwnedIPv4Pool === RUN TestAccEC2Subnet_mapCustomerOwnedIPOnLaunch === PAUSE TestAccEC2Subnet_mapCustomerOwnedIPOnLaunch === RUN TestAccEC2Subnet_mapPublicIPOnLaunch === PAUSE TestAccEC2Subnet_mapPublicIPOnLaunch === RUN TestAccEC2Subnet_outpost === PAUSE TestAccEC2Subnet_outpost === RUN TestAccEC2Subnet_enableDNS64 === PAUSE TestAccEC2Subnet_enableDNS64 === RUN TestAccEC2Subnet_privateDnsNameOptionsOnLaunch === PAUSE TestAccEC2Subnet_privateDnsNameOptionsOnLaunch === RUN TestAccEC2Subnet_ipv6Native === PAUSE TestAccEC2Subnet_ipv6Native === CONT TestAccEC2Subnet_basic === CONT TestAccEC2Subnet_DefaultTagsProviderAndResource_overlappingTag === CONT TestAccEC2Subnet_enableIPv6 === CONT TestAccEC2Subnet_DefaultTags_updateToProviderOnly === CONT TestAccEC2Subnet_DefaultTagsProviderAndResource_nonOverlappingTag === CONT TestAccEC2Subnet_DefaultTags_providerOnly === CONT TestAccEC2Subnet_ipv6Native === CONT TestAccEC2Subnet_DefaultTags_updateToResourceOnly === CONT TestAccEC2Subnet_privateDnsNameOptionsOnLaunch === CONT TestAccEC2Subnet_customerOwnedIPv4Pool === CONT TestAccEC2Subnet_mapCustomerOwnedIPOnLaunch === CONT TestAccEC2Subnet_disappears === CONT TestAccEC2Subnet_enableDNS64 === CONT TestAccEC2Subnet_outpost === CONT TestAccEC2Subnet_tags === CONT TestAccEC2Subnet_updateTagsKnownAtApply === CONT TestAccEC2Subnet_availabilityZoneID === CONT TestAccEC2Subnet_mapPublicIPOnLaunch === CONT TestAccEC2Subnet_ipv6 === CONT TestAccEC2Subnet_ignoreTags === CONT TestAccEC2Subnet_outpost acctest.go:1254: skipping since no Outposts found --- SKIP: TestAccEC2Subnet_outpost (1.73s) === CONT TestAccEC2Subnet_defaultAndIgnoreTags === CONT TestAccEC2Subnet_mapCustomerOwnedIPOnLaunch acctest.go:1254: skipping since no Outposts found --- SKIP: TestAccEC2Subnet_mapCustomerOwnedIPOnLaunch (1.73s) === CONT TestAccEC2Subnet_DefaultTagsProviderAndResource_duplicateTag === CONT TestAccEC2Subnet_customerOwnedIPv4Pool acctest.go:1254: skipping since no Outposts found --- SKIP: TestAccEC2Subnet_customerOwnedIPv4Pool (1.86s) --- PASS: TestAccEC2Subnet_DefaultTagsProviderAndResource_duplicateTag (4.54s) --- PASS: TestAccEC2Subnet_disappears (41.56s) --- PASS: TestAccEC2Subnet_basic (46.30s) --- PASS: TestAccEC2Subnet_availabilityZoneID (46.75s) --- PASS: TestAccEC2Subnet_ipv6Native (60.82s) --- PASS: TestAccEC2Subnet_DefaultTags_updateToResourceOnly (69.42s) --- PASS: TestAccEC2Subnet_DefaultTags_updateToProviderOnly (70.31s) --- PASS: TestAccEC2Subnet_ignoreTags (82.79s) --- PASS: TestAccEC2Subnet_defaultAndIgnoreTags (83.09s) --- PASS: TestAccEC2Subnet_DefaultTagsProviderAndResource_nonOverlappingTag (85.54s) --- PASS: TestAccEC2Subnet_updateTagsKnownAtApply (88.14s) --- PASS: TestAccEC2Subnet_DefaultTags_providerOnly (88.46s) --- PASS: TestAccEC2Subnet_tags (90.63s) --- PASS: TestAccEC2Subnet_DefaultTagsProviderAndResource_overlappingTag (92.69s) --- PASS: TestAccEC2Subnet_enableIPv6 (95.35s) --- PASS: TestAccEC2Subnet_ipv6 (95.40s) --- PASS: TestAccEC2Subnet_enableDNS64 (120.57s) --- PASS: TestAccEC2Subnet_mapPublicIPOnLaunch (121.00s) --- PASS: TestAccEC2Subnet_privateDnsNameOptionsOnLaunch (135.61s) PASS ok github.com/hashicorp/terraform-provider-aws/internal/service/ec2 139.400s
Acceptance test output: % make testacc PKG=ec2 TESTS=TestAccEC2SubnetDataSource_ ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./internal/service/ec2/... -v -count 1 -parallel 20 -run='TestAccEC2SubnetDataSource_' -timeout 180m === RUN TestAccEC2SubnetDataSource_basic === PAUSE TestAccEC2SubnetDataSource_basic === RUN TestAccEC2SubnetDataSource_ipv6ByIPv6Filter === PAUSE TestAccEC2SubnetDataSource_ipv6ByIPv6Filter === RUN TestAccEC2SubnetDataSource_ipv6ByIPv6CIDRBlock === PAUSE TestAccEC2SubnetDataSource_ipv6ByIPv6CIDRBlock === CONT TestAccEC2SubnetDataSource_basic === CONT TestAccEC2SubnetDataSource_ipv6ByIPv6CIDRBlock === CONT TestAccEC2SubnetDataSource_ipv6ByIPv6Filter --- PASS: TestAccEC2SubnetDataSource_basic (30.20s) --- PASS: TestAccEC2SubnetDataSource_ipv6ByIPv6Filter (46.63s) --- PASS: TestAccEC2SubnetDataSource_ipv6ByIPv6CIDRBlock (46.91s) PASS ok github.com/hashicorp/terraform-provider-aws/internal/service/ec2 52.138s
8d06d54
to
cf999f2
Compare
This functionality has been released in v3.71.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! |
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. |
Community Note
Closes #21791.
Closes #22316.
Adds:
enable_dns64
boolean argument in support of DNS64ipv6_native
boolean argument in support of IPv6-only subnetsenable_resource_name_dns_aaaa_record_on_launch
andenable_resource_name_dns_a_record_on_launch
boolean arguments andprivate_dns_hostname_type_on_launch
string argument in support of Resource-based Names for EC2 instancesto the
aws_subnet
resource and equivalent attributes to theaws_subnet
data source.Output from acceptance testing:
Commercial
GovCloud