From 8054e8e317b6961df8280f1ca969b75b9f1016af Mon Sep 17 00:00:00 2001 From: Keith Cantrell Date: Tue, 28 Jan 2025 15:54:00 -0600 Subject: [PATCH] Move the contents of the scripts/iscsi.sh file as an HEREDOC to remove the depenecy of a separate file. --- EKS/FSxN-as-PVC-for-EKS/terraform/eks-cluster.tf | 15 ++++++++++++++- .../terraform/scripts/iscsi.sh | 12 ------------ 2 files changed, 14 insertions(+), 13 deletions(-) delete mode 100755 EKS/FSxN-as-PVC-for-EKS/terraform/scripts/iscsi.sh diff --git a/EKS/FSxN-as-PVC-for-EKS/terraform/eks-cluster.tf b/EKS/FSxN-as-PVC-for-EKS/terraform/eks-cluster.tf index b762b60..e0fe79a 100644 --- a/EKS/FSxN-as-PVC-for-EKS/terraform/eks-cluster.tf +++ b/EKS/FSxN-as-PVC-for-EKS/terraform/eks-cluster.tf @@ -133,6 +133,19 @@ data "cloudinit_config" "cloudinit" { part { content_type = "text/x-shellscript" - content = file("scripts/iscsi.sh") + content = <