quiet-laptop-13439
06/27/2022, 2:22 PMTarget 'urn:XXX' could not be found in the stack
error when trying to apply resource. However, we can see the resource with the urn both in the state and AWS console. What could that mean and what could be the fix?billowy-army-68599
06/27/2022, 2:27 PMquiet-laptop-13439
06/27/2022, 2:58 PMbillowy-army-68599
06/27/2022, 3:00 PMquiet-laptop-13439
06/27/2022, 3:05 PMPreviewing update (single-region-test):
Type Name Plan Info
pulumi:pulumi:Stack single-region-stack-single-region-test 3 errors
- ├─ aws:ec2:RouteTableAssociation eu-west-1c-public delete
- ├─ aws:ec2:Route eu-west-1c-public delete
- └─ aws:ec2:Subnet eu-west-1c-public delete
Diagnostics:
pulumi:pulumi:Stack (single-region-stack-single-region-test):
error: Target 'urn:pulumi:single-region-test::single-region-stack::dycloud:index:Ec2Vpc$dycloud:index:Subnet$aws:ec2/routeTableAssociation:RouteTableAssociation' could not be found in the stack.
error: Target 'urn:pulumi:single-region-test::single-region-stack::dycloud:index:Ec2Vpc$dycloud:index:Subnet$aws:ec2/subnet:Subnet::eu-west-1c-public' could not be found in the stack.
error: Target 'urn:pulumi:single-region-test::single-region-stack::dycloud:index:Ec2Vpc$dycloud:index:Subnet$aws:ec2/route:Route::eu-west-1c-public' could not be found in the stack.
billowy-army-68599
06/27/2022, 3:08 PMquiet-laptop-13439
06/27/2022, 3:21 PMbillowy-army-68599
06/27/2022, 3:32 PMpulumi stack export
(in a github gist if it's long)quiet-laptop-13439
06/29/2022, 1:38 PM