Skip to content

Commit

Permalink
Remove defunct WAF association objects for CKAN.
Browse files Browse the repository at this point in the history
These were referring to LBs that no longer exist, and their replacements
are configured via aws-lb-controller and not Terraform.
  • Loading branch information
sengi committed Dec 14, 2023
1 parent 903eac5 commit f4ad068
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions terraform/projects/infra-public-wafs/standard_config.tf
Original file line number Diff line number Diff line change
@@ -1,14 +1,4 @@

resource "aws_shield_protection" "ckan_public_lb" {
name = "${var.stackname}-ckan-public-lb_shield"
resource_arn = data.terraform_remote_state.infra_public_services.outputs.ckan_public_lb_id
}

resource "aws_wafv2_web_acl_association" "ckan_public_web_acl" {
resource_arn = data.terraform_remote_state.infra_public_services.outputs.ckan_public_lb_id
web_acl_arn = aws_wafv2_web_acl.default.arn
}

resource "aws_shield_protection" "deploy_public_lb" {
name = "${var.stackname}-deploy-public-lb_shield"
resource_arn = data.terraform_remote_state.infra_public_services.outputs.deploy_public_lb_id
Expand Down

0 comments on commit f4ad068

Please sign in to comment.