0
0
mirror of https://github.com/bpg/terraform-provider-proxmox.git synced 2025-06-30 02:31:10 +00:00

Update project to use bpg/terraform-provider-proxmox

This commit is contained in:
Pavel Boldyrev 2021-09-09 12:20:19 -04:00
parent e299e07a0c
commit 380f07c3e2
No known key found for this signature in database
GPG Key ID: 9A3B05A2B8921AD9
24 changed files with 40 additions and 37 deletions

View File

@ -8,7 +8,7 @@
<!--- If your PR fully resolves and should automatically close the linked issue, use Closes. Otherwise, use Relates --->
Relates OR Closes #0000
Release note for [CHANGELOG](https://github.com/danitso/terraform-provider-proxmox/blob/master/CHANGELOG.md):
Release note for [CHANGELOG](https://github.com/bpg/terraform-provider-proxmox/blob/master/CHANGELOG.md):
<!-- If change is not user facing, just write "NONE" in the release-note block below. -->
```release-note

View File

@ -55,7 +55,7 @@ further defined and clarified by project maintainers.
## Enforcement
Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported by contacting the project team at info@danitso.com. All
reported by contacting the project team at info@boldyrev.me. All
complaints will be reviewed and investigated and will result in a response that
is deemed necessary and appropriate to the circumstances. The project team is
obligated to maintain confidentiality with regard to the reporter of an incident.

View File

@ -21,8 +21,8 @@ else
TERRAFORM_PLUGIN_CACHE_DIRECTORY=$(shell pwd -P)/cache/plugins
endif
TERRAFORM_PLUGIN_DIRECTORY=$(TERRAFORM_PLUGIN_CACHE_DIRECTORY)/registry.terraform.io/danitso/proxmox/$(VERSION)/$(TERRAFORM_PLATFORM)
TERRAFORM_PLUGIN_DIRECTORY_EXAMPLE=$(TERRAFORM_PLUGIN_CACHE_DIRECTORY)/registry.terraform.io/danitso/proxmox/$(VERSION_EXAMPLE)/$(TERRAFORM_PLATFORM)
TERRAFORM_PLUGIN_DIRECTORY=$(TERRAFORM_PLUGIN_CACHE_DIRECTORY)/registry.terraform.io/bpg/proxmox/$(VERSION)/$(TERRAFORM_PLATFORM)
TERRAFORM_PLUGIN_DIRECTORY_EXAMPLE=$(TERRAFORM_PLUGIN_CACHE_DIRECTORY)/registry.terraform.io/bpg/proxmox/$(VERSION_EXAMPLE)/$(TERRAFORM_PLATFORM)
TERRAFORM_PLUGIN_EXECUTABLE=$(TERRAFORM_PLUGIN_DIRECTORY)/$(NAME)_v$(VERSION)_x4$(TERRAFORM_PLUGIN_EXTENSION)
TERRAFORM_PLUGIN_EXECUTABLE_EXAMPLE=$(TERRAFORM_PLUGIN_DIRECTORY_EXAMPLE)/$(NAME)_v$(VERSION_EXAMPLE)_x4$(TERRAFORM_PLUGIN_EXTENSION)

View File

@ -1,11 +1,14 @@
[![Go Report Card](https://goreportcard.com/badge/github.com/danitso/terraform-provider-proxmox)](https://goreportcard.com/report/github.com/danitso/terraform-provider-proxmox)
[![GoDoc](https://godoc.org/github.com/danitso/terraform-provider-proxmox?status.svg)](http://godoc.org/github.com/danitso/terraform-provider-proxmox)
[![Go Report Card](https://goreportcard.com/badge/github.com/bpg/terraform-provider-proxmox)](https://goreportcard.com/report/github.com/bpg/terraform-provider-proxmox)
[![GoDoc](https://godoc.org/github.com/bpg/terraform-provider-proxmox?status.svg)](http://godoc.org/github.com/bpg/terraform-provider-proxmox)
# Terraform Provider for Proxmox
A Terraform Provider which adds support for Proxmox solutions.
This repository is a fork of https://github.com/danitso/terraform-provider-proxmox with several critical fixes to unblock
VM deployment in Proxmox v7.0, and a few other enhancements.
## Requirements
- [Terraform](https://www.terraform.io/downloads.html) 0.13+
- [Terraform](https://www.terraform.io/downloads.html) 0.14+
- [Go](https://golang.org/doc/install) 1.16+ (to build the provider plugin)
- [GoReleaser](https://goreleaser.com/install/) 0.155+ (to build the provider plugin)
@ -16,23 +19,23 @@ A Terraform Provider which adds support for Proxmox solutions.
- [Known issues](#known-issues)
## Building the provider
- Clone the repository to `$GOPATH/src/github.com/danitso/terraform-provider-proxmox`:
- Clone the repository to `$GOPATH/src/github.com/bpg/terraform-provider-proxmox`:
```sh
$ mkdir -p "${GOPATH}/src/github.com/danitso"
$ cd "${GOPATH}/src/github.com/danitso"
$ git clone git@github.com:danitso/terraform-provider-proxmox
$ mkdir -p "${GOPATH}/src/github.com/bpg"
$ cd "${GOPATH}/src/github.com/bpg"
$ git clone git@github.com:bpg/terraform-provider-proxmox
```
- Enter the provider directory and build it:
```sh
$ cd "${GOPATH}/src/github.com/danitso/terraform-provider-proxmox"
$ cd "${GOPATH}/src/github.com/bpg/terraform-provider-proxmox"
$ make build
```
## Using the provider
You can find the latest release and its documentation in the [Terraform Registry](https://registry.terraform.io/providers/danitso/proxmox/latest).
You can find the latest release and its documentation in the [Terraform Registry](https://registry.terraform.io/providers/bpg/proxmox/latest).
## Testing the provider
In order to test the provider, you can simply run `make test`.

View File

@ -1,8 +1,8 @@
email: info@danitso.com
email: info@boldyrev.me
title: Proxmox Provider
description: >-
Terraform Provider for Proxmox.
github_username: "danitso"
github_username: "bpg"
highlighter: rouge
markdown: kramdown
@ -11,6 +11,6 @@ plugins:
remote_theme: pmarsceill/just-the-docs
# Theme settings.
footer_content: 'Copyright &copy; 2019-2020 <a href="https://danitso.com/" target="_blank">Danitso</a> - Distributed under the <a href="https://github.com/danitso/terraform-provider-proxmox/blob/master/LICENSE" target="_blank">Mozilla Public License 2.0</a>'
footer_content: 'Copyright &copy; 2019-2021 <a href="https://danitso.com/" target="_blank">Danitso</a> - Distributed under the <a href="https://github.com/danitso/terraform-provider-proxmox/blob/master/LICENSE" target="_blank">Mozilla Public License 2.0</a><br>Copyright &copy; 2021 <a href="https://github.com/bpg/" target="_blank">Pavel Boldyrev</a> - Distributed under the <a href="https://github.com/bpg/terraform-provider-proxmox/blob/master/LICENSE" target="_blank">Mozilla Public License 2.0</a>'
heading_anchors: true
search_enabled: false

View File

@ -1,9 +1,9 @@
provider_installation {
filesystem_mirror {
path = "../cache/plugins"
include = ["registry.terraform.io/danitso/proxmox"]
include = ["registry.terraform.io/bpg/proxmox"]
}
direct {
exclude = ["registry.terraform.io/danitso/proxmox"]
exclude = ["registry.terraform.io/bpg/proxmox"]
}
}

View File

@ -5,7 +5,7 @@ terraform {
version = "2.0.0"
}
proxmox = {
source = "danitso/proxmox"
source = "bpg/proxmox"
version = "9999.0.0"
}
tls = {

4
go.mod
View File

@ -1,6 +1,6 @@
module github.com/danitso/terraform-provider-proxmox
module github.com/bpg/terraform-provider-proxmox
go 1.15
go 1.16
require (
cloud.google.com/go v0.74.0 // indirect

View File

@ -5,7 +5,7 @@
package main
import (
"github.com/danitso/terraform-provider-proxmox/proxmoxtf"
"github.com/bpg/terraform-provider-proxmox/proxmoxtf"
"github.com/hashicorp/terraform-plugin-sdk/plugin"
"github.com/hashicorp/terraform-plugin-sdk/terraform"
)

View File

@ -9,7 +9,7 @@ import (
"net/url"
"os"
"github.com/danitso/terraform-provider-proxmox/proxmox"
"github.com/bpg/terraform-provider-proxmox/proxmox"
"github.com/hashicorp/terraform-plugin-sdk/helper/schema"
)

View File

@ -9,7 +9,7 @@ import (
"strings"
"time"
"github.com/danitso/terraform-provider-proxmox/proxmox"
"github.com/bpg/terraform-provider-proxmox/proxmox"
"github.com/hashicorp/terraform-plugin-sdk/helper/schema"
)

View File

@ -7,7 +7,7 @@ package proxmoxtf
import (
"strings"
"github.com/danitso/terraform-provider-proxmox/proxmox"
"github.com/bpg/terraform-provider-proxmox/proxmox"
"github.com/hashicorp/terraform-plugin-sdk/helper/schema"
)

View File

@ -7,7 +7,7 @@ package proxmoxtf
import (
"strings"
"github.com/danitso/terraform-provider-proxmox/proxmox"
"github.com/bpg/terraform-provider-proxmox/proxmox"
"github.com/hashicorp/terraform-plugin-sdk/helper/schema"
)

View File

@ -9,7 +9,7 @@ import (
"strconv"
"strings"
"github.com/danitso/terraform-provider-proxmox/proxmox"
"github.com/bpg/terraform-provider-proxmox/proxmox"
"github.com/hashicorp/terraform-plugin-sdk/helper/schema"
"github.com/hashicorp/terraform-plugin-sdk/helper/validation"
)

View File

@ -7,7 +7,7 @@ package proxmoxtf
import (
"fmt"
"github.com/danitso/terraform-provider-proxmox/proxmox"
"github.com/bpg/terraform-provider-proxmox/proxmox"
"github.com/hashicorp/terraform-plugin-sdk/helper/schema"
)

View File

@ -19,7 +19,7 @@ import (
"strings"
"time"
"github.com/danitso/terraform-provider-proxmox/proxmox"
"github.com/bpg/terraform-provider-proxmox/proxmox"
"github.com/hashicorp/terraform-plugin-sdk/helper/schema"
)

View File

@ -7,7 +7,7 @@ package proxmoxtf
import (
"strings"
"github.com/danitso/terraform-provider-proxmox/proxmox"
"github.com/bpg/terraform-provider-proxmox/proxmox"
"github.com/hashicorp/terraform-plugin-sdk/helper/schema"
)

View File

@ -8,7 +8,7 @@ import (
"fmt"
"strings"
"github.com/danitso/terraform-provider-proxmox/proxmox"
"github.com/bpg/terraform-provider-proxmox/proxmox"
"github.com/hashicorp/terraform-plugin-sdk/helper/schema"
)

View File

@ -7,7 +7,7 @@ package proxmoxtf
import (
"strings"
"github.com/danitso/terraform-provider-proxmox/proxmox"
"github.com/bpg/terraform-provider-proxmox/proxmox"
"github.com/hashicorp/terraform-plugin-sdk/helper/schema"
)

View File

@ -7,7 +7,7 @@ package proxmoxtf
import (
"strings"
"github.com/danitso/terraform-provider-proxmox/proxmox"
"github.com/bpg/terraform-provider-proxmox/proxmox"
"github.com/hashicorp/terraform-plugin-sdk/helper/schema"
)

View File

@ -8,7 +8,7 @@ import (
"fmt"
"time"
"github.com/danitso/terraform-provider-proxmox/proxmox"
"github.com/bpg/terraform-provider-proxmox/proxmox"
"github.com/hashicorp/terraform-plugin-sdk/helper/schema"
)

View File

@ -8,7 +8,7 @@ import (
"strings"
"time"
"github.com/danitso/terraform-provider-proxmox/proxmox"
"github.com/bpg/terraform-provider-proxmox/proxmox"
"github.com/hashicorp/terraform-plugin-sdk/helper/schema"
"github.com/hashicorp/terraform-plugin-sdk/helper/validation"
)

View File

@ -12,7 +12,7 @@ import (
"strings"
"time"
"github.com/danitso/terraform-provider-proxmox/proxmox"
"github.com/bpg/terraform-provider-proxmox/proxmox"
"github.com/hashicorp/terraform-plugin-sdk/helper/schema"
"github.com/hashicorp/terraform-plugin-sdk/helper/validation"
)

View File

@ -14,7 +14,7 @@ import (
"time"
"unicode"
"github.com/danitso/terraform-provider-proxmox/proxmox"
"github.com/bpg/terraform-provider-proxmox/proxmox"
"github.com/hashicorp/terraform-plugin-sdk/helper/schema"
"github.com/hashicorp/terraform-plugin-sdk/helper/validation"
)