sparse-intern-71089
03/04/2022, 8:06 PMbusy-lion-51883
03/04/2022, 8:10 PMconst region: aws.Region = new pulumi.Config("aws").require('region');
billowy-army-68599
apply
for this, as the config is retrieved asyncbillowy-army-68599
busy-lion-51883
03/04/2022, 8:41 PMbillowy-army-68599
jolly-alligator-19698
03/04/2022, 9:26 PMapply
, they're all using plain require*()
or get*()
. Is the need for apply
an omission in that documentation?billowy-army-68599
Input<T>
and usually, you'd pass those values to another resource which take an Input<T>
However, if you need to pass a value to a resource which is a string, you'd need to use an apply
It looks like the region can be tInputty typein this case, so an apply is not needed, I should have checked before commenting