mammoth-france-9546303/29/2020, 3:31 PM
rhythmic-camera-2599303/29/2020, 3:33 PM
function that returns a reference to the existing resource. You can use this elsewhere in your stack and it won't be modified.
* if you want to 'adopt'/'import' existing resources, you define the resource as if it were brand new, and add some additional information to show pulumi how to reference it. this kind of use will result in pulumi making changes to the resource. more info here: https://www.pulumi.com/blog/adopting-existing-cloud-resources-into-pulumi/