Skip to content

Commit

Permalink
add mp inventory resource data sync
Browse files Browse the repository at this point in the history
  • Loading branch information
richgreen-moj committed Nov 26, 2024
1 parent 5916191 commit 4c472ac
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 15 deletions.
15 changes: 0 additions & 15 deletions terraform/environments/bootstrap/member-bootstrap/datasync.tf

This file was deleted.

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 4c472ac

Please sign in to comment.