当我运行 pkg/mod/github.com/gruntwork-io/terratest/test/azure ...
go test -v -run TerraformAzureKeyvaultExample
我收到以下错误:
package github.com/gruntwork-io/terratest/test/azure: build constraints exclude all Go files....
还有其他人遇到过这个问题吗?如何禁用此功能以便我可以实际运行 Azure terratest?
-泰语-
最佳答案
根据[此问题][1]尝试使用-tags azure选项,如下所示:
go test -tags azure .
这对我有用。 [1]:https://github.com/gruntwork-io/terratest/issues/557
关于Azure terratest - 构建约束排除所有 Go 文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/67028558/