-
Notifications
You must be signed in to change notification settings - Fork 1
/
outputs.tf
48 lines (38 loc) · 971 Bytes
/
outputs.tf
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
36
37
38
39
40
41
42
43
44
45
46
47
48
output "subnet_id" {
value = var.subnet_id
}
output "security_group_id" {
value = var.security_group_id
}
output "instance_id" {
value = join("", aws_instance.this.*.id)
}
output "public_ip" {
value = join("", aws_eip.this.*.public_ip)
}
output "private_ip" {
value = join("", aws_instance.this.*.private_ip)
}
output "user_data" {
value = join("", aws_instance.this.*.user_data)
}
output "reader_aws_access_key_id" {
value = join("", aws_iam_access_key.reader.*.id)
sensitive = true
}
output "reader_aws_secret_access_key" {
value = join("", aws_iam_access_key.reader.*.secret)
sensitive = true
}
output "sync_aws_access_key_id" {
value = join("", aws_iam_access_key.sync.*.id)
sensitive = true
}
output "sync_aws_secret_access_key" {
value = join("", aws_iam_access_key.sync.*.secret)
sensitive = true
}
output "sync_bucket_uri" {
value = join("", aws_s3_bucket.sync.*.bucket_domain_name)
sensitive = true
}