Skip to content

Commit

Permalink
feat: 새 컨텐츠 부트스트래핑 시 테라폼 버전 구성
Browse files Browse the repository at this point in the history
- 컨텐츠 디렉토리 local 테라폼 버전 구성
  - 현재 최신 버전 1.6.3으로 함
- main.tf에 terraform block 생성
  • Loading branch information
flavono123 committed Nov 13, 2023
1 parent cb79f75 commit e35d38f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion bin/generate-content
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit e35d38f

Please sign in to comment.