#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-01
![samhain avatar](https://secure.gravatar.com/avatar/a95750e384976fca74b4fac364f26645.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0022-72.png)
Hello there !
I would like to create some monitors from cloudposse/terraform-datadog-platform
and 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 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](https://avatars.slack-edge.com/2018-06-13/382332470551_54ed1a5d986e2068fd9c_72.jpg)
in the module, we have just a generic catalog which can be deployed on one Datadog account and will monitor all resources
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](https://avatars.slack-edge.com/2018-06-13/382332470551_54ed1a5d986e2068fd9c_72.jpg)
in prod, we copy the catalog per account and add the filters to each query e.g. {env:prod}
![Andriy Knysh (Cloud Posse) avatar](https://avatars.slack-edge.com/2018-06-13/382332470551_54ed1a5d986e2068fd9c_72.jpg)
(we don’t have an example yet on how to parameterize the queries in terraform, but it could be done with templatefile
![samhain avatar](https://secure.gravatar.com/avatar/a95750e384976fca74b4fac364f26645.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0022-72.png)
Thanks @Andriy Knysh (Cloud Posse) - let me play with templatefile approach
![RB avatar](https://avatars.slack-edge.com/2020-02-26/958727689603_86844033e59114029b3c_72.png)
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
2021-11-02
![Michael Perez avatar](https://avatars.slack-edge.com/2021-10-18/2609184032694_7c73dea4236e98c0e86e_72.png)
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/
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-05
![Vadim Bauer avatar](https://secure.gravatar.com/avatar/1d9f8f9724d53a461b7490bf3046a593.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0009-72.png)
![attachment image](https://pbs.twimg.com/media/FDcnkC4XEAAsNm5.jpg)
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
![Adrian Scheff avatar](https://avatars.slack-edge.com/2021-11-04/2689240174162_f7e57c1f173f1f6ca394_72.jpg)
Hey People! Here’s some Wizardly Tips for Vim. Let me know what you think! https://github.com/adrianscheff/wizardly-tips-vim
Contribute to adrianscheff/wizardly-tips-vim development by creating an account on GitHub.
2021-11-11
![Adrian Scheff avatar](https://avatars.slack-edge.com/2021-11-04/2689240174162_f7e57c1f173f1f6ca394_72.jpg)
[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
Useful sed scripts & patterns. . Contribute to adrianscheff/useful-sed development by creating an account on GitHub.
![ivan.pinatti avatar](https://avatars.slack-edge.com/2018-08-01/408289656833_eb860ceff6afe66fbb91_72.jpg)
Just shared with my team.
Useful sed scripts & patterns. . Contribute to adrianscheff/useful-sed development by creating an account on GitHub.
2021-11-16
![Deon Rodden avatar](https://avatars.slack-edge.com/2021-09-15/2496644271650_6571e181e02f362611e1_72.jpg)
Everyone else experiencing problems with GCP?
![Azul avatar](https://secure.gravatar.com/avatar/a572d8d9bf4b9c00d751511a20e450ce.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0004-72.png)
it had a major outage
![Azul avatar](https://secure.gravatar.com/avatar/a572d8d9bf4b9c00d751511a20e450ce.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0004-72.png)
I got errors with my AWS datadog integration, and still getting errors with github
![Azul avatar](https://secure.gravatar.com/avatar/a572d8d9bf4b9c00d751511a20e450ce.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0004-72.png)
I suspect they’re a side effect
![loren avatar](https://secure.gravatar.com/avatar/d1e25dcfbc68a0857a04dd78c9afe952.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0003-72.png)
some great enhancements to github codespaces… https://github.blog/changelog/2021-10-27-new-codespaces-features-launching-at-universe-2021/
![attachment image](https://github.blog/wp-content/uploads/2019/03/blog-card.png?fit=5001%2C2626)
New Codespaces features launching at Universe 2021