-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add outputs to the terraform/ configuration
Output the CyHy VPC and the two security groups that exist for use by Lambda functions deployed in the CyHy VPC. This will allow Lambda functions to have their Terraform configuration stored external to the configuration in this project but still provide the necessary information for operation within the environment.
- Loading branch information
Showing
2 changed files
with
19 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
output "cyhy_lambda_https_sg" { | ||
description = "The security group that allows HTTPS egress to anywhere for Lambda functions in the CyHy VPC." | ||
value = aws_security_group.lambda_https_sg | ||
} | ||
|
||
output "cyhy_lambda_mongodb_sg" { | ||
description = "The security group that allows ingress to the CyHy MongoDB server for Lambda functions in the CyHy VPC." | ||
value = aws_security_group.lambda_mongodb_sg | ||
} | ||
|
||
output "cyhy_vpc" { | ||
description = "The CyHy VPC." | ||
value = aws_vpc.cyhy_vpc | ||
} |