본문 바로가기 메뉴 바로가기

나만의 코딩북

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

나만의 코딩북

검색하기 폼
  • 분류 전체보기 (33)
    • Microsoft (1)
      • Powershell (1)
    • VMware (3)
    • AWS (5)
      • Computing (1)
      • Network (0)
      • Security (0)
      • Storage (1)
      • GenAI (1)
      • EKS (1)
    • IaC (5)
      • Terraform (5)
    • DevOps (3)
      • Gitlab (1)
      • Docker (0)
      • kubernetes (0)
    • Microsoft Azure (12)
      • Computing (3)
      • Network (1)
      • Storage (0)
      • Backup (5)
      • Storsimple (1)
    • Alibaba Cloud (0)
      • Computing (0)
      • Network (0)
    • Code (4)
      • Python (4)
  • 방명록

max (1)
[Terraform] 많이 사용 Meta Argument 4편 - max

4. max max 사용법 max는 max 함수에 있는 숫자의 가장 큰수를 반환을 해줍니다. max 문법 간단한 max를 먼저 보겠습니다. max(숫자) 예시) main.tf 내용 output "max_test" { value = max(5,9,4) } 결과 확인 $ terraform apply --auto-approve Changes to Outputs: + max_test = 9 You can apply this plan to save these new output values to the Terraform state, without changing any real infrastructure. Apply complete! Resources: 0 added, 0 changed, 0 destroyed. ..

IaC/Terraform 2022. 10. 14. 15:28
이전 1 다음
이전 다음
반응형
최근에 올라온 글
Total
Today
Yesterday

Blog is powered by Tistory / Designed by Tistory

티스토리툴바