Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add inventory resource data sync to member bootstrap #8517

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"
}
}