Skip to content

Commit

Permalink
feat: org formation domains (#787)
Browse files Browse the repository at this point in the history
Signed-off-by: hxtree <[email protected]>
Signed-off-by: Matthew Heroux <[email protected]>
  • Loading branch information
hxtree authored Jan 1, 2024
1 parent f1d61aa commit 6b39a90
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
17 changes: 16 additions & 1 deletion platform/aws-org-formation/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,16 @@
# AWS Org Formation

The AWS Organization is initialized, managed, and synced using
[AWS Organization Formation](https://github.com/org-formation/org-formation-cli).
[org-formation-cli](https://github.com/org-formation/org-formation-cli).

## Domain Registration

Register a domain name through Route 53 in AWS master organization. In this
case, `nekosgate.com` was used. Delete the hostedZone in master account as org
formation will create one.

After running `./bin/sync.sh` get the name servers for the hosted zone in master
account and use them to update the Registered domain's nameservers in Route 53.

## Domain Registration

Expand Down Expand Up @@ -37,6 +46,12 @@ any hostedZone in master account as org formation will create one.
org-formation update organization.yml --profile=Administrator
```

## ACM WildCart Certs

For ACM cert verification it is important to have email setup for the domain as
to verify the domain. AWS WorkMail or other can be used for this purpose. This
allows for the wild card certs to be verified.

## Need help?

```bash
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Resources:
DomainName: !Sub '*.${AWSAccount.Tags.subdomain}.${rootHostedZoneName}'
SubjectAlternativeNames:
- !Sub '${AWSAccount.Tags.subdomain}.${rootHostedZoneName}'
ValidationMethod: DNS
ValidationMethod: EMAIL
DomainValidationOptions:
- DomainName: !Sub '${AWSAccount.Tags.subdomain}.${rootHostedZoneName}'
ValidationDomain: !Ref rootHostedZoneName
Expand Down

0 comments on commit 6b39a90

Please sign in to comment.