I have created a trail to log all the events happens in AWS, But the trail not logging the ID of CloudFront distribution after deployment successfully.
Here is a snippet of output trail logged on create distribution.
(
[EventId] => a6bd-8671102fd188
[Username] => 7857RFR
[EventTime] => 1534501513
[CloudTrailEvent] => {}
[EventName] => CreateDistribution
[EventSource] => cloudfront.amazonaws.com
[Resources] => Array
(
)
)
In the above response, the event logged for cloudFront api call CreateDistribution but the resources array is empty and also after deployment successfully there is no new event logged by cloudTrail for distribution ID.
Any suggestion will be appreciated.