-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
first working version that includes snapmirror creation.
- Loading branch information
nichollri
committed
Oct 26, 2024
1 parent
304f7a6
commit d40844e
Showing
3 changed files
with
104 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,18 @@ | ||
output "volume_details" { | ||
value = { | ||
for key, volume in data.netapp-ontap_storage_volume_data_source.my_vol : 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 "lifs" { | ||
#output "volume_details" { | ||
# value = { | ||
# for key, lif in data.netapp-ontap_networking_ip_interfaces_data_source.primary_intercluster_lifs : key => { | ||
# name = lif.ip_interfaces.name | ||
# ip_address = lif.ip_interfaces.ip.ip_address | ||
# 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 source intercluster LIFs" | ||
# description = "Details of the volumes including name, type, size, and size unit" | ||
#} | ||
|
||
output "primary_intercluster_lifs_details" { | ||
value = { | ||
for lif in data.netapp-ontap_networking_ip_interfaces_data_source.primary_intercluster_lifs.ip_interfaces : lif.name => lif.ip.address | ||
} | ||
description = "Intercluster LIF names and IP addresses for the primary existing cluster" | ||
} | ||
|
||
output "data_from_aws_fsxn" { | ||
value = { | ||
intercluster = { | ||
# dns_name = data.aws_fsx_ontap_file_system.source_fsxn.endpoints[0].intercluster[0].dns_name | ||
# ip_addresses = data.aws_fsx_ontap_file_system.source_fsxn.endpoints[0].intercluster[0].ip_addresses | ||
all_of_it = data.aws_fsx_ontap_file_system.source_fsxn | ||
} | ||
} | ||
description = "All data from aws fsxn provider" | ||
} | ||
#output "data_from_aws_fsxn" { | ||
# value = { | ||
# all_of_it = data.aws_fsx_ontap_file_system.source_fsxn | ||
# } | ||
# description = "All data from aws fsxn provider" | ||
#} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters