Resource: aws_vpc_endpoint_security_group_association

Provides a resource to create an association between a VPC endpoint and a security group.

Example Usage

Basic usage:

resource "aws_vpc_endpoint_security_group_association" "sg_ec2" {
  vpc_endpoint_id   = aws_vpc_endpoint.ec2.id
  security_group_id = aws_security_group.sg.id
}

Argument Reference

This resource supports the following arguments:

Attribute Reference

This resource exports the following attributes in addition to the arguments above: