Skip to content

Instantly share code, notes, and snippets.

@michaelact
Last active December 2, 2021 07:05
Show Gist options
  • Save michaelact/a1679dd370e9dd699649470ce49e3538 to your computer and use it in GitHub Desktop.
Save michaelact/a1679dd370e9dd699649470ce49e3538 to your computer and use it in GitHub Desktop.
Public ...
module "sg-elasticache" {
source = "terraform-aws-modules/security-group/aws"
name = "sg_elasticache"
description = "Guardian of ElastiCache Cluster"
vpc_id = ""
egress_rules = ["all-all"]
ingress_with_cidr_blocks = [
{
from_port = 6379
to_port = 6379
protocol = "tcp"
description = "Redis"
cidr_blocks = "0.0.0.0/0"
}
]
}
terraform {
required_providers {
aws = {
source = "hashicorp/aws"
}
}
required_version = ">= 0.13"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment