From 2f39183e4b6d59912ca29899f3fa78cfa814c7f2 Mon Sep 17 00:00:00 2001 From: John-Michael Faircloth Date: Thu, 18 Apr 2024 10:37:21 -0500 Subject: [PATCH] chore: update vault test matrix (#2221) * chore: update vault build test matrix * bump go version * revert go version bump * skip secrets sync test; deprecate azure secrets field --- .github/workflows/build.yml | 5 +++-- vault/resource_azure_secret_backend.go | 1 + vault/resource_secrets_sync_config_test.go | 1 + 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1fb7d468e2..86beaeb3a1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -66,8 +66,9 @@ jobs: - "vault-enterprise:1.11.12-ent" - "vault-enterprise:1.12.11-ent" - "vault-enterprise:1.13.13-ent" - - "vault-enterprise:1.14.10-ent" - - "vault-enterprise:1.15.6-ent" + - "vault-enterprise:1.14.11-ent" + - "vault-enterprise:1.15.7-ent" + - "vault-enterprise:1.16.1-ent" - "vault:latest" services: vault: diff --git a/vault/resource_azure_secret_backend.go b/vault/resource_azure_secret_backend.go index 7f1e0c674f..6d3108c9ef 100644 --- a/vault/resource_azure_secret_backend.go +++ b/vault/resource_azure_secret_backend.go @@ -53,6 +53,7 @@ func azureSecretBackendResource() *schema.Resource { Description: "Human-friendly description of the mount for the backend.", }, "use_microsoft_graph_api": { + Deprecated: "This field is not supported in Vault-1.12+ and is the default behavior. This field will be removed in future version of the provider.", Type: schema.TypeBool, Optional: true, Computed: true, diff --git a/vault/resource_secrets_sync_config_test.go b/vault/resource_secrets_sync_config_test.go index 368e7d6b0e..c80ed4e500 100644 --- a/vault/resource_secrets_sync_config_test.go +++ b/vault/resource_secrets_sync_config_test.go @@ -14,6 +14,7 @@ import ( ) func TestSecretsSyncConfig(t *testing.T) { + testutil.SkipTestEnvUnset(t, "VAULT_SECRETS_SYNC_ENABLED") resourceName := "vault_secrets_sync_config.test" resource.Test(t, resource.TestCase{