Skip to content

Commit

Permalink
Add "dms_security_group_id" output variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Francois Laupretre authored and flaupretre committed Mar 17, 2021
1 parent e8fe0fa commit ab3536d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,9 @@ output "dms_replication_subnet_group_vpc_id" {

output "dms_endpoints_arns" {
value = values(aws_dms_endpoint.dms-endpoints)[*].endpoint_arn
}
}

output "dms_security_group_id" {
value = var.dms_create_default_sg ? aws_security_group.dms-sg[0].id : ""
}

0 comments on commit ab3536d

Please sign in to comment.