use ephemeral google_client_config in secops provider (#3832)

Co-authored-by: Ludovico Magnocavallo <ludomagno@google.com>
This commit is contained in:
davidspielmann
2026-04-10 08:34:51 +02:00
committed by GitHub
parent 90b05a39a1
commit 8b2fb39efe

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
data "google_client_config" "default" {
ephemeral "google_client_config" "default" {
count = var.project_reuse == null ? 0 : 1
}
@@ -23,7 +23,7 @@ provider "restful" {
security = {
http = {
token = {
token = try(data.google_client_config.default[0].access_token, "")
token = try(ephemeral.google_client_config.default[0].access_token, "")
}
}
}