Skip to content
This repository has been archived by the owner on Jan 8, 2025. It is now read-only.

Bump up AWS & Terraform Requirements #2

Open
wants to merge 7 commits into
base: test
Choose a base branch
from

Conversation

baalajimaestro
Copy link
Member

No description provided.

map() is deprecated since terraform 0.12

Signed-off-by: baalajimaestro <me@baalajimaestro.me>
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
Terraform - 1.2 and AWS 4.0

Signed-off-by: baalajimaestro <me@baalajimaestro.me>
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
@baalajimaestro baalajimaestro reopened this Jul 7, 2022
@baalajimaestro baalajimaestro changed the base branch from master to test July 7, 2022 06:54
@@ -174,7 +174,7 @@ resource "random_password" "password" {

locals {
cluster_identifier = length(var.cluster_identifier) == 0 ? format("%s-%s-rds-cluster", var.service_name, var.environment) : var.cluster_identifier
tags = merge(var.tags, map("Name", format("%s-%s-rds-cluster", var.service_name, var.environment)))
tags = merge(var.tags, {"Name" = format("%s-%s-rds-cluster", var.service_name, var.environment)})
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We shouldn't name any kind of RDS instance as a cluster

Signed-off-by: baalajimaestro <me@baalajimaestro.me>
admin is a reserved account and cannot be used as master on rds

Signed-off-by: baalajimaestro <me@baalajimaestro.me>
Most defaults are removed, considering how they are mandatory to be filled for the db to be created

Signed-off-by: baalajimaestro <me@baalajimaestro.me>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants