[Enhancement]: Event Version for Lambda when creating aws_vpclattice_target_group #33786
Labels
enhancement
Requests to existing resources that expand the functionality or scope.
service/vpclattice
Issues and PRs that pertain to the vpclattice service.
Milestone
Description
When creating a VPC Lattice Target Group that points to a Lambda function, VPC Lattice now has two different versions of the event that gets sent to Lambda. There is the original one which they are now calling
v1
and now the new one which is labeledv2
.There is a new attribute when creating a Lattice Target group that specifies the event version to use.
https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/vpc-lattice/client/create_target_group.html
Specifically
lambdaEventStructureVersion
I think it should also default to
V2
since AWS is defaulting to that on new target groups when they are being created in the console.Affected Resource(s) and/or Data Source(s)
aws_vpclattice_target_group
Potential Terraform Configuration
References
https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/vpc-lattice/client/create_target_group.html
https://docs.aws.amazon.com/vpc-lattice/latest/ug/lambda-functions.html#receive-event-from-service
Would you like to implement a fix?
No
The text was updated successfully, but these errors were encountered: