A network engineer must develop an AWS CloudFormation template that can create a virtual private gateway, a customer gateway, a VPN connection, and static routes in a route table. During testing of the template, the network engineer notes that the CloudFormation template has encountered an error and is rolling back. What should the network engineer do to resolve the error?
A. Change the order of resource creation in the CloudFormation template
B. Add the DependsOn attribute to the resource declaration for the virtual private gatewa
C. Specify the route table entry resource
D. Add a wait condition in the template to wait for the creation of the virtual private gateway
E. Add the DependsOn attribute to the resource declaration for the route table entr
F. Specify the virtual private gateway resource