Skip to content

Commit 2687d1a

Browse files
Changes for release 2.2.2 (#928)
1 parent 6e29946 commit 2687d1a

8 files changed

+357
-92
lines changed

CHANGELOG.md

Lines changed: 20 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
## 2.2.2 (September 1, 2025)
2+
[Full Changelog](https://github.com/nutanix/terraform-provider-nutanix/compare/v2.2.1...v2.2.2)
3+
4+
**Fixed bugs:**
5+
- nutanix_clusters_v2 not returning associated categories [\#907](https://github.com/nutanix/terraform-provider-nutanix/issues/907)
6+
7+
18
## 2.2.1 (June 30, 2025)
29
[Full Changelog](https://github.com/nutanix/terraform-provider-nutanix/compare/v2.2.0...v2.2.1)
310

@@ -61,7 +68,7 @@
6168
## 2.1.0 (April 07, 2025)
6269
[Full Changelog](https://github.com/nutanix/terraform-provider-nutanix/compare/v2.0.0...v2.1.0)
6370

64-
All new features are v4 SDKs based.
71+
All new features are v4 SDKs based.
6572

6673
**New Feature:**
6774
- Prism [\#815](https://github.com/nutanix/terraform-provider-nutanix/issues/815)
@@ -109,7 +116,7 @@ All new features are v4 SDKs based.
109116
## 2.0.0 (January 07, 2025)
110117
[Full Changelog](https://github.com/nutanix/terraform-provider-nutanix/compare/v1.9.5...v2.0.0)
111118

112-
All new features are v4 SDKs based.
119+
All new features are v4 SDKs based.
113120

114121
**New Feature:**
115122
- Cluster Management [\#704](https://github.com/nutanix/terraform-provider-nutanix/issues/704)
@@ -260,7 +267,7 @@ All new features are v4 SDKs based.
260267

261268
**New Feature:**
262269
- Add support for new Karbon features. [\#290](https://github.com/nutanix/terraform-provider-nutanix/issues/290)
263-
270+
264271
New Resource :
265272
- nutanix_karbon_worker_nodepool
266273

@@ -305,7 +312,7 @@ All new features are v4 SDKs based.
305312
- lcm_config should be Set without plugin crash in clone resource. [\#583](https://github.com/nutanix/terraform-provider-nutanix/issues/583)
306313

307314
**Closed issues:**
308-
- NDB datasource for network available ips. [\#569](https://github.com/nutanix/terraform-provider-nutanix/issues/569)
315+
- NDB datasource for network available ips. [\#569](https://github.com/nutanix/terraform-provider-nutanix/issues/569)
309316
- Support for adding import on ndb day2 actions. [\#582](https://github.com/nutanix/terraform-provider-nutanix/issues/582)
310317
- How to configure IP address for Nutanix Packer images. [\#576](https://github.com/nutanix/terraform-provider-nutanix/issues/576)
311318

@@ -337,7 +344,7 @@ All new features are v4 SDKs based.
337344
- nutanix_ndb_networks
338345
- nutanix_ndb_dbserver
339346
- nutanix_ndb_dbservers
340-
347+
341348

342349
## 1.8.0-beta-2 (Jan 20, 2023)
343350
[Full Changelog](https://github.com/nutanix/terraform-provider-nutanix/compare/v1.8.0-beta.1...v1.8.0-beta.2)
@@ -373,7 +380,7 @@ All new features are v4 SDKs based.
373380
- Support for HA instance in nutanix_ndb_database resource. [\#518](https://github.com/nutanix/terraform-provider-nutanix/pull/518)
374381
- Improving the error when server is unreachable. [\#530](https://github.com/nutanix/terraform-provider-nutanix/pull/530)
375382
- Fetching of database based on database_type filter [\#513](https://github.com/nutanix/terraform-provider-nutanix/pull/513)
376-
- Support of Tags and Maintainence Window in provisioning [\#528](https://github.com/nutanix/terraform-provider-nutanix/pull/528)
383+
- Support of Tags and Maintainence Window in provisioning [\#528](https://github.com/nutanix/terraform-provider-nutanix/pull/528)
377384

378385

379386
## 1.8.0-beta.1 (Oct 12, 2022)
@@ -432,7 +439,7 @@ All new features are v4 SDKs based.
432439

433440
**Fixed bugs:**
434441

435-
- Terraform provider crashes when using guest_customization_sysprep_custom_key_values [\#441] (https://github.com/nutanix/terraform-provider-nutanix/issues/441)
442+
- Terraform provider crashes when using guest_customization_sysprep_custom_key_values [\#441] (https://github.com/nutanix/terraform-provider-nutanix/issues/441)
436443
- Nutanix terraform- Karbon clusters, the storage_class_config is not been displayed. [\#417] (https://github.com/nutanix/terraform-provider-nutanix/issues/417)
437444
- Checksum is not considered while uploading image from local using nutanix_image resource. [\#469] (https://github.com/nutanix/terraform-provider-nutanix/issues/469)
438445
- Not able to update image_type of PC image [\#454] (https://github.com/nutanix/terraform-provider-nutanix/issues/454)
@@ -441,7 +448,7 @@ All new features are v4 SDKs based.
441448
**Closed issues:**
442449

443450
- Support for User Groups [\#475] (https://github.com/nutanix/terraform-provider-nutanix/issues/475)
444-
- Resizing disk identified in plan, but not actually done during apply [\#463] (https://github.com/nutanix/terraform-provider-nutanix/issues/463)
451+
- Resizing disk identified in plan, but not actually done during apply [\#463] (https://github.com/nutanix/terraform-provider-nutanix/issues/463)
445452
- uuid of address_groups are not available [\#461] (https://github.com/nutanix/terraform-provider-nutanix/issues/461)
446453
- ntx provider have ENTITY_READ_ERROR when try to recreate a VM deleted manually [\#451] (https://github.com/nutanix/terraform-provider-nutanix/issues/451)
447454
- Allow project definiation by name and not just ID [\#406] (https://github.com/nutanix/terraform-provider-nutanix/issues/406)
@@ -499,7 +506,7 @@ All new features are v4 SDKs based.
499506
- Foundation Acceptance tests and minor fixes [\#436](https://github.com/nutanix/terraform-provider-nutanix/pull/436) ([bhatipradeep](https://github.com/bhatipradeep))
500507
- Foundation Central unit tests and acceptance tests [\#439](https://github.com/nutanix/terraform-provider-nutanix/pull/439) ([abhimutant](https://github.com/abhimutant))
501508
- Optimize Image upload to avoid buffering. Add cluster related fields in image upload resource & data source for PC [\#432](https://github.com/nutanix/terraform-provider-nutanix/pull/432) ([bhatipradeep](https://github.com/bhatipradeep))
502-
- fixing karbon docs at registry [\#434](https://github.com/nutanix/terraform-provider-nutanix/pull/434)([abhimutant](https://github.com/abhimutant))
509+
- fixing karbon docs at registry [\#434](https://github.com/nutanix/terraform-provider-nutanix/pull/434)([abhimutant](https://github.com/abhimutant))
503510
- Example for using config downloaded from install.nutanix.com to image nodes[\#444](https://github.com/nutanix/terraform-provider-nutanix/pull/444) ([bhatipradeep](https://github.com/bhatipradeep))
504511
- Add example to pull secrets from hashicorp vault to use them in node imaging [\#431](https://github.com/nutanix/terraform-provider-nutanix/pull/431) ([bhatipradeep](https://github.com/bhatipradeep))
505512

@@ -536,12 +543,12 @@ All new features are v4 SDKs based.
536543
- nutanix_foundation_central_cluster_details
537544
- nutanix_foundation_central_imaged_node_details
538545

539-
546+
540547
New Resources :
541548
- nutanix_foundation_central_image_cluster
542549
- nutanix_foundation_central_api_keys
543550

544-
New Modules :
551+
New Modules :
545552
- aos-based-node-imaging/node-serials-filter
546553
- manual-mode-imaging
547554

@@ -559,13 +566,13 @@ All new features are v4 SDKs based.
559566
- nutanix_foundation_hypervisor_isos
560567
- nutanix_foundation_discover_nodes
561568
- nutanix_foundation_node_network_details
562-
569+
563570
New Resources :
564571
- nutanix_foundation_image_nodes
565572
- nutanix_foundation_ipmi_config
566573
- nutanix_foundation_image
567574

568-
New Modules :
575+
New Modules :
569576
- aos-based-node-imaging/node-serials-filter
570577
- discover-nodes-network-details/node-serials-filter
571578
- manual-mode-imaging

README.md

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Terraform provider plugin to integrate with Nutanix Cloud Platform.
44

5-
NOTE: The latest version of the Nutanix provider is [v2.2.1](https://github.com/nutanix/terraform-provider-nutanix/releases/tag/v2.2.1).
5+
NOTE: The latest version of the Nutanix provider is [v2.2.2](https://github.com/nutanix/terraform-provider-nutanix/releases/tag/v2.2.2).
66

77
Modules based on Terraform Nutanix Provider can be found here : [Modules](https://github.com/nutanix/terraform-provider-nutanix/tree/master/modules)
88

@@ -22,19 +22,24 @@ Modules based on Terraform Nutanix Provider can be found here : [Modules](https:
2222
* [Go](https://golang.org/doc/install) 1.17+ (to build the provider plugin)
2323
* This provider uses [SDKv2](https://www.terraform.io/plugin/sdkv2/sdkv2-intro) from release 1.3.0
2424

25+
### Introducing Nutanix Terraform Provider Version 2.2.2
26+
We're excited to announce the release of Nutanix Terraform Provider Version 2.2.2! This update brings significant enhancements and bug fixes to your infrastructure management experience:
27+
28+
- This is a minor release that includes enhancements and bug fixes, aimed at improving stability and reliability.
29+
2530
### Introducing Nutanix Terraform Provider Version 2.2.1
2631
We're excited to announce the release of Nutanix Terraform Provider Version 2.2.1! This update brings significant enhancements and bug fixes to your infrastructure management experience:
27-
32+
2833
- This is a minor release that includes enhancements and bug fixes, aimed at improving stability and reliability.
2934

3035
### Introducing Nutanix Terraform Provider Version 2.2.0
3136
We're excited to announce the release of Nutanix Terraform Provider Version 2.2.0! This major update brings significant improvements to your infrastructure management experience:
32-
37+
3338
- It will allow you to interact with Self Service API. With this new plugin support you will be able to launch a Single VM Blueprint to create an Application in Self Service and perform some Day 2 actions like updating application, creating snapshot/restore etc.
3439

3540
### Introducing Nutanix Terraform Provider Version 2.1.0
3641
We're excited to announce the release of Nutanix Terraform Provider Version 2.1.0! This major update brings significant improvements to your infrastructure management experience:
37-
42+
3843
- Built on the latest v4 APIs/SDKs: Leveraging the power of Nutanix v4 APIs/SDKs, this version offers enhanced functionality and better integration with the latest Nutanix features.
3944
- Expanded Resource Coverage: Discover new resources and data sources, enabling you to model and manage a broader spectrum of Nutanix infrastructure components within your Terraform configurations.
4045
- <b>Version Suffix: Modules built based on v4 PC/PE GA sdks are marked with the *_v2 suffix.</b>
@@ -44,14 +49,15 @@ The provider is used to interact with the many resources and data sources suppor
4449
- Self Service version: 4.1.0 (Required only for running Self Service based resource and data source)
4550
- AOS Version: 7.0.1, 7.0 or later
4651
- Prism Central Version: pc2024.3, pc2024.3.1 or later
47-
- Nutanix Terraform Provider Version: 2.2.0
52+
- Nutanix Terraform Provider Version: 2.2.2
4853

4954

5055
## Compatibility Matrix
5156
| Terraform Version | AOS Version | PC version | Other software versions | Supported |
5257
| :--- | :--- | :--- | :--- | :--- |
58+
| 2.2.2 | 7.0.1, 7.0 | pc2024.3, pc2024.3.1 or later | | yes |
5359
| 2.2.1 | 7.0.1, 7.0 | pc2024.3, pc2024.3.1 or later | | yes |
54-
| 2.2.0 | | | Self Service v4.1.0 | yes |
60+
| 2.2.0 | | | Self Service v4.1.0 | yes |
5561
| 2.1.1 | 7.0.1, 7.0 | pc2024.3, pc2024.3.1 or later | | yes |
5662
| 2.1.0 | 7.0.1, 7.0 | pc2024.3, pc2024.3.1 or later | | yes |
5763
| 2.0.0 | 7.0 | pc2024.3 or later | ndb v2.7, nke v2.8, foundation v5.7 | Yes |
@@ -380,7 +386,7 @@ From foundation getting released in 1.5.0-beta, provider configuration will acco
380386

381387

382388

383-
## Developing the provider
389+
## Developing the provider
384390

385391
The Nutanix Provider for Terraform is the work of many contributors. We appreciate your help!
386392

@@ -392,11 +398,11 @@ The Nutanix Provider for Terraform is the work of many contributors. We apprecia
392398

393399
-> **Note:** We now have a brand new developer-centric Support Program designed for organizations that require a deeper level of developer support to manage their Nutanix environment and build applications quickly and efficiently. As part of this new Advanced API/SDK Support Program, you will get access to trusted technical advisors who specialize in developer tools including Nutanix Terraform Provider and receive support for your unique development needs and custom integration queries. Visit our Support Portal - [Premium Add-On Support Programs](https://www.nutanix.com/support-services/product-support/premium-support-programs) to learn more about this program.
394400

395-
Customers not taking advantage of the Advanced API/SDK Support Program will continue to receive the support through our standard, community-supported model. This community model also provides support for contributions to the open-sourceNutanix Terraform Provider repository .Visit https://portal.nutanix.com/kb/13424 for more details.
401+
Customers not taking advantage of the Advanced API/SDK Support Program will continue to receive the support through our standard, community-supported model. This community model also provides support for contributions to the open-sourceNutanix Terraform Provider repository .Visit https://portal.nutanix.com/kb/13424 for more details.
396402

397403

398404
## Community
399405

400406
Nutanix is taking an inclusive approach to developing this new feature and welcomes customer feedback. Please see our development project on GitHub (you're here!), comment on requirements, design, code, and/or feel free to join us on Slack. Instructions on commenting, contributing, and joining our community Slack channel are all located within our GitHub Readme.
401407

402-
For a slack invite, please contact [email protected] from your business email address, and we'll add you.
408+
For a slack invite, please contact [email protected] from your business email address, and we'll add you.

nutanix/services/clustersv2/data_source_nutanix_cluster_entities_v2.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,9 @@ func flattenClusterEntities(pr []import1.Cluster) []interface{} {
141141
cls["vm_count"] = v.VmCount
142142
cls["inefficient_vm_count"] = v.InefficientVmCount
143143
cls["container_name"] = v.ContainerName
144+
cls["categories"] = v.Categories
145+
cls["cluster_profile_ext_id"] = v.ClusterProfileExtId
146+
cls["backup_eligibility_score"] = v.BackupEligibilityScore
144147

145148
clsList[k] = cls
146149
}

0 commit comments

Comments
 (0)