Skip to content

Commit 0131332

Browse files
mrotondoclaude
andcommitted
feat: output the application integration URL
Add an `application_integration_url` output (the module previously had none) so consumers can embed the AWS WAF JavaScript SDK from that URL to mint challenge tokens in the browser. Additive; no behavior change. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent da3d576 commit 0131332

2 files changed

Lines changed: 14 additions & 0 deletions

File tree

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -460,6 +460,12 @@ will be allowed through.
460460
| path | The path to match. | `string` | n/a | yes |
461461
| constraint | The constraint to apply when matching the path. Supported values are `EXACTLY`, `STARTS_WITH`, `ENDS_WITH`, `CONTAINS`, `CONTAINS_WORD`. | `string` | `"EXACTLY"` | no |
462462

463+
## Outputs
464+
465+
| Name | Description |
466+
|-----------------------------|----------------------------------------------------------------------------------------------------|
467+
| application_integration_url | URL for the AWS WAF application integration SDK (CAPTCHA/Challenge JavaScript API) for token minting. |
468+
463469
[acm]: https://aws.amazon.com/certificate-manager/
464470

465471
[acm-import]: https://docs.aws.amazon.com/acm/latest/userguide/import-certificate.html

outputs.tf

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
output "application_integration_url" {
2+
description = <<-EOT
3+
URL for the AWS WAF application integration SDK (CAPTCHA/Challenge JavaScript
4+
API). Embed the challenge.js or jsapi.js script from this URL to mint tokens
5+
in the browser.
6+
EOT
7+
value = aws_wafv2_web_acl.waf.application_integration_url
8+
}

0 commit comments

Comments
 (0)