#packages - February 2020

packagesArchived
87 messages

Discuss the package distribution https://github.com/cloudposse/packages
Archive: https://archive.sweetops.com/packages/

February 2020
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 6 years ago
@Zachary Loeber any reason we don't use the download_zip macro?
Zachary Loeber
Zachary Loeberover 6 years ago
@Zachary Loeber has joined the channel
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 6 years ago
I noticed the latest PRs don't leverage it
Zachary Loeber
Zachary Loeberover 6 years ago
Honestly... copypaste-itus
Zachary Loeber
Zachary Loeberover 6 years ago
I didn't realize it was there to use 🙂
Zachary Loeber
Zachary Loeberover 6 years ago
I'm getting a better sense of the backend macros now that I did the wrapper utility though
Zachary Loeber
Zachary Loeberover 6 years ago
In fact, I just added a generic template generation based on the selections a person makes when using make helper to pull in github apps. It leverages all of the macros (based on the user selection it uses the proper macro)
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 6 years ago
you're going to town on it! 😃
Zachary Loeber
Zachary Loeberover 6 years ago
selfish reasons but trying to not just be a consumer ya know?
Zachary Loeber
Zachary Loeberover 6 years ago
you use any of the silly whiptail wizards I threw together?
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 6 years ago
I haven't added any new packages lately
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 6 years ago
mostly just fixing the auto-PRs for updating packages
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 6 years ago
maintainers keep mucking with their package names! 😃
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 6 years ago
(and version numbers)
Zachary Loeber
Zachary Loeberover 6 years ago
That's something I keep thinking about. There should be a better programatic way to capture the right template to use for downloads that capture these things
Zachary Loeber
Zachary Loeberover 6 years ago
fuzzy-logic style 🙂
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 6 years ago
Oh, there's a away that will work 100%
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 6 years ago
just use the API
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 6 years ago
😃
Zachary Loeber
Zachary Loeberover 6 years ago
ha, I do scrape that in my helper script
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 6 years ago
I had to do that for one of the packages which uses a unique git sha in each one
Zachary Loeber
Zachary Loeberover 6 years ago
but it's still not 100% for architecture, os, and all that other stuff
Zachary Loeber
Zachary Loeberover 6 years ago
in the release name?
Zachary Loeber
Zachary Loeberover 6 years ago
thats nuts
Zachary Loeber
Zachary Loeberover 6 years ago
If you want to reject the prs for hashicorp apps I'll get them updated to use the zip macro (if you didn't already)
Zachary Loeber
Zachary Loeberover 6 years ago
I was on a sales/ideation pitch the first three days of this week and I feels like I gave a three day long technical grilling where I was squeezed for all I was worth
Zachary Loeber
Zachary Loeberover 6 years ago
You ever do any Kafka work btw? I guess its hot stuff right now
Zachary Loeber
Zachary Loeberover 6 years ago
lol
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 6 years ago
worked on some kafka stuff years ago, but not recenlty
Zachary Loeber
Zachary Loeberover 6 years ago
I've been running it in Kubernetes for a bit for a client that asked for it (ask and thou shall receive).
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 6 years ago
kafka operator?
Zachary Loeber
Zachary Loeberover 6 years ago
what a pain to get right. I'm seriously looking at NSQ as a recommendation instead.
Zachary Loeber
Zachary Loeberover 6 years ago
the official operator wasn't released at the time so no, just charts (confluent ones though for the connect component specifically)
Zachary Loeber
Zachary Loeberover 6 years ago
Since I have your ear for a sec.... The EKS module of yours, is that pretty much superceded by the aws provider at this point?
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 6 years ago
?
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 6 years ago
i don't follow....
Zachary Loeber
Zachary Loeberover 6 years ago
I may bounce over to Amazon for an engagement. They want managed kube, I'm looking at the terraform for it and there is your module
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 6 years ago
oh, so here's how to understand that
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 6 years ago
(even with managed node pools, you still want to use terraform to manage it)
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 6 years ago
there the EKS cluster, which is really just the masters
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 6 years ago
we have a terraform module for that
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 6 years ago
then you'll want node pools. there are all kinds of different ways to do nodepools
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 6 years ago
self-managed with autoscale groups
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 6 years ago
managed node pools (supported by provider), called by terraform
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 6 years ago
and fargate profiles (like running fargate)
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 6 years ago
there are many limitations and tradeoffs with each flavor
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 6 years ago
best to ask on #office-hours hours and I can go into details
Zachary Loeber
Zachary Loeberover 6 years ago
I'll pester you more on the next one if other things don't take priority for your time
Zachary Loeber
Zachary Loeberover 6 years ago
After using the provider for azure to create aks clusters over the last year
Zachary Loeber
Zachary Loeberover 6 years ago
I've seen the provider released half a dozen times over to fix and generally overcome a good deal of my prior workarounds and such
Zachary Loeber
Zachary Loeberover 6 years ago
so now the default provider is pretty fully fleshed out (finally)
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 6 years ago
the thing is nothing is ever easy on AWS
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 6 years ago(edited)
it is very low-level/raw
Zachary Loeber
Zachary Loeberover 6 years ago
I'm going to have to say that is the same for Azure. The moment you need to do anything beyond the basics you almost instantly hit a wall
Zachary Loeber
Zachary Loeberover 6 years ago
or maybe I'm just never happy with the basics and its a matter of perspective....
Zachary Loeber
Zachary Loeberover 6 years ago
your modules are impressive btw, no i'm not hitting on you, I have a wife.
Zachary Loeber
Zachary Loeberover 6 years ago
🙂
Zachary Loeber
Zachary Loeberover 6 years ago
So short answer, starting net new, would you still use your module over default provider code?
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 6 years ago
100%
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 6 years ago
it's always our pattern though
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 6 years ago
modules are for business logic
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 6 years ago
almost never is a raw resource sufficient.
Zachary Loeber
Zachary Loeberover 6 years ago
That's sensible to me good sir, thanks a bunch
Zachary Loeber
Zachary Loeberover 6 years ago
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 6 years ago
@Zachary Loeber i am curious - how are you using gonsul? haven't heard/seen of this before.
Zachary Loeber
Zachary Loeberover 6 years ago
I'm not yet. But I was planning on putting it to use in some pipeline tasks to bootstrap/update key-pair values for projects with consul. Not a good idea?
Zachary Loeber
Zachary Loeberover 6 years ago
I looked into consul configuration and the idea of manually loading it with values defeats the purpose of config as code to me so I found this thing and figured I'd give it a whirl.
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 6 years ago
I recorded an intro video of how our packages repo works
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 6 years ago
It's far from complete, but a start
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 6 years ago
Zachary Loeber
Zachary Loeberover 6 years ago
I better watch this one for certain 🙂
Zachary Loeber
Zachary Loeberover 6 years ago
My PRs are piling up. Have I been missing something on these that make them unworthy?
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 6 years ago
@Maxim Mironenko (Cloud Posse) ☝️ :-)
Maxim Mironenko (Cloud Posse)
Maxim Mironenko (Cloud Posse)over 6 years ago
@Maxim Mironenko (Cloud Posse) has joined the channel
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 6 years ago
I had to delegate these, but Maxim has a question for me as he is new to the repo
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 6 years ago
I think we are going to review with him tonight
Maxim Mironenko (Cloud Posse)
Maxim Mironenko (Cloud Posse)over 6 years ago
Let’s do just one, then I will take care of others
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 6 years ago
@Maxim Mironenko (Cloud Posse) are you free now?
Maxim Mironenko (Cloud Posse)
Maxim Mironenko (Cloud Posse)over 6 years ago
yes, let’s do a call
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 6 years ago
@Zachary Loeber expect a flood of merge notifications 🙂
Maxim Mironenko (Cloud Posse)
Maxim Mironenko (Cloud Posse)over 6 years ago
@Zachary Loeber please, take a loot at <https://github.com/cloudposse/packages/pull/329>
Maxim Mironenko (Cloud Posse)
Maxim Mironenko (Cloud Posse)over 6 years ago
there are some changes required to make this package happens
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 6 years ago
@UUB28NLDS help keep tabs! 😉
Maxim Mironenko (Cloud Posse)
Maxim Mironenko (Cloud Posse)over 6 years ago
@Zachary Loeber all PRs are merged and here is the release: <https://github.com/cloudposse/packages/releases/tag/0.129.0>
Zachary Loeber
Zachary Loeberover 6 years ago
That's cool of you Maxim, thanks much!