AWS EC2 Delete Subnet VERSION 1

Deletes a specified subnet. You must terminate all running instances in the subnet before you can delete the subnet.

The Dry Run parameter validates user permissions and inputs. If it is set to true, an error will always be thrown by the handler before completing the handler action. Error response will be 'DryRunOperation' if the account has proper permissions and inputs; 'UnauthorizedOperation' if the account does not have proper permissions.


Dry RunDry run validates user permissions and inputs without completing the EC2 action (true or false).
Subnet IDThe ID of the subnet to delete. Must match an existing value in AWS.

Sample Configuration

Dry Runfalse
Subnet IDsubnet-3a9be84d


This handler does not return any results.


No Changelog Available.