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

Unsupported block type path_pattern #1

Open
sonalkr132 opened this issue Apr 14, 2020 · 1 comment
Open

Unsupported block type path_pattern #1

sonalkr132 opened this issue Apr 14, 2020 · 1 comment

Comments

@sonalkr132
Copy link

I am getting following exception:

Error: Unsupported block type                                                                                                                                          
                                                                                                                                                                       
  on file.tf line 87, in resource "aws_lb_listener_rule" "name":                                                                              
  87:     path_pattern {                                                                                                                                               
                                                                                                                                                                       
Blocks of type "path_pattern" are not expected here.  

doc says path_pattern as well. In plan I see path-pattern being used.

@sonalkr132
Copy link
Author

Following works:

condition {
    field = "path-pattern"
    values = ["/urlpath/*"]
  }

again taken from terrafrom plan.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant