millions-pharmacist-62601/31/2023, 10:49 AM
an existing resource, for example: • one can use the function:
• or the static method:
E.g., to get an existing S3 bucket, one can do:
. What's the difference between the 2? Is there any caveat of using one over the other that I'm not aware of?
great-sunset-35501/31/2023, 10:54 AM
millions-pharmacist-62601/31/2023, 10:55 AM
great-sunset-35501/31/2023, 10:56 AM
because in past it had some weird consequences (I do not remember now, sorry) and use
which works as expected
millions-pharmacist-62601/31/2023, 10:57 AM
? The whole input / output thing is still a bit esoteric to me. I find that whenever I need a resource value (e.g. the ID), most times I have to
to use it.
little-cartoon-1056901/31/2023, 9:13 PM