Skip to content

Commit

Permalink
add huu app user access key to secret
Browse files Browse the repository at this point in the history
  • Loading branch information
tylerthome committed Oct 16, 2024
1 parent 855d75c commit 9833e4b
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions terraform-incubator/home-unite-us/dev/iam.tf
Original file line number Diff line number Diff line change
Expand Up @@ -189,3 +189,12 @@ resource "aws_iam_user_policy_attachment" "homeuniteus_app" {
user = aws_iam_user.homeuniteus_app.name
policy_arn = "arn:aws:iam::aws:policy/AmazonCognitoPowerUser"
}

resource "aws_secretsmanager_secret" "homeuniteus_app" {
name = "homeuniteus-app"
}

resource "aws_secretsmanager_secret_version" "homeuniteus_app" {
secret_id = aws_secretsmanager_secret.homeuniteus_app.id
secret_string = aws_iam_access_key.homeuniteus_app.secret
}

0 comments on commit 9833e4b

Please sign in to comment.