Hi folks,
We’re struggling to wait for eventual consistency of AWS inline role policies that are used in the same template. Terraform resources that depend on a role policy being created, fail creation/updating when we first create or update the role policy. So we have to re-apply the same template a second time, after waiting ~1-2 min for policy propagation.
Is it possible to somehow wait for policy propagation before creating resources that depend on it? A simple depends_on (and even max_retries in the provider settings) doesn’t seem to solve it…
Thanks