地貌
设定
先决条件:
terraform
pipenv
AWS CLI v2-
另外,对于钩子:
tflint
tfsec
要为此项目设置预提交挂钩:
mkdir .venv # create a directory for the virtual environment
pipenv install --dev # install dependencies as defined in Pipfile
pipenv shell # activate the virtual environment
pre-commit install # installs the pre-commit hooks
pre-commit run -a # runs the hooks, all checks must pass
变数
,变量的应用顺序为(升序排列):
环境变量( TF_VA