Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/skorfmann/cdkweekly

Terraform CDK SSL Proxy for cdkweekly.com
https://github.com/skorfmann/cdkweekly

aws cdk cdktf cdkweekly terraform terraform-cdk tfcdk typescript

Last synced: about 2 months ago
JSON representation

Terraform CDK SSL Proxy for cdkweekly.com

Awesome Lists containing this project

README

        

# Terraform CDK SSL Proxy for cdkweekly.com

The [CDK Weekly](https://www.cdkweekly.com/) newsletter is served by [revue.co](https://www.getrevue.co/), which doesn't support SSL for custom domains.

This little workaround was initially built on top of [Terrastack](https://github.com/terrastackio/terrastack) and got migrated to its successor [Terraform CDK](https://github.com/hashicorp/terraform-cdk/). It's the first real world example for the Terraform CDK and is running in production for a while now.

## Setup

```
npm install
cdktf get
```

## Deploy

```
cdktf deploy
```
That's where one of the [Terraform CDK examples](https://github.com/hashicorp/terraform-cdk/tree/master/examples/typescript-aws-cloudfront-proxy) is stemming from.

Next Up:

- [ ] Redirect naked domain -> www (probably including SSL via Cloudfront distribution)
- [ ] Inject Google Analytics or something similar
- [ ] Migrate state to Terraform Cloud