This is a Terraspace project. It contains code to provision Cloud infrastructure built with Terraform and the Terraspace Framework.
Terraspace install as a standalone package.
Modify the Terraspace TS_APP value in config/boot.rb for your environment.
config/boot.rb # where TS_APP value represents you (example: your IAM username).
To deploy all the infrastructure stacks:
terraspace all up
To deploy individual stacks:
terraspace up vpc # where stack vpc is located under app/stacks/vpc
To deploy individual stacks in another region with environment prod and app myuser:
AWS_REGION=us-gov-west-1 TS_ENV=prod TS_APP=my-app terraspace up vpc
To use more modules, add them to the Terrafile.
Test your configuration:
kubectl get svc
Test access to the Amazon EKS API server:
aws eks describe-cluster \
--name my-app-dev --region us-gov-east-1 \
--query cluster.resourcesVpcConfig