Skip to content

Instantly share code, notes, and snippets.

@myoung34
Created November 1, 2019 15:24
Show Gist options
  • Save myoung34/78f7e0c2b76e909c1b045f9cccecef98 to your computer and use it in GitHub Desktop.
Save myoung34/78f7e0c2b76e909c1b045f9cccecef98 to your computer and use it in GitHub Desktop.
Enter passphrase to unlock /home/myoung/.awsvault/keys/:
START RequestId: dc50d08f-abb0-4595-ad81-f6be4072b18a Version: $LATEST
[INFO] 2019-11-01T15:19:13.523Z dc50d08f-abb0-4595-ad81-f6be4072b18a Processing event
{
"version": "0",
"id": "2c3c00aa-c836-0af2-1225-b74a3e8a1aaa",
"detail-type": "AWS API Call via CloudTrail",
"source": "aws.elasticloadbalancing",
"account": "1234567890",
"time": "2019-11-01T15:19:06Z",
"region": "us-east-1",
"resources": [],
"detail": {
"eventVersion": "1.05",
"userIdentity": {
"type": "IAMUser",
"principalId": "redact",
"arn": "arn:aws:iam::1234567890:user/marcus.young",
"accountId": "redact",
"accessKeyId": "redact",
"userName": "marcus.young",
"sessionContext": {
"sessionIssuer": {},
"webIdFederationData": {},
"attributes": {
"mfaAuthenticated": "true",
"creationDate": "2019-11-01T13:11:47Z"
}
}
},
"eventTime": "2019-11-01T15:19:06Z",
"eventSource": "elasticloadbalancing.amazonaws.com",
"eventName": "CreateLoadBalancer",
"awsRegion": "us-east-1",
"sourceIPAddress": "redact",
"userAgent": "aws-sdk-go/1.25.22 (go1.13.3; linux; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.12 (+https://www.terraform.io)",
"requestParameters": {
"securityGroups": [
"sg-redact"
],
"type": "application",
"subnetMappings": [
{
"subnetId": "subnet-redact"
},
{
"subnetId": "subnet-redact"
}
],
"name": "test-lb-tf",
"tags": [
{
"value": "marc",
"key": "Environment"
}
],
"scheme": "internet-facing"
},
"responseElements": {
"loadBalancers": [
{
"type": "application",
"loadBalancerName": "test-lb-tf",
"vpcId": "vpc-redact",
"securityGroups": [
"sg-redact"
],
"state": {
"code": "provisioning"
},
"availabilityZones": [
{
"loadBalancerAddresses": [
{}
],
"subnetId": "subnet-redact",
"zoneName": "us-east-1b"
},
{
"loadBalancerAddresses": [
{}
],
"subnetId": "subnet-redact",
"zoneName": "us-east-1d"
}
],
"ipAddressType": "ipv4",
"dNSName": "test-lb-tf-908126193.us-east-1.elb.amazonaws.com",
"canonicalHostedZoneId": "redact",
"createdTime": "Nov 1, 2019 3:19:06 PM",
"loadBalancerArn": "arn:aws:elasticloadbalancing:us-east-1:1234567890:loadbalancer/app/test-lb-tf/ff6a1c6c9dcd7d3c",
"scheme": "internet-facing"
}
]
},
"requestID": "5a07a4a8-7b19-4fd8-8516-5ff7fce9af68",
"eventID": "10bba4e0-7a6d-4d3d-a9f2-a72a55dde424",
"eventType": "AwsApiCall",
"apiVersion": "2015-12-01"
},
"debug": true
}
[DEBUG] 2019-11-01T15:19:13.739Z dc50d08f-abb0-4595-ad81-f6be4072b18a Disabling cache
/aws/lambda/custodian-app-elb-notify-new-internet-facing 2019/11/01/[$LATEST]e31896af194d486187a2dea9b161b948
[WARNING] 2019-11-01T15:19:13.739Z dc50d08f-abb0-4595-ad81-f6be4072b18a Custodian reserves policy lambda tags starting with custodian - policy specifies custodian-info
/aws/lambda/custodian-app-elb-notify-new-internet-facing 2019/11/01/[$LATEST]e31896af194d486187a2dea9b161b948
[INFO] 2019-11-01T15:19:13.739Z dc50d08f-abb0-4595-ad81-f6be4072b18a Found resource ids:[]
/aws/lambda/custodian-app-elb-notify-new-internet-facing 2019/11/01/[$LATEST]e31896af194d486187a2dea9b161b948
[WARNING] 2019-11-01T15:19:13.739Z dc50d08f-abb0-4595-ad81-f6be4072b18a Could not find resource ids
/aws/lambda/custodian-app-elb-notify-new-internet-facing 2019/11/01/[$LATEST]e31896af194d486187a2dea9b161b948 END RequestId: dc50d08f-abb0-4595-ad81-f6be4072b18a
/aws/lambda/custodian-app-elb-notify-new-internet-facing 2019/11/01/[$LATEST]e31896af194d486187a2dea9b161b948 REPORT RequestId: dc50d08f-abb0-4595-ad81-f6be4072b18a Duration: 218.79 ms Billed Duration: 300 ms Memory Size: 512 MB Max Memory Used: 96 MB Init Duration: 945.14 ms
/aws/lambda/custodian-app-elb-notify-new-internet-facing 2019/11/01/[$LATEST]e31896af194d486187a2dea9b161b948
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment