forked from ioos/cloud-sandbox-bootstrap
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathoutputs.tf
More file actions
85 lines (75 loc) · 2.2 KB
/
outputs.tf
File metadata and controls
85 lines (75 loc) · 2.2 KB
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
output "bucket_name" {
value = aws_s3_bucket.state_bucket.bucket
}
output "bucket_arn" {
value = aws_s3_bucket.state_bucket.arn
}
output "env_vpc_id" {
value = data.aws_vpc.env_vpc.id
}
output "public_subnets" {
value = { for s in data.aws_subnet.public_subnets : s.availability_zone => {
id = s.id
cidr_block = s.cidr_block
} }
}
output "private_subnet_ids" {
value = { for s in data.aws_subnet.private_subnets : s.availability_zone => {
id = s.id
cidr_block = s.cidr_block
} }
}
output "aws_security_group_sg" {
value = data.aws_security_group.sg_vpc_def_env.id
}
output "dynamodb_lock_table" {
value = aws_dynamodb_table.tfstate_lock_db.name
}
output "inputs_bucket" {
value = data.aws_s3_bucket.inputs_bucket.bucket
}
output "inputs_bucket_arn" {
value = data.aws_s3_bucket.inputs_bucket.arn
}
output "outputs_bucket" {
value = data.aws_s3_bucket.outputs_bucket.bucket
}
output "outputs_bucket_arn" {
value = data.aws_s3_bucket.outputs_bucket.arn
}
output "transfer_bucket" {
value = data.aws_s3_bucket.transfer_bucket.bucket
}
output "transfer_bucket_arn" {
value = data.aws_s3_bucket.transfer_bucket.arn
}
output "inputs_profile" {
value = data.aws_iam_instance_profile.inputs_profile.name
}
output "outputs_profile" {
value = data.aws_iam_instance_profile.outputs_profile.name
}
output "transfer_profile" {
value = data.aws_iam_instance_profile.transfer_profile.name
}
output "head_node_instance_profile" {
value = data.aws_iam_instance_profile.head_node_profile.name
}
output "working_bucket" {
value = aws_s3_bucket.csb_working.bucket
}
output "working_bucket_arn" {
value = aws_s3_bucket.csb_working.arn
}
output "working_bucket_url" {
value = aws_s3_bucket_website_configuration.csb_www.website_endpoint
}
output "env_script_url" {
value = "${aws_s3_bucket_website_configuration.csb_www.website_endpoint}/${aws_s3_object.csb_environment_script.key}"
}
output "env_properties_url" {
value = "${aws_s3_bucket_website_configuration.csb_www.website_endpoint}/${aws_s3_object.csb_properties_script.key}"
}
output "env_provider_template_url" {
value = "${aws_s3_bucket_website_configuration.csb_www.website_endpoint}/${aws_s3_object.providers_template.key}"
}