Bootstrap FreeKB - Amazon Web Services (AWS) - Update Subnet Route Table Association using the AWS CLI
Amazon Web Services (AWS) - Update Subnet Route Table Association using the AWS CLI

Updated:   |  Amazon Web Services (AWS) articles

This assumes you have already configured the aws command line tool. If not, check out my article on Getting Started with the AWS CLI.

The aws ec2 associate-route-table command can be used to update the Route Table being used by one of your Subnets in one of your Virtual Private Clouds (VPCs).

~]$ aws ec2 associate-route-table --route-table-id rtb-0e96e9343c4086863 --subnet-id subnet-0f015da3a1e164304
{
    "AssociationState": {
        "State": "associated"
    },
    "AssociationId": "rtbassoc-03280f7a1a677851b"
}

 




Did you find this article helpful?

If so, consider buying me a coffee over at Buy Me A Coffee



Comments


Add a Comment


Please enter 72e3f7 in the box below so that we can be sure you are a human.