Skip to content

Commit

Permalink
test import
Browse files Browse the repository at this point in the history
  • Loading branch information
theseanything committed Jan 27, 2025
1 parent 8d4808c commit 43cd9a7
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions terraform/deployments/govuk-publishing-infrastructure/wafs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -549,3 +549,14 @@ resource "aws_wafv2_web_acl_logging_configuration" "public_cache_waf" {
}
}
}

data "aws_wafv2_web_acl" "existing_default" {
name = "x-always-block_web_acl"
scope = "REGIONAL"
}

import {
to = aws_wafv2_web_acl.default
id = "${data.aws_wafv2_web_acl.existing_default.id}/default/REGIONAL"
}

0 comments on commit 43cd9a7

Please sign in to comment.