From c58edfc71fa61fb4bcb45de50f7271241655a341 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Federico=20M=C3=A1rquez=20C=C3=B3rdova?= Date: Wed, 9 Oct 2019 13:18:59 -0500 Subject: [PATCH 1/6] output host removed --- outputs.tf | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/outputs.tf b/outputs.tf index 740c81c..1bce07d 100644 --- a/outputs.tf +++ b/outputs.tf @@ -13,7 +13,8 @@ output "port" { description = "Redis port" } -output "host" { + +/*output "host" { value = coalesce( module.dns.hostname, join( @@ -23,3 +24,5 @@ output "host" { ) description = "Redis host" } + +*/ From 1fd8d000983f917db9b03bf9065e7b2890d0a1e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Federico=20M=C3=A1rquez=20C=C3=B3rdova?= Date: Thu, 10 Oct 2019 18:19:27 -0500 Subject: [PATCH 2/6] route53 now is the namespace --- main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.tf b/main.tf index bff8159..ef56d98 100644 --- a/main.tf +++ b/main.tf @@ -133,7 +133,7 @@ resource "aws_cloudwatch_metric_alarm" "cache_memory" { module "dns" { source = "git::https://github.com/cloudposse/terraform-aws-route53-cluster-hostname.git?ref=tags/0.3.0" enabled = var.enabled && var.zone_id != "" ? true : false - name = var.name + name = var.namespace ttl = 60 zone_id = var.zone_id records = [join("", aws_elasticache_replication_group.default.*.primary_endpoint_address)] From 599367749da5cd517b9aac3abdd1d7815d29851d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Federico=20M=C3=A1rquez=20C=C3=B3rdova?= Date: Fri, 11 Oct 2019 20:34:38 -0500 Subject: [PATCH 3/6] se agrega yml file --- outputs.tf | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/outputs.tf b/outputs.tf index 1bce07d..6f9febc 100644 --- a/outputs.tf +++ b/outputs.tf @@ -14,7 +14,7 @@ output "port" { } -/*output "host" { +output "host" { value = coalesce( module.dns.hostname, join( @@ -24,5 +24,3 @@ output "port" { ) description = "Redis host" } - -*/ From 12ed821e767a51fe359f8fa0df419910642ca3fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Federico=20M=C3=A1rquez=20C=C3=B3rdova?= Date: Sun, 13 Oct 2019 02:18:36 -0500 Subject: [PATCH 4/6] dns name changed --- main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.tf b/main.tf index ef56d98..f831fb2 100644 --- a/main.tf +++ b/main.tf @@ -133,7 +133,7 @@ resource "aws_cloudwatch_metric_alarm" "cache_memory" { module "dns" { source = "git::https://github.com/cloudposse/terraform-aws-route53-cluster-hostname.git?ref=tags/0.3.0" enabled = var.enabled && var.zone_id != "" ? true : false - name = var.namespace + name = "${var.namespace}-${var.name}" ttl = 60 zone_id = var.zone_id records = [join("", aws_elasticache_replication_group.default.*.primary_endpoint_address)] From c2fc2e97ec65b35d71a46465712bb6e1d18141e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Federico=20M=C3=A1rquez=20C=C3=B3rdova?= Date: Wed, 16 Oct 2019 14:24:50 -0500 Subject: [PATCH 5/6] transit encryption disabled --- main.tf | 2 +- variables.tf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/main.tf b/main.tf index f831fb2..35d64ed 100644 --- a/main.tf +++ b/main.tf @@ -61,7 +61,7 @@ resource "aws_elasticache_parameter_group" "default" { resource "aws_elasticache_replication_group" "default" { count = var.enabled ? 1 : 0 - auth_token = var.auth_token + #auth_token = var.auth_token replication_group_id = var.replication_group_id == "" ? module.label.id : var.replication_group_id replication_group_description = module.label.id node_type = var.instance_type diff --git a/variables.tf b/variables.tf index 76b65de..faf1113 100644 --- a/variables.tf +++ b/variables.tf @@ -97,7 +97,7 @@ variable "at_rest_encryption_enabled" { variable "transit_encryption_enabled" { type = bool - default = true + default = false description = "Enable TLS" } From 53d7607594a972bc1a5f4d9b7b79350001f06265 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fede=20C=C3=B3rdova?= Date: Tue, 2 Feb 2021 04:29:12 -0600 Subject: [PATCH 6/6] Update versions.tf --- versions.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/versions.tf b/versions.tf index 4c7776f..09010bc 100644 --- a/versions.tf +++ b/versions.tf @@ -1,5 +1,5 @@ terraform { - required_version = "~> 0.12.0" + required_version = "~> 0.13.0" required_providers { aws = "~> 2.0"