Troubleshoot AWS Transit Gateway VPC attachment creation
The following topic can help you troubleshoot problems that you might have when you create a VPC attachment.
Problem
The VPC attachment failed.
Cause
The cause might be one of the following:
- 
			The user that is creating the VPC attachment does not have correct permissions to create service-linked role. 
- 
			There is a throttling issue because of too many IAM requests, for example you are using AWS CloudFormation to create permissions and roles. 
- 
			The account has the service-linked role, and the service-linked role has been modified. 
- 
			The transit gateway is not in the availablestate.
Solution
Depending on the cause, try the following:
- 
			Verify that the user has the correct permissions to create service-linked roles. For more information, see Service-linked role permissions in the IAM User Guide. After the user has the permissions, create the VPC attachment. 
- 
			Create the VPC attachment manually. For more information, see Create a VPC attachment in AWS Transit Gateway. 
- 
			Verify that the service-linked role has the correct permissions. For more information, see Transit gateway service-linked role. 
- 
			Verify that the transit gateway is in the availablestate. For more information, see View transit gateway information in AWS Transit Gateway.