-
Notifications
You must be signed in to change notification settings - Fork 0
/
outputs.tf
105 lines (84 loc) · 4.75 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
output "cluster_id" {
description = "The id of the polardb cluster."
value = concat(alicloud_polardb_cluster.cluster.*.id, [""])[0]
}
output "cluster_connection_string" {
description = "The PolarDB cluster connection string."
value = concat(alicloud_polardb_cluster.cluster.*.connection_string, [""])[0]
}
output "database_id" {
description = "The current database resource ID."
value = concat(alicloud_polardb_database.database.*.id, [""])[0]
}
output "account_id" {
description = "The current account resource ID."
value = concat(alicloud_polardb_account.account.*.id, [""])[0]
}
output "endpoint_id" {
description = "The id of the polardb endpoint."
value = concat(alicloud_polardb_endpoint.endpoint.*.id, [""])[0]
}
output "endpoint_ssl_expire_time" {
description = "The time when the SSL certificate expires."
value = concat(alicloud_polardb_endpoint.endpoint.*.ssl_expire_time, [""])[0]
}
output "endpoint_ssl_connection_string" {
description = "The SSL connection string."
value = concat(alicloud_polardb_endpoint.endpoint.*.ssl_connection_string, [""])[0]
}
output "endpoint_address_id" {
description = "The id of the polardb endpoint address."
value = concat(alicloud_polardb_endpoint_address.endpoint_address.*.id, [""])[0]
}
output "endpoint_address_port" {
description = "Connection cluster or endpoint port."
value = concat(alicloud_polardb_endpoint_address.endpoint_address.*.port, [""])[0]
}
output "endpoint_address_connection_string" {
description = "Connection cluster or endpoint string."
value = concat(alicloud_polardb_endpoint_address.endpoint_address.*.connection_string, [""])[0]
}
output "endpoint_address_ip_address" {
description = "The ip address of connection string."
value = concat(alicloud_polardb_endpoint_address.endpoint_address.*.ip_address, [""])[0]
}
output "account_privilege_id" {
description = "The id of the polardb account privilege."
value = concat(alicloud_polardb_account_privilege.account_privilege.*.id, [""])[0]
}
output "backup_policy_retention_period" {
description = "Cluster backup retention days, Fixed for 7 days, not modified."
value = concat(alicloud_polardb_backup_policy.backup_policy.*.backup_retention_period, [""])[0]
}
output "backup_policy_data_level1_backup_retention_period" {
description = "The retention period of level-1 backups. Valid values: 3 to 14. Unit: days."
value = concat(alicloud_polardb_backup_policy.backup_policy.*.data_level1_backup_retention_period, [""])[0]
}
output "backup_policy_data_level2_backup_retention_period" {
description = "The retention period of level-2 backups. Valid values are 0, 30 to 7300, -1. Default to 0."
value = concat(alicloud_polardb_backup_policy.backup_policy.*.data_level2_backup_retention_period, [""])[0]
}
output "backup_policy_backup_retention_policy_on_cluster_deletion" {
description = "Specifies whether to retain backups when you delete a cluster. Valid values are ALL, LATEST, NONE. Default to NONE."
value = concat(alicloud_polardb_backup_policy.backup_policy.*.backup_retention_policy_on_cluster_deletion, [""])[0]
}
output "backup_policy_backup_frequency" {
description = "The backup frequency. Valid values are Normal, 2/24H, 3/24H, 4/24H.Default to Normal."
value = concat(alicloud_polardb_backup_policy.backup_policy.*.backup_frequency, [""])[0]
}
output "backup_policy_data_level1_backup_frequency" {
description = "The Id of cluster that can run database.The backup frequency. Valid values are Normal, 2/24H, 3/24H, 4/24H.Default to Normal."
value = concat(alicloud_polardb_backup_policy.backup_policy.*.data_level1_backup_frequency, [""])[0]
}
output "backup_policy_data_level1_backup_time" {
description = "The time period during which automatic backup is performed. The format is HH: MMZ HH: MMZ (UTC time), and the entered value must be an hour apart, such as 14:00z-15:00z."
value = concat(alicloud_polardb_backup_policy.backup_policy.*.data_level1_backup_time, [""])[0]
}
output "backup_policy_data_level1_backup_period" {
description = "PolarDB Cluster of level-1 backup period. Valid values: Monday,Tuesday,Wednesday,Thursday,Friday,Saturday,Sunday. NOTE: Note Select at least two values. Separate multiple values with commas (,)."
value = concat(alicloud_polardb_backup_policy.backup_policy.*.data_level1_backup_period, [""])[0]
}
output "backup_policy_data_level2_backup_period" {
description = "PolarDB Cluster of level-2 backup period. Valid values: Monday,Tuesday,Wednesday,Thursday,Friday,Saturday,Sunday. NOTE: Note Select at least two values. Separate multiple values with commas (,)."
value = concat(alicloud_polardb_backup_policy.backup_policy.*.data_level2_backup_period, [""])[0]
}