https://github.com/jsolly/infra_as_code
Terraform code for John Solly's websites
https://github.com/jsolly/infra_as_code
aws cloudflare iac terraform
Last synced: 4 months ago
JSON representation
Terraform code for John Solly's websites
- Host: GitHub
- URL: https://github.com/jsolly/infra_as_code
- Owner: jsolly
- License: mit
- Created: 2024-12-06T01:36:56.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2025-02-25T03:50:08.000Z (5 months ago)
- Last Synced: 2025-04-01T10:54:27.535Z (4 months ago)
- Topics: aws, cloudflare, iac, terraform
- Language: HCL
- Homepage:
- Size: 123 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Static Website Infrastructure Modules
This repository contains reusable Terraform modules for deploying static websites with serverless backends. These modules are designed to be imported and used by other application repositories.
## Available Modules
### Frontend Modules (`static_website/`)
#### AWS + Cloudflare Infrastructure (`static_website/`)
A module for deploying websites using AWS and Cloudflare:
- **Content Storage**: Amazon S3 with website hosting enabled
- **Content Delivery**: Cloudflare CDN with IP-restricted S3 access
- **DNS Management**: Cloudflare DNS (CNAME records)
- **SSL/TLS**: Cloudflare SSL### Module Structure
```
.
└── static_website/ # Root module directory
├── storage/ # S3 bucket configuration
└── dns/ # Cloudflare DNS configuration
```## Configuration
## License
MIT License - See [LICENSE](LICENSE) for details.