outputs.tf 549 B

123456789101112131415161718192021222324252627282930313233
  1. ## Outputs
  2. output "vpc_id" {
  3. value = module.vpc.vpc_id
  4. }
  5. output "public_subnet_id" {
  6. value = module.vpc.public_subnet_id
  7. }
  8. output "private_subnet_id" {
  9. value = module.vpc.private_subnet_id
  10. }
  11. output "alb_security_group_id" {
  12. value = module.ec2.alb_security_group_id
  13. }
  14. output "ec2_security_group_id" {
  15. value = module.ec2.ec2_security_group_id
  16. }
  17. output "alb_arn" {
  18. value = module.ec2.alb_arn
  19. }
  20. output "alb_dns_name" {
  21. value = module.ec2.alb_dns_name
  22. }
  23. output "autoscaling_group_arn" {
  24. value = module.ec2.autoscaling_group_arn
  25. }