Question on ESC + GCP secrets: my Pulumi program creates a secret in GCP Secret Manager (a value it computes itself, e.g. from another resource), and I also have my ESC environment importing that same secret back via fn:open:gcp-secrets, so I can read it as config.
How is the ordering supposed to work here? My stack's Pulumi.yaml links the ESC environment, so opening the environment (and evaluating that import) happens before the program runs, but the program is what creates the secret in the first place. On a first-ever deploy the secret doesn't exist yet, so opening the environment fails outright and the program never gets a chance to run and create it.
Is there a recommended pattern for this, or do you just have to temporarily remove the import, deploy once, then add it back?