sparse-intern-71089
01/31/2024, 5:42 AMicy-controller-6092
01/31/2024, 6:44 AMmelodic-psychiatrist-50649
01/31/2024, 7:03 AMmelodic-psychiatrist-50649
01/31/2024, 7:04 AMicy-controller-6092
01/31/2024, 7:06 AMsalmon-account-74572
01/31/2024, 2:25 PMinfra
machine, so that Pulumi knows those two need to be created first? If you haven't tried that yet, I'd start there (look into dependsOn
). Also, try using pulumi.All
to build the user data instead of f-strings to see if that helps.melodic-psychiatrist-50649
01/31/2024, 5:35 PMuser_data = pulumi.Output.all(key=val, key2=val2, ...).apply(lambda a: f"blah = {a['key2']} ...")
infra = aws.ec2.Instance(
...
opts=pulumi.ResourceOptions(depends_on=[other_instances])
)
salmon-account-74572
01/31/2024, 5:48 PMlittle-cartoon-10569
01/31/2024, 7:16 PM