forked from terraform-aws-modules/terraform-aws-redshift
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoutputs.tf
118 lines (96 loc) · 3.74 KB
/
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
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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
output "redshift_cluster_arn" {
description = "The Redshift cluster ARN"
value = aws_redshift_cluster.this.arn
}
output "redshift_cluster_id" {
description = "The Redshift cluster ID"
value = aws_redshift_cluster.this.id
}
output "redshift_cluster_identifier" {
description = "The Redshift cluster identifier"
value = aws_redshift_cluster.this.cluster_identifier
}
output "redshift_cluster_type" {
description = "The Redshift cluster type"
value = aws_redshift_cluster.this.cluster_type
}
output "redshift_cluster_node_type" {
description = "The type of nodes in the cluster"
value = aws_redshift_cluster.this.node_type
}
output "redshift_cluster_database_name" {
description = "The name of the default database in the Cluster"
value = aws_redshift_cluster.this.database_name
}
output "redshift_cluster_availability_zone" {
description = "The availability zone of the Cluster"
value = aws_redshift_cluster.this.availability_zone
}
output "redshift_cluster_automated_snapshot_retention_period" {
description = "The backup retention period"
value = aws_redshift_cluster.this.automated_snapshot_retention_period
}
output "redshift_cluster_preferred_maintenance_window" {
description = "The backup window"
value = aws_redshift_cluster.this.preferred_maintenance_window
}
output "redshift_cluster_endpoint" {
description = "The connection endpoint"
value = aws_redshift_cluster.this.endpoint
}
output "redshift_cluster_hostname" {
description = "The hostname of the Redshift cluster"
value = replace(
aws_redshift_cluster.this.endpoint,
format(":%s", aws_redshift_cluster.this.port),
"",
)
}
output "redshift_cluster_encrypted" {
description = "Whether the data in the cluster is encrypted"
value = aws_redshift_cluster.this.encrypted
}
output "redshift_cluster_security_groups" {
description = "The security groups associated with the cluster"
value = aws_redshift_cluster.this.cluster_security_groups
}
output "redshift_cluster_vpc_security_group_ids" {
description = "The VPC security group ids associated with the cluster"
value = aws_redshift_cluster.this.vpc_security_group_ids
}
output "redshift_cluster_port" {
description = "The port the cluster responds on"
value = aws_redshift_cluster.this.port
}
output "redshift_cluster_version" {
description = "The version of Redshift engine software"
value = aws_redshift_cluster.this.cluster_version
}
output "redshift_cluster_parameter_group_name" {
description = "The name of the parameter group to be associated with this cluster"
value = aws_redshift_cluster.this.cluster_parameter_group_name
}
output "redshift_cluster_subnet_group_name" {
description = "The name of a cluster subnet group to be associated with this cluster"
value = aws_redshift_cluster.this.cluster_subnet_group_name
}
output "redshift_cluster_public_key" {
description = "The public key for the cluster"
value = aws_redshift_cluster.this.cluster_public_key
}
output "redshift_cluster_revision_number" {
description = "The specific revision number of the database in the cluster"
value = aws_redshift_cluster.this.cluster_revision_number
}
output "redshift_subnet_group_id" {
description = "The ID of Redshift subnet group created by this module"
value = element(concat(aws_redshift_subnet_group.this.*.id, [""]), 0)
}
output "redshift_parameter_group_id" {
description = "The ID of Redshift parameter group created by this module"
value = element(concat(aws_redshift_parameter_group.this.*.id, [""]), 0)
}
output "redshift_cluster_nodes" {
description = "Cluster nodes in the Redshift cluster"
value = aws_redshift_cluster.this.cluster_nodes
}