Disassociate a transit gateway policy table in AWS Transit Gateway - Amazon VPC
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

Disassociate a transit gateway policy table in AWS Transit Gateway

Disassociate a policy table from a transit gateway attachment.

Important

After the association is removed, the attachment has no route table or policy table associated with it. All ingressing traffic is dropped until you associate the attachment with a route table or a new policy table.

To disassociate a policy table using the console
  1. Open the Amazon VPC console at https://eusc-de-east-1.console.amazonaws-eusc.eu/vpc/.

  2. In the navigation pane, under Transit Gateways, choose Transit Gateway Policy Tables, and select the policy table.

  3. Choose the Associations tab.

  4. Select the association you want to remove.

  5. Choose Delete association.

  6. In the confirmation dialog, review the policy table ID and attachment ID. Acknowledge the warning: Removing this association will disable policy-based routing for traffic from this attachment. All ingress traffic from this attachment will be dropped until you associate it with a route table or a new policy table. Choose Delete.

A success banner appears: Successfully deleted association from {tgw-attach-id}.

To disassociate a policy table using the AWS CLI

Use the disassociate-transit-gateway-policy-table command.

aws ec2 disassociate-transit-gateway-policy-table \ --transit-gateway-policy-table-id tgw-ptb-0ca78a549EXAMPLE \ --transit-gateway-attachment-id tgw-attach-0def6EXAMPLE

Example response. The association transitions to the disassociating state:

{ "Association": { "TransitGatewayPolicyTableId": "tgw-ptb-0ca78a549EXAMPLE", "TransitGatewayAttachmentId": "tgw-attach-0def6EXAMPLE", "State": "disassociating" } }