Provides a resource to allow a principal to discover a VPC endpoint service.
Basic usage:
data "aws_caller_identity" "current" {}
resource "aws_vpc_endpoint_service_allowed_principal" "allow_me_to_foo" {
vpc_endpoint_service_id = aws_vpc_endpoint_service.foo.id
principal_arn = data.aws_caller_identity.current.arn
}
This resource supports the following arguments:
vpc_endpoint_service_id
- (Required) The ID of the VPC endpoint service to allow permission.principal_arn
- (Required) The ARN of the principal to allow permissions.This resource exports the following attributes in addition to the arguments above:
id
- The ID of the association.