Skip to content

Commit

Permalink
Remove duplicate vpc_security_group_ids (#3)
Browse files Browse the repository at this point in the history
* Remove duplicate attribute

* Remove `Aurora` since the cluster could be for regular RDS as well
  • Loading branch information
aknysh authored Aug 23, 2017
1 parent abfbf21 commit cf80646
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,6 @@ resource "aws_rds_cluster" "default" {

db_subnet_group_name = "${aws_db_subnet_group.default.name}"

vpc_security_group_ids = [
"${aws_security_group.default.id}",
]

tags = {
Name = "${module.label.id}"
Namespace = "${var.namespace}"
Expand All @@ -77,7 +73,7 @@ resource "aws_rds_cluster_instance" "default" {

resource "aws_db_subnet_group" "default" {
name = "${module.label.id}"
description = "Allowed subnets for Aurora DB cluster instances"
description = "Allowed subnets for DB cluster instances"
subnet_ids = ["${var.subnets}"]
}

Expand Down

0 comments on commit cf80646

Please sign in to comment.