error: deleting urn:pulumi:dev::allrites-infrastructure::custom:resource:vpc$aws:ec2/vpc:Vpc$aws:ec2/subnet:Subnet$aws:ec2/eip:Eip::us-data-vpc-nat-1: 1 error occurred:
* AuthFailure: You do not have permission to access the specified resource.
status code: 400, request id: 3cedd0dd-f987-4eac-9c2b-ff179af491c2
08/17/2022, 8:52 AM
looks like the user/role you're using doesnt have permission to perform that delete action
08/17/2022, 9:05 AM
i am using root account for this. this is not related to permission issue.
08/17/2022, 9:06 AM
ive seen similar errors when my session has expired when using a token, are you using a token?
also id probably recommend not using the root account
08/17/2022, 10:34 AM
it was caused by associations. after manually remove NAT gateway, its fixed.