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

feat: rename provider from uxi to hpeuxi #145

Merged
merged 5 commits into from
Nov 28, 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 Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,11 @@ test-provider +ARGS='':
TF_ACC=1 go test -v ./test/mocked/... -race -covermode=atomic -coverprofile=.coverage {{ ARGS }}

generate-provider-docs:
cd {{ TOOLS_PROVIDER_DIR }} && go run github.com/hashicorp/terraform-plugin-docs/cmd/tfplugindocs generate --provider-dir ../. --provider-name uxi
cd {{ TOOLS_PROVIDER_DIR }} && go run github.com/hashicorp/terraform-plugin-docs/cmd/tfplugindocs generate --provider-dir ../. --provider-name hpeuxi
sed -i.backup '/subcategory: ""/d' docs/index.md && rm docs/index.md.backup

validate-provider-docs:
cd {{ TOOLS_PROVIDER_DIR }} && go run github.com/hashicorp/terraform-plugin-docs/cmd/tfplugindocs validate --provider-dir ../. --provider-name uxi
cd {{ TOOLS_PROVIDER_DIR }} && go run github.com/hashicorp/terraform-plugin-docs/cmd/tfplugindocs validate --provider-dir ../. --provider-name hpeuxi

coverage-provider:
go tool cover -html=.coverage -o=.coverage.html
Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Create a Terraform file in your working directory, and reference the desired pro
```terraform
terraform {
required_providers {
uxi = {
hpeuxi = {
source = "aruba-uxi/hpeuxi"
version = ">= 0.0.0-pre.alpha.3"
}
Expand All @@ -60,12 +60,12 @@ terraform {
}

# create a group
resource "uxi_group" "my_group" {
resource "hpeuxi_group" "my_group" {
name = "level_1"
}

# import a sensor
resource "uxi_sensor" "my_sensor" {
resource "hpeuxi_sensor" "my_sensor" {
name = "my_sensor_name"

lifecycle {
Expand All @@ -74,14 +74,14 @@ resource "uxi_sensor" "my_sensor" {
}

import {
to = uxi_sensor.my_sensor
to = hpeuxi_sensor.my_sensor
id = "my_sensor_id"
}

# assign the sensor to a group
resource "uxi_sensor_group_assignment" "my_uxi_sensor_group_assignment" {
sensor_id = uxi_sensor.my_sensor.id
group_id = uxi_group.my_group.id
resource "hpeuxi_sensor_group_assignment" "my_uxi_sensor_group_assignment" {
sensor_id = hpeuxi_sensor.my_sensor.id
group_id = hpeuxi_group.my_group.id
}
```

Expand Down
6 changes: 3 additions & 3 deletions docs/data-sources/agent.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions docs/data-sources/agent_group_assignment.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions docs/data-sources/group.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions docs/data-sources/network_group_assignment.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions docs/data-sources/sensor.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions docs/data-sources/sensor_group_assignment.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions docs/data-sources/service_test.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions docs/data-sources/service_test_group_assignment.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions docs/data-sources/wired_network.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions docs/data-sources/wireless_network.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions docs/index.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions docs/resources/agent.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions docs/resources/agent_group_assignment.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading