Skip to content

Commit

Permalink
Manage tipstaff-production shield response team access through code (
Browse files Browse the repository at this point in the history
…#7766)

* managed shield response team access through code

* set github provider locally to prevent implict use of latest version
  • Loading branch information
dms1981 authored Sep 13, 2024
1 parent 3d5f59f commit 7b07dce
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
4 changes: 4 additions & 0 deletions terraform/environments/tipstaff/platform_versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ terraform {
source = "hashicorp/null"
version = "~> 3.2"
}
github = {
source = "integrations/github"
version = "6.2.2"
}
}
required_version = "~> 1.0"
}
7 changes: 7 additions & 0 deletions terraform/environments/tipstaff/shield.tf
Original file line number Diff line number Diff line change
@@ -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
}

0 comments on commit 7b07dce

Please sign in to comment.