Skip to content

Commit

Permalink
Docs update
Browse files Browse the repository at this point in the history
  • Loading branch information
bhati-pradeep committed Mar 31, 2022
1 parent 70b430f commit ed1ea59
Show file tree
Hide file tree
Showing 3 changed files with 67 additions and 3 deletions.
19 changes: 18 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
43 changes: 42 additions & 1 deletion website/docs/index.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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).
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.

0 comments on commit ed1ea59

Please sign in to comment.