From ca4a7ac1a204675bba46b4dc9232a43e07301feb Mon Sep 17 00:00:00 2001 From: Colleen Murphy Date: Thu, 30 Apr 2026 13:08:06 -0700 Subject: [PATCH] Remove google provider Declaring a provider in a child module is an anti-pattern in terraform[1]. The provider is declared in the root modules in the staging and production environments and the provider requirement is correctly defined in versions.tf. [1] https://developer.hashicorp.com/terraform/language/block/provider#background Signed-off-by: Colleen Murphy --- gcp/modules/sigstore/providers.tf | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 gcp/modules/sigstore/providers.tf diff --git a/gcp/modules/sigstore/providers.tf b/gcp/modules/sigstore/providers.tf deleted file mode 100644 index b8728fe0..00000000 --- a/gcp/modules/sigstore/providers.tf +++ /dev/null @@ -1,21 +0,0 @@ -/** - * Copyright 2022 The Sigstore Authors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -provider "google" { - project = var.project_id - region = var.region -} -