Skip to content

Commit

Permalink
change from Public to VPC to try more explicit connection to GCP service
Browse files Browse the repository at this point in the history
  • Loading branch information
GondekNP committed Jan 5, 2024
1 parent 0d07507 commit 3799db2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .deployment/tofu/modules/sftp/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,10 @@ resource "aws_transfer_server" "tf-sftp-burn-severity" {
identity_provider_type = "SERVICE_MANAGED"
protocols = ["SFTP"]
domain = "S3"
endpoint_type = "PUBLIC"
# endpoint_details {
# vpc_endpoint_id = aws_vpc_endpoint.sftp_endpoint.id
# }
endpoint_type = "VPC"
endpoint_details {
vpc_id = aws_vpc.sftp_vpc.id
}
logging_role = aws_iam_role.cloudwatch_logs_role.arn
}

Expand Down

0 comments on commit 3799db2

Please sign in to comment.