Skip to content

Commit e88714e

Browse files
authored
fix: conditionally update random_id (#38)
1 parent 7af8bb0 commit e88714e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

main.tf

+3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ data "aws_vpc" "vpc" {
44

55
resource "random_id" "salt" {
66
byte_length = 8
7+
keepers = {
8+
redis_version = var.redis_version
9+
}
710
}
811

912
resource "aws_elasticache_replication_group" "redis" {

0 commit comments

Comments
 (0)