https://github.com/zaqqaz/terraform-typescript-frontend-infrastructure
AWS frontend infrastructure managed by terraform written with typescript
https://github.com/zaqqaz/terraform-typescript-frontend-infrastructure
acm aws cloudfront infrastructure lambda route53 s3 terraform
Last synced: 2 months ago
JSON representation
AWS frontend infrastructure managed by terraform written with typescript
- Host: GitHub
- URL: https://github.com/zaqqaz/terraform-typescript-frontend-infrastructure
- Owner: zaqqaz
- License: mit
- Created: 2020-07-23T13:20:10.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2022-10-12T17:32:32.000Z (almost 3 years ago)
- Last Synced: 2025-04-05T20:33:23.628Z (6 months ago)
- Topics: acm, aws, cloudfront, infrastructure, lambda, route53, s3, terraform
- Language: TypeScript
- Homepage: https://github.com/zaqqaz/terraform-typescript-frontend-infrastructure
- Size: 169 KB
- Stars: 8
- Watchers: 2
- Forks: 2
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# terraform-typescript-frontend-infrastructure
**AWS frontend infrastructure**, includes:
- 🏢 [S3](https://aws.amazon.com/s3/) - storage for static assets
- 🛰 [Cloudfront](https://aws.amazon.com/cloudfront/) - cdn
- 🗿 [AWS Certificate Manager](https://aws.amazon.com/certificate-manager/) - SSL certificate
- 🚏 [Route 53](https://aws.amazon.com/route53/) - DNS/Domain setup
- ⛽️ [S3 Unzip lambda](https://github.com/zaqqaz/terraform-s3-unzip) - to extract archive with static assets## How to
- Install dependencies:
```
cd terraform
npm i
```- Build typescript and provide DomainHost and DomainName (can be equal, or DomainName can be a subdomain)
```
DomainHost="domain.com" DomainName="test.domain.com" BakendBucket="terraform.domain.com" BackendKey="terraform-typescript-frontend-infrastructure.json" UnzipLambdaName="unzipTTFI" npm run go
```- Run terraform
```
terraform init
terraform plan
terraform apply
```