-
-
Notifications
You must be signed in to change notification settings - Fork 56
/
README.yaml
97 lines (79 loc) · 3.18 KB
/
README.yaml
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
#
# This is the canonical configuration for the `README.md`
# Run `make readme` to rebuild the `README.md`
#
# Name of this project
name: terraform-aws-route53-cluster-hostname
# Tags of this project
tags:
- aws
- terraform
- terraform-modules
- networking
- route53
- cluster
- hostname
# Categories of this project
categories:
- terraform-modules/networking
# Logo for this project
#logo: docs/logo.png
# License of this project
license: "APACHE2"
# Canonical GitHub repo
github_repo: cloudposse/terraform-aws-route53-cluster-hostname
# Badges to display
badges:
- name: Latest Release
image: https://img.shields.io/github/release/cloudposse/terraform-aws-route53-cluster-hostname.svg?style=for-the-badge
url: https://github.com/cloudposse/terraform-aws-route53-cluster-hostname/releases/latest
- name: Last Updated
image: https://img.shields.io/github/last-commit/cloudposse/terraform-aws-route53-cluster-hostname.svg?style=for-the-badge
url: https://github.com/cloudposse/terraform-aws-route53-cluster-hostname/commits
- name: Slack Community
image: https://slack.cloudposse.com/for-the-badge.svg
url: https://slack.cloudposse.com
# List any related terraform modules that this module may be used with or that this module depends on.
related:
- name: "terraform-aws-route53-alias"
description: "Terraform module to define vanity host/domain (e.g. `brand.com`) as an ALIAS record"
url: "https://github.com/cloudposse/terraform-aws-route53-alias"
- name: "terraform-aws-route53-cluster-zone"
description: "Terraform module to provision cluster domain (e.g. `prod.ourcompany.com`)"
url: "https://github.com/cloudposse/terraform-aws-route53-cluster-zone"
- name: "terraform-aws-kops-route53"
description: "Terraform module to lookup the IAM role associated with `kops` masters, and attach an IAM policy to the role with permissions to modify Route53 record sets"
url: "https://github.com/cloudposse/terraform-aws-kops-route53"
# Short description of this project
description: |-
Terraform module to define a consistent AWS Route53 hostname
usage: |-
For a complete example, see [examples/complete](examples/complete).
For automated tests of the complete example using [bats](https://github.com/bats-core/bats-core) and [Terratest](https://github.com/gruntwork-io/terratest)
(which tests and deploys the example on AWS), see [test](test).
```hcl
# Create a standard label resource. See [null-label](https://github.com/cloudposse/terraform-null-label/#terraform-null-label--)
module "label" {
source = "cloudposse/label/null"
# Cloud Posse recommends pinning every module to a specific version, though usually you want to use the current one
# version = "x.x.x"
namespace = "eg"
name = "example"
}
module "route53_hostname" {
source = "cloudposse/route53-cluster-hostname/aws"
# Cloud Posse recommends pinning every module to a specific version
# version = "x.x.x"
zone_id = "Z3SO0TKDDQ0RGG"
type = "CNAME"
records = [
"test-hostname",
]
context = module.label.context
}
```
include:
- "docs/targets.md"
- "docs/terraform.md"
# Contributors to this project
contributors: []