fresh-summer-65887
08/13/2019, 12:33 PMpendingOperations
section.
- pulumi refresh
states "No resources will be modified as part of this refresh"
- pulumi preview
wants to delete
then create
with a knock effect for other resources
- pulumi up
hangs trying to complete the delete operation so I have to do a pulimi cancel
Really scratching my head with this one. Any ideas?{
"name": "aws-typescript",
"devDependencies": {
"@types/node": "12.7.1"
},
"dependencies": {
"@pulumi/aws": "0.18.27",
"@pulumi/awsx": "0.18.8",
"@pulumi/pulumi": "0.17.28"
}
}
best-xylophone-83824
08/13/2019, 12:42 PMpulumi preview --diff
should show why does it want to recreate certfresh-summer-65887
08/13/2019, 12:50 PMbest-xylophone-83824
08/13/2019, 2:11 PMfresh-summer-65887
08/13/2019, 2:13 PMbest-xylophone-83824
08/13/2019, 2:15 PMfresh-summer-65887
08/13/2019, 2:15 PMsubjectAlternativeNames: [
[0]: "*.<http://eu-central-1.dev.aws.lykkeservices.net|eu-central-1.dev.aws.lykkeservices.net>"
[1]: "*.<http://dev.aws.lykkeservices.net|dev.aws.lykkeservices.net>"
]
vs
subjectAlternativeNames: [
[0]: "*.<http://dev.aws.lykkeservices.net|dev.aws.lykkeservices.net>"
[1]: "*.<http://eu-central-1.dev.aws.lykkeservices.net|eu-central-1.dev.aws.lykkeservices.net>"
]
best-xylophone-83824
08/13/2019, 2:16 PMfresh-summer-65887
08/13/2019, 2:16 PMbest-xylophone-83824
08/13/2019, 2:17 PMfresh-summer-65887
08/13/2019, 2:18 PMbest-xylophone-83824
08/13/2019, 2:18 PMfresh-summer-65887
08/13/2019, 2:19 PMbest-xylophone-83824
08/13/2019, 2:23 PM- I've exported, edited and imported the stack to remove thesection.pendingOperations
fresh-summer-65887
08/13/2019, 2:26 PMpendingOperations
. But I see this property on the resource itself:best-xylophone-83824
08/13/2019, 2:30 PMfresh-summer-65887
08/13/2019, 2:35 PMbest-xylophone-83824
08/13/2019, 2:45 PMfresh-summer-65887
08/13/2019, 3:37 PMsubjectAlternativeNames
and changed the code to align with it. Pulumi no longer wanted to re-create the cert.
I still don't know why it suddenly thought that the resource had changed, my spidey sense is pointing at a pulumi behaviour update somewhere.
Anyway, thanks for asking the right questions @best-xylophone-83824! 🙂