Hi guys, just curious, how do you manage to avoid ...
# general
m
Hi guys, just curious, how do you manage to avoid the Route53 records errors for:
[ERR]: Error building changeset: InvalidChangeBatch: [Tried to create resource record set [name='***', type='CNAME'] but it already exists]
even though I applied the options for:
Copy code
{ deleteBeforeReplace: true },
b
Did you only just add the deleteBeforeReplace option to your code? That option, and all others, needs to be successfully updated and be in state before they apply. So first you would set it to true, do Pulumi up, than make the change that will create a new dns record, than Pulumi up again. If you have already had successful updates with that set to true than disregard.
m
OH, that make sense, I will give another try, thanks for this