#office-hours (2023-06)

“Office Hours” are every Wednesday at 11:30 PST via Zoom. It’s open to everyone. Ask questions related to DevOps & Cloud and get answers! https://cloudposse.com/office-hours

Public “Office Hours” are held every Wednesday at 11:30 PST via Zoom. It’s open to everyone. Ask questions related to DevOps & Cloud and get answers!

https://cpco.io/slack-office-hours

Meeting password: sweetops

2023-06-01

2023-06-04

managedkaos avatar
managedkaos
AWS Shifts Strategy: Public GitHub Documentation to Be Retiredattachment image

In the next few days, AWS will start retiring the AWS documentation currently available on GitHub. After reviewing the results of the project and considering the overhead of manually keeping the internal documentation in sync, the cloud provider recently decided to retire most of its public repositories.

2
1

2023-06-07

hamiltondjh avatar
hamiltondjh

Hey everyone, I’m still pretty new to terraform so if there’s time during the office hours today I’d love to gather input or feedback. I would like to add a dynamic block for logging filters of the terraform-aws-waf repo as I need logging filters. Basically this PR but with the necessary for_each . If there isn’t time or if this isn’t the right venue to do that I’ll just leave it async as a PR.

#27 Add logging filter

what

• Add logging filter

why

• Enable the module to pass logging filter configuration

references

• Closes #25

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

@Linda Pham (Cloud Posse) @Gabriela Campana (Cloud Posse)

#27 Add logging filter

what

• Add logging filter

why

• Enable the module to pass logging filter configuration

references

• Closes #25

Gabriela Campana (Cloud Posse) avatar
Gabriela Campana (Cloud Posse)

Hi @hamiltondjh Just asked for help internally

hamiltondjh avatar
hamiltondjh

Hi @Gabriela Campana (Cloud Posse), I’ve forked and am working on this already. No worries if we don’t get to it. I’m just getting started. I should be able to figure it out eventually.

1
Gabriela Campana (Cloud Posse) avatar
Gabriela Campana (Cloud Posse)

Cool. Thanks for the update

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)
06:01:33 PM

@here office hours is starting in 30 minutes! Remember to post your questions here.

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

Hah, yes, those stood out to me as well! thanks for sharing

1
Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

I missed Amazon ECR adds registry.k8s.io as a supported upstream for pull through cache repositories

Zoom avatar
Zoom
06:29:56 PM

Erik Osterman (Cloud Posse) has joined Public “Office Hours”

Zoom avatar
Zoom
06:29:56 PM

Michael Pursifull has joined Public “Office Hours”

Zoom avatar
Zoom
06:30:01 PM

Austin Carter has joined Public “Office Hours”

Zoom avatar
Zoom
06:30:01 PM

Taylor Turner has joined Public “Office Hours”

Zoom avatar
Zoom
06:30:08 PM

Vlad Ionescu has joined Public “Office Hours”

Zoom avatar
Zoom
06:30:26 PM

Michael Jenkins has joined Public “Office Hours”

Zoom avatar
Zoom
06:30:38 PM

Jonathan Eunice has joined Public “Office Hours”

Zoom avatar
Zoom
06:30:43 PM

Nenna Salinas has joined Public “Office Hours”

Zoom avatar
Zoom
06:30:58 PM

Dan Hamilton has joined Public “Office Hours”

Zoom avatar
Zoom
06:31:06 PM

David Hawthorne has joined Public “Office Hours”

Zoom avatar
Zoom
06:31:09 PM

Christopher Pieper has joined Public “Office Hours”

Zoom avatar
Zoom
06:31:09 PM

Eric Berg has joined Public “Office Hours”

Zoom avatar
Zoom
06:31:11 PM

Andy Wortman has joined Public “Office Hours”

Zoom avatar
Zoom
06:31:18 PM

Arthur Kepler has joined Public “Office Hours”

Vlad Ionescu (he/him) avatar
Vlad Ionescu (he/him)
Ruby 3.2 runtime now available in AWS Lambda | Amazon Web Servicesattachment image

Get started building with Ruby 3.2 today by making necessary changes for compatibility with Ruby 3.2, and specifying a runtime parameter value of ruby3.2 when creating or updating your Lambda functions.

Zoom avatar
Zoom
06:35:16 PM

Jim Park has joined Public “Office Hours”

Zoom avatar
Zoom
06:37:14 PM

Matt Calhoun has joined Public “Office Hours”

Zoom avatar
Zoom
06:41:35 PM

Adedapo Ajuwon has joined Public “Office Hours”

Zoom avatar
Zoom
06:42:24 PM

nishant kasture has joined Public “Office Hours”

Zoom avatar
Zoom
06:43:17 PM

venkata mutyala has joined Public “Office Hours”

Sean avatar

Q: Is your Terraform CI/TACOS of choice still Spacelift as written here in 2021: https://cloudposse.com/faqs/why-do-you-recommend-spacelift/ ?

• Has Atlantis caught up on features?

• And have you used or know of use of the fully self-hosted option (not only the self-hosted agents) On my list to look into so far:

  1. Out of scope as no self-hosted: a. env0 b. Scalr c. TFC
  2. Self-hosted: a. DIY: (jenkins, github actions, …) b. Atlantis: Free&Open; No vendor support. c. Spacelift: Paid. Not open. Claims to have fully self-hosted option. Recommended by CloudPosse. d. Terraform Enterprise: Potentially cost-prohibitive (I have 1000s of plans/day for drift detection, and 100s of runs/day); Feedback I’ve seen is that it’s behind it’s competitors. e. Terrateam: looks good from their website, but not clear on if many users have adopted it, how well it’s maintained and if it will survive. f. CrossPlane: Beyond a TACOS, but worth considering?
Why do you recommend Spacelift? – Cloud Posse

Spacelift checks off all the boxes for managing extremely large environments with a lot of state management. Since Cloud Posse’s focus is on deploying

Zoom avatar
Zoom
06:43:36 PM

Sean Roberts has joined Public “Office Hours”

Sean avatar

And news worthy for those concerned with supply-chain security and compliance: https://aws.amazon.com/blogs/containers/announcing-container-image-signing-with-aws-signer-and-amazon-eks/

Though I’m sad they chose Notary, not cosign :(

Announcing Container Image Signing with AWS Signer and Amazon EKS | Amazon Web Servicesattachment image

Introduction Today we are excited to announce the launch of AWS Signer Container Image Signing, a new capability that gives customers native AWS support for signing and verifying container images stored in container registries like Amazon Elastic Container Registry (Amazon ECR). AWS Signer is a fully managed code signing service to ensure trust and integrity […]

Zoom avatar
Zoom
06:45:35 PM

Joe Perez has joined Public “Office Hours”

Zoom avatar
Zoom
06:48:34 PM

Isa Aguilar has joined Public “Office Hours”

Zoom avatar
Zoom
07:01:29 PM

Hao Wang has joined Public “Office Hours”

Zoom avatar
Zoom
07:03:03 PM

Amer Zec has joined Public “Office Hours”

Nenna avatar

Links from today’s office hours:

https://www.eff.org/deeplinks/2023/06/our-right-challenge-junk-patents-under-threat https://github.com/garden-io/garden-aws-quickstart https://garden.io/blog/aws-security-issue https://www.infoq.com/news/2023/06/aws-documentation-github/ https://finance.yahoo.com/news/aws-announces-general-availability-amazon-200700363.html https://trufflesecurity.com/blog/running-trufflehog-in-a-github-action/ https://youtu.be/tCfb9Wizq9Q?t=252 https://www.reddit.com/r/Terraform/comments/13vw5m7/comment/jmo8ef6/ https://aws.amazon.com/about-aws/whats-new/2023/06/live-tail-amazon-cloudwatch-logs/ https://aws.amazon.com/about-aws/whats-new/2023/06/aws-container-image-signing/ https://aws.amazon.com/about-aws/whats-new/2023/06/amazon-ecr-registry-k8s-io-upstream-pull-through-cache-repositories/ https://aws.amazon.com/blogs/compute/ruby-3-2-runtime-now-available-in-aws-lambda/ https://www.snowflake.com/guides/using-security-data-lake-security-analytics https://en.wikipedia.org/wiki/Google_Sidewiki https://opensearch.org/docs/2.8/security-analytics/index/ https://aws.amazon.com/about-aws/whats-new/2023/03/amazon-opensearch-service-security-analytics/ https://github.com/github/roadmap/issues/94#issuecomment-1581086839 https://github.com/github/roadmap/issues/119#issuecomment-1581084432 https://aws.amazon.com/ecr/pricing/ https://twitter.com/matthieunapoli/status/1666199032597733380 https://github.com/TylerBrock/saw https://aws.amazon.com/blogs/containers/announcing-container-image-signing-with-aws-signer-and-amazon-eks/ https://github.com/aws-samples/k8s-notary-admission https://reinforce.awsevents.com/ https://pwittrock.github.io/docs/concepts/storage/volumes/#gitrepo

2023-06-14

Nenna avatar

Links from today’s office hours:

https://bitfieldconsulting.com/blog/night-of-the-runbooks https://developer.1password.com/docs/cli/shell-plugins/terraform/ https://github.blog/changelog/2023-06-13-github-actions-you-can-now-disable-repo-level-self-hosted-runners-in-an-enterprise-and-organization/ https://www.pulumi.com/blog/converting-full-terraform-programs-to-pulumi/ https://www.reddit.com/r/kubernetes/top/?t=month https://marketplace.visualstudio.com/items?itemName=oferkafry.easy-terraform-commands https://aws.amazon.com/about-aws/whats-new/2023/06/amazon-inspector-code-scans-aws-lambda-function/ https://aws.amazon.com/about-aws/whats-new/2023/06/third-party-risk-assessments-csv-exports-aws-audit-manager/ https://aws.amazon.com/about-aws/whats-new/2023/06/aws-security-hub-automation-rules/ https://aws.amazon.com/about-aws/whats-new/2023/06/aws-iam-identity-center-automated-user-provisioning-google-workspace/ https://aws.amazon.com/about-aws/whats-new/2023/06/amazon-verified-permissions-generally-available/ https://aws.amazon.com/about-aws/whats-new/2023/06/software-bill-materials-export-capability-amazon-inspector/ https://aws.amazon.com/about-aws/whats-new/2023/06/aws-config-recording-exclusions-resource-type/ https://www.taccoform.com/posts/tfg_p5/ https://docs.aws.amazon.com/sdkref/latest/guide/standardized-credentials.html#credentialProviderChain https://xkcd.com/927/ https://docs.aws.amazon.com/singlesignon/latest/userguide/scim-profile-saml.html https://github.com/benkehoe/aws-sso-util

2023-06-21

Hans D avatar

Curious about introducing terraform changes in a more temporal spaced way (propagating very slow through some initial stages), meanwhile other changes can be applied more rapidly in those environments.

Hans D avatar

To be clear: changing existing things, eg modules in use.

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)
06:01:25 PM

@here office hours is starting in 30 minutes! Remember to post your questions here.

Sahil Tourani avatar
Sahil Tourani

Hi folks, I have a question Lets say im building a libary of terraform modules and publishing them to a private registry e.g. citizen. I have an internal development portal that is effectively through pipelines calling these individual modules to stand up infra resources. What would be better, establishing a means of downloading the module from the private registry? Calling the module in a .tf file within the examples directory? (But then how do i dynamically control the version o the module?)

Vlad Ionescu (he/him) avatar
Vlad Ionescu (he/him)
aidansteele/rdsconn

rdsconn makes connecting to an AWS RDS instance inside a VPC from your laptop easier

Jonathan Eunice avatar
Jonathan Eunice

Any experience with Galera Cluster (https://galeracluster.com/ or https://mariadb.com/kb/en/galera-cluster/)? If glossies to be believed, mutli-writer multi-master clustering for MySQL or MariaDB.

Hans D avatar

Not 100% sure if it was Galera (some time ago), but did use the multi-master setup

Jonathan Eunice avatar
Jonathan Eunice

With success? The “did use” suggests “not using any longer.”

Hans D avatar

I moved to a different company. But I did the implementation and used it, and we were quite happy with that.

Hans D avatar

One thing we made sure that specific tables are only written/updated on a single master, so we basically sharded the tables across masters

Hans D avatar

Read is perfect across all. The setup was also used so that one master could act as a failover for another master (using a basic tcp loadbalancer doing the failover)

Hans D avatar

The basic system was that 1 master did the massive ingest of raw data, and the further processing/enhancing/summarizing was done on a second master. Further operations were done one a 3rd master.

Hans D avatar

To use fully multi-master, hitting the same tables at each master. a) they become eventually consistent, so there is a small delay b) your application and db models needs to be closely looked at

2023-06-23

venkata.mutyala avatar
venkata.mutyala

This is cool. I missed this in their release notes for 1.5.0 the other day:

https://www.reddit.com/r/devops/comments/14gfz73/terraform_import_block_allows_to_generate_code/

Haven’t tried it yet myself but if you need to import a bunch of resources that were created in the GUI this should speed up your workflow.

reddit.com: over 18?

Reddit gives you the best of the internet in one place. Get a constantly updating feed of breaking news, fun stories, pics, memes, and videos just for you. Passionate about something niche? Reddit has thousands of vibrant communities with people that share your interests. Alternatively, find out what’s trending across all of Reddit on r/popular. Reddit is also anonymous so you can be yourself, with your Reddit profile and persona disconnected from your real-world identity.

venkata.mutyala avatar
venkata.mutyala

this is Safe for work. I saw a post the other day saying because people keep swearing in the DevOps subreddit that it’s all being marked as NSFW now.

reddit.com: over 18?

Reddit gives you the best of the internet in one place. Get a constantly updating feed of breaking news, fun stories, pics, memes, and videos just for you. Passionate about something niche? Reddit has thousands of vibrant communities with people that share your interests. Alternatively, find out what’s trending across all of Reddit on r/popular. Reddit is also anonymous so you can be yourself, with your Reddit profile and persona disconnected from your real-world identity.

2023-06-25

venkata.mutyala avatar
venkata.mutyala

Was going through some recent release notes and noticed these features for the recently released Hashicorp Vault 1.14.0

- Environment Variables through Vault Agent: Introducing a new process-supervisor mode for Vault Agent which allows injecting secrets as environment variables into a child process using a new env_template configuration stanza. The process-supervisor configuration can be generated with a new vault agent generate-config helper tool. [GH-20530]
- Vault PKI ACME Server: Support for the ACME certificate lifecycle management protocol has been added to the Vault PKI Plugin. This allows standard ACME clients, such as the EFF's certbot and the CNCF's k8s cert-manager, to request certificates from a Vault server with no knowledge of Vault APIs or authentication mechanisms. For public-facing Vault instances, we recommend requiring External Account Bindings (EAB) to limit the ability to request certificates to only authenticated clients. [GH-20752]

ref: https://github.com/hashicorp/vault/releases/tag/v1.14.0

cool-doge1

2023-06-26

venkata.mutyala avatar
venkata.mutyala
Kelsey Hightower on Twitter

Today I’m announcing my retirement from Google. Even the best rides come to an end. As I turn the page on this chapter, I realized I’ve spent the last 25 years learning how to work, I hope to spend the rest of my life learning how to live.

Hao Wang avatar
Hao Wang

What a great mind

Kelsey Hightower on Twitter

Today I’m announcing my retirement from Google. Even the best rides come to an end. As I turn the page on this chapter, I realized I’ve spent the last 25 years learning how to work, I hope to spend the rest of my life learning how to live.

Max Lobur (Cloud Posse) avatar
Max Lobur (Cloud Posse)

Very good presenter

Max Lobur (Cloud Posse) avatar
Max Lobur (Cloud Posse)

2023-06-27

2023-06-28

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)
06:00:20 PM

@here office hours is starting in 30 minutes! Remember to post your questions here.

Chris King-Parra avatar
Chris King-Parra

Hi, I’m Chris, an individual who’s new to DevOps. (In other words, not a prospective client at the moment, just a new engineer.)

I came across you modules on the TF registry and was curious about what you consider a professional workflow for Terraform deployments. The ultimate goal seems to be semi automated code review and automated test deployments to an isolated account/network.

But getting to that last step take a ton of effort. What’s do you think is the sweet spot?

    keyboard_arrow_up