Custom compliance for network changes
This section provides instructions for custom compliance.
Add tags to transit gateway route table
Each transit gateway route table is tagged with an ApprovalRequired tag key with a default value of No. You can set the value to:
-
Yesto enforce manual approval -
Conditionaland add custom rules for compliance
| Key | Value | Description |
|---|---|---|
|
ApprovalRequired |
|
The default value is |
|
ApprovalRequired |
|
This setting enforces the manually approved workflow for any change in the association and propagation changes. |
|
ApprovalRequired |
|
You can use this setting to automate approving or rejecting requests separately for associations and propagations. You can also optionally define rules based on the requesting account’s OU. |
Custom compliance rules
Administrators can change from the default automatic approval setup to manual approval by changing the ApprovalRequired tag value for every transit gateway route table individually.
See View transit gateway route tables for instuctions on viewing your transit gateway route tables and updating tags.
The following tag keys and values are required with at least one rule if the ApprovalRequired is set to Conditional.
| Key | Value | Description |
|---|---|---|
|
ApprovalRule-Default-Association |
|
Default approval action for |
|
ApprovalRule-Default-Propagation |
|
Default approval action for |
|
ApprovalRule- |
|
A comma-separated list of OU paths starting with If you enter the key with the If you enter the key with the Note
|
|
ApprovalRule--<NN>-Association |
|
The approval action to take for a VPC that associates with this route table if the Note
|
|
ApprovalRule-- |
|
The approval action to take for a VPC that propagates to this route table if the Note
|
Note
If you don’t provide a value for the ApprovalRule keys, the default value is ApprovalRequired_._
Example: Infrastructure route table rules using OU membership
If your VPCs provide organization-wide shared services, such as Microsoft Active Directory and patching servers, and are limited to AWS accounts in the Infrastructure or Security OU, you can use the following rules to ensure that only VPCs in those OUs associate with the Infrastructure route table without approval. This prevents workload VPCs accidentally associating with the Infrastructure route table, which could inadvertently expose them to the entire organization.
This example also demonstrates how you can prevent VPCs in Sandbox OUs from accessing the organizational shared services. Together, the following rules auto-reject associations or propagations from Sandbox VPCs for the Infrastructure route table.
| Infrastructure Route Table Tag Key | Value |
|---|---|
|
Name |
|
|
ApprovalRequired |
|
|
ApprovalRule-Default-Association |
|
|
ApprovalRule-Default-Propagation |
|
|
ApprovalRule-01-InOUs |
|
|
ApprovalRule-01-Association |
|
|
ApprovalRule-01-Propagation |
|
|
ApprovalRule-02-InOUs |
|
|
ApprovalRule-02-Association |
|
|
ApprovalRule-02-Propagation |
|