Commit d07f41dc authored by Felipe Martin's avatar Felipe Martin

Cleaned duplicated attributes & variables

parent 310a0803
......@@ -65,7 +65,5 @@ module "db_instance" {
backup_retention_period = "${var.backup_retention_period}"
backup_window = "${var.backup_window}"
storage_encrypted = "${var.encrypted}"
tags = "${var.tags}"
}
......@@ -36,7 +36,5 @@ resource "aws_db_instance" "this" {
backup_retention_period = "${var.backup_retention_period}"
backup_window = "${var.backup_window}"
storage_encrypted = "${var.storage_encrypted}"
tags = "${merge(var.tags, map("Name", format("%s", var.identifier)))}"
}
......@@ -126,8 +126,3 @@ variable "tags" {
description = "A mapping of tags to assign to all resources"
default = {}
}
variable "storage_encrypted" {
description = "Defines if the storage should be encrypted or not"
default = false
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment