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

Failed to create aws_waf_byte_match_set resource #966

Closed
llavaud opened this issue Jun 26, 2017 · 2 comments
Closed

Failed to create aws_waf_byte_match_set resource #966

llavaud opened this issue Jun 26, 2017 · 2 comments
Labels
bug Addresses a defect in current functionality.

Comments

@llavaud
Copy link

llavaud commented Jun 26, 2017

Terraform Version

Terraform v0.10.0-dev (f40df21988572d5dfa4830bb5685a0c3134271ba+CHANGES)

Affected Resource(s)

  • aws_waf_byte_match_set

Terraform Configuration Files

provider "aws" {
  region = "eu-west-1"
}

resource "aws_waf_byte_match_set" "foo" {
  name = "foo"

  byte_match_tuples {
    text_transformation   = "LOWERCASE"
    target_string         = "/bar"
    positional_constraint = "CONTAINS"

    field_to_match {
      type = "URI"
    }
  }
}

Debug Output

https://gist.github.com/llavaud/b9b71db866fddecc9a03ecd61c7703c6

Panic Output

N/A

Expected Behavior

create an "aws_waf_byte_match_set" rule

Actual Behavior

failed to create a "aws_waf_byte_match_set" resource

Steps to Reproduce

  1. terraform apply

Important Factoids

nothing

References

N/A

@radeksimko
Copy link
Member

Hi @llavaud
I don't know where does the mentioned revision f40df21988572d5dfa4830bb5685a0c3134271ba come from (it's not present in our master), but the bug has been fixed in #953

Unfortunately AWS decided to tighten the validation on the server side which broke our implementation that wasn't complying with such tight validation anymore.

Anyway, this should be fixed in master and will be part of next release.

@ghost
Copy link

ghost commented Apr 12, 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. Thanks!

@ghost ghost locked and limited conversation to collaborators Apr 12, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Addresses a defect in current functionality.
Projects
None yet
Development

No branches or pull requests

2 participants