Last active
December 2, 2021 07:05
-
-
Save michaelact/a1679dd370e9dd699649470ce49e3538 to your computer and use it in GitHub Desktop.
Public ...
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | |
} | |
] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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