diff --git a/CHANGELOG.md b/CHANGELOG.md index e08fc41de..9d1d916dd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,12 +5,29 @@ **New Feature:** - Add resources and data sources for Nutanix Foundation [\#413](https://github.com/nutanix/terraform-provider-nutanix/issues/413) -> For the 1.5.0-beta release of the provider it will have N-1 compatibility with the Nutanix Foundation. This release was tested against Foundation versions v5.2 and v5.1.1 + + New Data Sources : + - nutanix_foundation_nos_packages + - nutanix_foundation_hypervisor_isos + - nutanix_foundation_discover_nodes + - nutanix_foundation_node_network_details + + New Resources : + - nutanix_foundation_image_nodes + - nutanix_foundation_ipmi_config + - nutanix_foundation_image + + New Modules : + - aos-based-node-imaging/node-serials-filter + - discover-nodes-network-details/node-serials-filter + - manual-mode-imaging **Merged pull requests:** - Feature: Foundation datasources, resources, modules & documentation [\#410](https://github.com/nutanix/terraform-provider-nutanix/pull/410) ([bhatipradeep](https://github.com/bhatipradeep)) ([abhimutant](https://github.com/abhimutant)) +> For the 1.5.0-beta release of the provider it will have N-1 compatibility with the Nutanix Foundation. This release was tested against Foundation versions v5.2 and v5.1.1 + ## 1.4.1 (March 24, 2022) [Full Changelog](https://github.com/nutanix/terraform-provider-nutanix/compare/v1.4.0...v1.4.1) diff --git a/README.md b/README.md index fd3f66c7a..33ff8526e 100644 --- a/README.md +++ b/README.md @@ -37,9 +37,15 @@ The Terraform Nutanix provider is designed to work with Nutanix Prism Central an > For the 1.4.0 & 1.4.1 release of the provider it will have N-2 compatibility with the Prism Central APIs. This release was tested against Prism Central versions pc2022.1 pc.2021.9.0.4 and pc.2021.8.0.1. -### Foundation +## Foundation > For the 1.5.0-beta release of the provider it will have N-1 compatibility with the Foundation. This release was tested against Foundation versions v5.2 and v5.1.1 +Foundation based examples : https://github.com/nutanix/terraform-provider-nutanix/blob/master/examples/foundation/ + +Foundation based modules & examples : https://github.com/nutanix/terraform-provider-nutanix/blob/master/modules/foundation/ + +**Note : Foundation feature in nutanix terraform provider is in beta mode** + ## Example Usage See the Examples folder for a handful of main.tf demos as well as some pre-compiled binaries. diff --git a/website/docs/index.html.markdown b/website/docs/index.html.markdown index 9d99c045f..1d690230b 100644 --- a/website/docs/index.html.markdown +++ b/website/docs/index.html.markdown @@ -79,4 +79,45 @@ provider "nutanix" { ## Notes ### Resource Timeouts -Currently, the only way to set a timeout is using the `wait_timeout` argument or `NUTANIX_WAIT_TIMEOUT` environment variable. This will set a timeout for all operations on all resources. This provider currently doesn't support specifying [operation timeouts](https://www.terraform.io/docs/language/resources/syntax.html#operation-timeouts). \ No newline at end of file +Currently, the only way to set a timeout is using the `wait_timeout` argument or `NUTANIX_WAIT_TIMEOUT` environment variable. This will set a timeout for all operations on all resources. This provider currently doesn't support specifying [operation timeouts](https://www.terraform.io/docs/language/resources/syntax.html#operation-timeouts). + +## Nutanix Foundation (>=v1.5.0-beta) + +Going from 1.5.0-beta release of nutanix provider, two more params are added to provider configuration to support foundation components : + +* `foundation_endpoint` - (Optional) This is the endpoint for foundation vm. This can also be specified with the `FOUNDATION_ENDPOINT` environment variable. +* `foundation_port` - (Optional) This is the port for foundation vm. This can also be specified with the `FOUNDATION_PORT` environment variable. Default is `8000`. + +```terraform +terraform { + required_providers { + nutanix = { + source = "nutanix/nutanix" + version = ">=1.5.0-beta" + } + } +} + +provider "nutanix" { + username = var.nutanix_username + password = var.nutanix_password + endpoint = var.nutanix_endpoint + port = var.nutanix_port + insecure = true + wait_timeout = 10 + foundation_endpoint = var.foundation_endpoint + foundation_port = var.foundation_port +} +``` +**Note : Foundation feature in nutanix provider is in beta mode** + +Foundation based examples : https://github.com/nutanix/terraform-provider-nutanix/blob/master/examples/foundation/ + +Foundation based modules & examples : https://github.com/nutanix/terraform-provider-nutanix/blob/master/modules/foundation/ + +## Provider configuration required details + +Going from 1.5.0-beta release of nutanix provider, fields inside provider configuration would be mandatory as per the usecase : + +* `Prism Central & Karbon` : For prism central and karbon related resources and data sources, `username`, `password` & `endpoint` are manadatory. +* `Foundation` : For foundation related resources and data sources, `foundation_endpoint` in manadatory.