Hey I'm setting `cors_rules` of a s3 bucket with a...
# python
r
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
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.