Skip to content

Commit

Permalink
Merge pull request #8517 from ministryofjustice/feature/8360-add-inve…
Browse files Browse the repository at this point in the history
…ntory-resource-data-sync-to-bootstrap

Add inventory resource data sync to member bootstrap
  • Loading branch information
richgreen-moj authored Nov 27, 2024
2 parents 30fb44f + 03008dd commit 172a407
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions terraform/environments/bootstrap/member-bootstrap/ssm.tf
Original file line number Diff line number Diff line change
Expand Up @@ -127,3 +127,14 @@ resource "aws_ssm_resource_data_sync" "security_account" {
kms_key_arn = local.environment_management.ssm_resource_sync_kms_arn
}
}

# Mod Platform SSM Inventory Resource Data Sync
# This will gather inventory data from all MP accounts and deliver to a central S3 bucket hosted in the organisation-security account
resource "aws_ssm_resource_data_sync" "mod_platform_inventory_sync" {
name = "mod-platform-inventory-resource-data-sync"
s3_destination {
bucket_name = local.environment_management.mp_ssm_inventory_resource_data_sync_bucket_name
region = data.aws_region.current.name
sync_format = "JsonSerDe"
}
}

0 comments on commit 172a407

Please sign in to comment.