-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- allow_public_ip must be set to true otherwise ECS cannot pull images from ECR, Docker Hub, or anywhere - Apparently my Solr container has never worked! Need to debug this - Committing this work-in-progress so people better at AWS and Terraform can provide feedback—I feel lost
- Loading branch information
1 parent
99958e5
commit 803ec37
Showing
6 changed files
with
174 additions
and
73 deletions.
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 |
---|---|---|
|
@@ -18,4 +18,3 @@ data "aws_subnets" "default" { | |
values = [data.aws_vpc.default.id] | ||
} | ||
} | ||
|
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 |
---|---|---|
@@ -1,20 +1,20 @@ | ||
output "public_ip" { | ||
description = "Public IP address of the Apache server" | ||
value = aws_instance.apache_server.public_ip | ||
} | ||
|
||
output "public_dns" { | ||
description = "Public DNS name of the Apache server" | ||
value = aws_instance.apache_server.public_dns | ||
} | ||
|
||
# Outputs | ||
# ======= | ||
# | ||
# For debugging mostly | ||
|
||
output "rds_endpoint" { | ||
description = "Endpoint of the RDS instance—internal to VPC only (informative)" | ||
value = var.enable_rds && length(aws_db_instance.mysql_db) > 0 ? aws_db_instance.mysql_db[0].address : null | ||
} | ||
|
||
|
||
output "rds_port" { | ||
description = "Port of the RDS instance—internal to VPC only (informative)" | ||
value = var.enable_rds && length(aws_db_instance.mysql_db) > 0 ? aws_db_instance.mysql_db[0].port : null | ||
} | ||
|
||
output "portal_alb_dns_name" { | ||
description = "Public DNS name of the ALB" | ||
value = aws_lb.portal_alb.dns_name | ||
} |
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