hashicorp / terraform-provider-aws

The AWS Provider enables Terraform to manage AWS resources.
https://registry.terraform.io/providers/hashicorp/aws
Mozilla Public License 2.0
9.85k stars 9.2k forks source link

Added new resource aws_vpc_block_public_access_options #40233

Open madhavvishnubhatta opened 4 days ago

madhavvishnubhatta commented 4 days ago

Description

New resource aws_vpc_block_public_access_options to support the feature https://aws.amazon.com/about-aws/whats-new/2024/11/block-public-access-amazon-virtual-private-cloud/

Relations

Relates #40200

References

https://aws.amazon.com/about-aws/whats-new/2024/11/block-public-access-amazon-virtual-private-cloud/ https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_VpcBlockPublicAccessOptions.html

Output from Acceptance Testing

$ make testacc PKG=ec2 TESTS=TestAccVPCBlockPublicAccessOptions*
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.23.2 test ./internal/service/ec2/... -v -count 1 -parallel 20 -run='TestAccVPCBlockPublicAccessOptions*'  -timeout 360m
2024/11/21 10:47:01 Initializing Terraform AWS Provider...
=== RUN   TestAccVPCBlockPublicAccessOptions_basic
--- PASS: TestAccVPCBlockPublicAccessOptions_basic (439.56s)
=== RUN   TestAccVPCBlockPublicAccessOptions_updates
--- PASS: TestAccVPCBlockPublicAccessOptions_updates (582.60s)
PASS
ok      github.com/hashicorp/terraform-provider-aws/internal/service/ec2        1022.291s
...
github-actions[bot] commented 4 days ago

Community Note

Voting for Prioritization

For Submitters