Is there a way to check whether a resource came fr...
# typescript
l
Is there a way to check whether a resource came from a
.get()
instead of being defined in the program? Use-case: I have some global transformers that add sane tags to resources that support them. I'm referencing some already-existing SSM parameters in my program, grabbed via
aws.ssm.Parameter.get(...)
and I'd like to add logic for my tagging transform to ignore these non-managed resources, as the addition of tags shows up in the preview diff, which looks a bit confusing.