aboutsummaryrefslogtreecommitdiff
path: root/readme.md
blob: 1d8befd54dc7f0e6686840419137524a7c601eee (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Terraform module to create a route53 zone and IAM account to delegate letsencrypt

Pretty rough, quick terraform for setting up route53, a new IAM account and
dumping the credentials to the output.

The short version is you include this in your terraform as a module:

```
source = "git::https://git.riedstra.dev/mitch/tf_letsencrypt_delegate"
```

Or so.

If you don't set `use_pgp = true` and `pgp_key` to the base64 encoded
contents of your public PGP key then it will write the credentials unencrypted
to the state file, which you may wish to avoid.


Adding:

```
output "info" {
	value = module.letsencrypt.info
}
```

To your terraform may be useful to easily retrieve the access key.