Test instructions | Instructions pour tester la modification
TF APPLY WORK THIS TIME
Release Instructions | Instructions pour le déploiement
None.
Reviewer checklist | Liste de vérification du réviseur
[ ] This PR does not break existing functionality.
[ ] This PR does not violate GCNotify's privacy policies.
[ ] This PR does not raise new security concerns. Refer to our GC Notify Risk Register document on our Google drive.
[ ] This PR does not significantly alter performance.
[ ] Additional required documentation resulting of these changes is covered (such as the README, setup instructions, a related ADR or the technical documentation).
⚠ If boxes cannot be checked off before merging the PR, they should be moved to the "Release Instructions" section with appropriate steps required to verify before release. For example, changes to celery code may require tests on staging to verify that performance has not been affected.
Show summary
| CHANGE | NAME |
|--------|-----------------------------------------------------------------|
| add | `aws_route53_record.api-document-notification-canada-ca-cname` |
| | `aws_route53_record.doc-notification-canada-ca-cname` |
| | `aws_route53_record.document-notification-canada-ca-cname` |
| | `aws_route53_record.documentation-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.api-document-notification-canada-ca-cname will be created
+ resource "aws_route53_record" "api-document-notification-canada-ca-cname" {
+ allow_overwrite = (known after apply)
+ fqdn = (known after apply)
+ id = (known after apply)
+ name = "api.document.staging.notification.cdssandbox.xyz"
+ records = [
+ "notification-staging-alb-1878361959.ca-central-1.elb.amazonaws.com",
]
+ ttl = 300
+ type = "CNAME"
+ zone_id = "/hostedzone/Z04028033PLSHVOO9ZJ1Z"
}
# aws_route53_record.doc-notification-canada-ca-cname will be created
+ resource "aws_route53_record" "doc-notification-canada-ca-cname" {
+ allow_overwrite = (known after apply)
+ fqdn = (known after apply)
+ id = (known after apply)
+ name = "doc.staging.notification.cdssandbox.xyz"
+ records = [
+ "notification-staging-alb-1878361959.ca-central-1.elb.amazonaws.com",
]
+ ttl = 300
+ type = "CNAME"
+ zone_id = "/hostedzone/Z04028033PLSHVOO9ZJ1Z"
}
# aws_route53_record.document-notification-canada-ca-cname will be created
+ resource "aws_route53_record" "document-notification-canada-ca-cname" {
+ allow_overwrite = (known after apply)
+ fqdn = (known after apply)
+ id = (known after apply)
+ name = "document.staging.notification.cdssandbox.xyz"
+ records = [
+ "notification-staging-alb-1878361959.ca-central-1.elb.amazonaws.com",
]
+ ttl = 300
+ type = "CNAME"
+ zone_id = "/hostedzone/Z04028033PLSHVOO9ZJ1Z"
}
# aws_route53_record.documentation-notification-canada-ca-cname will be created
+ resource "aws_route53_record" "documentation-notification-canada-ca-cname" {
+ allow_overwrite = (known after apply)
+ fqdn = (known after apply)
+ id = (known after apply)
+ name = "documentation.staging.notification.cdssandbox.xyz"
+ records = [
+ "notification-staging-alb-1878361959.ca-central-1.elb.amazonaws.com",
]
+ ttl = 300
+ type = "CNAME"
+ zone_id = "/hostedzone/Z04028033PLSHVOO9ZJ1Z"
}
Plan: 4 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 - Cloudwatch log metric pattern is invalid: ["aws_cloudwatch_log_metric_filter.celery-error[0]"]
WARN - plan.json - main - Cloudwatch log metric pattern is invalid: ["aws_cloudwatch_log_metric_filter.scanfiles-timeout[0]"]
WARN - plan.json - main - Missing Common Tags: ["aws_acm_certificate.client_vpn"]
WARN - plan.json - main - Missing Common Tags: ["aws_acm_certificate.notification-canada-ca"]
WARN - plan.json - main - Missing Common Tags: ["aws_acm_certificate.notification-canada-ca-alt[0]"]
WARN - plan.json - main - Missing Common Tags: ["aws_alb.notification-canada-ca"]
WARN - plan.json - main - Missing Common Tags: ["aws_alb_listener.internal_alb_tls"]
WARN - plan.json - main - Missing Common Tags: ["aws_alb_listener.notification-canada-ca"]
WARN - plan.json - main - Missing Common Tags: ["aws_alb_target_group.internal_nginx_http"]
WARN - plan.json - main - Missing Common Tags: ["aws_alb_target_group.notification-canada-ca-admin"]
WARN - plan.json - main - Missing Common Tags: ["aws_alb_target_group.notification-canada-ca-api"]
WARN - plan.json - main - Missing Common Tags: ["aws_alb_target_group.notification-canada-ca-document"]
WARN - plan.json - main - Missing Common Tags: ["aws_alb_target_group.notification-canada-ca-document-api"]
WARN - plan.json - main - Missing Common Tags: ["aws_alb_target_group.notification-canada-ca-documentation"]
WARN - plan.json - main - Missing Common Tags: ["aws_cloudwatch_log_group.notification-canada-ca-eks-application-logs[0]"]
WARN - plan.json - main - Missing Common Tags: ["aws_cloudwatch_log_group.notification-canada-ca-eks-cluster-logs[0]"]
WARN - plan.json - main - Missing Common Tags: ["aws_cloudwatch_log_group.notification-canada-ca-eks-prometheus-logs[0]"]
WARN - plan.json - main - Missing Common Tags: ["aws_cloudwatch_metric_alarm.admin-evicted-pods[0]"]
WARN - plan.json - main - Missing Common Tags: ["aws_cloudwatch_metric_alarm.admin-pods-high-cpu-warning[0]"]
WARN - plan.json - main -...
```
Summary | Résumé
Replacing hard-coded notification.canada.ca with the base domain. Duh.
Related Issues | Cartes liées
Test instructions | Instructions pour tester la modification
TF APPLY WORK THIS TIME
Release Instructions | Instructions pour le déploiement
None.
Reviewer checklist | Liste de vérification du réviseur