how can I create policies and policy attachments d...
# general
c
how can I create policies and policy attachments dynamically? I’m trying to use
.apply
on resources to create a policy that will need their ARNs, but apparently that’s not allowed
b
Can you give an example? This sounds like it should be fine.
c
Actually it seems to work! Just the documentation says that the function
apply
cannot create resources. It seems that it can 😄