most-mouse-38002
02/16/2023, 3:48 PM├─ aws:iam:OpenIdConnectProvider githubProvider replace [diff: ~clientIdLists]
billowy-army-68599
02/16/2023, 4:52 PMmost-mouse-38002
02/16/2023, 4:53 PMsort.Strings(clientList)
now, and the same thing happens with the diff. As expected “http” is first on the sorted list, but the state is the opposite.
~ clientIdLists: [
~ [0]: "<http://sts.amazonaws.com|sts.amazonaws.com>" => "<https://github.com/re>"
~ [1]: "<https://github.com/re>" => "<http://sts.amazonaws.com|sts.amazonaws.com>"
]
Also manually assigning to indexes does not appear to work, unless I sort it manually by the order Pulumi returns it from the state the second time I run the stack.ClientIdLists: pulumi.StringArray{
pulumi.String(c.ClientIdLists[1]),
pulumi.String(c.ClientIdLists[0]),
},