-
Notifications
You must be signed in to change notification settings - Fork 544
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
random error when enabling apis #461
Comments
What version of Terraform, the module, and the provider are you using? |
@antoinecastex Could you provide the full list of APIs you are trying to enable and provider version? |
@morgante i'm using beta the last one because cloud build manage everything for me : * hashicorp/google-beta: version = "~> 3.40.0" |
@bharathkkb here is my apis bigquery.googleapis.comstorage-component.googleapis.com |
@bharathkkb any help on that please ? |
@antoinecastex Apologies for the late reply but this does seem like a provider issue. I would suggest bumping to |
hashicorp/google-beta: version = "~> 3.42.0". problem is still here @bharathkkb |
Hello
Just want to enable couple of apis with this sample code
resource "google_project_service" "service" {
provider = google-beta
for_each = toset(var.APIS)
service = each.key
project = var.PROJECT_ID
disable_on_destroy = false
depends_on = [
google_project_service.service_default
]
}
But randomly got an error for some apis (not the same every time so it's not related to specific api) like this
Step #1: Error: Request "Enable Project Service "cloudscheduler.googleapis.com" for project "itg-hip-emea-ww-pd"" returned error: failed to send enable services request: googleapi: Error 400: Another activation or deactivation is in progress for the following service(s): cloudscheduler.googleapis.com and project itg-hip-emea-ww-pd., failedPrecondition
Step #1: Error: Request "Enable Project Service "redis.googleapis.com" for project "itg-hip-emea-ww-dv"" returned error: failed to send enable services request: googleapi: Error 400: Another activation or deactivation is in progress for the following service(s): redis.googleapis.com and project itg-hip-emea-ww-dv., failedPrecondition
Step #1: Error: Request "Enable Project Service "endpoints.googleapis.com" for project "it-selloutacd-fr-emea-dv"" returned error: failed to send enable services request: googleapi: Error 400: Another activation or deactivation is in progress for the following service(s): endpoints.googleapis.com and project it-selloutacd-fr-emea-dv., failedPrecondition
Step #1: Error: Request "Enable Project Service "dataflow.googleapis.com" for project "it-selloutacd-fr-emea-dv"" returned error: failed to send enable services request: googleapi: Error 400: Another activation or deactivation is in progress for the following service(s): dataflow.googleapis.com and project it-selloutacd-fr-emea-dv., failedPrecondition
Step #1: Error: Request "Enable Project Service "dataflow.googleapis.com" for project "it-selloutacd-fr-emea-dv"" returned error: failed to send enable services request: googleapi: Error 400: Another activation or deactivation is in progress for the following service(s): dataflow.googleapis.com and project it-selloutacd-fr-emea-dv., failedPrecondition
Step #1: Error: Request "Enable Project Service "stackdriver.googleapis.com" for project "it-onereporting-fr-emea-dv"" returned error: failed to send enable services request: googleapi: Error 400: Another activation or deactivation is in progress for the following service(s): stackdriver.googleapis.com and project it-onereporting-fr-emea-dv., failedPrecondition
Step #1: Error: Request "Enable Project Service "run.googleapis.com" for project "it-selloutdpl-fr-emea-dv"" returned error: failed to send enable services request: googleapi: Error 400: Another activation or deactivation is in progress for the following service(s): run.googleapis.com and project it-selloutdpl-fr-emea-dv., failedPrecondition
If apis in error change every time i create a new project, that mean it's not specific api dependencies , i think it's latency general api but not sure , and how to solve that ?
thanks
The text was updated successfully, but these errors were encountered: