Skip to content

Commit

Permalink
Merge pull request #13 from kunduso/add-elasticache
Browse files Browse the repository at this point in the history
Correct resource names
  • Loading branch information
kunduso authored Oct 17, 2023
2 parents b6f8b62 + 63473d9 commit eb148db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion elasticache.tf
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ resource "aws_secretsmanager_secret_version" "auth" {
resource "aws_elasticache_replication_group" "app4" {
automatic_failover_enabled = true
subnet_group_name = aws_elasticache_subnet_group.elasticache_subnet.name
replication_group_id = "app4-redis-cluster"
replication_group_id = "app-4-redis-cluster"
description = "ElastiCache cluster for app4"
node_type = "cache.t2.small"
parameter_group_name = "default.redis7.cluster.on"
Expand Down
2 changes: 1 addition & 1 deletion security_group.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ resource "aws_default_security_group" "default" {
vpc_id = aws_vpc.this.id
}
resource "aws_security_group" "elasticache" {
name = "app4-elasticache"
name = "app-4-elasticache"
description = "Allow inbound to and outbound access from the Amazon ElastiCache cluster."
ingress {
from_port = 6379
Expand Down

0 comments on commit eb148db

Please sign in to comment.