Skip to content

Commit

Permalink
Merge pull request #19 from clouddrove/6ix-tf-fix
Browse files Browse the repository at this point in the history
changed efs module for efs-sg hard code description
  • Loading branch information
Om Sharma committed Mar 31, 2023
2 parents b2d660c + 0c61373 commit e2d30d4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ resource "aws_efs_mount_target" "default" {
resource "aws_security_group" "default" {
count = var.efs_enabled ? 1 : 0
name = module.label.id
description = "EFS"
description = var.mount_target_description
vpc_id = var.vpc_id

lifecycle {
Expand Down
5 changes: 5 additions & 0 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -151,4 +151,9 @@ variable "allow_cidr" {
variable "access_point_enabled" {
type = bool
default = true
}

variable "mount_target_description" {
type = string
default = ""
}

0 comments on commit e2d30d4

Please sign in to comment.