glamorous-kitchen-14786
12/15/2021, 3:43 PM__init__.py
files, but I'm running into some difficulty with circular dependencies that I'm not really sure how I would resolve at this point. Essentially I have a file creating secrets in AWS that depends on some infrastructure in another module, and that module would also like to be able to reference the secret values. I tried doing a pulumi.export
on the secret value to get around this, but it seems I cannot actually reference my stack outputs in flight (either they aren't created until the end, or the resource creation ordering is "wrong" -- not sure which). Open to any advice on structuring a project that isn't all in one big __main__.py
or any specific advice about this problem if I've explained it well enough. Sadly I cannot share the actual code, but if it would he helpful I could try to whip up a sample dummy project that replicates the issue without getting me in trouble.red-match-15116
12/16/2021, 7:20 PM