Skip to content

AWS Batch job definition always recreating if timeout is not provided. #22

@anishvm

Description

@anishvm

Once all the resources are created, on every subsequent run terraform always recreates aws batch job definition if value
for attempt_duration_seconds is null or not provided.

✋ I have searched the open/closed issues and my issue is not listed.

  • Module version : v2.0.1

Terraform v1.5.3
on darwin_arm64

  • provider registry.terraform.io/hashicorp/aws v5.9.0
  • provider registry.terraform.io/hashicorp/external v2.3.1
  • provider registry.terraform.io/hashicorp/local v2.4.0
  • provider registry.terraform.io/hashicorp/null v3.2.1

Are you using workspaces? --> Yes
Have you cleared the local cache? --> Yes
List steps in order that led up to the issue you encountered -->

First terraform apply and once all the resources are created do apply or plan without changing any variables.

Expected behavior

A plan/apply should show no changes in output.

Actual behavior

Apply creates new job definition revision

Terminal Output Screenshot(s)

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions