Skip to contents

Get a security group with one ingress rule based on the engine

Usage

aws_vpc_sg_with_ingress(engine)

Arguments

engine

(character) The engine to use. default: "mariadb". required. one of: mariadb, mysql, postgres, or redshift

Value

(character) security group ID

Details

Adds an ingress rule specific to the engine supplied (port changes based on the engine), and your IP address. To create your own security group and ingress rules see aws_vpc_security_group_create() and aws_vpc_security_group_ingress()