profile
viewpoint
Andre Marcelo-Tanner kzap Enthropia Inc. Philippines https://mydev.org I code

examinecom/ontraport-php-sdk 2

SDK for the New ONTRAPORT API

examinecom/fast-image-size 1

fast-image-size is a PHP library that does almost everything PHP's getimagesize() does but without the large overhead of downloading the complete file.

examinecom/convertkit 0

An API wrapper for ConvertKit

examinecom/Eden-PHP-Core 0

The magic behind the Eden PHP Library.

examinecom/guzzle3 0

[DEPRECATED] This is end of life and not maintained. Migrate to https://github.com/guzzle/guzzle

examinecom/iso3166 0

ISO 3166-1 alpha-2 mapping

examinecom/php-sitemap-generator 0

PHP Sitemap Generator

examinecom/purl 0

Purl is a simple Object Oriented URL manipulation library for PHP 5.3+

examinecom/sql 0

SQL core methods for MySQL, Posgres and SQLite

kzap/algo 0

Set up a personal IPSEC VPN in the cloud

push eventkzap/kzap.github.io

Andre Marcelo-Tanner

commit sha b2350470d7c402189ade85a1a50698fc728a7c54

rebuilding site Sun Jun 14 08:25:31 PST 2020

view details

push time in 2 months

push eventkzap/kzap.github.io

Andre Marcelo-Tanner

commit sha a7ee8f9631aaab02fa0e15b37c5e4555c8d0d40a

rebuilding site Sun Jun 7 16:46:31 PST 2020

view details

push time in 2 months

push eventkzap/kzap.github.io

Andre Marcelo-Tanner

commit sha 8b189f4c6befec89e174640b8078877adaa56f89

rebuilding site Sun Jun 7 16:41:47 PST 2020

view details

push time in 2 months

push eventkzap/kzap.github.io

Andre Marcelo-Tanner

commit sha 27fb517d48bd00df912eed4f7835775fb8a16dd6

rebuilding site Sun Jun 7 15:54:18 PST 2020

view details

push time in 2 months

push eventkzap/kzap.github.io

Andre Marcelo-Tanner

commit sha e2c507431aac572339efb7d3ac294050241d451b

rebuilding site Tue Oct 8 17:19:24 PST 2019

view details

Andre Marcelo-Tanner

commit sha a3684e45825877e9d34783253b3ab97d42a92d63

rebuilding site Wed Oct 9 13:48:36 PST 2019

view details

Andre Marcelo-Tanner

commit sha 27cf1fc51aba6e0e96939ef423c4aefe351f3088

rebuilding site Wed Oct 9 13:50:51 PST 2019

view details

Andre Marcelo-Tanner

commit sha 370f71e2224a4afec909f0e047c777f4765ccdc0

rebuilding site Sun Jun 7 15:43:45 PST 2020

view details

push time in 2 months

issue commentaws/aws-node-termination-handler

Feature Request: Detatch Instance from ASG upon Termination Event

Running cluster autoscaler would compensate for this and bring up new nodes for you when needed rather than waiting for one to be replaced?

jtcressy

comment created time in 2 months

issue commentkubernetes/kops

Debian 10 (Buster) or Ubuntu 20.04 (Focal)

Focal for us, most important are the fixes, rather than keeping on the same distribution

hakman

comment created time in 2 months

PR opened DataDog/datadog-serverless-functions

Update Terraform code to ignore parameter change

Without this change terraform apply would keep trying to apply changes to the Cloudformation Stack even though its already been deployed.

What does this PR do?

A brief description of the change being made with this pull request.

Motivation

What inspired you to submit this pull request?

Additional Notes

Anything else we should know when reviewing?

Checklist

  • [ ] Member of the datadog team has run integration tests
+6 -0

0 comment

1 changed file

pr created time in 3 months

push eventkzap/datadog-serverless-functions

Andre Marcelo-Tanner

commit sha af49b676a56cbf03490306cb2958e4024c907b2f

Update Terraform code to ignore parameter change Without this change `terraform apply` would keep trying to apply changes to the Cloudformation Stack even though its already been deployed.

view details

push time in 3 months

fork kzap/datadog-serverless-functions

Repo of lambda functions that process streams and send data to datadog

fork in 3 months

issue commentterraform-providers/terraform-provider-datadog

datadog_synthetics_test: add retry option

Any update to #425? I am finding that synthetic_test resets the retry option to 0 when it makes change to the other options

julianvmodesto

comment created time in 3 months

issue commentDataDog/datadog-serverless-functions

PutBucketNotification InvalidArgument: Cannot have overlapping suffixes in two rules...

Thanks, well hope it could be documented somewhere as it seems more related to DataDog's internal AWS integration :)

kzap

comment created time in 3 months

issue commentDataDog/datadog-serverless-functions

PutBucketNotification InvalidArgument: Cannot have overlapping suffixes in two rules...

Solved it when I noticed I had 2 CloudFront distributions sending logs to the same S3 Bucket,

One was sending logs with NO prefix and another was sending logs with the prefix of client-analytics/

It seems the DataDog did not know how to handle this and it was fixed when I put a prefix for both Cloudfront Log Buckets

kzap

comment created time in 3 months

issue openedDataDog/datadog-serverless-functions

PutBucketNotification InvalidArgument: Cannot have overlapping suffixes in two rules...

Describe what happened: I have a specific bucket that when DataDog is trying to add triggers to it, it keeps failing because it is adding a 2nd S3 Filter and it is unable to add the S3 Notification Trigger

                    "Filter": {
                        "S3Key": {
                            "FilterRule": {
                                "Value": "client-analytics/",
                                "Name": "Prefix"
                            }
                        }

Describe what you expected: I expect DataDog to automatically add S3 Notification Triggers to all my S3 Buckets

Steps to reproduce the issue:

  • Install DataDog Forwader Lambda via Cloudformat Stack: https://github.com/DataDog/datadog-serverless-functions/tree/master/aws/logs_monitoring#installation
  • Add Lambda to DataDog AWS Collect Logs Integration page: https://app.datadoghq.com/account/settings#integrations/amazon-web-services
  • Watch CloudTrail for logs that fail.

it doesn't happen for all, this is the whole error with some redacted parts:

{
    "eventVersion": "1.05",
    "userIdentity": {
        "type": "AssumedRole",
        "principalId": "REDACTED",
        "arn": "arn:aws:sts::REDACTED:assumed-role/DatadogAWSIntegrationRole/DatadogAWSIntegration",
        "accountId": "REDACTED",
        "accessKeyId": "REDACTED",
        "sessionContext": {
            "attributes": {
                "mfaAuthenticated": "false",
                "creationDate": "2020-05-11T05:38:12Z"
            },
            "sessionIssuer": {
                "type": "Role",
                "principalId": "REDACTED",
                "arn": "arn:aws:iam::REDACTED:role/DatadogAWSIntegrationRole",
                "accountId": "REDACTED",
                "userName": "DatadogAWSIntegrationRole"
            }
        }
    },
    "eventTime": "2020-05-11T06:10:11Z",
    "eventSource": "s3.amazonaws.com",
    "eventName": "PutBucketNotification",
    "awsRegion": "us-east-1",
    "sourceIPAddress": "172.22.213.201",
    "userAgent": "[Datadog]",
    "errorCode": "InvalidArgument",
    "errorMessage": "Configuration is ambiguously defined. Cannot have overlapping suffixes in two rules if the prefixes are overlapping for the same event type.",
    "requestParameters": {
        "notification": [
            ""
        ],
        "bucketName": "REDACTED",
        "NotificationConfiguration": {
            "xmlns": "http://s3.amazonaws.com/doc/2006-03-01/",
            "CloudFunctionConfiguration": [
                {
                    "Filter": {
                        "S3Key": {
                            "FilterRule": {
                                "Value": "",
                                "Name": "Prefix"
                            }
                        }
                    },
                    "CloudFunction": "arn:aws:lambda:us-east-1:REDACTED:function:datadog-forwarder-Forwarder-EA50VSJYCNJ6",
                    "Event": [
                        "s3:ObjectCreated:*",
                        "s3:ObjectRemoved:*"
                    ],
                    "Id": "DD_LOG_INTAKE_arn:aws:lambda:us-east-1:REDACTED:function:datadog-forwarder-Forwarder-EA50VSJYCNJ6_"
                },
                {
                    "Filter": {
                        "S3Key": {
                            "FilterRule": {
                                "Value": "client-analytics/",
                                "Name": "Prefix"
                            }
                        }
                    },
                    "CloudFunction": "arn:aws:lambda:us-east-1:REDACTED:function:datadog-forwarder-Forwarder-EA50VSJYCNJ6",
                    "Event": [
                        "s3:ObjectCreated:*",
                        "s3:ObjectRemoved:*"
                    ],
                    "Id": "DD_LOG_INTAKE_arn:aws:lambda:us-east-1:REDACTED:function:datadog-forwarder-Forwarder-EA50VSJYCNJ6_client-analytics/"
                }
            ]
        },
        "host": [
            "REDACTED.s3.amazonaws.com"
        ]
    },
    "responseElements": null,
    "additionalEventData": {
        "SignatureVersion": "SigV4",
        "CipherSuite": "ECDHE-RSA-AES128-GCM-SHA256",
        "AuthenticationMethod": "AuthHeader",
        "vpcEndpointId": "REDACTED"
    },
    "requestID": "REDACTED",
    "eventID": "REDACTED",
    "eventType": "AwsApiCall",
    "recipientAccountId": "REDACTED",
    "vpcEndpointId": "REDACTED"
}

created time in 3 months

issue commenthashicorp/terraform

Cannot use `terraform import` with module that has dynamic provider configuration

3 years and counting.... note to self if you find this issue again in 1 year don't worry its not your fault, add +1 to yearly counter

jszwedko

comment created time in 3 months

more