-
Notifications
You must be signed in to change notification settings - Fork 0
/
outputs.tf
144 lines (116 loc) · 5.04 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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
output "name" {
description = "The name of the DB cluster parameter group."
value = aws_rds_cluster_parameter_group.rds.name
}
output "family" {
description = "The family of the DB cluster parameter group."
value = aws_rds_cluster_parameter_group.rds.family
}
output "count" {
description = "To make multiple instances and join them all to the same RDS Cluster."
value = length(aws_rds_cluster_instance.cluster_instances)
}
output "identifier" {
description = "Identifier for the RDS instance, if omitted, Terraform will assign a random, unique identifier."
value = aws_rds_cluster_instance.cluster_instances[0].identifier
}
output "identifier1" {
description = "Identifier for the RDS instance, if omitted, Terraform will assign a random, unique identifier."
value = aws_rds_cluster_instance.cluster_instances[1].identifier
}
output "cluster_identifier" {
description = "Identifier of the aws_rds_cluster in which to launch this instance."
value = aws_rds_cluster_instance.cluster_instances[0].cluster_identifier
}
output "cluster_identifier1" {
description = "Identifier of the aws_rds_cluster in which to launch this instance."
value = aws_rds_cluster_instance.cluster_instances[1].cluster_identifier
}
output "instance_class" {
description = "The compute and memory capacity of each DB instance in the Multi-AZ DB cluster, for example db.m6g.xlarge. Not all DB instance classes are available in all AWS Regions, or for all database engines."
value = aws_rds_cluster_instance.cluster_instances[0].instance_class
}
output "engine" {
description = "Database engine version for AWS database instance."
value = aws_rds_cluster_instance.cluster_instances[0].engine
}
output "engine_version" {
description = "Database engine version for AWS database instance."
value = aws_rds_cluster_instance.cluster_instances[0].engine_version
}
output "cluster_identifier_default" {
description = "If the DB instance is a member of a DB cluster, contains the name of the DB cluster that the DB instance is a member of."
value = aws_rds_cluster.default.cluster_identifier
}
output "engine_default" {
description = "Default engine to use."
value = aws_rds_cluster.default.engine
}
output "engine_version_default" {
description = "Default engine version to use."
value = aws_rds_cluster.default.engine_version
}
output "availability_zones" {
description = "Name of the Availability Zone the DB instance is located in."
value = aws_rds_cluster.default.availability_zones
}
output "database_name" {
description = "Contains the name of the initial database of this instance that was provided at create time."
value = aws_rds_cluster.default.database_name
}
output "backup_retention_period" {
description = "Specifies the number of days for which automatic DB snapshots are retained."
value = aws_rds_cluster.default.backup_retention_period
}
output "preferred_backup_window" {
description = "Specifies the daily time range during which automated backups are created."
value = aws_rds_cluster.default.preferred_backup_window
}
output "skip_final_snapshot" {
description = "Flag to indicate whether a final snapshot will be skipped upon database termination."
value = aws_rds_cluster.default.skip_final_snapshot
}
output "dbi_resource_id" {
description = "Region-unique, immutable identifier for the DB instance."
value = aws_rds_cluster_instance.cluster_instances[0].dbi_resource_id
}
output "dbi_resource_id1" {
description = "Region-unique, immutable identifier for the DB instance."
value = aws_rds_cluster_instance.cluster_instances[1].dbi_resource_id
}
output "kms_key_id" {
description = "The ARN for the KMS encryption key. If creating an encrypted replica, set this to the destination KMS ARN."
value = aws_rds_cluster.default.kms_key_id
}
output "db_endpoint" {
description = "Connection endpoint for the database instance that has been created."
value = aws_rds_cluster.default.endpoint
}
output "db_port" {
description = "The port on which the RDS cluster is accessible."
value = aws_rds_cluster.default.port
}
output "db_instance_id" {
description = "The identifier of the RDS cluster instance."
value = aws_rds_cluster.default.id
}
output "db_engine" {
description = "The database engine used by the RDS cluster."
value = aws_rds_cluster.default.engine
}
output "db_name" {
description = "Name of the database that was created (if specified) during instance creation."
value = aws_rds_cluster.default.database_name
}
output "db_allocated_storage" {
description = "Storage that was allocated to the instance when it configured."
value = aws_rds_cluster.default.allocated_storage
}
output "db_kms_key_id" {
description = "KMS key that is configured on the database instance if storage encryption is enabled."
value = aws_rds_cluster.default.kms_key_id
}
output "db_arn" {
description = "ARN of the database instance."
value = aws_rds_cluster.default.arn
}