Skip to content

Update the challenge records so cert will update. - #556

Merged
sylviamclaughlin merged 1 commit into
mainfrom
feat/ai_answers_update_cert_challenge_values
Aug 24, 2026
Merged

Update the challenge records so cert will update.#556
sylviamclaughlin merged 1 commit into
mainfrom
feat/ai_answers_update_cert_challenge_values

Conversation

@sylviamclaughlin

Copy link
Copy Markdown
Contributor

Summary | Résumé

Update the challenge records so cert will update. Replicates this PR - #555

@sylviamclaughlin
sylviamclaughlin requested a review from a team August 24, 2026 16:51
@sylviamclaughlin sylviamclaughlin self-assigned this Aug 24, 2026
@github-actions

Copy link
Copy Markdown

DNS

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

⚠️   Warning: resources will be destroyed by this change!

Plan: 2 to add, 0 to change, 2 to destroy
Show summary
CHANGE NAME
add aws_route53_record.ai-answers-acm-validation
aws_route53_record.reponses-ia-acm-validation
delete aws_route53_record._b3259586aedbdb670a1126167ef4fad9-alpha-canada-ca-CNAME
aws_route53_record._dbb14456ed8ab3deed1f05507ff40373-alpha-canada-ca-CNAME
Show plan
Resource actions are indicated with the following symbols:
  + create
  - destroy

Terraform will perform the following actions:

  # aws_route53_record._b3259586aedbdb670a1126167ef4fad9-alpha-canada-ca-CNAME will be destroyed
  # (because aws_route53_record._b3259586aedbdb670a1126167ef4fad9-alpha-canada-ca-CNAME is not in configuration)
  - resource "aws_route53_record" "_b3259586aedbdb670a1126167ef4fad9-alpha-canada-ca-CNAME" {
      - fqdn                             = "_b3259586aedbdb670a1126167ef4fad9.alpha.canada.ca" -> null
      - id                               = "Z33C47YI9EN8XL__b3259586aedbdb670a1126167ef4fad9.alpha.canada.ca_CNAME" -> null
      - multivalue_answer_routing_policy = false -> null
      - name                             = "_b3259586aedbdb670a1126167ef4fad9.alpha.canada.ca" -> null
      - records                          = [
          - "_86256a6d6c75bfd5e57ca09b9f3d51b8.kirrbxfjtw.acm-validations.aws",
        ] -> null
      - ttl                              = 300 -> null
      - type                             = "CNAME" -> null
      - zone_id                          = "Z33C47YI9EN8XL" -> null
        # (2 unchanged attributes hidden)
    }

  # aws_route53_record._dbb14456ed8ab3deed1f05507ff40373-alpha-canada-ca-CNAME will be destroyed
  # (because aws_route53_record._dbb14456ed8ab3deed1f05507ff40373-alpha-canada-ca-CNAME is not in configuration)
  - resource "aws_route53_record" "_dbb14456ed8ab3deed1f05507ff40373-alpha-canada-ca-CNAME" {
      - fqdn                             = "_dbb14456ed8ab3deed1f05507ff40373.alpha.canada.ca" -> null
      - id                               = "Z33C47YI9EN8XL__dbb14456ed8ab3deed1f05507ff40373.alpha.canada.ca_CNAME" -> null
      - multivalue_answer_routing_policy = false -> null
      - name                             = "_dbb14456ed8ab3deed1f05507ff40373.alpha.canada.ca" -> null
      - records                          = [
          - "_900ac2c0ff88c1899ffb3e47cd4b42c8.wggjkglgrm.acm-validations.aws.",
        ] -> null
      - ttl                              = 300 -> null
      - type                             = "CNAME" -> null
      - zone_id                          = "Z33C47YI9EN8XL" -> null
        # (2 unchanged attributes hidden)
    }

  # aws_route53_record.ai-answers-acm-validation will be created
  + resource "aws_route53_record" "ai-answers-acm-validation" {
      + allow_overwrite = (known after apply)
      + fqdn            = (known after apply)
      + id              = (known after apply)
      + name            = "_5707bb93bbcbb5aed0be674ebaa71764.ai-answers.alpha.canada.ca"
      + records         = [
          + "_5311683aec2b649de50998c8727cff32.xlfgrmvvlj.acm-validations.aws.",
        ]
      + ttl             = 300
      + type            = "CNAME"
      + zone_id         = "Z33C47YI9EN8XL"
    }

  # aws_route53_record.reponses-ia-acm-validation will be created
  + resource "aws_route53_record" "reponses-ia-acm-validation" {
      + allow_overwrite = (known after apply)
      + fqdn            = (known after apply)
      + id              = (known after apply)
      + name            = "_1d0d8a2a7dded94a02d05e9b8ebfe919.reponses-ia.alpha.canada.ca"
      + records         = [
          + "_27e44abc303a70a8d7e6aaa65c5c2047.xlfgrmvvlj.acm-validations.aws.",
        ]
      + ttl             = 300
      + type            = "CNAME"
      + zone_id         = "Z33C47YI9EN8XL"
    }

Plan: 2 to add, 0 to change, 2 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
WARN - plan.json - main - Missing Common Tags: ["aws_acm_certificate.cds-snc-ca"]
WARN - plan.json - main - Missing Common Tags: ["aws_cloudfront_distribution.cds-snc-ca"]
WARN - plan.json - main - Missing Common Tags: ["aws_iam_policy.Route53TerraformDeploy"]
WARN - plan.json - main - Missing Common Tags: ["aws_iam_policy.notify_prod_dns_manager_policy"]
WARN - plan.json - main - Missing Common Tags: ["aws_iam_role.notify_prod_dns_manager"]
WARN - plan.json - main - Missing Common Tags: ["aws_iam_user.dns-github-deployer"]
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.gcdigital-ca-public"]
WARN - plan.json - main - Missing Common Tags: ["aws_route53_zone.platform-canada-ca-public"]

30 tests, 20 passed, 10 warnings, 0 failures, 0 exceptions

@sylviamclaughlin
sylviamclaughlin merged commit fd1c2d4 into main Aug 24, 2026
4 checks passed
@sylviamclaughlin
sylviamclaughlin deleted the feat/ai_answers_update_cert_challenge_values branch August 24, 2026 16:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants