full-artist-27215
12/01/2021, 7:20 PMresource-{i}
, where i
is just a counter), but I was curious if others had any guidance to provide here. Thanks!little-cartoon-10569
12/01/2021, 8:17 PM{ name: string; policy: aws.iam.Policy }
.rough-hydrogen-27449
12/01/2021, 8:24 PMfor topic in topics:
kafka.Acl(
f"{topic.name}-{service_account_id}-{'write' if write else 'read'}-acl",
....
)
the kafka.Acl
name must be a reified str
, so I'd like to consume the Output[T]
from the stack reference into a str
(the particular value of concern here is service_account_id
).
Does that make sense?Output[T]
and get a reified T
?little-cartoon-10569
12/01/2021, 9:07 PMapply()
, but that should be seen as a last option. Any other solution, including hardcoding, should be considered preferable.rough-hydrogen-27449
12/01/2021, 9:09 PM.apply()
? I was under the impression that it wasn't even possible... if it is possible why is it bad?little-cartoon-10569
12/01/2021, 9:10 PMrough-hydrogen-27449
12/01/2021, 9:10 PMlittle-cartoon-10569
12/01/2021, 9:11 PMapply()
does not run during a preview. So previews will show that the resources will be deleted, and up will not delete them.rough-hydrogen-27449
12/01/2021, 9:11 PMlittle-cartoon-10569
12/01/2021, 9:12 PMrough-hydrogen-27449
12/01/2021, 9:12 PMlittle-cartoon-10569
12/01/2021, 9:13 PMrequire
not get
, since get
returns a Promise.rough-hydrogen-27449
12/01/2021, 9:13 PMfull-artist-27215
12/01/2021, 9:32 PM