Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save moss2k13/e1ac50784c80b01426cfaa9d8d57a2b4 to your computer and use it in GitHub Desktop.
Save moss2k13/e1ac50784c80b01426cfaa9d8d57a2b4 to your computer and use it in GitHub Desktop.
{
"eventVersion": "1.08",
"userIdentity": {
"type": "AssumedRole",
"principalId": "AROAQ5PTXMOKNYTYDEY4L:packerwithconditions",
"arn": "arn:aws:sts::063325037460:assumed-role/packer-test-role/packerwithconditions",
"accountId": "063325037460",
"accessKeyId": "ASIAQ5PTXMOKLK65ESJ5",
"sessionContext": {
"sessionIssuer": {
"type": "Role",
"principalId": "AROAQ5PTXMOKNYTYDEY4L",
"arn": "arn:aws:iam::063325037460:role/packer-test-role",
"accountId": "063325037460",
"userName": "packer-test-role"
},
"webIdFederationData": {},
"attributes": {
"creationDate": "2023-02-14T12:05:45Z",
"mfaAuthenticated": "false"
}
}
},
"eventTime": "2023-02-14T12:05:46Z",
"eventSource": "ec2.amazonaws.com",
"eventName": "DescribeImages",
"awsRegion": "eu-central-1",
"sourceIPAddress": "5.173.153.43",
"userAgent": "APN/1.0 HashiCorp/1.0 packer-plugin-amazon/1.1.6 (+https://www.packer.io/docs/builders/amazon) Packer/1.8.5 (+https://www.packer.io) aws-sdk-go/1.44.110 (go1.18.9; linux; amd64)",
"errorCode": "Client.UnauthorizedOperation",
"errorMessage": "You are not authorized to perform this operation.",
"requestParameters": {
"executableBySet": {},
"imagesSet": {},
"ownersSet": {},
"filterSet": {
"items": [
{
"name": "name",
"valueSet": {
"items": [
{
"value": "my-dev-build"
}
]
}
}
]
}
},
"responseElements": null,
"requestID": "09c9359f-d5a0-4b3e-94c7-bacae988c244",
"eventID": "3736a67b-9de3-4727-b1eb-e7ef99d35ff8",
"readOnly": true,
"eventType": "AwsApiCall",
"managementEvent": true,
"recipientAccountId": "063325037460",
"eventCategory": "Management",
"tlsDetails": {
"tlsVersion": "TLSv1.2",
"cipherSuite": "ECDHE-RSA-AES128-GCM-SHA256",
"clientProvidedHostHeader": "ec2.eu-central-1.amazonaws.com"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment