From e35d38f2b32173f81b29af687f320764b7273530 Mon Sep 17 00:00:00 2001 From: flavono123 Date: Mon, 13 Nov 2023 13:15:21 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20=EC=83=88=20=EC=BB=A8=ED=85=90=EC=B8=A0?= =?UTF-8?q?=20=EB=B6=80=ED=8A=B8=EC=8A=A4=ED=8A=B8=EB=9E=98=ED=95=91=20?= =?UTF-8?q?=EC=8B=9C=20=ED=85=8C=EB=9D=BC=ED=8F=BC=20=EB=B2=84=EC=A0=84=20?= =?UTF-8?q?=EA=B5=AC=EC=84=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 컨텐츠 디렉토리 local 테라폼 버전 구성 - 현재 최신 버전 1.6.3으로 함 - main.tf에 terraform block 생성 --- bin/generate-content | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/bin/generate-content b/bin/generate-content index d735ad4..e0a3791 100755 --- a/bin/generate-content +++ b/bin/generate-content @@ -7,6 +7,11 @@ if [ $# -ne 1 ]; then fi name=$1 +tf_version="1.6.3" mkdir -p "$name"/img -touch "$name"/README.md "$name"/main.tf +touch "$name"/README.md +echo "$tf_version" > "$name"/.terraform-version +echo "terraform { + required_version = \"~> $tf_version\" +}" > "$name"/main.tf