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

google_compute_url_map: "path_matcher.0.path_rule": required field is not set #113

Closed
hashibot opened this issue Jun 13, 2017 · 1 comment · Fixed by #118
Closed

google_compute_url_map: "path_matcher.0.path_rule": required field is not set #113

hashibot opened this issue Jun 13, 2017 · 1 comment · Fixed by #118
Labels

Comments

@hashibot
Copy link

This issue was originally opened by @mattes as hashicorp/terraform#15200. It was migrated here as part of the provider split. The original body of the issue is below.


Terraform Version

Terraform v0.9.8

Affected Resource(s)

  • google_compute_url_map

Terraform Configuration Files

resource "google_compute_url_map" "primary" {
  name            = "primary"
  default_service = "${google_compute_backend_service.www.self_link}"

  host_rule {
    hosts = ["www"]
    path_matcher = "www"
  }

  path_matcher {
    name = "www"
    default_service = "${google_compute_backend_service.www.self_link}"
    /* path_rule {
       paths = ["/*"] 
       service = "${google_compute_backend_service.www.self_link}" 
    }
    */
  }
}

Expected Behavior

google_compute_url_map.path_matcher.path_rule is optional

Actual Behavior

Error:
google_compute_url_map.primary: "path_matcher.0.path_rule": required field is not set

@hashibot hashibot added the bug label Jun 13, 2017
luis-silva pushed a commit to luis-silva/terraform-provider-google that referenced this issue May 21, 2019
Merge terraform-provider-google master into tpgb master
@ghost
Copy link

ghost commented Mar 31, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 hashibot-feedback@hashicorp.com. Thanks!

@ghost ghost locked and limited conversation to collaborators Mar 31, 2020
@github-actions github-actions bot added forward/review In review; remove label to forward service/compute-l7-load-balancer labels Jan 14, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
1 participant