我在 linux_amd64 ( Oracle Linux Srv 8.4 64bit ) 上安装了Terraform v1.0.1。
\nI\xe2\x80\x99m 尝试使用我保存在文件夹中的本地提供程序/插件:/root/.terraform.d/plugins
\n# ll /root/.terraform.d/plugins\ndrwxr-xr-x. 2 root root 38 Jun 29 15:42 oldversion\n-rwxr-xr-x. 1 root root 30068808 Jun 29 15:42 terraform-provider-zabbix\ndrwxr-xr-x. 2 root root 52 Jun 29 15:42 test_plugging\nRun Code Online (Sandbox Code Playgroud)\n这是我的vim /root/.terraformrc:
\nprovider_installation {\n filesystem_mirror {\n path = "/root/.terraform.d/plugins"\n }\n direct {\n exclude = ["registry.terraform.io/*/*"]\n }\n}\nRun Code Online (Sandbox Code Playgroud)\n这是我的main.tf:
\nterraform {\n required_version = ">= 0.12.6"\n}\nprovider "zabbix" {\n username = …Run Code Online (Sandbox Code Playgroud) terraform ×1