is there a workaround for <https://github.com/pulu...
# general
l
c
No, but this will definitely ship for M18
l
👍
c
So, a couple days.
l
to confirm, this is why i can't use Pulumi outputs in my helm charts?
i maybe hitting something else
it was literally stuffing this into the chart
Copy code
[16]: {
                                        name : "storage__s3__secretAccessKey"
                                        value: "map[__pulumiOutput:true isKnown:map[]]"
c
If by “in your helm charts” you mean (for example) “as values”, then yes
oh actually there is a work-around.
l
yes
oh yeah? this is not high priority, but I am curious none the less
c
actually, maybe… maybe not. I think you could probably do something like
whatever.apply(foo => new k8s.helm.v2.Chart...)
That’s might get what you want.
where
foo
is the value you’d like to put in the
values
l
here is my snippit
Copy code
const iamCreds = new aws.iam.AccessKey("ghost-access-key", {
    user: iamUser.name,
});
and
Copy code
const ghost = new helm.v2.Chart("ghost", {
    repo: "postops",
    chart: "ghost",
    values: {
        ghostUrl: "<https://www.foo.com>",

        database: {
            client: "mysql",
            connection: {
                host: db.endpoint.apply(e => e.split(":")[0]),
                port: db.endpoint.apply(e => e.split(":")[1]),
                user: dbUsername,
                password: dbPassword,
                database: dbName,
            },
        },

        storage: {
            active: "s3",
            s3: {
                secretAccessKey: iamCreds.secret.apply(e => e),
                accessKeyId: iamCreds.id.apply(e => e),
                bucket: bucketName,
                region: "us-west-2",
            },
        },
...
could be bad code on my part ¯\_(ツ)_/¯
c
so perhaps something like:
Copy code
db.endpoint.apply(e => new helm.v2.Chart("ghost"....)
no no
you’re right.
we are working on it.
l
i'll give it a shot. no worries if not. just been playing with pulumi on my free time
c
I’ll make a note to ping you when the stuff lands.
l
awesome! thanks
c
np. lmk of any other feedback you have
l
will do
out of curiousity does pulumi use a graph for destroys?
c
It does, but it is not parallelized yet.
l
oh i see.
was wondering, as sometimes destroys are slower than expected
c
we’re working on that too
l
@creamy-potato-29402 is the team distributed?
just curious
c
it was deemed less high priority than parallel creation
yeah, we are.
As we speak I am writing from the Warm Springs reservation in the middle of nowhere, Oregon. 🙂
l
any folks in Portland?
oh. ha
c
No but I’m portland-ish.
maybe an hour from portland
l
for sure. just curious if any of yall were in my neck of the woods
c
was thinking of maybe giving some talks at meetups over there.
l
let me know if you do
or need a place to host said meetup
c
what are the hot meetups I should target lol
l
well... you have all your language specific meetups that might be a good fit
given the ground pulumi covers
if yall need a space let me know
i work remote from Portland atm, but know a lot of folks willing to host meetups in the area (such as Cloudability)
c
That would be great!
I’m hoping to hit maybe some local kube or devops meetups personally
(I’m not really sure where the AWS community hangs out? I know there are kube meetups)
Where do you work, if you don’t mind me asking?
l
doordash
out of sf
ex-hashicorper though 😉
c
ooo that sounds like fun
ha ha we have a few of you rolling around in here
l
think @stocky-spoon-28903 is here i see
s
Hi @little-tailor-59400!
l
hi @stocky-spoon-28903