From b4aa9e1a26bc30b95ff9849369d55957bddc2904 Mon Sep 17 00:00:00 2001 From: David Sibley Date: Fri, 13 Sep 2024 13:17:05 +0100 Subject: [PATCH] managed shield response team access through code --- terraform/environments/dacp/shield.tf | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 terraform/environments/dacp/shield.tf diff --git a/terraform/environments/dacp/shield.tf b/terraform/environments/dacp/shield.tf new file mode 100644 index 00000000000..5de4927c4e4 --- /dev/null +++ b/terraform/environments/dacp/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 +}