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

Added support for wafv2_web_acl #12

Merged
merged 5 commits into from
May 16, 2023

Conversation

Ankush-Sethi
Copy link

Name Monthly Qty Unit Monthly Cost

idem_test_web_acl
├─ Web ACL usage 1 months $5.00
└─ Requests Monthly cost depends on usage: $0.60 per 1M requests

OVERALL TOTAL $5.00
──────────────────────────────────
1 cloud resource was detected:
∙ 1 was estimated

Test Results

/opt/homebrew/Cellar/go/1.20.4/libexec/bin/go tool test2json -t /Users/sethian/Library/Caches/JetBrains/GoLand2023.1/tmp/GoLand/___TestWAFv2WebACLGoldenFile_in_github_com_infracost_infracost_internal_providers_idem_aws.test -test.v -test.paniconexit0 -test.run ^\QTestWAFv2WebACLGoldenFile\E$
=== RUN TestWAFv2WebACLGoldenFile
testutil.go:178: Wrote golden file testdata/wafv2_web_acl_test/wafv2_web_acl_test.golden
--- PASS: TestWAFv2WebACLGoldenFile (1.78s)
PASS


Golden file generated based on usage.

Name Monthly Qty Unit Monthly Cost

idem_test_web_acl
├─ Web ACL usage 1 months $5.00
├─ Rules 15 rules $15.00
└─ Requests 1 1M requests $0.60

OVERALL TOTAL $20.60
──────────────────────────────────
1 cloud resource was detected:
∙ 1 was estimated

Name: "states.aws.wafv2.web_acl.present",
RFunc: NewWAFv2WebACL,
Notes: []string{
"Seller fees for Managed Rule Groups from AWS Marketplace are not included. Bot Control is not supported by Terraform.",
Copy link
Owner

Choose a reason for hiding this comment

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

Terraform?

Copy link
Author

Choose a reason for hiding this comment

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

corrected the message for seller

@vreutova vreutova merged commit ccf1ec1 into vreutova:master May 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants