An open API service indexing awesome lists of open source software.

https://github.com/davetcode/terraform-provider-pbs

Contains the start of a terraform provider and go client library wrapping qmgr for Altair PBS Professional/OpenPbs
https://github.com/davetcode/terraform-provider-pbs

Last synced: 10 months ago
JSON representation

Contains the start of a terraform provider and go client library wrapping qmgr for Altair PBS Professional/OpenPbs

Awesome Lists containing this project

README

          

# Terraform Provider for Altair PBS

This repository contains a custom Terraform provider for provisioning aspects of a PBS system. Essentially providing an infrastructure as code interface
on top of `qmgr`

## Status

The following table illustrates the various resources that this provider eventually expects to include and the state of each

| Resource | Create | Read | Update | Delete | Data Source |
|----------------------|--------|------|--------|--------|-------------|
| Queue | y | y | y | y | y |
| vNode | y | y | y | y | y |
| Custom Resource | y | y | y | y | y |
| Hooks | y | y | y | y | y |
| Server Attributes | y | y | y | y | y |
| Hook files | x | x | x | x | x |

This repository will probably never provision jobs/reservations etc as those are deemed outside of the general "configuration of PBS" steps.

This repository will also never provision the VM/containers required to actually run PBS. That's typically handled by another layer of automation,
whether cloud based or manual.

## Generate documentation

There is a make target (`make generate`) will run the documentation generation however there is a gotcha to this where it will rely on cached prior binaries over building from scratch.

On windows I was able to resolve this by running `Remove-Item "$env:APPDATA\terraform.d\plugin-cache" -Recurse -Force -ErrorAction SilentlyContinue` before using the generator.