Skip to content

Commit

Permalink
Feat/1.9.5 (#668)
Browse files Browse the repository at this point in the history
Co-authored-by: Abhishekism9450 <[email protected]>
  • Loading branch information
abhimutant and Abhishekism9450 authored Jan 16, 2024
1 parent 1dfdba3 commit 502c1ea
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 3 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
## 1.9.5 (January 16, 2024)
[Full Changelog](https://github.com/nutanix/terraform-provider-nutanix/compare/feat/1.9.4...feat/1.9.5)

**Merged pull request:**
- Fixing the error for NDB datasource for databases if creds are invalid. [\#668](https://github.com/nutanix/terraform-provider-nutanix/pull/668)

**Closed issues:**
- Memory MiB quantity value shows discrepancy in terraform plugin and Prism.. [\#654](https://github.com/nutanix/terraform-provider-nutanix/issues/654)

**Fixed bugs:**
- Datasource nutanix_ndb_databases doesn't return error if creds are invalid. [\#667](https://github.com/nutanix/terraform-provider-nutanix/issues/667)


## 1.9.4 (October 27, 2023)
[Full Changelog](https://github.com/nutanix/terraform-provider-nutanix/compare/feat/1.9.3...feat/1.9.4)

Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Terraform provider plugin to integrate with Nutanix Enterprise Cloud

NOTE: The latest version of the Nutanix provider is [v1.9.4](https://github.com/nutanix/terraform-provider-nutanix/releases/tag/v1.9.4)
NOTE: The latest version of the Nutanix provider is [v1.9.5](https://github.com/nutanix/terraform-provider-nutanix/releases/tag/v1.9.5)

Modules based on Terraform Nutanix Provider can be found here : [Modules](https://github.com/nutanix/terraform-provider-nutanix/tree/master/modules)
## Build, Quality Status
Expand Down Expand Up @@ -89,6 +89,8 @@ Foundation Central based modules and examples : Foundation based modules & examp
> For the 1.8.1 release of the provider, it will have N-2 compatibility with the Nutanix database service. This release was tested with v2.5.1.1, v2.5.1 and v2.5 versions.
> For the 1.9.5 release of the provider, it will have N-2 compatibility with the Nutanix database service. This release was tested with v2.5.1.1, v2.5.1 and v2.5 versions.
Note: For NDB related modules, only postgress database type is qualified and officially supported. Older versions of NDB may not support some resources.

Checkout example : https://github.com/nutanix/terraform-provider-nutanix/blob/master/examples/ndb/
Expand Down
5 changes: 4 additions & 1 deletion nutanix/data_source_nutanix_ndb_databases.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,10 @@ func dataSourceNutanixEraDatabaseIntancesRead(ctx context.Context, d *schema.Res
if dbEng, ok := d.GetOk("database_type"); ok {
// todo : when era have query params for db egine type call , API here
// filter the database based on db engine type provided
respon, _ := conn.Service.ListDatabaseInstance(ctx)
respon, er := conn.Service.ListDatabaseInstance(ctx)
if er != nil {
return diag.FromErr(er)
}
resp, err = filterDatabaseBasedOnDatabaseEngine(respon, dbEng.(string))
if err != nil {
return diag.FromErr(err)
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/virtual_machine.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ The following arguments are supported:
* `num_sockets`: - (Optional) Number of vCPU sockets.
* `gpu_list`: - (Optional) GPUs attached to the VM.
* `parent_reference`: - (Optional) Reference to an entity that the VM cloned from.
* `memory_size_mib`: - (Optional) Memory size in MiB.
* `memory_size_mib`: - (Optional) Memory size in MiB. On updating memory to powered ON VMs should only be done in 1GB increments.
* `boot_device_order_list`: - (Optional) Indicates the order of device types in which VM should try to boot from. If boot device order is not provided the system will decide appropriate boot device order.
* `boot_device_disk_address`: - (Optional) Address of disk to boot from.
* `boot_device_mac_address`: - (Optional) MAC address of nic to boot from.
Expand Down

0 comments on commit 502c1ea

Please sign in to comment.