Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add allowed_uri_sans_template option for vault_pki_secret_backend_role
This PR requires hashicorp/vault#10249 to be merged. One test is right failing until the feature is released in vault. The following test shall pass when teh feature lands on vault ```bash TESTARGS="-run TestPkiSecretBackendRole" make testacc ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test $(go list ./...) -v -run TestPkiSecretBackendRole -timeout 20m ? github.com/hashicorp/terraform-provider-vault [no test files] ? github.com/hashicorp/terraform-provider-vault/cmd/coverage [no test files] ? github.com/hashicorp/terraform-provider-vault/cmd/generate [no test files] testing: warning: no tests to run PASS ok github.com/hashicorp/terraform-provider-vault/codegen (cached) [no tests to run] ? github.com/hashicorp/terraform-provider-vault/generated [no test files] testing: warning: no tests to run PASS ok github.com/hashicorp/terraform-provider-vault/generated/datasources/transform/decode (cached) [no tests to run] testing: warning: no tests to run PASS ok github.com/hashicorp/terraform-provider-vault/generated/datasources/transform/encode (cached) [no tests to run] testing: warning: no tests to run PASS ok github.com/hashicorp/terraform-provider-vault/generated/resources/transform/alphabet (cached) [no tests to run] testing: warning: no tests to run PASS ok github.com/hashicorp/terraform-provider-vault/generated/resources/transform/role (cached) [no tests to run] testing: warning: no tests to run PASS ok github.com/hashicorp/terraform-provider-vault/generated/resources/transform/template (cached) [no tests to run] testing: warning: no tests to run PASS ok github.com/hashicorp/terraform-provider-vault/generated/resources/transform/transformation (cached) [no tests to run] ? github.com/hashicorp/terraform-provider-vault/helper [no test files] ? github.com/hashicorp/terraform-provider-vault/schema [no test files] testing: warning: no tests to run PASS ok github.com/hashicorp/terraform-provider-vault/util (cached) [no tests to run] === RUN TestPkiSecretBackendRole_basic resource_pki_secret_backend_role_test.go:16: Step 2/2 error: Check failed: Check 19/47 error: vault_pki_secret_backend_role.test: Attribute 'allowed_uri_sans_template' expected "true", got "false" --- FAIL: TestPkiSecretBackendRole_basic (4.00s) FAIL FAIL github.com/hashicorp/terraform-provider-vault/vault 4.255s FAIL make: *** [testacc] Error 1 ```
- Loading branch information