-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathoutput.tf
42 lines (36 loc) · 1.26 KB
/
output.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
#output "volume_details" {
# value = {
# for key, volume in data.netapp-ontap_storage_volume_data_source.src_vols : key => {
# name = volume.name
# type = volume.type
# size = "${volume.space.size}${volume.space.size_unit}"
# }
# }
# description = "Details of the volumes including name, type, size, and size unit"
#}
#output "data_from_aws_fsxn" {
# value = {
# all_of_it = data.aws_fsx_ontap_file_system.source_fsxn
# }
# description = "All data from aws fsxn provider"
#}
output "dr_fsxn_system" {
value = {
cluster_mgmt_ip = aws_fsx_ontap_file_system.terraform-fsxn.endpoints[0].management[0].ip_addresses
}
description = "Cluster management IP address of the created DR cluster"
}
#output "replication_relationships" {
# value = {
# full_data = netapp-ontap_snapmirror_resource.snapmirror
# }
# description = "Replication relationships"
#}
output "snapmirror_details" {
value = { for id, snapmirror in netapp-ontap_snapmirror_resource.snapmirror : id => {
source_path = snapmirror.source_endpoint.path
destination_path = snapmirror.destination_endpoint.path
policy_name = snapmirror.policy.name
}}
description = "A map of all snapmirror details."
}