-
Notifications
You must be signed in to change notification settings - Fork 110
Description
Describe what happened
When setting ipv4IpamPoolId
on a awsx.ec2.Vpc
the VPC will be stuck deleting on pulumi down -y
. The vpc resource will be correctly deleted in AWS thou. After interrupting the down operation and running a pulumi down
a second time it will correctly wrap up deletion of the awsx.ec2.Vpc
Sample program
import * as awsx from "@pulumi/awsx";
import * as pulumi from "@pulumi/pulumi";
const cfg = new pulumi.Config();
const vpcx = new awsx.ec2.Vpc(vpcx
, {
ipv4IpamPoolId: cfg.require("ipamId"),
ipv4NetmaskLength: 24,
subnetStrategy: "Auto",
});
Log output
stdouttt
stderr (with --logtostderr --logflow -v=10)
Affected Resource(s)
aws:ec2:Vpc
Output of pulumi about
CLI
Version 3.152.0
Go Version go1.24.1
Go Compiler gc
Plugins
KIND NAME VERSION
resource aws 6.73.0
resource awsx 2.21.1
resource docker 4.6.2
resource docker 3.6.1
resource docker-build 0.0.8
language nodejs 3.122.0
Host
OS ubuntu
Version 22.04
Arch x86_64
This project is written in nodejs: executable='/home/mark/projects/pulumi-template/.devbox/nix/profile/default/bin/node' version='v22.4.1'
Current Stack: organization/pulumi-template/develop
TYPE URN
pulumi:pulumi:Stack urn:pulumi:develop::pulumi-template::pulumi:pulumi:Stack::pulumi-template-develop
pulumi:providers:awsx urn:pulumi:develop::pulumi-template::pulumi:providers:awsx::default_2_21_1
awsx:ec2:Vpc urn:pulumi:develop::pulumi-template::awsx:ec2:Vpc::vpcx
pulumi:providers:aws urn:pulumi:develop::pulumi-template::pulumi:providers:aws::default_6_66_3
aws:ec2/vpc:Vpc urn:pulumi:develop::pulumi-template::awsx:ec2:Vpc$aws:ec2/vpc:Vpc::vpcx
pulumi:providers:pulumi urn:pulumi:develop::pulumi-template::pulumi:providers:pulumi::default
OPP TYPE URN
deleting urn:pulumi:develop::pulumi-template::awsx:ec2:Vpc$aws:ec2/vpc:Vpc::vpcx
Backend
Name marktops
URL s3://pulumi-template20240814115727721000000001?region=eu-west-1&awssdk=v3
User mark
Organizations
Token type personal
Dependencies:
NAME VERSION
@pulumi/aws 6.73.0
@pulumi/awsx 2.21.1
@pulumi/pulumi 3.157.0
Pulumi locates its logs in /tmp by default
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).