[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
반응형
최근에 올라온 글
- Total
- Today
- Yesterday