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/2.0 #712

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,11 @@ terraform-provider-nutanix
# Output of the go coverage tool, specifically when used with LiteIDE
*.out
log.*
!vendor/**

#exclude vendor
!vendor/**
vendor
bin/*
build.sh

# autogenerated fies
*.autogenerated.*
Expand Down
5 changes: 4 additions & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@ linters-settings:
# also, for anyone using vscode, use the following configs:
# "rewrap.wrappingColumn": 200 ... requires the rewrap plugin
# "editor.rulers": [200]
line-length: 200
line-length: 500
gocritic:
disable:
- ifElseChain

linters:
enable-all: true
Expand Down
72 changes: 72 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,75 @@
## 2.0 (December 27, 2024)
[Full Changelog](https://github.com/nutanix/terraform-provider-nutanix/compare/feat/1.9.5...feat/2.0)

All new features are v4 SDKs based.

**New Feature:**
- Cluster Management [\#704](https://github.com/nutanix/terraform-provider-nutanix/issues/704)
- CRUD for clusters
- Resource to discover unconfigured nodes
- Resource to fetch network configuration of unconfigured nodes
- Resource to add/remove node from cluster
- Resource for PC registration
- Datasource for Hosts Info

- Storage Containers [\#705](https://github.com/nutanix/terraform-provider-nutanix/issues/705)
- CRUD for storage containers
- datasource for storage stats info

- Networks [\#706](https://github.com/nutanix/terraform-provider-nutanix/issues/706)
- CRUD for Subnets
- CRUD for VPCs
- CRUD for PBRs
- CRUD for Floating IPs
- CRUD for Static Routes
- CRUD for Services Groups
- CRUD for Address Groups
- CRUD for Network Security Rules

- IAM [\#707](https://github.com/nutanix/terraform-provider-nutanix/issues/707)
- CRUD for Roles
- Datasource for Operations( permissions )
- CRUD for Users
- CRUD for User Groups
- CRUD for Authorization Policy ( ACPs )
- CRUD for SALM Identity Providers
- CRUD for Directory Services

- Prism [\#711](https://github.com/nutanix/terraform-provider-nutanix/issues/711)
- CRUD for categories

- VMM [\#708](https://github.com/nutanix/terraform-provider-nutanix/issues/708)
- CRUD for Virtual Machine
- CRUD for Images
- CRUD for Image Placement Policy
- Resource to Clone a VM
- Resource for NGT Installation / Uninstallation
- Resource for NGT upgrade
- Resource for Template deploy
- Resource for Template Guest OS Actions
- CRUD for Template
- Resource for CDROM inject/eject
- Resource for VM revert from recovery point
- Resource for VM guest customisation update
- Resource for VM Network Device Assign/Remove IP
- Resource for VM Network Device Migrate
- Resource for VM Shutdown Actions

- Volumes [\#709](https://github.com/nutanix/terraform-provider-nutanix/issues/709)
- CRUD for Volume Groups
- Resource to Attach/Deattach VG to VM
- Resource to Attach/Deattach VG to ISCSI Client
- CRUD for Volume Group vDisks
- Resource to attach/deattach categories from VG

- Data Protection [\#710](https://github.com/nutanix/terraform-provider-nutanix/issues/710)
- CRUD for Recovery Point
- CRUD for Replicate Recovery Point
- Resource to Restore VM from Recovery Point
- Datasource for VM Recovery Point Info



## 1.9.5 (January 16, 2024)
[Full Changelog](https://github.com/nutanix/terraform-provider-nutanix/compare/feat/1.9.4...feat/1.9.5)

Expand Down
6 changes: 4 additions & 2 deletions GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,10 @@ test: fmtcheck
go test --tags=unit $(TEST) -timeout=30s -parallel=4

testacc: fmtcheck
TF_ACC=1 go test $(TEST) -v $(TESTARGS) -timeout 500m -coverprofile c.out -covermode=count

@echo "==> Running testcases..."
@echo "TF_ACC=1 go test $(TEST) -v $(TESTARGS) -timeout 500m -coverprofile c.out -covermode=count"
TF_ACC=1 go test $(TEST) -v $(TESTARGS) -timeout 500m -coverprofile c.out -covermode=count

fmt:
@echo "==> Fixing source code with gofmt..."
goimports -w ./$(PKG_NAME)
Expand Down
Loading
Loading