Skip to content

Commit

Permalink
chore: update dependencies, cleanup docs
Browse files Browse the repository at this point in the history
  • Loading branch information
bpg committed Jul 30, 2023
1 parent b045746 commit 5ae936f
Show file tree
Hide file tree
Showing 12 changed files with 79 additions and 59 deletions.
3 changes: 1 addition & 2 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ about: Create a report to help us improve
title: ""
labels: 'bug'
assignees: ''

---

**Describe the bug**
Expand All @@ -31,5 +30,5 @@ If applicable, add screenshots to help explain your problem.
Add any other context about the problem here.
- Provider version (ideally it should be the latest version):
- Terraform version:
- OS (where you run Terraform from)):
- OS (where you run Terraform from):

Check warning on line 33 in .github/ISSUE_TEMPLATE/bug_report.md

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

.github/ISSUE_TEMPLATE/bug_report.md#L33

[list-item-indent] Incorrect list-item indent: add 2 spaces
- Debug logs (`TF_LOG=DEBUG terraform apply`):
6 changes: 0 additions & 6 deletions .github_changelog_generator

This file was deleted.

2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@

autogenerated/
bin/
build/
cache/
dist/
modules-dev/
docs-gen/

.terraform/
.vagrant/
Expand Down
1 change: 0 additions & 1 deletion .go-version

This file was deleted.

3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ clean:
rm -rf ./dist
rm -rf ./cache
rm -rf ./build
rm -rf ./docs-gen

build:
mkdir -p "$(TERRAFORM_PLUGIN_OUTPUT_DIRECTORY)"
Expand Down Expand Up @@ -82,7 +81,7 @@ release-build:
go run -modfile=tools/go.mod github.com/goreleaser/goreleaser build --clean --skip-validate

docs:
@mkdir -p ./docs-gen
@mkdir -p ./build/docs-gen
@cd ./tools && go generate tools.go

targets: $(TARGETS)
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ Then run `make example` to deploy the example resources.

## Future work

The provider is using the
legacy [Terraform SDKv2](https://developer.hashicorp.com/terraform/plugin/sdkv2),
The provider is using
the [Terraform SDKv2](https://developer.hashicorp.com/terraform/plugin/sdkv2),
which is considered legacy and is in maintenance mode.
The work has started to migrate the provider to the
new [Terraform Plugin Framework](https://www.terraform.io/docs/extend/plugin-sdk.html),
Expand Down
4 changes: 2 additions & 2 deletions docs/resources/virtual_environment_network_linux_bridge.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ resource "proxmox_virtual_environment_network_linux_bridge" "vmbr99" {
Import is supported using the following syntax:

```shell
# Interfaces can be imported using the `node_name:iface` format, e.g.,

#!/usr/bin/env sh
#Interfaces can be imported using the `node_name:iface` format, e.g.
terraform import proxmox_virtual_environment_network_linux_bridge.vmbr99 pve:vmbr99
```
4 changes: 2 additions & 2 deletions docs/resources/virtual_environment_network_linux_vlan.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ resource "proxmox_virtual_environment_network_linux_vlan" "vlan99" {
Import is supported using the following syntax:

```shell
# Interfaces can be imported using the `node_name:iface` format, e.g.,

#!/usr/bin/env sh
#Interfaces can be imported using the `node_name:iface` format, e.g.
terraform import proxmox_virtual_environment_network_linux_vlan.vlan99 pve:vlan99
```
2 changes: 1 addition & 1 deletion examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
well as documentation examples. The examples are not meant to be used in
production.

NOTE: during migration to TF plugin framework, examples of migrated resources /
NOTE: during migration to the TF plugin framework, examples of migrated resources /

Check notice on line 5 in examples/README.md

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

examples/README.md#L5

Expected: 80; Actual: 83
data sources will be moving from `/example` to `/examples` folder
20 changes: 10 additions & 10 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,16 @@ require (
github.com/skeema/knownhosts v1.2.0
github.com/stretchr/testify v1.8.4
golang.org/x/crypto v0.11.0
golang.org/x/exp v0.0.0-20230315142452-642cacee5cc0
golang.org/x/exp v0.0.0-20230728194245-b0cb94b80691
)

require (
github.com/ProtonMail/go-crypto v0.0.0-20230217124315-7d5c6f04bbb8 // indirect
github.com/ProtonMail/go-crypto v0.0.0-20230717121422-5aa5874ade95 // indirect
github.com/agext/levenshtein v1.2.3 // indirect
github.com/apparentlymart/go-textseg/v13 v13.0.0 // indirect
github.com/cloudflare/circl v1.3.3 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/fatih/color v1.14.1 // indirect
github.com/fatih/color v1.15.0 // indirect
github.com/golang/protobuf v1.5.3 // indirect
github.com/google/go-cmp v0.5.9 // indirect
github.com/hashicorp/errwrap v1.1.0 // indirect
Expand All @@ -40,14 +40,14 @@ require (
github.com/hashicorp/hcl/v2 v2.17.0 // indirect
github.com/hashicorp/logutils v1.0.0 // indirect
github.com/hashicorp/terraform-exec v0.18.1 // indirect
github.com/hashicorp/terraform-json v0.17.0 // indirect
github.com/hashicorp/terraform-json v0.17.1 // indirect
github.com/hashicorp/terraform-registry-address v0.2.1 // indirect
github.com/hashicorp/terraform-svchost v0.1.1 // indirect
github.com/hashicorp/yamux v0.1.1 // indirect
github.com/kr/fs v0.1.0 // indirect
github.com/kr/pretty v0.3.0 // indirect
github.com/kr/pretty v0.3.1 // indirect
github.com/mattn/go-colorable v0.1.13 // indirect
github.com/mattn/go-isatty v0.0.17 // indirect
github.com/mattn/go-isatty v0.0.19 // indirect
github.com/mitchellh/copystructure v1.2.0 // indirect
github.com/mitchellh/go-testing-interface v1.14.1 // indirect
github.com/mitchellh/go-wordwrap v1.0.1 // indirect
Expand All @@ -59,13 +59,13 @@ require (
github.com/vmihailenco/msgpack/v5 v5.3.5 // indirect
github.com/vmihailenco/tagparser/v2 v2.0.0 // indirect
github.com/zclconf/go-cty v1.13.2 // indirect
golang.org/x/mod v0.10.0 // indirect
golang.org/x/net v0.11.0 // indirect
golang.org/x/mod v0.12.0 // indirect
golang.org/x/net v0.12.0 // indirect
golang.org/x/sys v0.10.0 // indirect
golang.org/x/text v0.11.0 // indirect
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1 // indirect
google.golang.org/grpc v1.56.1 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20230726155614-23370e0ffb3e // indirect
google.golang.org/grpc v1.57.0 // indirect
google.golang.org/protobuf v1.31.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
Loading

0 comments on commit 5ae936f

Please sign in to comment.