This message was deleted.
# general
s
This message was deleted.
s
This is kind of a lot to consume, maybe a diagram would help? However, I would ask the question of myself, how would I do this if I were using the console and not Pulumi? The answer likely is that you would create some resource, look at it, then use its outputs to create the next. Pulumi supports this using outputs and inputs; https://www.pulumi.com/docs/intro/concepts/inputs-outputs/ . I suspect that careful use of ".apply(....)" would get you what you are after.
b
some code would be helpful too
f
Yeah, I realize its a convoluted story.
I'll read up on the inputs/outputs, thanks. If I find some of our code that seems worth sharing, I'll share it
I'll create a quick diagram in the meantime
Hopefully that clarifies things a bit
Additionally.. I. want to call out the fact that RDS requires the ARN format, but does not return the value in ARN format.
Is there a way to know if the instance is being created (v. modified/deleted). e.g.
if action == create
format = ARN
else
format = short
b
this feels like a bug in the upstream provider, it shouldn't behave that way
f
It 100% is a bug. I've been through it with AWS, and they acknowledge it
No ETA on fix and its been this way for a while, so I've accepted we're stuck with and trying to work around it