-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #137 from DFE-Digital/2142-updated-dfe-analytics-r…
…eadme-2 [2142] More documentation
- Loading branch information
Showing
18 changed files
with
119 additions
and
138 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,51 @@ | ||
# DNS records | ||
|
||
Terraform code for managing Azure DNS records. | ||
Terraform code for managing Azure DNS records, currently A and CNAME records. | ||
|
||
## Terraform documentation | ||
For the list of requirement, inputs, outputs, resources... check the [terraform module documentation](tfdocs). | ||
For the list of requirement, inputs, outputs, resources... check the [terraform module documentation](tfdocs.md). | ||
|
||
## Variable | ||
```json | ||
{ | ||
"hosted_zone": { | ||
"<zone 1 domain>": { | ||
"resource_group_name": "<resource group>", # Usually the same resource group for all domains of a service | ||
"a-records": { # List of A records | ||
"<name>": { | ||
"target": "<value>" | ||
}, | ||
... | ||
}, | ||
"cnames": { # List of CNAME records | ||
"<name>": { | ||
"target": "<value>" | ||
}, | ||
... | ||
} | ||
} | ||
} | ||
} | ||
``` | ||
|
||
## Example | ||
```json | ||
{ | ||
"hosted_zone": { | ||
"teacherservices.cloud": { | ||
"resource_group_name": "s189p01-tscdomains-rg", | ||
"a-records": { | ||
"test": { | ||
"target": "51.52.53.54" | ||
} | ||
}, | ||
"cnames": { | ||
"_7008a420a798s7d6fs8df7": { | ||
"target": "_9867w9ef698hery8.vnfitht.acm-validations.aws", | ||
"ttl": 86400 | ||
} | ||
} | ||
} | ||
} | ||
} | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
variable "hosted_zone" { | ||
type = map(any) | ||
default = {} | ||
type = map(any) | ||
default = {} | ||
description = "List of zones and the records to create for each one. See [README](readme.md) for details." | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,42 @@ | ||
# DNS Zones | ||
|
||
Terraform code for managing Azure DNS Zones. | ||
Terraform code for managing Azure DNS Zones and their default CAA and TXT records. | ||
|
||
## Terraform documentation | ||
For the list of requirement, inputs, outputs, resources... check the [terraform module documentation](tfdocs). | ||
For the list of requirement, inputs, outputs, resources... check the [terraform module documentation](tfdocs.md). | ||
|
||
## Variable | ||
```json | ||
{ | ||
"hosted_zone": { | ||
"<zone 1 domain>": { | ||
"resource_group_name": "<resource group>", # Usually the same resource group for all domains of a service | ||
"caa_record_list": ["xxx", ...], # CAA list valid domains for generating TLS certificates | ||
"txt_record_lists": { # Additional TXT records | ||
"<name>": ["x=y", ...] | ||
} | ||
} | ||
} | ||
} | ||
``` | ||
|
||
## Example | ||
```json | ||
{ | ||
"hosted_zone": { | ||
"teacherservices.cloud": { | ||
"resource_group_name": "s189p01-tscdomains-rg", | ||
"caa_record_list": [ | ||
"globalsign.com", | ||
"digicert.com" | ||
], | ||
"txt_record_lists": { | ||
"@": [ | ||
"v=spf1 -all", | ||
"_globalsign-domain-verification=XXXX" | ||
] | ||
} | ||
} | ||
} | ||
} | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
|
||
variable "hosted_zone" { | ||
type = map(any) | ||
default = {} | ||
type = map(any) | ||
default = {} | ||
description = "List of zones and their properties. See [README](readme.md) for details." | ||
} | ||
|
||
variable "tags" { | ||
default = null | ||
default = null | ||
description = "Azure resource tags. Deprecated: set tags at resource group level" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.