-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathoutputs.tf
More file actions
30 lines (25 loc) · 932 Bytes
/
outputs.tf
File metadata and controls
30 lines (25 loc) · 932 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
output "region" {
value = data.aws_region.this.region
description = "string ||| The AWS region where the EC2 instance resides."
}
output "instance_id" {
value = aws_instance.this.id
description = "string ||| The Instance ID of the EC2 instance."
}
output "adminer" {
value = {
name = aws_iam_user.adminer.name
access_key = aws_iam_access_key.adminer.id
secret_key = aws_iam_access_key.adminer.secret
}
description = "object({ name: string, access_key: string, secret_key: string }) ||| An AWS User with explicit privilege to admin the EC2 instance."
sensitive = true
}
output "private_urls" {
value = local.private_urls
description = "list(string) ||| A list of URLs only accessible inside the network"
}
output "public_urls" {
value = local.public_urls
description = "list(string) ||| A list of URLs accessible to the public"
}