Show summary
| CHANGE | NAME |
|--------|-----------------------------------------------------------------|
| add | `aws_route53_record.system-status-notification-canada-ca-cname` |
Show plan
```terraform
Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
# aws_route53_record.system-status-notification-canada-ca-cname will be created
+ resource "aws_route53_record" "system-status-notification-canada-ca-cname" {
+ allow_overwrite = (known after apply)
+ fqdn = (known after apply)
+ id = (known after apply)
+ name = "status.notification.canada.ca"
+ records = [
+ "d2ica3mejnwxm3.cloudfront.net",
]
+ ttl = 300
+ type = "CNAME"
+ zone_id = "Z1XG153PQF3VV5"
}
Plan: 1 to add, 0 to change, 0 to destroy.
─────────────────────────────────────────────────────────────────────────────
Saved the plan to: plan.tfplan
To perform exactly these actions, run the following command to apply:
terraform apply "plan.tfplan"
```
Show Conftest results
```sh
WARN - plan.json - main - Missing Common Tags: ["aws_route53_zone.alpha-canada-ca-public"]
WARN - plan.json - main - Missing Common Tags: ["aws_route53_zone.cds-snc-ca-public"]
WARN - plan.json - main - Missing Common Tags: ["aws_route53_zone.notification-canada-ca-public"]
WARN - plan.json - main - Missing Common Tags: ["aws_route53_zone.platform-canada-ca-public"]
23 tests, 19 passed, 4 warnings, 0 failures, 0 exceptions
```
Summary | Résumé
Disregard branch name - this is a CNAME, not an A record.
Adding the notify system status CNAME to point to the new cloudfront distribution
Test instructions | Instructions pour tester la modification
nslookup status.notification.canada.ca should resolve to: d2ica3mejnwxm3.cloudfront.net