Skip to content

Commit

Permalink
feat: add Forms Staging/Prod billing read only groups (#308)
Browse files Browse the repository at this point in the history
Add two new groups that allow members to have read-only
billing access to the Forms accounts.
  • Loading branch information
patheard authored Sep 16, 2024
1 parent c4fe853 commit f17d5f1
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ locals {
group = aws_identitystore_group.forms_production_athena_query_access,
permission_set = aws_ssoadmin_permission_set.athena_query_access,
},
{
group = aws_identitystore_group.forms_production_billing_read_only,
permission_set = aws_ssoadmin_permission_set.read_only_billing,
},
{
group = aws_identitystore_group.forms_production_rds_query_access,
permission_set = aws_ssoadmin_permission_set.rds_query_access,
Expand All @@ -35,6 +39,10 @@ locals {
group = aws_identitystore_group.forms_staging_athena_query_access,
permission_set = aws_ssoadmin_permission_set.athena_query_access,
},
{
group = aws_identitystore_group.forms_staging_billing_read_only,
permission_set = aws_ssoadmin_permission_set.read_only_billing,
},
{
group = aws_identitystore_group.forms_staging_rds_query_access,
permission_set = aws_ssoadmin_permission_set.rds_query_access,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ resource "aws_identitystore_group" "forms_production_athena_query_access" {
identity_store_id = local.sso_identity_store_id
}

resource "aws_identitystore_group" "forms_production_billing_read_only" {
display_name = "Forms-Production-Billing-ReadOnly"
description = "Grants members read-only Billing and Cost Explorer access to the Forms Production account."
identity_store_id = local.sso_identity_store_id
}

resource "aws_identitystore_group" "forms_production_rds_query_access" {
display_name = "Forms-Production-RDS-Query-Access"
description = "Grants members access to the RDS query editor in the GC Forms Production account."
Expand Down Expand Up @@ -40,6 +46,12 @@ resource "aws_identitystore_group" "forms_staging_athena_query_access" {
identity_store_id = local.sso_identity_store_id
}

resource "aws_identitystore_group" "forms_staging_billing_read_only" {
display_name = "Forms-Staging-Billing-ReadOnly"
description = "Grants members read-only Billing and Cost Explorer access to the Forms Staging account."
identity_store_id = local.sso_identity_store_id
}

resource "aws_identitystore_group" "forms_staging_rds_query_access" {
display_name = "Forms-Staging-RDS-Query-Access"
description = "Grants members access to the RDS query editor in the GC Forms Staging account."
Expand Down

0 comments on commit f17d5f1

Please sign in to comment.