logo
Menu

Idempotency Support for Route Table and Network ACL Creation in Amazon VPC!

Amazon VPN now supports idempotency for route table and network ACL creation.

Published Feb 9, 2024
Amazon VPN now supports idempotency for route table and network ACL creation. You can incorporate a retry mechanism in your creation workflow without creating duplicate resources.
When creating route tables and network ACLs using the AWS CLI or API, you can now specify a clientToken parameter (--client-token) to achieve idempotency.
"A client token is a unique, case-sensitive string of up to 64 ASCII characters."
Sample AWS CLI command:
Now if we retry the RouteTable creation command using the same --client-token, it will return the same route table instead of creating a new one.
But if we retry with a different parameter (e.g. different VPC) and the same token, it will throw IdempotentParameterMismatch error.
For a demo, check the video below.
 

Comments