Use our official terraform module to deploy the Router to AWS Fargate.
terraform apply
is everything you need.GRAPH_API_TOKEN
which holds the token required for communicating with the WunderGraph Cloud. You can find more information on how to create such a token in our docs.
hosted_zone_name
must match the name configured in Route53. Otherwise, issuing the certificate would fail.
terraform apply
. The configuration options for the router are described in our docs as well.
GRAPH_API_TOKEN
value needs to be defined in the secret. This value gets injected when the container of the Cosmo Router starts. Please make sure that you add the following lines to your config.yaml
. Otherwise, the Router wouldn’t be able to communicate with the Cosmo Control Plane.