11/05/2021, 4:39 PM
Has anyone noticed an issue where an
is not having any effect? Pulumi deploys the resource and I can see the DHCP Options present in the AWS console, but looking at my VPC, it is not associated with the DHCP Option Set
Solved my own problem again. It transpires that I had renamed or re-parented my VpcDhcpOptionsAssociation resources in my script. pulumi then reflected that by creating the new VpcDhcpOptionsAssociation objects, then deleting the old ones. However deleting the old ones has the effect of clearing the DhcpOptions associated with each VPC. It seems like some resources should have deleteBeforeReplace set by default.