Example

Required: camptocamp/terraform-provider-pass

Create a SSH Key from given pass path
module "management_access_key" {
  source = "git::https://github.com/nolte/terraform-infrastructure-modules.git//project_access_elements?ref=v0.0.5.dev"

  name      = "management_key"
  pass_path = "${var.machine_access_pass_path}"
  labels = {
    usage = "machine"
  }
}

For more Information take a look to the source at project_access_elements/main.tf and project_access_elements/variables.tf