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 #15200

Closed
mattes opened this issue Jun 8, 2017 · 1 comment
Closed

Comments

@mattes
Copy link

mattes commented Jun 8, 2017

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

@ghost
Copy link

ghost commented Apr 9, 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 have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost locked and limited conversation to collaborators Apr 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants