Skip to content

Commit

Permalink
Fix parameter gropu declared twice
Browse files Browse the repository at this point in the history
  • Loading branch information
osaluden committed Dec 22, 2020
1 parent 5eebc24 commit d929242
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,6 @@ resource "flexibleengine_rds_parametergroup_v3" "parametergroup" {
version = var.db_version
}
}
resource "flexibleengine_rds_parametergroup_v3" "parametergroup" {
count = length(var.rds_parametergroup_values) > 0 ? 1 : 0
name = "parametergroup-${var.rds_instance_name}"
description = "RDS Parameter Group"
values = var.rds_parametergroup_values
datastore {
type = var.db_type
version = var.db_version
}
}
resource "flexibleengine_rds_instance_v3" "instance" {
availability_zone = var.rds_instance_az
db {
Expand Down

0 comments on commit d929242

Please sign in to comment.