Runtime version

From wikieduonline
Jump to navigation Jump to search
resource "aws_synthetics_canary" "registry_access" {
  name                 = "reg_${join("-", slice(split("-", var.cluster-name), 2, 3))}_${substr(var.cluster-name, -2, -1)}"
  artifact_s3_location = "s3://${aws_s3_bucket.synthetics_canary_registry_access_artifacts.id}/"
  execution_role_arn   = aws_iam_role.canary_role.arn
  handler              = "registryAccess.handler"
  runtime_version      = "syn-nodejs-puppeteer-6.2"
  zip_file             = data.archive_file.generate_zip_registry_access.output_path

  start_canary = true
  schedule {
    expression = "rate(10 minutes)"

Advertising: