This repo contains all shared AWS resources between RMIT projects.
You will need to have a route53 zone, with the parent domain for all applications, the route53 should be accessable online.
The project builds two types of resources:
-
All shared resources between RMIT projects, those resources include:
- VPC Network, and subnets
- NAT Gateway
- DynamoDB statelock table
-
All required base resources for each application, the base resources include:
- VPC Subnets
- ECR repository
- SSM parameters
- Certificates
- DNS records in route53
The state of this project will be stored in manually-created s3 bucket called terraform-statebucket-rmit. The bucket exist in the RMIT aws account.
- Install Terraform
- Install and configure AWS CLI
- Create
terraform.tfvars
file, that copied fromterraform.tfvars.example
and update values. - Init, plan and apply terraform. See: Provisioning Infrastructure