Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions modules/aws_ec2_standalone/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,13 @@ output "ec2_public_ip" {
value = aws_instance.this.public_ip
description = "Public IP of EC2 Instance"
}

output "ec2_security_group_arn" {
value = aws_security_group.this.arn
description = "Security Group arn for EC2 instance"
}

output "ec2_security_group_id" {
value = aws_security_group.this.id
description = "Security Group ID for EC2 instance"
}
30 changes: 30 additions & 0 deletions modules/aws_ecs/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,16 @@ output "ecs_alb_arn" {
description = "Retool ALB arn"
}

output "ecs_alb_security_group_arn" {
value = aws_security_group.alb.arn
description = "Security Group arn for Retool ALB"
}

output "ecs_alb_security_group_id" {
value = aws_security_group.alb.id
description = "Security Group ID for Retool ALB"
}

output "ecs_cluster_name" {
value = aws_ecs_cluster.this.name
description = "Name of AWS ECS Cluster"
Expand All @@ -23,6 +33,16 @@ output "ecs_cluster_id" {
description = "ID of AWS ECS Cluster"
}

output "ecs_containers_security_group_arn" {
value = aws_security_group.containers.arn
description = "Security Group arn for Retool containers"
}

output "ecs_containers_security_group_id" {
value = aws_security_group.containers.id
description = "Security Group ID for Retool containers"
}

output "rds_instance_id" {
value = aws_db_instance.this.id
description = "ID of AWS RDS instance"
Expand All @@ -43,6 +63,16 @@ output "rds_instance_name" {
description = "Name of RDS instance"
}

output "rds_security_group_arn" {
value = aws_security_group.rds.arn
description = "Security Group arn for RDS instance"
}

output "rds_security_group_id" {
value = aws_security_group.rds.id
description = "Security Group ID for RDS instance"
}

output "target_group_arn" {
value = aws_lb_target_group.this.arn
description = "ARN for alb target group"
Expand Down
30 changes: 30 additions & 0 deletions modules/aws_ecs_ec2/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,16 @@ output "ecs_alb_arn" {
description = "Retool ALB arn"
}

output "ecs_alb_security_group_arn" {
value = aws_security_group.alb.arn
description = "Security Group arn for Retool ALB"
}

output "ecs_alb_security_group_id" {
value = aws_security_group.alb.id
description = "Security Group ID for Retool ALB"
}

output "ecs_cluster_name" {
value = aws_ecs_cluster.this.name
description = "Name of AWS ECS Cluster"
Expand All @@ -23,6 +33,16 @@ output "ecs_cluster_id" {
description = "ID of AWS ECS Cluster"
}

output "ecs_ec2_security_group_arn" {
value = aws_security_group.ec2.arn
description = "Security Group arn for Retool ec2"
}

output "ecs_ec2_security_group_id" {
value = aws_security_group.ec2.id
description = "Security Group ID for Retool ec2"
}

output "rds_instance_id" {
value = aws_db_instance.this.id
description = "ID of AWS RDS instance"
Expand All @@ -42,3 +62,13 @@ output "rds_instance_name" {
value = aws_db_instance.this.db_name
description = "Name of RDS instance"
}

output "rds_security_group_arn" {
value = aws_security_group.rds.arn
description = "Security Group arn for RDS instance"
}

output "rds_security_group_id" {
value = aws_security_group.rds.id
description = "Security Group ID for RDS instance"
}