https://pulumi.com logo
#general
Title
# general
r

refined-terabyte-65361

07/28/2021, 10:28 PM
Hello I am stuck with below error how can i fix this ?
Copy code
aws:route53:Record (xxx):
    error: 1 error occurred:
    	* [ERR]: Error building changeset: InvalidChangeBatch: [Tried to create resource record set [name='xxx', type='CNAME'] but it already exists]
    	status code: 400, request id: 7c1eac32-4a1b-4b36-9e31-2882bf2f53e4
l

little-cartoon-10569

07/28/2021, 10:41 PM
What's broken? The message says that the resource already exists.
Was it created outside Pulumi and now you want Pulumi to manage it? You need to import it.
Should it not exist, because you want Pulumi to create it? Delete it in the Route53 console.
r

refined-terabyte-65361

07/28/2021, 10:48 PM
pulumi deployment was accidentally interrupted I tried to export and import stack dint help so i tried removing stack and retry i am dont see that resource under Route53 console too
l

little-cartoon-10569

07/28/2021, 10:51 PM
It's there, somewhere. That error is from AWS, not Pulumi. The CNAME record exists in Route53 and Pulumi can't create it.
r

refined-terabyte-65361

07/28/2021, 10:53 PM
oh let me check using aws cli
234 Views