Skip to content

Commit

Permalink
add short_description
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Jun 21, 2021
1 parent ee92799 commit cd59c12
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
7 changes: 3 additions & 4 deletions rds-oracle/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,9 @@
*/

resource "aws_security_group" "this_security_group" {
name = local.name
description = local.description
short_description = var.short_description == "" ? var.description : var.short_description
vpc_id = var.vpc_id
name = local.name
description = local.description
vpc_id = var.vpc_id

# portlist
dynamic "ingress" {
Expand Down
5 changes: 3 additions & 2 deletions rds-oracle/ports.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
locals {
description = var.description
name = var.name
description = var.description
short_description = var.short_description == "" ? var.description : var.short_description
name = var.name
ports = [
[1521, 1521, "tcp", "oracle-db", []],
[1570, 1571, "tcp", "oracle-db", []],
Expand Down

0 comments on commit cd59c12

Please sign in to comment.