https://pulumi.com logo
#aws
Title
# aws
p

polite-napkin-90098

07/21/2023, 5:43 PM
When I run up on my stack which makes a Task Definition the second time, I'm getting 'changes' like:
Copy code
~ tags                   : [
          ~ [0]: {
                  ~ key  : "Environment" => "Name"
                  ~ value: "test" => "influxdb"
                }
          ~ [1]: {
                  ~ key  : "Name" => "Environment"
                  ~ value: "influxdb" => "test"
                }
        ]
Which is an ordering issue, how do I avoid these? I'm writing typescript btw, not sure if that matters
So I thought that changing the order in the code to match the order in the Task Definition might work, but now I'm getting the even more confusing 'change'
Copy code
~ tags: [
          ~ [0]: {
                  ~ key  : "Environment" => "Environment"
                  ~ value: "test" => "test"
                }
          ~ [1]: {
                  ~ key  : "Name" => "Name"
                  ~ value: "influxdb" => "influxdb"
                }
        ]
2 Views