Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix module path for pulumi support #309

Merged
merged 4 commits into from
Mar 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# This GitHub action can publish assets for release when a tag is created.
# Currently its setup to run on any tag that matches the pattern "v*" (ie. v0.1.0).
#
# This uses an action (paultyng/ghaction-import-gpg) that assumes you set your
# This uses an action (paultyng/ghaction-import-gpg) that assumes you set your
# private key in the `GPG_PRIVATE_KEY` secret and passphrase in the `PASSPHRASE`
# secret. If you would rather own your own GPG handling, please fork this action
# or use an alternative one for key handling.
#
# You will need to pass the `--batch` flag to `gpg` in your signing step
# You will need to pass the `--batch` flag to `gpg` in your signing step
# in `goreleaser` to indicate this is being used in a non-interactive mode.
#
name: release
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
TIMEOUT ?= 40m
GOMAXPROCS ?= 5
TF_VERSION ?= v0.14.11
ROOT_PKG_PATH := github.com/ddelnano/terraform-provider-xenorchestra
ROOT_PKG_PATH := github.com/vatesfr/terraform-provider-xenorchestra
ifdef TEST
TEST := github.com/ddelnano/terraform-provider-xenorchestra/xoa -run '$(TEST)'
TEST := github.com/vatesfr/terraform-provider-xenorchestra/xoa -run '$(TEST)'
else
TEST := ./...
endif
Expand Down
2 changes: 1 addition & 1 deletion client/go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/ddelnano/terraform-provider-xenorchestra/client
module github.com/vatesfr/terraform-provider-xenorchestra/client

go 1.21

Expand Down
2 changes: 1 addition & 1 deletion docs/resources/vm.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ $ xo-cli xo.getAllObjects filter='json:{"id": "cf7b5d7d-3cd5-6b7c-5025-5c935c8cd
"max": 4,
"number": 2
}

# Updating the VM to use 3 CPUs would happen without stopping/starting the VM
# Updating the VM to use 5 CPUs would stop/start the VM
```
Expand Down
6 changes: 3 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
module github.com/ddelnano/terraform-provider-xenorchestra
module github.com/vatesfr/terraform-provider-xenorchestra

go 1.21

require (
github.com/ddelnano/terraform-provider-xenorchestra/client v0.0.0-00010101000000-000000000000
github.com/vatesfr/terraform-provider-xenorchestra/client v0.0.0-00010101000000-000000000000
github.com/hashicorp/terraform-plugin-docs v0.18.0
github.com/hashicorp/terraform-plugin-sdk/v2 v2.33.0
)
Expand Down Expand Up @@ -80,4 +80,4 @@ require (
gopkg.in/yaml.v2 v2.3.0 // indirect
)

replace github.com/ddelnano/terraform-provider-xenorchestra/client => ./client
replace github.com/vatesfr/terraform-provider-xenorchestra/client => ./client
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"flag"
"log"

"github.com/ddelnano/terraform-provider-xenorchestra/xoa"
"github.com/vatesfr/terraform-provider-xenorchestra/xoa"
"github.com/hashicorp/terraform-plugin-sdk/v2/plugin"
)

Expand Down
2 changes: 1 addition & 1 deletion xoa/acc_setup_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"os"
"testing"

"github.com/ddelnano/terraform-provider-xenorchestra/client"
"github.com/vatesfr/terraform-provider-xenorchestra/client"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
)

Expand Down
2 changes: 1 addition & 1 deletion xoa/data_source_cloud_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"fmt"
"log"

"github.com/ddelnano/terraform-provider-xenorchestra/client"
"github.com/vatesfr/terraform-provider-xenorchestra/client"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
)

Expand Down
2 changes: 1 addition & 1 deletion xoa/data_source_cloud_config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"regexp"
"testing"

"github.com/ddelnano/terraform-provider-xenorchestra/client"
"github.com/vatesfr/terraform-provider-xenorchestra/client"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
"github.com/hashicorp/terraform-plugin-sdk/v2/terraform"
)
Expand Down
2 changes: 1 addition & 1 deletion xoa/data_source_host.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"errors"
"fmt"

"github.com/ddelnano/terraform-provider-xenorchestra/client"
"github.com/vatesfr/terraform-provider-xenorchestra/client"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
)

Expand Down
2 changes: 1 addition & 1 deletion xoa/data_source_hosts.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package xoa
import (
"log"

"github.com/ddelnano/terraform-provider-xenorchestra/client"
"github.com/vatesfr/terraform-provider-xenorchestra/client"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
)

Expand Down
2 changes: 1 addition & 1 deletion xoa/data_source_hosts_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"regexp"
"testing"

"github.com/ddelnano/terraform-provider-xenorchestra/xoa/internal"
"github.com/vatesfr/terraform-provider-xenorchestra/xoa/internal"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
"github.com/hashicorp/terraform-plugin-sdk/v2/terraform"
)
Expand Down
2 changes: 1 addition & 1 deletion xoa/data_source_pool.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"fmt"
"log"

"github.com/ddelnano/terraform-provider-xenorchestra/client"
"github.com/vatesfr/terraform-provider-xenorchestra/client"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
)

Expand Down
2 changes: 1 addition & 1 deletion xoa/data_source_resource_set.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"errors"
"fmt"

"github.com/ddelnano/terraform-provider-xenorchestra/client"
"github.com/vatesfr/terraform-provider-xenorchestra/client"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
)

Expand Down
2 changes: 1 addition & 1 deletion xoa/data_source_resource_set_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"regexp"
"testing"

"github.com/ddelnano/terraform-provider-xenorchestra/client"
"github.com/vatesfr/terraform-provider-xenorchestra/client"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
"github.com/hashicorp/terraform-plugin-sdk/v2/terraform"
)
Expand Down
2 changes: 1 addition & 1 deletion xoa/data_source_user.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package xoa
import (
"log"

"github.com/ddelnano/terraform-provider-xenorchestra/client"
"github.com/vatesfr/terraform-provider-xenorchestra/client"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
)

Expand Down
4 changes: 2 additions & 2 deletions xoa/data_source_vms.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"log"
"strings"

"github.com/ddelnano/terraform-provider-xenorchestra/client"
"github.com/ddelnano/terraform-provider-xenorchestra/xoa/internal"
"github.com/vatesfr/terraform-provider-xenorchestra/client"
"github.com/vatesfr/terraform-provider-xenorchestra/xoa/internal"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
)

Expand Down
2 changes: 1 addition & 1 deletion xoa/data_source_xenorchestra_network.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package xoa

import (
"github.com/ddelnano/terraform-provider-xenorchestra/client"
"github.com/vatesfr/terraform-provider-xenorchestra/client"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
)

Expand Down
2 changes: 1 addition & 1 deletion xoa/data_source_xenorchestra_network_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"regexp"
"testing"

"github.com/ddelnano/terraform-provider-xenorchestra/client"
"github.com/vatesfr/terraform-provider-xenorchestra/client"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
"github.com/hashicorp/terraform-plugin-sdk/v2/terraform"
)
Expand Down
2 changes: 1 addition & 1 deletion xoa/data_source_xenorchestra_pif.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"errors"
"fmt"

"github.com/ddelnano/terraform-provider-xenorchestra/client"
"github.com/vatesfr/terraform-provider-xenorchestra/client"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
)

Expand Down
2 changes: 1 addition & 1 deletion xoa/data_source_xenorchestra_sr.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"errors"
"fmt"

"github.com/ddelnano/terraform-provider-xenorchestra/client"
"github.com/vatesfr/terraform-provider-xenorchestra/client"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
)

Expand Down
2 changes: 1 addition & 1 deletion xoa/data_source_xenorchestra_template.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"errors"
"fmt"

"github.com/ddelnano/terraform-provider-xenorchestra/client"
"github.com/vatesfr/terraform-provider-xenorchestra/client"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
)

Expand Down
2 changes: 1 addition & 1 deletion xoa/data_source_xenorchestra_vdi.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"errors"
"fmt"

"github.com/ddelnano/terraform-provider-xenorchestra/client"
"github.com/vatesfr/terraform-provider-xenorchestra/client"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
)

Expand Down
2 changes: 1 addition & 1 deletion xoa/internal/mocks.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package internal
import (
"errors"

"github.com/ddelnano/terraform-provider-xenorchestra/client"
"github.com/vatesfr/terraform-provider-xenorchestra/client"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
)

Expand Down
4 changes: 2 additions & 2 deletions xoa/internal/state/migrate.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"log"
"net"

"github.com/ddelnano/terraform-provider-xenorchestra/client"
"github.com/vatesfr/terraform-provider-xenorchestra/client"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation"
)
Expand Down Expand Up @@ -145,7 +145,7 @@ $ xo-cli xo.getAllObjects filter='json:{"id": "cf7b5d7d-3cd5-6b7c-5025-5c935c8cd
"max": 4,
"number": 2
}

# Updating the VM to use 3 CPUs would happen without stopping/starting the VM
# Updating the VM to use 5 CPUs would stop/start the VM`,
},
Expand Down
2 changes: 1 addition & 1 deletion xoa/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"regexp"
"time"

"github.com/ddelnano/terraform-provider-xenorchestra/client"
"github.com/vatesfr/terraform-provider-xenorchestra/client"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation"
)
Expand Down
2 changes: 1 addition & 1 deletion xoa/provider_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"os"
"testing"

"github.com/ddelnano/terraform-provider-xenorchestra/xoa/internal"
"github.com/vatesfr/terraform-provider-xenorchestra/xoa/internal"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
)

Expand Down
2 changes: 1 addition & 1 deletion xoa/resource_user_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package xoa

import (
"github.com/ddelnano/terraform-provider-xenorchestra/client"
"github.com/vatesfr/terraform-provider-xenorchestra/client"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
)

Expand Down
2 changes: 1 addition & 1 deletion xoa/resource_xenorchestra_acl.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package xoa

import (
"github.com/ddelnano/terraform-provider-xenorchestra/client"
"github.com/vatesfr/terraform-provider-xenorchestra/client"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation"
)
Expand Down
2 changes: 1 addition & 1 deletion xoa/resource_xenorchestra_acl_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"testing"

"github.com/ddelnano/terraform-provider-xenorchestra/client"
"github.com/vatesfr/terraform-provider-xenorchestra/client"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
"github.com/hashicorp/terraform-plugin-sdk/v2/terraform"
)
Expand Down
2 changes: 1 addition & 1 deletion xoa/resource_xenorchestra_bonded_network.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package xoa
import (
"errors"

"github.com/ddelnano/terraform-provider-xenorchestra/client"
"github.com/vatesfr/terraform-provider-xenorchestra/client"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation"
)
Expand Down
2 changes: 1 addition & 1 deletion xoa/resource_xenorchestra_cloud_config.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package xoa

import (
"github.com/ddelnano/terraform-provider-xenorchestra/client"
"github.com/vatesfr/terraform-provider-xenorchestra/client"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
)

Expand Down
2 changes: 1 addition & 1 deletion xoa/resource_xenorchestra_cloud_config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"testing"

"github.com/ddelnano/terraform-provider-xenorchestra/client"
"github.com/vatesfr/terraform-provider-xenorchestra/client"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
"github.com/hashicorp/terraform-plugin-sdk/v2/terraform"
)
Expand Down
2 changes: 1 addition & 1 deletion xoa/resource_xenorchestra_network.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"fmt"
"log"

"github.com/ddelnano/terraform-provider-xenorchestra/client"
"github.com/vatesfr/terraform-provider-xenorchestra/client"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
)

Expand Down
2 changes: 1 addition & 1 deletion xoa/resource_xenorchestra_resource_set.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package xoa
import (
"log"

"github.com/ddelnano/terraform-provider-xenorchestra/client"
"github.com/vatesfr/terraform-provider-xenorchestra/client"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation"
)
Expand Down
4 changes: 2 additions & 2 deletions xoa/resource_xenorchestra_resource_set_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"fmt"
"testing"

"github.com/ddelnano/terraform-provider-xenorchestra/client"
"github.com/ddelnano/terraform-provider-xenorchestra/xoa/internal"
"github.com/vatesfr/terraform-provider-xenorchestra/client"
"github.com/vatesfr/terraform-provider-xenorchestra/xoa/internal"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
"github.com/hashicorp/terraform-plugin-sdk/v2/terraform"
)
Expand Down
2 changes: 1 addition & 1 deletion xoa/resource_xenorchestra_vdi.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package xoa

import (
"github.com/ddelnano/terraform-provider-xenorchestra/client"
"github.com/vatesfr/terraform-provider-xenorchestra/client"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation"
)
Expand Down
2 changes: 1 addition & 1 deletion xoa/resource_xenorchestra_vdi_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"fmt"
"testing"

"github.com/ddelnano/terraform-provider-xenorchestra/client"
"github.com/vatesfr/terraform-provider-xenorchestra/client"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
"github.com/hashicorp/terraform-plugin-sdk/v2/terraform"
)
Expand Down
8 changes: 4 additions & 4 deletions xoa/resource_xenorchestra_vm.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ import (
"strings"
"time"

"github.com/ddelnano/terraform-provider-xenorchestra/client"
"github.com/ddelnano/terraform-provider-xenorchestra/xoa/internal"
"github.com/ddelnano/terraform-provider-xenorchestra/xoa/internal/state"
"github.com/vatesfr/terraform-provider-xenorchestra/client"
"github.com/vatesfr/terraform-provider-xenorchestra/xoa/internal"
"github.com/vatesfr/terraform-provider-xenorchestra/xoa/internal/state"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation"
)
Expand Down Expand Up @@ -207,7 +207,7 @@ $ xo-cli xo.getAllObjects filter='json:{"id": "cf7b5d7d-3cd5-6b7c-5025-5c935c8cd
"max": 4,
"number": 2
}

# Updating the VM to use 3 CPUs would happen without stopping/starting the VM
# Updating the VM to use 5 CPUs would stop/start the VM
` + "```" + `
Expand Down
Loading
Loading