Skip to content

Commit

Permalink
Update project to use bpg/terraform-provider-proxmox
Browse files Browse the repository at this point in the history
  • Loading branch information
bpg committed Sep 9, 2021
1 parent e299e07 commit 380f07c
Show file tree
Hide file tree
Showing 24 changed files with 40 additions and 37 deletions.
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
21 changes: 12 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -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)

Expand All @@ -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`.
Expand Down
6 changes: 3 additions & 3 deletions docs/_config.yml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
4 changes: 2 additions & 2 deletions example.tfrc
Original file line number Diff line number Diff line change
@@ -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"]
}
}
2 changes: 1 addition & 1 deletion example/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ terraform {
version = "2.0.0"
}
proxmox = {
source = "danitso/proxmox"
source = "bpg/proxmox"
version = "9999.0.0"
}
tls = {
Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Expand Down
2 changes: 1 addition & 1 deletion proxmoxtf/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
2 changes: 1 addition & 1 deletion proxmoxtf/resource_virtual_environment_certificate.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
2 changes: 1 addition & 1 deletion proxmoxtf/resource_virtual_environment_cluster_alias.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
2 changes: 1 addition & 1 deletion proxmoxtf/resource_virtual_environment_cluster_ipset.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
2 changes: 1 addition & 1 deletion proxmoxtf/resource_virtual_environment_container.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Expand Down
2 changes: 1 addition & 1 deletion proxmoxtf/resource_virtual_environment_dns.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
2 changes: 1 addition & 1 deletion proxmoxtf/resource_virtual_environment_file.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
2 changes: 1 addition & 1 deletion proxmoxtf/resource_virtual_environment_group.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
2 changes: 1 addition & 1 deletion proxmoxtf/resource_virtual_environment_hosts.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
2 changes: 1 addition & 1 deletion proxmoxtf/resource_virtual_environment_pool.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
2 changes: 1 addition & 1 deletion proxmoxtf/resource_virtual_environment_role.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
2 changes: 1 addition & 1 deletion proxmoxtf/resource_virtual_environment_time.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
2 changes: 1 addition & 1 deletion proxmoxtf/resource_virtual_environment_user.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Expand Down
2 changes: 1 addition & 1 deletion proxmoxtf/resource_virtual_environment_vm.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Expand Down
2 changes: 1 addition & 1 deletion proxmoxtf/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Expand Down

0 comments on commit 380f07c

Please sign in to comment.