[go: up one dir, main page]

Skip to content

Add missing input auto_delete_state into job-templates.yml

Hello,

When using the job-templates.yml and using the destroy job, we cannot pass the input auto_delete_state as true because the job-templates.yml doesn't include it this input to be available to use.

I think we just need to add this to the job-templates.yml file in the spec: inputs: :

auto_delete_state:
      default: false
      type: boolean
      description: 'Whether to automatically delete the Terraform state. This only makes sense when using the GitLab-managed state backend. It is equivalent to running the delete-state job.'

If that sounds good, I can provide a MR.

Thanks,