FEATURES PRICING ABOUT DOCS LOGIN

aws_elasticache_security_group

Provides an ElastiCache Security Group to control access to one or more cache clusters.

~> NOTE: ElastiCache Security Groups are for use only when working with an ElastiCache cluster outside of a VPC. If you are using a VPC, see the ElastiCache Subnet Group resource.

Example Usage

resource "aws_security_group" "bar" {
    name = "security-group"
}

resource "aws_elasticache_security_group" "bar" {
    name = "elasticache-security-group"
    security_group_names = ["${aws_security_group.bar.name}"]
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:


See the source of this document at Terraform.io

REQUEST A DEMO