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.73k stars 9.09k forks source link

[Docs]: AWS VPC Endpoint - incorrect value for "vpcEndpointType" argument #34064

Open kei-ichi opened 10 months ago

kei-ichi commented 10 months ago

Documentation Link

https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/vpc_endpoint?lang=typescript

Description

The correct value for vpcEndpointType are: "GatewayLoadBalancer", "Interface", and "Gateway"

But the docs for TypeScript said those value are: "gatewayLoadBalancer", "interface", "gateway" which cause the cdk to raise a error.

References

AWS CloudFormation docs: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpcendpoint.html

Terraform HCL docs: https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/vpc_endpoint

Would you like to implement a fix?

None

github-actions[bot] commented 10 months ago

Community Note

Voting for Prioritization

Volunteering to Work on This Issue