cds-snc / dns

DNS Configuration for domains managed by CDS
19 stars 18 forks source link

feat: Adding system status static website dns validation CNAME #358

Closed ben851 closed 9 months ago

ben851 commented 9 months ago

Summary | Résumé

Adding the notify system status certificate validation record.

Test instructions | Instructions pour tester la modification

TF Apply works, nslookup on _7deec9582fbcae0f970d8192e402d455.status.notification.canada.ca should return: _460cff15b0106252f78a3e2257c44d80.mhbtsbpdnt.acm-validations.aws.

github-actions[bot] commented 9 months ago

DNS

✅   Terraform Init: success ✅   Terraform Validate: success ✅   Terraform Format: success ✅   Terraform Plan: success ✅   Conftest: success

Plan: 1 to add, 0 to change, 0 to destroy
Show summary | CHANGE | NAME | |--------|-----------------------------------------------------------| | add | `aws_route53_record.status-notification-validation-CNAME` |
Show plan ```terraform Resource actions are indicated with the following symbols: + create Terraform will perform the following actions: # aws_route53_record.status-notification-validation-CNAME will be created + resource "aws_route53_record" "status-notification-validation-CNAME" { + allow_overwrite = (known after apply) + fqdn = (known after apply) + id = (known after apply) + name = "_7deec9582fbcae0f970d8192e402d455.status.notification.canada.ca" + records = [ + "_460cff15b0106252f78a3e2257c44d80.mhbtsbpdnt.acm-validations.aws.", ] + 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 ```