forked from xmartlabs/terraform-basic-infra
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathoutputs.tf
More file actions
35 lines (28 loc) · 706 Bytes
/
outputs.tf
File metadata and controls
35 lines (28 loc) · 706 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
output "ec2_public_ip" {
value = module.module-ec2-linux-web.public_ip
}
output "ec2_server_id" {
value = module.module-ec2-linux-web.server_id
}
output "rds_endpoint" {
description = "RDS Endpoint"
value = module.module-rds-db.rds_endpoint
}
output "s3_user_id" {
value = module.module-s3.s3_user_id
}
output "s3_user_secret" {
value = module.module-s3.s3_user_secret
sensitive = true
}
output "ec2_elastic_ip" {
description = "Elastic IP attached to the EC2 instance"
value = aws_eip.eip.*.public_ip
}
output "ecr_user_id" {
value = module.module-ecr.ecr_user_id
}
output "ecr_user_secret" {
value = module.module-ecr.ecr_user_secret
sensitive = true
}