Skip to content

Commit

Permalink
Merge pull request #370 from recognizegroup/feature/configurable-manu…
Browse files Browse the repository at this point in the history
…al-connection

Make is_manual_connection parameter configurable
  • Loading branch information
tom-reinders authored Oct 16, 2023
2 parents 5d92d8e + 980d2ca commit 4beba69
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion modules/azure/private_endpoint/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ resource "azurerm_private_endpoint" "private_endpoint" {
name = var.private_connection_name
private_connection_resource_id = var.private_connection_resource_id
subresource_names = var.private_connection_subresource_names
is_manual_connection = false
is_manual_connection = var.is_manual_connection
}

private_dns_zone_group {
Expand Down
5 changes: 5 additions & 0 deletions modules/azure/private_endpoint/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ variable "private_connection_subresource_names" {
description = "The subresource names of the resource where the connection should be made to."
}

variable "is_manual_connection" {
type = bool
description = "Specifies whether the connection must be approved manually"
}

variable "subnet_id" {
type = string
description = "The Id of the subnet"
Expand Down

0 comments on commit 4beba69

Please sign in to comment.