Skip to content

Commit

Permalink
AWS SSO roles requre s3 KMS key permissions
Browse files Browse the repository at this point in the history
When the s3 Export buckets are encrypted all AWS SSO roles will lose access to get objects from the export buckets

To allow AWS SSO role continued access where needed they will require KMS key permssions so the roles need to be passed to the KMS key policy

Add the AWS SSO roles to ssm parameters so can be passsed into the KMS key permissions
  • Loading branch information
TomJKing committed Oct 9, 2023
1 parent 1bfa4a5 commit e41b3c5
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions root_export_bucket_access.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@

module "aws_sso_roles" {
source = "./da-terraform-modules/ssm_parameter"
parameters = [
{
name = "${local.environment}/admin_role",
description = "AWS SSO admin role. Value to be added manually"
type = "SecureString"
value = "placeholder"
},
{
name = "${local.environment}/developer_role",
description = "AWS SSO developer role. Value to be added manually"
type = "SecureString"
value = "placeholder"
},
{
name = "${local.environment}/export_role",
description = "AWS SSO export role. Value to be added manually"
type = "SecureString"
value = "placeholder"
}
]
tags = local.common_tags
}

0 comments on commit e41b3c5

Please sign in to comment.