37 lines
914 B
HCL
37 lines
914 B
HCL
# S3
|
|
output "s3_static_assets_id" {
|
|
value = aws_s3_bucket.static_assets.id
|
|
description = "Name of the static assets S3 bucket."
|
|
}
|
|
|
|
# VPC
|
|
|
|
output "vpc_id" {
|
|
value = module.vpc.vpc_id
|
|
description = "The ID of the VPC."
|
|
}
|
|
|
|
output "subnet_public_ids" {
|
|
value = module.subnets.public_subnet_ids
|
|
description = "The IDs of the public subnets."
|
|
}
|
|
|
|
# Security groups
|
|
|
|
output "aws_security_group_ec2_security_group" {
|
|
value = aws_security_group.ec2_security_group.id
|
|
description = "Security group for the EC2 instances applied by the Elastic Scaler."
|
|
}
|
|
|
|
output "aws_security_group_ec2_security_group_rds" {
|
|
value = aws_security_group.rds_security_group_public.id
|
|
description = "Security group for the RDS instance allowing public access."
|
|
}
|
|
|
|
# RDS
|
|
|
|
output "rds_instance_endpoint" {
|
|
value = module.rds_instance.instance_endpoint
|
|
description = "Endpoint of the RDS instance."
|
|
}
|