From bb38b728cdb54b012885a1b26a0852a4d782f503 Mon Sep 17 00:00:00 2001 From: dms1981 Date: Fri, 13 Sep 2024 16:39:25 +0100 Subject: [PATCH] managed shield response team access through code (#7767) --- terraform/environments/wardship/shield.tf | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 terraform/environments/wardship/shield.tf diff --git a/terraform/environments/wardship/shield.tf b/terraform/environments/wardship/shield.tf new file mode 100644 index 00000000000..5de4927c4e4 --- /dev/null +++ b/terraform/environments/wardship/shield.tf @@ -0,0 +1,7 @@ +data "aws_iam_role" "srt_access" { + name = "AWSSRTSupport" +} + +resource "aws_shield_drt_access_role_arn_association" "srt_access" { + role_arn = data.aws_iam_role.srt_access.arn +}