From c76fa79b34479098722ce21dac68dfaf0210b63e Mon Sep 17 00:00:00 2001 From: David Salgado Date: Mon, 17 Aug 2020 16:44:26 +0100 Subject: [PATCH] Fix configmap name Underscores are not allowed here, so `rds-instance_output` causes terraform plan to fail. --- template/rds.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/template/rds.tmpl b/template/rds.tmpl index afbc60c..841877c 100644 --- a/template/rds.tmpl +++ b/template/rds.tmpl @@ -54,7 +54,7 @@ resource "kubernetes_secret" "rds" { resource "kubernetes_config_map" "rds" { metadata { - name = "rds-instance_output" + name = "rds-instance-output" namespace = var.namespace } @@ -63,4 +63,4 @@ resource "kubernetes_config_map" "rds" { db_identifier = module.rds.db_identifier } -} \ No newline at end of file +}