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

New resource r/aws_wafv2_ip_set #12119

Merged
merged 19 commits into from
May 18, 2020
Merged

Conversation

pvanbuijtene
Copy link
Contributor

@pvanbuijtene pvanbuijtene commented Feb 21, 2020

Community Note

  • Please vote on this pull request by adding a 👍 reaction to the original pull request comment to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for pull request followers and do not help prioritize the request

Closes #11173
Relates #11046

* **New Resource**: `aws_wafv2_ip_set` (#12119)

Output from acceptance testing:

make testacc TEST=./aws TESTARGS='-run=TestAccAwsWafv2IPSet_*'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAwsWafv2IPSet_* -timeout 120m
...
--- PASS: TestAccAwsWafv2IPSet_minimal (14.02s)
--- PASS: TestAccAwsWafv2IPSet_changeNameForceNew (24.21s)
--- PASS: TestAccAwsWafv2IPSet_basic (32.15s)
--- PASS: TestAccAwsWafv2IPSet_tags (36.29s)
PASS
ok      github.com/terraform-providers/terraform-provider-aws/aws       36.850s

@pvanbuijtene pvanbuijtene requested a review from a team February 21, 2020 14:38
@ghost ghost added size/XL Managed by automation to categorize the size of a PR. needs-triage Waiting for first response or review from a maintainer. provider Pertains to the provider itself, rather than any interaction with AWS. service/wafv2 Issues and PRs that pertain to the wafv2 service. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. documentation Introduces or discusses updates to documentation. labels Feb 21, 2020
aws/resource_aws_wafv2_ip_set.go Outdated Show resolved Hide resolved
aws/resource_aws_wafv2_ip_set.go Outdated Show resolved Hide resolved
aws/resource_aws_wafv2_ip_set.go Outdated Show resolved Hide resolved
aws/resource_aws_wafv2_ip_set.go Outdated Show resolved Hide resolved
aws/resource_aws_wafv2_ip_set.go Outdated Show resolved Hide resolved
aws/resource_aws_wafv2_ip_set.go Outdated Show resolved Hide resolved
aws/resource_aws_wafv2_ip_set.go Outdated Show resolved Hide resolved
@pvanbuijtene
Copy link
Contributor Author

@dessite @DrFaust92 thanks for the review

@pvanbuijtene pvanbuijtene removed the request for review from a team April 17, 2020 19:27
@bflad bflad added new-resource Introduces a new resource. and removed needs-triage Waiting for first response or review from a maintainer. labels May 1, 2020
@bflad bflad self-assigned this May 1, 2020
Copy link
Contributor

@anGie44 anGie44 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hi @pvanbuijtene, thank you for this PR! Looks great overall, just a few comments

@pvanbuijtene
Copy link
Contributor Author

@anGie44 thanks for the review, the changes are applied.

...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAwsWafv2IPSet -timeout 120m
...
--- PASS: TestAccAwsWafv2IPSet_Disappears (14.87s)
--- PASS: TestAccAwsWafv2IPSet_Minimal (22.19s)
--- PASS: TestAccAwsWafv2IPSet_Basic (35.51s)
--- PASS: TestAccAwsWafv2IPSet_ChangeNameForceNew (37.66s)
--- PASS: TestAccAwsWafv2IPSet_Tags (53.83s)
PASS
ok      github.com/terraform-providers/terraform-provider-aws/aws       54.968s

@pvanbuijtene
Copy link
Contributor Author

@anGie44 I fixed and added some extra checks, let me know if I missed something.

@pvanbuijtene pvanbuijtene requested a review from anGie44 May 14, 2020 20:48
@anGie44
Copy link
Contributor

anGie44 commented May 14, 2020

Many thanks @pvanbuijtene! one catch in the resource re: pointer conversion and a suggestion to the documentation to match general formatting used around the provider's resource docs

Output of acceptance tests:

--- PASS: TestAccAwsWafv2IPSet_Minimal
--- PASS: TestAccAwsWafv2IPSet_Disappears
--- PASS: TestAccAwsWafv2IPSet_Basic
--- PASS: TestAccAwsWafv2IPSet_ChangeNameForceNew
--- PASS: TestAccAwsWafv2IPSet_Tags
--- PASS: TestAccAwsWafv2IPSet_IPv6

Copy link
Contributor

@bflad bflad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pre-emptively approving -- great work @pvanbuijtene and @anGie44!

Output from acceptance testing:

--- PASS: TestAccAwsWafv2IPSet_Disappears (18.53s)
--- PASS: TestAccAwsWafv2IPSet_ChangeNameForceNew (23.11s)
--- PASS: TestAccAwsWafv2IPSet_Minimal (24.76s)
--- PASS: TestAccAwsWafv2IPSet_IPv6 (25.26s)
--- PASS: TestAccAwsWafv2IPSet_Basic (28.74s)
--- PASS: TestAccAwsWafv2IPSet_Tags (34.23s)

@bflad bflad assigned anGie44 and unassigned bflad May 15, 2020
@pvanbuijtene pvanbuijtene requested a review from anGie44 May 15, 2020 16:38
Copy link
Contributor

@anGie44 anGie44 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, all set @pvanbuijtene ! 🙌

@anGie44 anGie44 added this to the v2.63.0 milestone May 18, 2020
@anGie44 anGie44 merged commit cc48300 into hashicorp:master May 18, 2020
anGie44 added a commit that referenced this pull request May 18, 2020
@ghost
Copy link

ghost commented May 22, 2020

This has been released in version 2.63.0 of the Terraform AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.

For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template for triage. Thanks!

@ghost
Copy link

ghost commented Jun 18, 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 Jun 18, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation Introduces or discusses updates to documentation. new-resource Introduces a new resource. provider Pertains to the provider itself, rather than any interaction with AWS. service/wafv2 Issues and PRs that pertain to the wafv2 service. size/XL Managed by automation to categorize the size of a PR. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature Request: WAFv2 IP Set Resource
5 participants