Closed thomas11 closed 4 months ago
As a work-around, you can append the following string: {"op":"remove", "path":"AssignIpv6AddressOnCreation"}
to the patch document for the mutation. This is safe even for subnets with this parameter set to true, as it only removes the key from the update API payload, it does not actually remove the configuration from the subnet.
This issue has been resolved.
Name of the resource
AWS::EC2::Subnet
Resource Name
No response
Issue Description
When an EC2::Subnet is created without
Ipv6CidrBlock
being set, subsequent updates fail with "Invalid request provided: Property Ipv6CidrBlock cannot be empty."According to the CF docs, this property should not be required. Which makes sense, since the subnet may have no IPv6 configuration.
Expected Behavior
A subnet not using
Ipv6CidrBlock
can be updated via Cloud Control, such as editing its tags.Observed Behavior
Any update, even if unrelated to IPv6, fails with "Invalid request provided: Property Ipv6CidrBlock cannot be empty."
Test Cases
This succeeds. Now perform an update to the Subnet, unrelated to CIDR blocks, like adding a tag:
The result is this failure with Property Ipv6CidrBlock cannot be empty:
Other Details
No response