I agree with stevebaker. We should not use it like the way in the mentioned template. We added usage of the id/name for portability of templates across deployments for existing resources and not for this kind of usage. Please use get_resource when it's possible.
I agree with stevebaker. We should not use it like the way in the mentioned template. We added usage of the id/name for portability of templates across deployments for existing resources and not for this kind of usage. Please use get_resource when it's possible.