From ace1f66e85b39c4adcf7ee2ae383d376f2f2047e Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Wed, 31 Jan 2024 16:23:32 +0100 Subject: [PATCH] Move the outputs into a separate file. --- openstack-tf/d4s-dev/redmine/main.tf | 8 -------- openstack-tf/d4s-dev/redmine/outputs.tf | 7 +++++++ 2 files changed, 7 insertions(+), 8 deletions(-) create mode 100644 openstack-tf/d4s-dev/redmine/outputs.tf diff --git a/openstack-tf/d4s-dev/redmine/main.tf b/openstack-tf/d4s-dev/redmine/main.tf index 9947c3c..4bc23d2 100644 --- a/openstack-tf/d4s-dev/redmine/main.tf +++ b/openstack-tf/d4s-dev/redmine/main.tf @@ -95,11 +95,3 @@ resource "openstack_sharedfilesystem_share_access_v2" "redmine_dev_nfs_share_acc access_to = openstack_compute_interface_attach_v2.nfs_port_to_redmine.fixed_ip access_level = "rw" } - -output "nfs_port_data" { - value = openstack_compute_interface_attach_v2.nfs_port_to_redmine -} - -output "redmine_nfs_volume_data" { - value = openstack_sharedfilesystem_share_v2.redmine_dev -} \ No newline at end of file diff --git a/openstack-tf/d4s-dev/redmine/outputs.tf b/openstack-tf/d4s-dev/redmine/outputs.tf new file mode 100644 index 0000000..70449aa --- /dev/null +++ b/openstack-tf/d4s-dev/redmine/outputs.tf @@ -0,0 +1,7 @@ +output "nfs_port_data" { + value = openstack_compute_interface_attach_v2.nfs_port_to_redmine +} + +output "redmine_nfs_volume_data" { + value = openstack_sharedfilesystem_share_v2.redmine_dev +}