https://pulumi.com logo
#python
Title
# python
r

refined-father-93093

07/10/2023, 8:56 AM
Hey I'm setting
cors_rules
of a s3 bucket with a
list
in python. However, the order isnt retained by pulumi for the
cors_rules
. I tried the same with aws cli via
aws s3api put-bucket-cors
and the order is maintained. How to approach this problem?
p

prehistoric-activity-61023

07/10/2023, 2:21 PM
Can you paste a code snippet? I’m not sure I understand the problem here 🤔
Why does the order or rules matter? AFAIK they are all “allow” rules so it shouldn’t make a diff. Unless you have some issues when trying to refresh the resource state from the cloud.
3 Views