-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathoutputs.tf
65 lines (52 loc) · 1.63 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
#######################
## Network - Outputs ##
#######################
output "redshift_vpc_id" {
description = "The ID of the VPC"
value = aws_vpc.redshift-vpc.id
}
output "redshift_vpc_cidr" {
description = "The CIDR of the VPC"
value = var.redshift_vpc_cidr
}
output "redshift_subnet_az1_id" {
description = "Redshift Subnet AZ1"
value = aws_subnet.redshift-subnet-az1.id
}
output "redshift_subnet_az1_cidr" {
description = "Redshift Subnet AZ1 CIDR"
value = var.redshift_subnet_1_cidr
}
output "redshift_subnet_az2_id" {
description = "Redshift Subnet AZ2"
value = aws_subnet.redshift-subnet-az2.id
}
output "redshift_subnet_az2_cidr" {
description = "Redshift Subnet AZ2 CIDR"
value = var.redshift_subnet_2_cidr
}
###########################
## Redshift IAM - Output ##
###########################
output "redshift_iam_role_arn" {
description = "Redshift IAM Role"
value = aws_iam_role.redshift-role.arn
}
#############################
## Security Group - Output ##
#############################
output "redshift_security_group_id" {
description = "Redshift Security Group"
value = aws_default_security_group.redshift_security_group.id
}
###############################
## Redshift Cluster - Output ##
###############################
output "redshift_cluster_id" {
description = "Redshift Cluster ID"
value = aws_redshift_cluster.redshift-cluster.id
}
output "redshift_cluster_dns_name" {
description = "Redshift Cluster DNS Name"
value = aws_redshift_cluster.redshift-cluster.dns_name
}