sparse-intern-71089
10/09/2020, 7:01 AMworried-queen-62794
10/09/2020, 7:13 AMworried-queen-62794
10/09/2020, 7:31 AM<pulumi.output.Unknown object at 0x1120840d0>
. I thought in the diff
method that all inputs would be resolved by that point?worried-queen-62794
10/09/2020, 7:37 AMapply
worried-queen-62794
10/11/2020, 9:20 PMdiff
be pulumi.output.Unknown
? Shouldn't they be resolved by that point?little-cartoon-10569
10/11/2020, 9:22 PMworried-queen-62794
10/11/2020, 9:32 PMWriteFile
. Where connection
is something like:
{'username': 'ec2-user', 'private_key': <pulumi.output.Unknown object at 0x109530190>, 'host': '<http://example.com|example.com>', 'private_key_passphrase': <pulumi.output.Unknown object at 0x109530100>}
It' probably that I am doing the secret properties wrong.little-cartoon-10569
10/11/2020, 9:35 PMlittle-cartoon-10569
10/11/2020, 9:35 PMlittle-cartoon-10569
10/11/2020, 9:36 PMapply
to render the string.worried-queen-62794
10/11/2020, 9:38 PMworried-queen-62794
10/11/2020, 9:40 PMInput
in a dictionary.worried-queen-62794
10/11/2020, 9:41 PMworried-queen-62794
10/11/2020, 9:42 PMlittle-cartoon-10569
10/11/2020, 9:42 PMworried-queen-62794
10/11/2020, 9:59 PMcreate
in the GenerateSSHKey
resource. So if the plan is to create the GenerateSSHKey
resource which is outputting those secrets then I'm guessing those values are not going to be available in the diff
of the WriteFile
resource which depends on those?little-cartoon-10569
10/11/2020, 10:01 PMdiff
. Is that a Python thing? The values won't be available synchronously, only in an apply
block. But since they're only secrets and not dependent on a cloud resource, the apply
shouldn't be dependent on anything and should be able to run immediately.worried-queen-62794
10/11/2020, 10:03 PMworried-queen-62794
10/11/2020, 10:04 PMworried-queen-62794
10/11/2020, 10:09 PMpulumi.output.Unknown
as a difference during diff
seems to do the job.worried-queen-62794
10/11/2020, 10:10 PM