https://pulumi.com logo
#aws
Title
# aws
s

shy-greece-98380

02/01/2020, 3:00 AM
Hey all, is there a way to remove object if it already exists? for example I have subnets with tags. I want to change tag but I'm getting the following error:
Copy code
Diagnostics:
  pulumi:pulumi:Stack (pulumi-sandbox-dev):
    error: update failed
 
  aws:ec2:Subnet (Subnet_0):
    error: Error creating subnet: InvalidSubnet.Conflict: The CIDR '10.0.0.0/20' conflicts with another subnet
    	status code: 400, request id: 089dfb4e-16db-4edf-87a8-f63a599ae4e9
 
  aws:ec2:Subnet (Subnet_1):
    error: Error creating subnet: InvalidSubnet.Conflict: The CIDR '10.0.16.0/20' conflicts with another subnet
    	status code: 400, request id: 91e98039-a031-4b54-b9ff-79ea16c00d2e