// Copyright IBM Corp. 2020, 2026 // SPDX-License-Identifier: MPL-2.0 package provider import ( "fmt" "strings" "testing" "github.com/hashicorp/cap/oidc" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/id" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/stretchr/testify/require" ) const ( fooAccountOidcDesc = "test account oidc" fooAccountOidcDescUpdate = "test account oidc update" ) var fooAccountOidc = ` resource "boundary_auth_method_oidc" "foo" { name = "test" description = "test account oidc auth method" scope_id = boundary_scope.org1.id depends_on = [boundary_role.org1_admin] issuer = "%s" client_id = "foo_id" client_secret = "foo_secret" max_age = 0 api_url_prefix = "http://localhost:9200" idp_ca_certs = [ <