https://pulumi.com logo
a

average-dream-51210

06/09/2019, 8:37 PM
Hmm, if I create an S3 Bucket Policy, that has cognito authorizers and cloudfront stuff in the policy, is there anyway to 'wait' for the output variables in cognito and cloudfront?
w

white-balloon-205

06/09/2019, 9:09 PM
Which output variables are you trying to wait on? And which resource are you trying to block creation of until those output are ready?
a

average-dream-51210

06/09/2019, 9:14 PM
s3 bucket name, cloudfront Id, and role name
w

white-balloon-205

06/09/2019, 11:36 PM
If you use those outputs to construct the policy, it should implicitly depend on them, and when you pass that into the bucket policy, it will in turn implicitly be dependent on those. Are you seeing this not being enforced in practice? If so, could you share more details of your code?
a

average-dream-51210

06/11/2019, 11:50 PM
Sorry, please disregard, was a brainfart 😄