0
0
mirror of https://github.com/bpg/terraform-provider-proxmox.git synced 2025-08-22 19:38:35 +00:00

Update docs to support Terraform Registry

This commit is contained in:
Alex Kulikovskikh 2020-10-22 19:10:40 -04:00
parent 86a0fd49b6
commit dae62778ff
30 changed files with 52 additions and 113 deletions

View File

@ -1,10 +1,9 @@
---
layout: page
title: Datastores
permalink: /data-sources/virtual-environment/datastores
permalink: /data-sources/datastores
nav_order: 1
parent: Virtual Environment Data Sources
grand_parent: Data Sources
parent: Data Sources
---
# Data Source: Datastores

View File

@ -1,10 +1,9 @@
---
layout: page
title: DNS
permalink: /data-sources/virtual-environment/dns
permalink: /data-sources/dns
nav_order: 2
parent: Virtual Environment Data Sources
grand_parent: Data Sources
parent: Data Sources
---
# Data Source: DNS

View File

@ -1,10 +1,9 @@
---
layout: page
title: Group
permalink: /data-sources/virtual-environment/group
permalink: /data-sources/group
nav_order: 3
parent: Virtual Environment Data Sources
grand_parent: Data Sources
parent: Data Sources
---
# Data Source: Group

View File

@ -1,10 +1,9 @@
---
layout: page
title: Groups
permalink: /data-sources/virtual-environment/groups
permalink: /data-sources/groups
nav_order: 4
parent: Virtual Environment Data Sources
grand_parent: Data Sources
parent: Data Sources
---
# Data Source: Groups

View File

@ -1,10 +1,9 @@
---
layout: page
title: Hosts
permalink: /data-sources/virtual-environment/hosts
permalink: /data-sources/hosts
nav_order: 5
parent: Virtual Environment Data Sources
grand_parent: Data Sources
parent: Data Sources
---
# Data Source: Hosts

View File

@ -2,7 +2,7 @@
layout: page
title: Data Sources
permalink: /data-sources
nav_order: 2
nav_order: 3
has_children: true
---

View File

@ -1,10 +1,9 @@
---
layout: page
title: Nodes
permalink: /data-sources/virtual-environment/nodes
permalink: /data-sources/nodes
nav_order: 6
parent: Virtual Environment Data Sources
grand_parent: Data Sources
parent: Data Sources
---
# Data Source: Nodes

View File

@ -1,10 +1,9 @@
---
layout: page
title: Pool
permalink: /data-sources/virtual-environment/pool
permalink: /data-sources/pool
nav_order: 7
parent: Virtual Environment Data Sources
grand_parent: Data Sources
parent: Data Sources
---
# Data Source: Pool

View File

@ -1,10 +1,9 @@
---
layout: page
title: Pools
permalink: /data-sources/virtual-environment/pools
permalink: /data-sources/pools
nav_order: 8
parent: Virtual Environment Data Sources
grand_parent: Data Sources
parent: Data Sources
---
# Data Source: Pools

View File

@ -1,10 +1,9 @@
---
layout: page
title: Role
permalink: /data-sources/virtual-environment/role
permalink: /data-sources/role
nav_order: 9
parent: Virtual Environment Data Sources
grand_parent: Data Sources
parent: Data Sources
---
# Data Source: Role

View File

@ -1,10 +1,9 @@
---
layout: page
title: Roles
permalink: /data-sources/virtual-environment/roles
permalink: /data-sources/roles
nav_order: 10
parent: Virtual Environment Data Sources
grand_parent: Data Sources
parent: Data Sources
---
# Data Source: Roles

View File

@ -1,10 +1,9 @@
---
layout: page
title: Time
permalink: /data-sources/virtual-environment/time
permalink: /data-sources/time
nav_order: 11
parent: Virtual Environment Data Sources
grand_parent: Data Sources
parent: Data Sources
---
# Data Source: Time

View File

@ -1,10 +1,9 @@
---
layout: page
title: User
permalink: /data-sources/virtual-environment/user
permalink: /data-sources/user
nav_order: 12
parent: Virtual Environment Data Sources
grand_parent: Data Sources
parent: Data Sources
---
# Data Source: User

View File

@ -1,10 +1,9 @@
---
layout: page
title: Users
permalink: /data-sources/virtual-environment/users
permalink: /data-sources/users
nav_order: 13
parent: Virtual Environment Data Sources
grand_parent: Data Sources
parent: Data Sources
---
# Data Source: Users

View File

@ -1,10 +1,9 @@
---
layout: page
title: Version
permalink: /data-sources/virtual-environment/version
permalink: /data-sources/version
nav_order: 14
parent: Virtual Environment Data Sources
grand_parent: Data Sources
parent: Data Sources
---
# Data Source: Version

View File

@ -1,10 +0,0 @@
---
layout: page
title: Virtual Environment Data Sources
permalink: /data-sources/virtual-environment
nav_order: 1
parent: Data Sources
has_children: true
---
# Virtual Environment Data Sources

View File

@ -23,22 +23,6 @@ provider "proxmox" {
}
```
## Installation
You can install the latest release of the provider using either Git Bash or regular Bash:
```sh
$ export PROVIDER_PLATFORM="$([[ "$OSTYPE" =~ ^msys|cygwin$ ]] && echo "windows" || ([[ "$OSTYPE" == "darwin"* ]] && echo "darwin" || ([[ "$OSTYPE" == "linux"* ]] && echo "linux" || echo "unsupported")))"
$ export PROVIDER_VERSION="$(curl -L -s -H 'Accept: application/json' https://github.com/danitso/terraform-provider-proxmox/releases/latest | sed -e 's/.*"tag_name":"\([^"]*\)".*/\1/')"
$ export PLUGINS_PATH="$([[ "$PROVIDER_PLATFORM" == "windows" ]] && cygpath -u "$APPDATA" || echo "$HOME")/terraform.d/plugins"
$ mkdir -p "$PLUGINS_PATH"
$ curl -o "${PLUGINS_PATH}/terraform-provider-proxmox_v${PROVIDER_VERSION}.zip" -sL "https://github.com/danitso/terraform-provider-proxmox/releases/download/${PROVIDER_VERSION}/terraform-provider-proxmox_v${PROVIDER_VERSION}-custom_${PROVIDER_PLATFORM}_amd64.zip"
$ unzip -o -d "$PLUGINS_PATH" "${PLUGINS_PATH}/terraform-provider-proxmox_v${PROVIDER_VERSION}.zip"
$ rm "${PLUGINS_PATH}/terraform-provider-proxmox_v${PROVIDER_VERSION}.zip"
```
You can also install it manually by following the instructions to [install it as a plugin](https://www.terraform.io/docs/plugins/basics.html#installing-plugins). You can download the latest release from the [releases](https://github.com/danitso/terraform-provider-proxmox/releases) page.
## Authentication
The Proxmox provider offers a flexible means of providing credentials for authentication. The following methods are supported, in this order, and explained below:

View File

@ -1,10 +1,9 @@
---
layout: page
title: Certificate
permalink: /ressources/virtual-environment/certificate
permalink: /resources/certificate
nav_order: 1
parent: Virtual Environment Resources
grand_parent: Resources
parent: Resources
---
# Resource: Certificate

View File

@ -1,10 +1,9 @@
---
layout: page
title: Container
permalink: /ressources/virtual-environment/container
permalink: /resources/container
nav_order: 2
parent: Virtual Environment Resources
grand_parent: Resources
parent: Resources
---
# Resource: Container

View File

@ -1,10 +1,9 @@
---
layout: page
title: DNS
permalink: /ressources/virtual-environment/dns
permalink: /resources/dns
nav_order: 3
parent: Virtual Environment Resources
grand_parent: Resources
parent: Resources
---
# Resource: DNS

View File

@ -1,10 +1,9 @@
---
layout: page
title: File
permalink: /ressources/virtual-environment/file
permalink: /resources/file
nav_order: 4
parent: Virtual Environment Resources
grand_parent: Resources
parent: Resources
---
# Resource: File

View File

@ -1,10 +1,9 @@
---
layout: page
title: Group
permalink: /ressources/virtual-environment/group
permalink: /resources/group
nav_order: 5
parent: Virtual Environment Resources
grand_parent: Resources
parent: Resources
---
# Resource: Group

View File

@ -1,10 +1,9 @@
---
layout: page
title: Hosts
permalink: /ressources/virtual-environment/hosts
permalink: /resources/hosts
nav_order: 6
parent: Virtual Environment Resources
grand_parent: Resources
parent: Resources
---
# Resource: Hosts

View File

@ -2,7 +2,7 @@
layout: page
title: Resources
permalink: /resources
nav_order: 3
nav_order: 2
has_children: true
---

View File

@ -1,10 +1,9 @@
---
layout: page
title: Pool
permalink: /ressources/virtual-environment/pool
permalink: /resources/pool
nav_order: 7
parent: Virtual Environment Resources
grand_parent: Resources
parent: Resources
---
# Resource: Pool

View File

@ -1,10 +1,9 @@
---
layout: page
title: Role
permalink: /ressources/virtual-environment/role
permalink: /resources/role
nav_order: 8
parent: Virtual Environment Resources
grand_parent: Resources
parent: Resources
---
# Resource: Role

View File

@ -1,10 +1,9 @@
---
layout: page
title: Time
permalink: /ressources/virtual-environment/time
permalink: /resources/time
nav_order: 9
parent: Virtual Environment Resources
grand_parent: Resources
parent: Resources
---
# Resource: Time

View File

@ -1,10 +1,9 @@
---
layout: page
title: User
permalink: /ressources/virtual-environment/user
permalink: /resources/user
nav_order: 10
parent: Virtual Environment Resources
grand_parent: Resources
parent: Resources
---
# Resource: User

View File

@ -1,10 +0,0 @@
---
layout: page
title: Virtual Environment Resources
permalink: /resources/virtual-environment
nav_order: 1
parent: Resources
has_children: true
---
# Virtual Environment Resources

View File

@ -1,10 +1,9 @@
---
layout: page
title: VM
permalink: /ressources/virtual-environment/vm
permalink: /resources/vm
nav_order: 11
parent: Virtual Environment Resources
grand_parent: Resources
parent: Resources
---
# Resource: VM