1,194 questions
1
vote
1
answer
33
views
Go terraform unrecognized import path from GCP Artifact Registry
I get an error when trying to download private go dependencies from artifact registry via terraform:
│ Error: Error waiting to create function: Error waiting for Creating function: Error code 3, ...
-3
votes
0
answers
56
views
What is the state of rulesets after deletion and before recreation steps when replacing resource_firebaserules_release in the GCP Terraform provider? [closed]
From what I can tell, when i change the ruleset that is referred to by resource_firebaserules_release in ruleset_name, it deletes and recreates the release in Firebase. After deleting and before ...
Advice
0
votes
0
replies
35
views
Does changing the storage class of a GCS object resets its age counter?
I am setting up lifecycle policies for some of my buckets via terraform.
I have this strategy:
standard > nearline > deletion.
The thing is, I am not sure if the AGE property of a file in the ...
2
votes
1
answer
44
views
Enforce true/false terraform org policy v2 [closed]
I am managing Google Org Policies using Terraform and running into an issue where Terraform always shows an in-place update for the enforce field, even when the value has not actually changed for ...
1
vote
1
answer
85
views
How can I get access to the exact image used by packer when I've specified an image family for it use
I'm building GCE images using packer. My hcl contains something like this
source "googlecompute" "my-image" {
project_id = var.project_id
...
source_image_family = ...
0
votes
1
answer
104
views
Terraform yamldecode Fails When YAML Structure Changes
I have a YAML file structured as follows:
alerts:
la:
la1:
description: "la1"
severity: 1
resource_counter: "004"
enabled: true
ma:
ma1:...
0
votes
1
answer
395
views
Google Cloud project creation fails with "Operation disallowed by Organization Policy constraint due to missing or incorrect Tags"
I'm trying to create a Google Cloud project using Terraform (specifically the terraform-google-modules/project-factory module), but I consistently receive the following error:
Error: error creating ...
0
votes
1
answer
71
views
error fetching latest gke min version using data.google_container_engine_versions
I'm using
data "google_container_engine_versions" "latest_version" {
provider = google-beta
location = var.region
version_prefix = "1.31."
}
...
-2
votes
1
answer
73
views
Execute command in GCP VM using terraform
I'm trying run below terraform script in Google Cloud.
https://github.com/terraform-google-modules/terraform-google-sap/tree/main/modules/sap_nw
The operating system I'm using is SUSE 15 SP06. ...
0
votes
0
answers
59
views
How to use dialogflow cx agent duplication with terraform script
We are creating a Terraform script to clone a Dialogflow CX agent. However, during execution, the existing agent is being replaced instead of being cloned.
Can you please confirm if it is possible to ...
0
votes
1
answer
335
views
Error: googleapi: Error 404: The Cloud SQL instance does not exist., instanceDoesNotExist
Planning to create the Postgres Instance using the Backstage, Terraform via pre-defined templates.
While running the Terraform plan, stuck with the below error:
Error: googleapi\*\*: Error 404: The ...
-1
votes
1
answer
144
views
Running Terraform against Google Cloud in GitLab
I am trying to run terraform from a Gitlab pipeline job against my Google Cloud instance. I have authenticated Gitlab to Google Cloud with Federated Id and can impersonate a service account connected ...
-1
votes
1
answer
1k
views
How do I create Google OAuth2.0 client credentials using Terraform?
https://developers.google.com/identity/protocols/oauth2
Pushes me to the "Google Auth Platform", but I can't find anything on provisioning a client or what seems to be required "...
-1
votes
2
answers
102
views
How to provision a GKE cluster - Enterprise Tier with Terraform
As the terraform docs for google_container_cluster resource (https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/container_cluster), to provision a GKE cluster we need to ...
0
votes
1
answer
391
views
Migrate from "reCAPTCHA Classic" to "reCAPTCHA on a Google Cloud" using Terraform
Google recently sent out an email that all Google reCAPTCHA keys will need to be migrated to a Google Cloud project by the end of 2025. They also released a tutorial which guides you through the ...