Skip to main content
Kinetic Community

AWS EC2 Associate Route Table

Associates a subnet with a route table.

Downloads

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

aws_ec2_associate_route_table_v1.zip

Detailed Description

Associates a subnet with a route table. The subnet and route must be in the same VPC. This association causes traffic originating from the subnet to be routed according to the routes in the route table. A route can be associated with multiple subnets. For more information see the AWS Amazon Virtual Private Cloud User Guide online.

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 which the route table will connect. Must match an existing value in AWS.
Route Table ID The ID of the route table to connect to the subnet. Must match an existing value in AWS.

Sample Configuration

Parameter Example Configuration
Dry Run false
Subnet ID subnet-c5311aef
Route Table ID rtb-076baa09

Results

Name Description
Association Id The id of the association if the call was successful.

Change Log

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