#random (2021-11)

Non-work banter and water cooler conversation

A place for non-work-related flimflam, faffing, hodge-podge or jibber-jabber you’d prefer to keep out of more focused work-related channels. Archive: https://archive.sweetops.com/random/

2021-11-16

Deon Rodden avatar
Deon Rodden

Everyone else experiencing problems with GCP?

Azul avatar

it had a major outage

Azul avatar

I got errors with my AWS datadog integration, and still getting errors with github

Azul avatar

I suspect they’re a side effect

2021-11-11

Adrian Scheff avatar
Adrian Scheff

[EDIT] Damn, it reached number 1 on Hacker News. I have no words. https://news.ycombinator.com/news I hope you don’t mind me posting these here. Here are some useful sed scripts & patterns to make your life easier. https://github.com/adrianscheff/useful-sed

GitHub - adrianscheff/useful-sed: Useful sed scripts & patterns. attachment image

Useful sed scripts & patterns. . Contribute to adrianscheff/useful-sed development by creating an account on GitHub.

2

2021-11-09

Zachary Loeber avatar
Zachary Loeber
4
Yonatan Koren (Cloud Posse) avatar
Yonatan Koren (Cloud Posse)

facts

bradym avatar
bradym
3
2
1

2021-11-05

Vadim Bauer avatar
Vadim Bauer
attachment image

There is a famous ancient saying that goes something like this:

Give a man a Container and you keep him busy for a day; Teach a man Kubernetes and you keep him busy for a lifetime

#Kubernetes #Container #TGIGF https://pbs.twimg.com/media/FDcnkC4XEAAsNm5.jpg

2
Adrian Scheff avatar
Adrian Scheff

Hey People! Here’s some Wizardly Tips for Vim. Let me know what you think! https://github.com/adrianscheff/wizardly-tips-vim

GitHub - adrianscheff/wizardly-tips-vim attachment image

Contribute to adrianscheff/wizardly-tips-vim development by creating an account on GitHub.

1

2021-11-02

Michael Perez avatar
Michael Perez

Hi all, this Friday Anton Babenko will be giving Spacelift a test run live on Youtube. Just wanted to share a link in case anyone is interested in joining. https://www.linkedin.com/events/spacelift-terraformtoolsreviews6861033602663108608/

Spacelift - Terraform tools reviews | LinkedIn

I will try to accomplish something real with Spacelift because it says on the homepage ( https://spacelift.io/ ) - “The most flexible management platform for Infrastructure as Code”. I am particularly excited about using OPA policies, drift detection, and spacectl. Will it blend? There will be Jakub Martin (Software Engineer at Spacelift) answering my and others’ questions. Join in!

2021-11-01

samhain avatar
samhain

Hello there ! I would like to create some monitors from cloudposse/terraform-datadog-platformand looking into the module YAML files the monitor queries seems to be using {*} as a query filtering .

My question is , is there any way i can uses tfvars i.e environment to filter monitoring queries ?

This is what i tried so far but seems to fail

 query: |
    avg(last_15m):avg:aws.rds.cpuutilization{env:({environment })} by {dbinstanceidentifier} > 90

Any suggestions on how to make it work would be great

Thanks

terraform-datadog-platform/rds.yaml at master · cloudposse/terraform-datadog-platform attachment image

Terraform module to configure and provision Datadog monitors, custom RBAC roles with permissions, Datadog synthetic tests, Datadog child organizations, and other Datadog resources from a YAML confi…

Andriy Knysh (Cloud Posse) avatar
Andriy Knysh (Cloud Posse)

in the module, we have just a generic catalog which can be deployed on one Datadog account and will monitor all resources

terraform-datadog-platform/rds.yaml at master · cloudposse/terraform-datadog-platform attachment image

Terraform module to configure and provision Datadog monitors, custom RBAC roles with permissions, Datadog synthetic tests, Datadog child organizations, and other Datadog resources from a YAML confi…

Andriy Knysh (Cloud Posse) avatar
Andriy Knysh (Cloud Posse)

in prod, we copy the catalog per account and add the filters to each query e.g. {env:prod}

Andriy Knysh (Cloud Posse) avatar
Andriy Knysh (Cloud Posse)

(we don’t have an example yet on how to parameterize the queries in terraform, but it could be done with templatefile

samhain avatar
samhain

Thanks @Andriy Knysh (Cloud Posse) - let me play with templatefile approach

RB (Ronak) (Cloud Posse) avatar
RB (Ronak) (Cloud Posse)

templatefile will only work with file inputs. I think if you want to use inline input vars and have them replaced with the context, for example, then you’d need to use the old template data source provider

    keyboard_arrow_up