Skip to content

Commit

Permalink
Revert "DDLS-408 add dynamodb kms key part 1 of 2 (#1737)" (#1743)
Browse files Browse the repository at this point in the history
This reverts commit 1aabf70.
  • Loading branch information
jamesrwarren authored Nov 25, 2024
1 parent 1aabf70 commit 1f50f3c
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions terraform/account/region/elasticache.tf
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,9 @@ resource "aws_elasticache_replication_group" "cache_api" {
}

resource "aws_security_group" "cache_api_sg" {
name = "${var.account.name}-account-cache-api"
vpc_id = aws_vpc.main.id
tags = merge(var.default_tags, { Name = "${var.account.name}-account-cache--api" })
description = "cache api - ${var.account.name}"
name = "${var.account.name}-account-cache-api"
vpc_id = aws_vpc.main.id
tags = merge(var.default_tags, { Name = "${var.account.name}-account-cache--api" })

lifecycle {
create_before_destroy = true
Expand Down Expand Up @@ -64,10 +63,9 @@ resource "aws_elasticache_replication_group" "front_api" {
}

resource "aws_security_group" "cache_front_sg" {
name = "${var.account.name}-account-cache-frontend"
vpc_id = aws_vpc.main.id
description = "cache front - ${var.account.name}"
tags = merge(var.default_tags, { Name = "${var.account.name}-account-cache-frontend" })
name = "${var.account.name}-account-cache-frontend"
vpc_id = aws_vpc.main.id
tags = merge(var.default_tags, { Name = "${var.account.name}-account-cache-frontend" })

lifecycle {
create_before_destroy = true
Expand Down

0 comments on commit 1f50f3c

Please sign in to comment.