Oh circular updates are hard! We had a
blog post about this a while ago which discussed some hacks you can do now, and also some proposals for how we could support this properly (tracked at
https://github.com/pulumi/pulumi/issues/3021). Might be one of the ideas from the blog posts would work for this, but also vote and comment on that issue so we can track use cases for this.