Skip to main content
Kinetic Community

AWS EC2 Delete Subnet

Deletes a specified subnet.

Downloads

By downloading this file, you acknowledge that you agree to our Terms of Service

aws_ec2_delete_subnet_v1.zip

Detailed Description

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.

Parameters

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

Sample Configuration

Parameter Example Configuration
Dry Run false
Subnet ID subnet-3a9be84d

Results

This handler returns no results

Change Log

Version Date Description
1 2017-08-22 * Initial version. See README for details.