diff --git a/.ebextensions/07-custom-vpc.config b/.ebextensions/07-custom-vpc.config index c67e2b0..9a05651 100644 --- a/.ebextensions/07-custom-vpc.config +++ b/.ebextensions/07-custom-vpc.config @@ -6,7 +6,7 @@ option_settings: # DBSubnets: "subnet-0b17872a2b9315fad,subnet-0342e8a0a77b30e23,subnet-0eacb84d238279a58" # ELBSubnets: "subnet-0b17872a2b9315fad,subnet-0342e8a0a77b30e23,subnet-0eacb84d238279a58" aws:autoscaling:launchconfiguration: - SecurityGroups: sg-087f33381c535528b + SecurityGroups: "sg-087f33381c535528b" # aws:elbv2:loadbalancer: # ManagedSecurityGroup: sg-0e6f91df2ed07050a # SecurityGroups: sg-0e6f91df2ed07050a diff --git a/infrastructure/outputs.tf b/infrastructure/outputs.tf index 2f8f63e..4bdae30 100644 --- a/infrastructure/outputs.tf +++ b/infrastructure/outputs.tf @@ -11,9 +11,14 @@ output "aws_security_group_ec2_security_group" { 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 + value = module.rds_instance.instance_endpoint description = "Endpoint of the RDS instance." }