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 93f8853
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 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,13 @@ 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}/x-always-block_web_acl/REGIONAL"
}

0 comments on commit 93f8853

Please sign in to comment.