https://pulumi.com logo
#dotnet
Title
# dotnet
c

chilly-hairdresser-56259

10/12/2021, 10:33 PM
Hello, I was curious if anyone could lend a hand, for the life of me I can't figure out what I am doing wrong with this apply statement. The end results of the preview do not include the bucket to which I want to assign the arn via the
Apply
statement.
g

green-stone-37839

10/12/2021, 11:21 PM
Anything inside your
apply
statement will not be executed during a
preview
.
👍 1
Not sure if that is what you're asking...
1
s

strong-plastic-28250

10/12/2021, 11:26 PM
I think your answer is what I was looking for. Let me apply the changes tonight and see what i get out of it.
👍 1
I was thinking it would show a change or something to the resource so i know the policy is correct
g

green-stone-37839

10/12/2021, 11:29 PM
Sometimes you can't get around wrapping a block of code with an
apply
but this is a side effect of doing so.
🙌 1
c

chilly-hairdresser-56259

10/13/2021, 2:11 AM
@green-stone-37839 thanks for the assist. I thought I was doing something wrong. You are 100% correct. Awesome support as always.