sparse-intern-71089
08/17/2021, 7:14 PMbored-oyster-3147
08/17/2021, 8:13 PMpulumi.Input<string>?
If this is for AWS Tags they tend to be pulumi.Input<{[key: string]: string}>bored-oyster-3147
08/17/2021, 8:14 PM{[key: string]: string} because the pulumi.Input<{[key: string]: string}> will accept thatancient-night-64850
08/18/2021, 12:50 PMbored-oyster-3147
08/18/2021, 1:07 PMpulumi.Input<{[key: string]: pulumi.Input<string>}>? I want to be certain that is necessary because that is especially painful to work with.
If that is 100% the correct type - then just declare it externally as {[key: string]: pulumi.Input<string>} and do everything you need to do like that before passing it in.bored-oyster-3147
08/18/2021, 1:08 PM{[key: string]: string} is just a standard typescript object with a string value type.ancient-night-64850
08/18/2021, 1:10 PMbored-oyster-3147
08/18/2021, 1:11 PMtags["key3"] = "val3" or if it is allowed tags.key3 = "val3"ancient-night-64850
08/18/2021, 1:17 PMbored-oyster-3147
08/18/2021, 1:17 PM