Skip to content
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

Getting error during simple cloudrun creation #90

Closed
dwivedinamrata23 opened this issue Jan 6, 2023 · 1 comment
Closed

Getting error during simple cloudrun creation #90

dwivedinamrata23 opened this issue Jan 6, 2023 · 1 comment
Labels

Comments

@dwivedinamrata23
Copy link

I am getting error when creating simple cloudrun module

module "service_account" {
source = "terraform-google-modules/service-accounts/google"
version = "~> 4.1.1"
project_id = var.project_id
prefix = "sa-cloud-run"
names = ["simple"]
}

module "cloud-run" {
source = "GoogleCloudPlatform/cloud-run/google"
version = "0.4.0"
service_name = var.service_name
project_id = var.project_id
location = var.location
image = var.image
service_account_email = module.service_account.email
}

module.cloud-run.google_cloud_run_service.main: Creating...

│ Error: Error creating Service: Post "https://-run.googleapis.com/apis/serving.knative.dev/v1/namespaces//services?alt=json": dial tcp: lookup -run.googleapis.com: no such host

│ with module.cloud-run.google_cloud_run_service.main,
│ on .terraform/modules/cloud-run/main.tf line 22, in resource "google_cloud_run_service" "main":
│ 22: resource "google_cloud_run_service" "main" {

Please review and provide feedback .

@github-actions
Copy link

github-actions bot commented Mar 7, 2023

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days

@github-actions github-actions bot added the Stale label Mar 7, 2023
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Mar 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant