-
Notifications
You must be signed in to change notification settings - Fork 9.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
resource/aws_waf(regional)_ipset: Properly handle updates and deletio…
…ns over 1000 IP set descriptors * Perform batching of 1000 Updates with UpdateIPSet Previously: --- FAIL: TestAccAWSWafIPSet_IpSetDescriptors_1000UpdateLimit (8.02s) testing.go:527: Step 0 error: Error applying: 1 error occurred: * aws_waf_ipset.ipset: 1 error occurred: * aws_waf_ipset.ipset: Error Updating WAF IPSet: Error Updating WAF IPSet: WAFLimitsExceededException: Operation would result in exceeding resource limits. --- FAIL: TestAccAWSWafRegionalIPSet_IpSetDescriptors_1000UpdateLimit (10.55s) testing.go:527: Step 0 error: Error applying: 1 error occurred: * aws_wafregional_ipset.ipset: 1 error occurred: * aws_wafregional_ipset.ipset: Error Updating WAF IPSet: Error Updating WAF IPSet: WAFLimitsExceededException: Operation would result in exceeding resource limits. Now passes: make testacc TEST=./aws TESTARGS='-run=TestAccAWSWaf\(Regional\)\?IPSet_' ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./aws -v -run=TestAccAWSWaf\(Regional\)\?IPSet_ -timeout 120m === RUN TestAccAWSWafIPSet_basic --- PASS: TestAccAWSWafIPSet_basic (11.79s) === RUN TestAccAWSWafIPSet_disappears --- PASS: TestAccAWSWafIPSet_disappears (7.02s) === RUN TestAccAWSWafIPSet_changeNameForceNew --- PASS: TestAccAWSWafIPSet_changeNameForceNew (18.54s) === RUN TestAccAWSWafIPSet_changeDescriptors --- PASS: TestAccAWSWafIPSet_changeDescriptors (15.31s) === RUN TestAccAWSWafIPSet_noDescriptors --- PASS: TestAccAWSWafIPSet_noDescriptors (8.89s) === RUN TestAccAWSWafIPSet_IpSetDescriptors_1000UpdateLimit --- PASS: TestAccAWSWafIPSet_IpSetDescriptors_1000UpdateLimit (26.55s) === RUN TestAccAWSWafRegionalIPSet_basic --- PASS: TestAccAWSWafRegionalIPSet_basic (13.73s) === RUN TestAccAWSWafRegionalIPSet_disappears --- PASS: TestAccAWSWafRegionalIPSet_disappears (13.02s) === RUN TestAccAWSWafRegionalIPSet_changeNameForceNew --- PASS: TestAccAWSWafRegionalIPSet_changeNameForceNew (26.81s) === RUN TestAccAWSWafRegionalIPSet_changeDescriptors --- PASS: TestAccAWSWafRegionalIPSet_changeDescriptors (22.95s) === RUN TestAccAWSWafRegionalIPSet_IpSetDescriptors_1000UpdateLimit --- PASS: TestAccAWSWafRegionalIPSet_IpSetDescriptors_1000UpdateLimit (33.62s) === RUN TestAccAWSWafRegionalIPSet_noDescriptors --- PASS: TestAccAWSWafRegionalIPSet_noDescriptors (10.92s) PASS ok github.com/terraform-providers/terraform-provider-aws/aws 209.782s
- Loading branch information
Showing
4 changed files
with
145 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters