|
1 | 1 | output "id" {
|
2 | 2 | description = "The Redshift Cluster ID"
|
3 |
| - value = local.enabled ? join("", aws_redshift_cluster.default.*.id) : null |
| 3 | + value = local.enabled ? join("", aws_redshift_cluster.default[*].id) : null |
4 | 4 | }
|
5 | 5 |
|
6 | 6 | output "arn" {
|
7 | 7 | description = "Amazon Resource Name (ARN) of cluster"
|
8 |
| - value = local.enabled ? join("", aws_redshift_cluster.default.*.arn) : null |
| 8 | + value = local.enabled ? join("", aws_redshift_cluster.default[*].arn) : null |
9 | 9 | }
|
10 | 10 |
|
11 | 11 | output "cluster_identifier" {
|
12 | 12 | description = "The Cluster Identifier"
|
13 |
| - value = local.enabled ? join("", aws_redshift_cluster.default.*.cluster_identifier) : null |
| 13 | + value = local.enabled ? join("", aws_redshift_cluster.default[*].cluster_identifier) : null |
14 | 14 | }
|
15 | 15 |
|
16 | 16 | output "cluster_revision_number" {
|
17 | 17 | description = "The specific revision number of the database in the cluster"
|
18 |
| - value = local.enabled ? join("", aws_redshift_cluster.default.*.cluster_revision_number) : null |
| 18 | + value = local.enabled ? join("", aws_redshift_cluster.default[*].cluster_revision_number) : null |
19 | 19 | }
|
20 | 20 |
|
21 | 21 | output "cluster_subnet_group_name" {
|
22 | 22 | description = "The name of a cluster subnet group to be associated with this cluster"
|
23 |
| - value = local.enabled ? join("", aws_redshift_cluster.default.*.cluster_subnet_group_name) : null |
| 23 | + value = local.enabled ? join("", aws_redshift_cluster.default[*].cluster_subnet_group_name) : null |
24 | 24 | }
|
25 | 25 |
|
26 | 26 | output "cluster_parameter_group_name" {
|
27 | 27 | description = "The name of the parameter group to be associated with this cluster"
|
28 |
| - value = local.enabled ? join("", aws_redshift_cluster.default.*.cluster_parameter_group_name) : null |
| 28 | + value = local.enabled ? join("", aws_redshift_cluster.default[*].cluster_parameter_group_name) : null |
29 | 29 | }
|
30 | 30 |
|
31 | 31 | output "port" {
|
32 | 32 | description = "The Port the cluster responds on"
|
33 |
| - value = local.enabled ? join("", aws_redshift_cluster.default.*.port) : null |
| 33 | + value = local.enabled ? join("", aws_redshift_cluster.default[*].port) : null |
34 | 34 | }
|
35 | 35 |
|
36 | 36 | output "dns_name" {
|
37 | 37 | description = "The DNS name of the cluster"
|
38 |
| - value = local.enabled ? join("", aws_redshift_cluster.default.*.dns_name) : null |
| 38 | + value = local.enabled ? join("", aws_redshift_cluster.default[*].dns_name) : null |
39 | 39 | }
|
40 | 40 |
|
41 | 41 | output "vpc_security_group_ids" {
|
42 | 42 | description = "The VPC security group IDs associated with the cluster"
|
43 |
| - value = local.enabled ? concat([], aws_redshift_cluster.default.*.vpc_security_group_ids) : null |
| 43 | + value = local.enabled ? concat([], aws_redshift_cluster.default[*].vpc_security_group_ids) : null |
44 | 44 | }
|
45 | 45 |
|
46 | 46 | output "cluster_security_groups" {
|
47 | 47 | description = "The security groups associated with the cluster"
|
48 |
| - value = local.enabled ? concat([], aws_redshift_cluster.default.*.cluster_security_groups) : null |
| 48 | + value = local.enabled ? concat([], aws_redshift_cluster.default[*].cluster_security_groups) : null |
49 | 49 | }
|
50 | 50 |
|
51 | 51 | output "endpoint" {
|
52 | 52 | description = "The connection endpoint"
|
53 |
| - value = local.enabled ? join("", aws_redshift_cluster.default.*.endpoint) : null |
| 53 | + value = local.enabled ? join("", aws_redshift_cluster.default[*].endpoint) : null |
54 | 54 | }
|
55 | 55 |
|
56 | 56 | output "database_name" {
|
57 | 57 | description = "The name of the default database in the Cluster"
|
58 |
| - value = local.enabled ? join("", aws_redshift_cluster.default.*.database_name) : null |
| 58 | + value = local.enabled ? join("", aws_redshift_cluster.default[*].database_name) : null |
59 | 59 | }
|
60 | 60 |
|
61 | 61 | output "node_type" {
|
62 | 62 | description = "The type of nodes in the cluster"
|
63 |
| - value = local.enabled ? join("", aws_redshift_cluster.default.*.node_type) : null |
| 63 | + value = local.enabled ? join("", aws_redshift_cluster.default[*].node_type) : null |
64 | 64 | }
|
65 | 65 |
|
66 | 66 | output "cluster_type" {
|
67 | 67 | description = "The cluster type"
|
68 |
| - value = local.enabled ? join("", aws_redshift_cluster.default.*.cluster_type) : null |
| 68 | + value = local.enabled ? join("", aws_redshift_cluster.default[*].cluster_type) : null |
69 | 69 | }
|
70 | 70 |
|
71 | 71 | output "redshift_subnet_group_arn" {
|
72 | 72 | description = "Amazon Resource Name (ARN) of the Redshift Subnet group name"
|
73 |
| - value = local.enabled ? join("", aws_redshift_subnet_group.default.*.arn) : null |
| 73 | + value = local.enabled ? join("", aws_redshift_subnet_group.default[*].arn) : null |
74 | 74 | }
|
75 | 75 |
|
76 | 76 | output "redshift_subnet_group_id" {
|
77 | 77 | description = "The Redshift Subnet group ID"
|
78 |
| - value = local.enabled ? join("", aws_redshift_subnet_group.default.*.id) : null |
| 78 | + value = local.enabled ? join("", aws_redshift_subnet_group.default[*].id) : null |
79 | 79 | }
|
80 | 80 |
|
81 | 81 | output "redshift_parameter_group_arn" {
|
82 | 82 | description = "Amazon Resource Name (ARN) of the Redshift parameter group"
|
83 |
| - value = local.enabled ? join("", aws_redshift_parameter_group.default.*.arn) : null |
| 83 | + value = local.enabled ? join("", aws_redshift_parameter_group.default[*].arn) : null |
84 | 84 | }
|
85 | 85 |
|
86 | 86 | output "redshift_parameter_group_id" {
|
87 | 87 | description = "The Redshift parameter group ID"
|
88 |
| - value = local.enabled ? join("", aws_redshift_parameter_group.default.*.id) : null |
| 88 | + value = local.enabled ? join("", aws_redshift_parameter_group.default[*].id) : null |
89 | 89 | }
|
0 commit comments