gcloud beta terraform vet은 오픈소스 terraform-validator 프로젝트를 대신하며 약간의 차이점이 있습니다. gcloud beta terraform vet을 사용하도록 CI/CD 파이프라인을 마이그레이션할 경우 다음 항목을 변경해야 합니다.
# Old
terraform-validatorvalidate./tfplan.json--policy-path=/path/to/policy-library
# New
gcloudbetaterraformvet./tfplan.json--policy-library=/path/to/policy-library
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["이해하기 어려움","hardToUnderstand","thumb-down"],["잘못된 정보 또는 샘플 코드","incorrectInformationOrSampleCode","thumb-down"],["필요한 정보/샘플이 없음","missingTheInformationSamplesINeed","thumb-down"],["번역 문제","translationIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-04-01(UTC)"],[[["`gcloud beta terraform vet` replaces the `terraform-validator` project with some minor changes, and is subject to the \"Pre-GA Offerings Terms\"."],["Migrating to `gcloud beta terraform vet` requires updating the command from `terraform-validator validate` to `gcloud beta terraform vet`, and replacing `--policy-path` with `--policy-library`."],["Service account impersonation can be used with `gcloud beta terraform vet` by adding the `--impersonate-service-account` flag."],["It's recommended to use the newer format for writing policies and upgrade existing policies from `v1alpha1`, especially when sourcing from `github.com/GoogleCloudPlatform/policy-library`."]]],[]]