<@U011THZCF5L> that does indeed look frustrating :...
# general
b
@high-postman-55219 that does indeed look frustrating ūüėě can you open an issue here https://github.com/pulumi/pulumi-aws ?
b
Moving to thread
Pretty sure this is because there’s a list rather than a map being used under the hood upstream :/
b
b
@high-postman-55219 are the sans dynamically generates?
Generated*
h
@broad-dog-22463 no, they are defined in the stack yml
@billowy-army-68599 thank you i fixed reading the issue
I wasted all day creating a certificate, shame on me
b
If they are hard coded / defined then you can stem the pain using ignoreChanges So your resource would look like Const cert = new aws.route53.Cert(‚Äúname‚ÄĚ, { Params here }, { ignoreChanges: [‚ÄúsubjectAlternativeNames‚ÄĚ] });
This will stop the continual changes while we can investigate
(Sorry, I wrote this on my phone)
h
@broad-dog-22463 thank you very much
b
I hope this works for you
b
@high-postman-55219 I was curious if there was a better solution, and there is! Just sorry the list
Copy code
let records = ["a", "b", "c"]
let sans = []
for (let record of records) {
    sans.push(`${record}.${domain}`)
}
const cert = new aws.acm.Certificate("test", {
    domainName: domain,
        subjectAlternativeNames: sans.sort(),
        validationMethod: "DNS",
})
this worked for me, give it a try and let me know if it works for you
h
@billowy-army-68599 i try sort the list, but if you see the images that i send, the stack store sans in random order
b
interesting, which aws region are you using?
h
us-east-1