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

[WIP] provider/aws: AWS WAF Regional Web ACL support #13711

Closed
wants to merge 2 commits into from

Conversation

yusukegoto
Copy link
Contributor

@yusukegoto yusukegoto commented Apr 17, 2017

This PR is from #13676.

test

resource "aws_wafregional_byte_match_set" "byte_set" {
  name = "tf_waf_byte_match_set"
  byte_match_tuples {
    text_transformation = "NONE"
    target_string = "badrefer1"
    positional_constraint = "CONTAINS"
    field_to_match {
      type = "HEADER"
      data = "referer"
    }
  }
}

resource "aws_wafregional_rule" "wafrule" {
  depends_on = ["aws_wafregional_byte_match_set.byte_set"]
  name = "tfWAFRule"
  metric_name = "tfWAFRule"
  predicates {
    data_id = "${aws_wafregional_byte_match_set.byte_set.id}"
    negated = false
    type = "ByteMatch"
  }
}

resource "aws_wafregional_web_acl" "wafacl" {
  depends_on = ["aws_wafregional_byte_match_set.byte_set", "aws_wafregional_rule.wafrule"]
  name = "tfWebACL"
  metric_name = "tfWebACL"
  default_action {
    type = "ALLOW"
  }
  rules {
    action {
       type = "BLOCK"
    }
    priority = 1
    rule_id = "${aws_wafregional_rule.wafrule.id}"
  }
}

exec

@yusukegoto yusukegoto changed the title providor/aws: AWS WAF Regional Web ACL support [WIP] providor/aws: AWS WAF Regional Web ACL support Apr 17, 2017
@yusukegoto yusukegoto changed the title [WIP] providor/aws: AWS WAF Regional Web ACL support [WIP] provider/aws: AWS WAF Regional Web ACL support Apr 23, 2017
@DennyLoko
Copy link

Hello @yusukegoto. Since #13705 has already been merged, would you mind to rebase this?

@yusukegoto
Copy link
Contributor Author

yusukegoto commented Jul 4, 2017

@DennyLoko
Sorry for my lazy reply.
Thanks for taking over these. I can't have much time to fix these.

@DennyLoko
Copy link

Hello @yusukegoto, no worries.
I've already migrated most of them to the new repository.

@apparentlymart
Copy link
Contributor

Hello , and thanks for working on this!

As part of the the Terraform 0.10 release earlier this year, all of the Terraform providers were moved to their own repositories in the terraform-providers GitHub organization, and removed from the Terraform Core repository.

Unfortunately due to the fact that new issues and pull requests are being opened constantly, it was not possible for the various provider maintainers to merge all outstanding pull requests before this split, and there is no automatic way to migrate a pull request to a new repository.

As a result, this pull request can sadly no longer be applied as-is, and so I'm going to close it. It looks like @DennyLoko already migrated this as hashicorp/terraform-provider-aws#1046, so thanks!

Thanks again for working on this, and sorry it was not able to be merged before the provider repository changes.

@ghost
Copy link

ghost commented Apr 5, 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 5, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants