Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(terraform): vol5223 add timeouts for batch commands #193

Merged
merged 6 commits into from
Jul 30, 2024

Conversation

matbeales
Copy link
Contributor

Description

feat(terraform): VOL-5223 Add timeouts for some batch commands and a default timeout (5mins) for the commands we don't have info for

Related issue: https://dvsa.atlassian.net/browse/VOL-5223

Before submitting (or marking as "ready for review")

  • Does the pull request title follow the conventional commit specification?
  • Have you performed a self-review of the code
  • Have you have added tests that prove the fix or feature is effective and working
  • Did you make sure to update any documentation relating to this change?

Copy link
Contributor

github-actions bot commented Jul 30, 2024

Terraform plan for environment: int

Commit: 6f74834

API version: c5ba4e9
CLI version: da12d1b
Selfserve version: c5ba4e9
Internal version: c5ba4e9

Plan summary

0 to add, 0 to change, 0 to destroy


Show full plan
No changes. Your infrastructure matches the configuration.

Terraform has compared your real infrastructure against your configuration
and found no differences, so no changes are needed.

Copy link
Contributor

github-actions bot commented Jul 30, 2024

Terraform plan for environment: dev

Commit: 6f74834

API version: c5ba4e9
CLI version: da12d1b
Selfserve version: c5ba4e9
Internal version: c5ba4e9

Plan summary

0 to add, 46 to change, 0 to destroy

🔄 Updates

module.service.module.batch.aws_batch_job_definition.this["cancel-unsubmitted-bilateral"]
module.service.module.batch.aws_batch_job_definition.this["ch-vs-olcs-diffs"]
module.service.module.batch.aws_batch_job_definition.this["clean-up-variations"]
module.service.module.batch.aws_batch_job_definition.this["close-expired-windows"]
module.service.module.batch.aws_batch_job_definition.this["cns"]
module.service.module.batch.aws_batch_job_definition.this["company-profile-dlq"]
module.service.module.batch.aws_batch_job_definition.this["create-psv-licence-surrender-task"]
module.service.module.batch.aws_batch_job_definition.this["data-retention-delete"]
module.service.module.batch.aws_batch_job_definition.this["data-retention-populate"]
module.service.module.batch.aws_batch_job_definition.this["data-retention-postcheck"]
module.service.module.batch.aws_batch_job_definition.this["data-retention-precheck"]
module.service.module.batch.aws_batch_job_definition.this["database-maintenance"]
module.service.module.batch.aws_batch_job_definition.this["digital-continuation-reminders"]
module.service.module.batch.aws_batch_job_definition.this["duplicate-vehicle-warning"]
module.service.module.batch.aws_batch_job_definition.this["enqueue-ch-compare"]
module.service.module.batch.aws_batch_job_definition.this["expire-bus-registration"]
module.service.module.batch.aws_batch_job_definition.this["flag-urgent-tasks"]
module.service.module.batch.aws_batch_job_definition.this["import-users-from-csv"]
module.service.module.batch.aws_batch_job_definition.this["inspection-request-email"]
module.service.module.batch.aws_batch_job_definition.this["interim-end-date-enforcement"]
module.service.module.batch.aws_batch_job_definition.this["international-goods-export"]
module.service.module.batch.aws_batch_job_definition.this["last-tm-letter"]
module.service.module.batch.aws_batch_job_definition.this["licence-status-rules"]
module.service.module.batch.aws_batch_job_definition.this["mark-expired-permits"]
module.service.module.batch.aws_batch_job_definition.this["process-cl"]
module.service.module.batch.aws_batch_job_definition.this["process-company-profile"]
module.service.module.batch.aws_batch_job_definition.this["process-inbox"]
module.service.module.batch.aws_batch_job_definition.this["process-insolvency"]
module.service.module.batch.aws_batch_job_definition.this["process-insolvency-dlq"]
module.service.module.batch.aws_batch_job_definition.this["process-ntu"]
module.service.module.batch.aws_batch_job_definition.this["process-queue-community-licences"]
module.service.module.batch.aws_batch_job_definition.this["process-queue-disc-generation"]
module.service.module.batch.aws_batch_job_definition.this["process-queue-disc-print"]
module.service.module.batch.aws_batch_job_definition.this["process-queue-ecmt-accept"]
module.service.module.batch.aws_batch_job_definition.this["process-queue-general"]
module.service.module.batch.aws_batch_job_definition.this["process-queue-irhp-allocate"]
module.service.module.batch.aws_batch_job_definition.this["process-queue-permit-generation"]
module.service.module.batch.aws_batch_job_definition.this["process-queue-permit-print"]
module.service.module.batch.aws_batch_job_definition.this["process-queue-print"]
module.service.module.batch.aws_batch_job_definition.this["psv-operator-list-export"]
module.service.module.batch.aws_batch_job_definition.this["remove-read-audit"]
module.service.module.batch.aws_batch_job_definition.this["resolve-payments"]
module.service.module.batch.aws_batch_job_definition.this["system-parameter"]
module.service.module.batch.aws_batch_job_definition.this["transxchange-consumer"]
module.service.module.batch.aws_batch_job_queue.this["default"]
module.service.module.cloudfront.aws_cloudfront_distribution.this[0]

Show full plan
Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
  ~ update in-place

Terraform will perform the following actions:

  # module.service.module.batch.aws_batch_job_definition.this["cancel-unsubmitted-bilateral"] will be updated in-place
  ~ resource "aws_batch_job_definition" "this" {
        id                         = "arn:aws:batch:eu-west-1:054614622558:job-definition/vol-app-dev-cancel-unsubmitted-bilateral:1"
        name                       = "vol-app-dev-cancel-unsubmitted-bilateral"
        tags                       = {}
        # (12 unchanged attributes hidden)

      ~ timeout {
          ~ attempt_duration_seconds = 60 -> 300
        }

        # (1 unchanged block hidden)
    }

  # module.service.module.batch.aws_batch_job_definition.this["ch-vs-olcs-diffs"] will be updated in-place
  ~ resource "aws_batch_job_definition" "this" {
        id                         = "arn:aws:batch:eu-west-1:054614622558:job-definition/vol-app-dev-ch-vs-olcs-diffs:1"
        name                       = "vol-app-dev-ch-vs-olcs-diffs"
        tags                       = {}
        # (12 unchanged attributes hidden)

      ~ timeout {
          ~ attempt_duration_seconds = 60 -> 300
        }

        # (1 unchanged block hidden)
    }

  # module.service.module.batch.aws_batch_job_definition.this["clean-up-variations"] will be updated in-place
  ~ resource "aws_batch_job_definition" "this" {
        id                         = "arn:aws:batch:eu-west-1:054614622558:job-definition/vol-app-dev-clean-up-variations:1"
        name                       = "vol-app-dev-clean-up-variations"
        tags                       = {}
        # (12 unchanged attributes hidden)

      ~ timeout {
          ~ attempt_duration_seconds = 60 -> 43200
        }

        # (1 unchanged block hidden)
    }

  # module.service.module.batch.aws_batch_job_definition.this["close-expired-windows"] will be updated in-place
  ~ resource "aws_batch_job_definition" "this" {
        id                         = "arn:aws:batch:eu-west-1:054614622558:job-definition/vol-app-dev-close-expired-windows:1"
        name                       = "vol-app-dev-close-expired-windows"
        tags                       = {}
        # (12 unchanged attributes hidden)

      ~ timeout {
          ~ attempt_duration_seconds = 60 -> 43200
        }

        # (1 unchanged block hidden)
    }

  # module.service.module.batch.aws_batch_job_definition.this["cns"] will be updated in-place
  ~ resource "aws_batch_job_definition" "this" {
        id                         = "arn:aws:batch:eu-west-1:054614622558:job-definition/vol-app-dev-cns:1"
        name                       = "vol-app-dev-cns"
        tags                       = {}
        # (12 unchanged attributes hidden)

      ~ timeout {
          ~ attempt_duration_seconds = 60 -> 43200
        }

        # (1 unchanged block hidden)
    }

  # module.service.module.batch.aws_batch_job_definition.this["company-profile-dlq"] will be updated in-place
  ~ resource "aws_batch_job_definition" "this" {
        id                         = "arn:aws:batch:eu-west-1:054614622558:job-definition/vol-app-dev-company-profile-dlq:1"
        name                       = "vol-app-dev-company-profile-dlq"
        tags                       = {}
        # (12 unchanged attributes hidden)

      ~ timeout {
          ~ attempt_duration_seconds = 60 -> 900
        }

        # (1 unchanged block hidden)
    }

  # module.service.module.batch.aws_batch_job_definition.this["create-psv-licence-surrender-task"] will be updated in-place
  ~ resource "aws_batch_job_definition" "this" {
        id                         = "arn:aws:batch:eu-west-1:054614622558:job-definition/vol-app-dev-create-psv-licence-surrender-task:1"
        name                       = "vol-app-dev-create-psv-licence-surrender-task"
        tags                       = {}
        # (12 unchanged attributes hidden)

      ~ timeout {
          ~ attempt_duration_seconds = 60 -> 43200
        }

        # (1 unchanged block hidden)
    }

  # module.service.module.batch.aws_batch_job_definition.this["data-retention-delete"] will be updated in-place
  ~ resource "aws_batch_job_definition" "this" {
        id                         = "arn:aws:batch:eu-west-1:054614622558:job-definition/vol-app-dev-data-retention-delete:1"
        name                       = "vol-app-dev-data-retention-delete"
        tags                       = {}
        # (12 unchanged attributes hidden)

      ~ timeout {
          ~ attempt_duration_seconds = 60 -> 300
        }

        # (1 unchanged block hidden)
    }

  # module.service.module.batch.aws_batch_job_definition.this["data-retention-populate"] will be updated in-place
  ~ resource "aws_batch_job_definition" "this" {
        id                         = "arn:aws:batch:eu-west-1:054614622558:job-definition/vol-app-dev-data-retention-populate:1"
        name                       = "vol-app-dev-data-retention-populate"
        tags                       = {}
        # (12 unchanged attributes hidden)

      ~ timeout {
          ~ attempt_duration_seconds = 60 -> 300
        }

        # (1 unchanged block hidden)
    }

  # module.service.module.batch.aws_batch_job_definition.this["data-retention-postcheck"] will be updated in-place
  ~ resource "aws_batch_job_definition" "this" {
        id                         = "arn:aws:batch:eu-west-1:054614622558:job-definition/vol-app-dev-data-retention-postcheck:1"
        name                       = "vol-app-dev-data-retention-postcheck"
        tags                       = {}
        # (12 unchanged attributes hidden)

      ~ timeout {
          ~ attempt_duration_seconds = 60 -> 300
        }

        # (1 unchanged block hidden)
    }

  # module.service.module.batch.aws_batch_job_definition.this["data-retention-precheck"] will be updated in-place
  ~ resource "aws_batch_job_definition" "this" {
        id                         = "arn:aws:batch:eu-west-1:054614622558:job-definition/vol-app-dev-data-retention-precheck:1"
        name                       = "vol-app-dev-data-retention-precheck"
        tags                       = {}
        # (12 unchanged attributes hidden)

      ~ timeout {
          ~ attempt_duration_seconds = 60 -> 300
        }

        # (1 unchanged block hidden)
    }

  # module.service.module.batch.aws_batch_job_definition.this["database-maintenance"] will be updated in-place
  ~ resource "aws_batch_job_definition" "this" {
        id                         = "arn:aws:batch:eu-west-1:054614622558:job-definition/vol-app-dev-database-maintenance:1"
        name                       = "vol-app-dev-database-maintenance"
        tags                       = {}
        # (12 unchanged attributes hidden)

      ~ timeout {
          ~ attempt_duration_seconds = 60 -> 300
        }

        # (1 unchanged block hidden)
    }

  # module.service.module.batch.aws_batch_job_definition.this["digital-continuation-reminders"] will be updated in-place
  ~ resource "aws_batch_job_definition" "this" {
        id                         = "arn:aws:batch:eu-west-1:054614622558:job-definition/vol-app-dev-digital-continuation-reminders:1"
        name                       = "vol-app-dev-digital-continuation-reminders"
        tags                       = {}
        # (12 unchanged attributes hidden)

      ~ timeout {
          ~ attempt_duration_seconds = 60 -> 43200
        }

        # (1 unchanged block hidden)
    }

  # module.service.module.batch.aws_batch_job_definition.this["duplicate-vehicle-warning"] will be updated in-place
  ~ resource "aws_batch_job_definition" "this" {
        id                         = "arn:aws:batch:eu-west-1:054614622558:job-definition/vol-app-dev-duplicate-vehicle-warning:1"
        name                       = "vol-app-dev-duplicate-vehicle-warning"
        tags                       = {}
        # (12 unchanged attributes hidden)

      ~ timeout {
          ~ attempt_duration_seconds = 60 -> 43200
        }

        # (1 unchanged block hidden)
    }

  # module.service.module.batch.aws_batch_job_definition.this["enqueue-ch-compare"] will be updated in-place
  ~ resource "aws_batch_job_definition" "this" {
        id                         = "arn:aws:batch:eu-west-1:054614622558:job-definition/vol-app-dev-enqueue-ch-compare:1"
        name                       = "vol-app-dev-enqueue-ch-compare"
        tags                       = {}
        # (12 unchanged attributes hidden)

      ~ timeout {
          ~ attempt_duration_seconds = 60 -> 1800
        }

        # (1 unchanged block hidden)
    }

  # module.service.module.batch.aws_batch_job_definition.this["expire-bus-registration"] will be updated in-place
  ~ resource "aws_batch_job_definition" "this" {
        id                         = "arn:aws:batch:eu-west-1:054614622558:job-definition/vol-app-dev-expire-bus-registration:1"
        name                       = "vol-app-dev-expire-bus-registration"
        tags                       = {}
        # (12 unchanged attributes hidden)

      ~ timeout {
          ~ attempt_duration_seconds = 60 -> 43200
        }

        # (1 unchanged block hidden)
    }

  # module.service.module.batch.aws_batch_job_definition.this["flag-urgent-tasks"] will be updated in-place
  ~ resource "aws_batch_job_definition" "this" {
        id                         = "arn:aws:batch:eu-west-1:054614622558:job-definition/vol-app-dev-flag-urgent-tasks:1"
        name                       = "vol-app-dev-flag-urgent-tasks"
        tags                       = {}
        # (12 unchanged attributes hidden)

      ~ timeout {
          ~ attempt_duration_seconds = 60 -> 1800
        }

        # (1 unchanged block hidden)
    }

  # module.service.module.batch.aws_batch_job_definition.this["import-users-from-csv"] will be updated in-place
  ~ resource "aws_batch_job_definition" "this" {
        id                         = "arn:aws:batch:eu-west-1:054614622558:job-definition/vol-app-dev-import-users-from-csv:1"
        name                       = "vol-app-dev-import-users-from-csv"
        tags                       = {}
        # (12 unchanged attributes hidden)

      ~ timeout {
          ~ attempt_duration_seconds = 60 -> 300
        }

        # (1 unchanged block hidden)
    }

  # module.service.module.batch.aws_batch_job_definition.this["inspection-request-email"] will be updated in-place
  ~ resource "aws_batch_job_definition" "this" {
        id                         = "arn:aws:batch:eu-west-1:054614622558:job-definition/vol-app-dev-inspection-request-email:1"
        name                       = "vol-app-dev-inspection-request-email"
        tags                       = {}
        # (12 unchanged attributes hidden)

      ~ timeout {
          ~ attempt_duration_seconds = 60 -> 1800
        }

        # (1 unchanged block hidden)
    }

  # module.service.module.batch.aws_batch_job_definition.this["interim-end-date-enforcement"] will be updated in-place
  ~ resource "aws_batch_job_definition" "this" {
        id                         = "arn:aws:batch:eu-west-1:054614622558:job-definition/vol-app-dev-interim-end-date-enforcement:1"
        name                       = "vol-app-dev-interim-end-date-enforcement"
        tags                       = {}
        # (12 unchanged attributes hidden)

      ~ timeout {
          ~ attempt_duration_seconds = 60 -> 43200
        }

        # (1 unchanged block hidden)
    }

  # module.service.module.batch.aws_batch_job_definition.this["international-goods-export"] will be updated in-place
  ~ resource "aws_batch_job_definition" "this" {
        id                         = "arn:aws:batch:eu-west-1:054614622558:job-definition/vol-app-dev-international-goods-export:1"
        name                       = "vol-app-dev-international-goods-export"
        tags                       = {}
        # (12 unchanged attributes hidden)

      ~ timeout {
          ~ attempt_duration_seconds = 60 -> 43200
        }

        # (1 unchanged block hidden)
    }

  # module.service.module.batch.aws_batch_job_definition.this["last-tm-letter"] will be updated in-place
  ~ resource "aws_batch_job_definition" "this" {
        id                         = "arn:aws:batch:eu-west-1:054614622558:job-definition/vol-app-dev-last-tm-letter:1"
        name                       = "vol-app-dev-last-tm-letter"
        tags                       = {}
        # (12 unchanged attributes hidden)

      ~ timeout {
          ~ attempt_duration_seconds = 60 -> 43200
        }

        # (1 unchanged block hidden)
    }

  # module.service.module.batch.aws_batch_job_definition.this["licence-status-rules"] will be updated in-place
  ~ resource "aws_batch_job_definition" "this" {
        id                         = "arn:aws:batch:eu-west-1:054614622558:job-definition/vol-app-dev-licence-status-rules:1"
        name                       = "vol-app-dev-licence-status-rules"
        tags                       = {}
        # (12 unchanged attributes hidden)

      ~ timeout {
          ~ attempt_duration_seconds = 60 -> 1800
        }

        # (1 unchanged block hidden)
    }

  # module.service.module.batch.aws_batch_job_definition.this["mark-expired-permits"] will be updated in-place
  ~ resource "aws_batch_job_definition" "this" {
        id                         = "arn:aws:batch:eu-west-1:054614622558:job-definition/vol-app-dev-mark-expired-permits:1"
        name                       = "vol-app-dev-mark-expired-permits"
        tags                       = {}
        # (12 unchanged attributes hidden)

      ~ timeout {
          ~ attempt_duration_seconds = 60 -> 43200
        }

        # (1 unchanged block hidden)
    }

  # module.service.module.batch.aws_batch_job_definition.this["process-cl"] will be updated in-place
  ~ resource "aws_batch_job_definition" "this" {
        id                         = "arn:aws:batch:eu-west-1:054614622558:job-definition/vol-app-dev-process-cl:1"
        name                       = "vol-app-dev-process-cl"
        tags                       = {}
        # (12 unchanged attributes hidden)

      ~ timeout {
          ~ attempt_duration_seconds = 60 -> 300
        }

        # (1 unchanged block hidden)
    }

  # module.service.module.batch.aws_batch_job_definition.this["process-company-profile"] will be updated in-place
  ~ resource "aws_batch_job_definition" "this" {
        id                         = "arn:aws:batch:eu-west-1:054614622558:job-definition/vol-app-dev-process-company-profile:1"
        name                       = "vol-app-dev-process-company-profile"
        tags                       = {}
        # (12 unchanged attributes hidden)

      ~ timeout {
          ~ attempt_duration_seconds = 60 -> 150
        }

        # (1 unchanged block hidden)
    }

  # module.service.module.batch.aws_batch_job_definition.this["process-inbox"] will be updated in-place
  ~ resource "aws_batch_job_definition" "this" {
        id                         = "arn:aws:batch:eu-west-1:054614622558:job-definition/vol-app-dev-process-inbox:1"
        name                       = "vol-app-dev-process-inbox"
        tags                       = {}
        # (12 unchanged attributes hidden)

      ~ timeout {
          ~ attempt_duration_seconds = 60 -> 43200
        }

        # (1 unchanged block hidden)
    }

  # module.service.module.batch.aws_batch_job_definition.this["process-insolvency"] will be updated in-place
  ~ resource "aws_batch_job_definition" "this" {
        id                         = "arn:aws:batch:eu-west-1:054614622558:job-definition/vol-app-dev-process-insolvency:1"
        name                       = "vol-app-dev-process-insolvency"
        tags                       = {}
        # (12 unchanged attributes hidden)

      ~ timeout {
          ~ attempt_duration_seconds = 60 -> 900
        }

        # (1 unchanged block hidden)
    }

  # module.service.module.batch.aws_batch_job_definition.this["process-insolvency-dlq"] will be updated in-place
  ~ resource "aws_batch_job_definition" "this" {
        id                         = "arn:aws:batch:eu-west-1:054614622558:job-definition/vol-app-dev-process-insolvency-dlq:1"
        name                       = "vol-app-dev-process-insolvency-dlq"
        tags                       = {}
        # (12 unchanged attributes hidden)

      ~ timeout {
          ~ attempt_duration_seconds = 60 -> 900
        }

        # (1 unchanged block hidden)
    }

  # module.service.module.batch.aws_batch_job_definition.this["process-ntu"] will be updated in-place
  ~ resource "aws_batch_job_definition" "this" {
        id                         = "arn:aws:batch:eu-west-1:054614622558:job-definition/vol-app-dev-process-ntu:1"
        name                       = "vol-app-dev-process-ntu"
        tags                       = {}
        # (12 unchanged attributes hidden)

      ~ timeout {
          ~ attempt_duration_seconds = 60 -> 43200
        }

        # (1 unchanged block hidden)
    }

  # module.service.module.batch.aws_batch_job_definition.this["process-queue-community-licences"] will be updated in-place
  ~ resource "aws_batch_job_definition" "this" {
        id                         = "arn:aws:batch:eu-west-1:054614622558:job-definition/vol-app-dev-process-queue-community-licences:1"
        name                       = "vol-app-dev-process-queue-community-licences"
        tags                       = {}
        # (12 unchanged attributes hidden)

      ~ timeout {
          ~ attempt_duration_seconds = 60 -> 90
        }

        # (1 unchanged block hidden)
    }

  # module.service.module.batch.aws_batch_job_definition.this["process-queue-disc-generation"] will be updated in-place
  ~ resource "aws_batch_job_definition" "this" {
        id                         = "arn:aws:batch:eu-west-1:054614622558:job-definition/vol-app-dev-process-queue-disc-generation:1"
        name                       = "vol-app-dev-process-queue-disc-generation"
        tags                       = {}
        # (12 unchanged attributes hidden)

      ~ timeout {
          ~ attempt_duration_seconds = 60 -> 90
        }

        # (1 unchanged block hidden)
    }

  # module.service.module.batch.aws_batch_job_definition.this["process-queue-disc-print"] will be updated in-place
  ~ resource "aws_batch_job_definition" "this" {
        id                         = "arn:aws:batch:eu-west-1:054614622558:job-definition/vol-app-dev-process-queue-disc-print:1"
        name                       = "vol-app-dev-process-queue-disc-print"
        tags                       = {}
        # (12 unchanged attributes hidden)

      ~ timeout {
          ~ attempt_duration_seconds = 60 -> 850
        }

        # (1 unchanged block hidden)
    }

  # module.service.module.batch.aws_batch_job_definition.this["process-queue-ecmt-accept"] will be updated in-place
  ~ resource "aws_batch_job_definition" "this" {
        id                         = "arn:aws:batch:eu-west-1:054614622558:job-definition/vol-app-dev-process-queue-ecmt-accept:1"
        name                       = "vol-app-dev-process-queue-ecmt-accept"
        tags                       = {}
        # (12 unchanged attributes hidden)

      ~ timeout {
          ~ attempt_duration_seconds = 60 -> 90
        }

        # (1 unchanged block hidden)
    }

  # module.service.module.batch.aws_batch_job_definition.this["process-queue-general"] will be updated in-place
  ~ resource "aws_batch_job_definition" "this" {
        id                         = "arn:aws:batch:eu-west-1:054614622558:job-definition/vol-app-dev-process-queue-general:1"
        name                       = "vol-app-dev-process-queue-general"
        tags                       = {}
        # (12 unchanged attributes hidden)

      ~ timeout {
          ~ attempt_duration_seconds = 60 -> 90
        }

        # (1 unchanged block hidden)
    }

  # module.service.module.batch.aws_batch_job_definition.this["process-queue-irhp-allocate"] will be updated in-place
  ~ resource "aws_batch_job_definition" "this" {
        id                         = "arn:aws:batch:eu-west-1:054614622558:job-definition/vol-app-dev-process-queue-irhp-allocate:1"
        name                       = "vol-app-dev-process-queue-irhp-allocate"
        tags                       = {}
        # (12 unchanged attributes hidden)

      ~ timeout {
          ~ attempt_duration_seconds = 60 -> 90
        }

        # (1 unchanged block hidden)
    }

  # module.service.module.batch.aws_batch_job_definition.this["process-queue-permit-generation"] will be updated in-place
  ~ resource "aws_batch_job_definition" "this" {
        id                         = "arn:aws:batch:eu-west-1:054614622558:job-definition/vol-app-dev-process-queue-permit-generation:1"
        name                       = "vol-app-dev-process-queue-permit-generation"
        tags                       = {}
        # (12 unchanged attributes hidden)

      ~ timeout {
          ~ attempt_duration_seconds = 60 -> 90
        }

        # (1 unchanged block hidden)
    }

  # module.service.module.batch.aws_batch_job_definition.this["process-queue-permit-print"] will be updated in-place
  ~ resource "aws_batch_job_definition" "this" {
        id                         = "arn:aws:batch:eu-west-1:054614622558:job-definition/vol-app-dev-process-queue-permit-print:1"
        name                       = "vol-app-dev-process-queue-permit-print"
        tags                       = {}
        # (12 unchanged attributes hidden)

      ~ timeout {
          ~ attempt_duration_seconds = 60 -> 850
        }

        # (1 unchanged block hidden)
    }

  # module.service.module.batch.aws_batch_job_definition.this["process-queue-print"] will be updated in-place
  ~ resource "aws_batch_job_definition" "this" {
        id                         = "arn:aws:batch:eu-west-1:054614622558:job-definition/vol-app-dev-process-queue-print:1"
        name                       = "vol-app-dev-process-queue-print"
        tags                       = {}
        # (12 unchanged attributes hidden)

      ~ timeout {
          ~ attempt_duration_seconds = 60 -> 90
        }

        # (1 unchanged block hidden)
    }

  # module.service.module.batch.aws_batch_job_definition.this["psv-operator-list-export"] will be updated in-place
  ~ resource "aws_batch_job_definition" "this" {
        id                         = "arn:aws:batch:eu-west-1:054614622558:job-definition/vol-app-dev-psv-operator-list-export:1"
        name                       = "vol-app-dev-psv-operator-list-export"
        tags                       = {}
        # (12 unchanged attributes hidden)

      ~ timeout {
          ~ attempt_duration_seconds = 60 -> 43200
        }

        # (1 unchanged block hidden)
    }

  # module.service.module.batch.aws_batch_job_definition.this["remove-read-audit"] will be updated in-place
  ~ resource "aws_batch_job_definition" "this" {
        id                         = "arn:aws:batch:eu-west-1:054614622558:job-definition/vol-app-dev-remove-read-audit:1"
        name                       = "vol-app-dev-remove-read-audit"
        tags                       = {}
        # (12 unchanged attributes hidden)

      ~ timeout {
          ~ attempt_duration_seconds = 60 -> 43200
        }

        # (1 unchanged block hidden)
    }

  # module.service.module.batch.aws_batch_job_definition.this["resolve-payments"] will be updated in-place
  ~ resource "aws_batch_job_definition" "this" {
        id                         = "arn:aws:batch:eu-west-1:054614622558:job-definition/vol-app-dev-resolve-payments:1"
        name                       = "vol-app-dev-resolve-payments"
        tags                       = {}
        # (12 unchanged attributes hidden)

      ~ timeout {
          ~ attempt_duration_seconds = 60 -> 150
        }

        # (1 unchanged block hidden)
    }

  # module.service.module.batch.aws_batch_job_definition.this["system-parameter"] will be updated in-place
  ~ resource "aws_batch_job_definition" "this" {
        id                         = "arn:aws:batch:eu-west-1:054614622558:job-definition/vol-app-dev-system-parameter:1"
        name                       = "vol-app-dev-system-parameter"
        tags                       = {}
        # (12 unchanged attributes hidden)

      ~ timeout {
          ~ attempt_duration_seconds = 60 -> 300
        }

        # (1 unchanged block hidden)
    }

  # module.service.module.batch.aws_batch_job_definition.this["transxchange-consumer"] will be updated in-place
  ~ resource "aws_batch_job_definition" "this" {
        id                         = "arn:aws:batch:eu-west-1:054614622558:job-definition/vol-app-dev-transxchange-consumer:1"
        name                       = "vol-app-dev-transxchange-consumer"
        tags                       = {}
        # (12 unchanged attributes hidden)

      ~ timeout {
          ~ attempt_duration_seconds = 60 -> 90
        }

        # (1 unchanged block hidden)
    }

  # module.service.module.batch.aws_batch_job_queue.this["default"] will be updated in-place
  ~ resource "aws_batch_job_queue" "this" {
        id                    = "arn:aws:batch:eu-west-1:054614622558:job-queue/vol-app-dev-default"
        name                  = "vol-app-dev-default"
      + tags                  = {}
        # (6 unchanged attributes hidden)
    }

  # module.service.module.cloudfront.aws_cloudfront_distribution.this[0] will be updated in-place
  ~ resource "aws_cloudfront_distribution" "this" {
        id                              = "E3R9S2AKJG4ZTR"
        tags                            = {}
        # (22 unchanged attributes hidden)

      - origin {
          - connection_attempts      = 3 -> null
          - connection_timeout       = 10 -> null
          - domain_name              = "vol-app-assets.s3.eu-west-1.amazonaws.com" -> null
          - origin_access_control_id = "E1FW6X81UDPZAI" -> null
          - origin_id                = "s3_oac" -> null
          - origin_path              = "/c5ba4e9" -> null
        }
      + origin {
          + connection_attempts      = 3
          + connection_timeout       = 10
          + domain_name              = "vol-app-assets.s3.eu-west-1.amazonaws.com"
          + origin_access_control_id = "E1FW6X81UDPZAI"
          + origin_id                = "s3_oac"
          + origin_path              = "/ec84889"
        }

        # (5 unchanged blocks hidden)
    }

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

@matbeales matbeales changed the title feat(terraform): VOL-5223 Add timeouts for batch commands feat(terraform): vol5223 add timeouts for batch commands Jul 30, 2024
@JoshuaLicense JoshuaLicense merged commit 9dedf4c into main Jul 30, 2024
17 checks passed
@JoshuaLicense JoshuaLicense deleted the VOL-5223-batch-timeouts branch July 30, 2024 14:00
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