Skip to content

Conversation

jordanconway
Copy link
Contributor

… valididty check.

Copy link

github-actions bot commented Oct 10, 2025

OpenTofu plan for prod

Plan: 1 to add, 1 to change, 0 to destroy.
OpenTofu used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+   create
!~  update in-place

OpenTofu will perform the following actions:

  # datadog_synthetics_test.pytorch-discourse-certificate will be created
+   resource "datadog_synthetics_test" "pytorch-discourse-certificate" {
+       id         = (known after apply)
+       locations  = [
+           "aws:us-west-2",
        ]
+       message    = <<-EOT
            discuss.pytorch.org TLS certificate is close to expiring.
            
            {{{synthetics.attributes.result.failure.message}}}
            
            @slack-pytorch-infra-alerts
        EOT
+       monitor_id = (known after apply)
+       name       = "SSL Certificate Validity - discuss.pytorch.org"
+       status     = "live"
+       subtype    = "ssl"
+       tags       = [
+           "env:project",
+           "project:pytorch",
+           "service:discourse",
        ]
+       type       = "api"

+       assertion {
+           operator = "isInMoreThan"
+           target   = "30"
+           type     = "certificate"
        }

+       options_list {
+           http_version        = "any"
+           min_location_failed = 1
+           tick_every          = 3600

+           retry {
+               count    = 2
+               interval = 60000
            }
        }

+       request_definition {
+           host = "discuss.pytorch.org"
+           port = "443"
        }
    }

  # datadog_synthetics_test.pytorch-discuss will be updated in-place
!~  resource "datadog_synthetics_test" "pytorch-discuss" {
        id               = "jd6-m2d-w7r"
!~      message          = <<-EOT
          - Notify @webhook-lf-incident-io. Follow https://linuxfoundation.atlassian.net/wiki/spaces/IT/pages/30416028/On-call+Common+Fixes how to fix the issue.
          + discuss.pytorch.org is down or returning non-200 status code.
          + 
          + {{{synthetics.attributes.result.failure.message}}}
          + 
          + @slack-pytorch-infra-alerts
        EOT
        name             = "discuss.pytorch.org Check"
        tags             = [
            "env:project",
            "project:pytorch",
            "service:discuss",
        ]
#        (9 unchanged attributes hidden)

#        (4 unchanged blocks hidden)
    }

Plan: 1 to add, 1 to change, 0 to destroy.

✅ Plan applied in Tofu Apply #41

@zxiiro zxiiro merged commit 18af16d into main Oct 10, 2025
3 checks passed
@zxiiro zxiiro deleted the discuss branch October 10, 2025 15:05
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