Include only the current account
option, you can't edit that sync later and choose the Include all accounts from my Organizations configuration
option. Instead, you must delete the first resource data sync, and create a new one.curl --location -g --request POST 'http://ssm.{region}.amazonaws.com/' \
--header 'X-Amz-Target;' \
--header 'Content-Type: application/json' \
--data-raw '{
"SyncName": "string",
"SyncType": "string",
"SyncSource": {
"SourceType": "string",
"AwsOrganizationsSource": {
"OrganizationSourceType": "string",
"OrganizationalUnits": []
},
"SourceRegions": [],
"IncludeFutureRegions": true,
"EnableAllOpsDataSources": true
}
}'
{}