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

[Enhancement]: Support for CloudFront VPC Origins #40234

Open rymancl opened 1 day ago

rymancl commented 1 day ago

Description

Amazon CloudFront announces Virtual Private Cloud (VPC) origins, a new feature that allows customers to use CloudFront to deliver content from applications hosted in VPC private subnets.

This will need a new resource/data source as well as an update to the CF distribution resource/data source.

Affected Resource(s) and/or Data Source(s)

Potential Terraform Configuration

No response

References

https://pkg.go.dev/github.com/aws/aws-sdk-go-v2/service/cloudfront#Client.CreateVpcOrigin https://pkg.go.dev/github.com/aws/aws-sdk-go-v2/service/cloudfront#Client.DeleteVpcOrigin https://pkg.go.dev/github.com/aws/aws-sdk-go-v2/service/cloudfront#Client.GetVpcOrigin https://pkg.go.dev/github.com/aws/aws-sdk-go-v2/service/cloudfront#Client.ListVpcOrigins https://pkg.go.dev/github.com/aws/aws-sdk-go-v2/service/cloudfront#Client.UpdateVpcOrigin

Would you like to implement a fix?

No

github-actions[bot] commented 1 day ago

Community Note

Voting for Prioritization

Volunteering to Work on This Issue

itsnicksia commented 1 day ago

I'd like to take on this one.

itsnicksia commented 1 day ago

Working on the aws_cloudfront_vpc_origin resource in this draft PR: https://github.com/hashicorp/terraform-provider-aws/pull/40239

I will create a separate PR for a new resource it depends on, aws_cloudfront_vpc_origin_endpoint_config.