This PoV features explores the power of terraform in simplyfying the process of POAP(Power-on Auto Provisioning) in Nexus Dashboard Fabric Controller
- Hye young Kim
- Nexus Dashboard Fabric Controller
- Terraform
This is as a template, project owner to update
Add any steps needed to install the project so that someone can reproduce the project
-
Fill in the ndfc settings in main.tf.
data "http" "example" { url = "" request_headers = { Accept = "application/json" X-Nd-Username = "" X-Nd-Apikey = "" } insecure = true method = "GET" } provider "dcnm" { username = "" password = "" url = "" insecure = true platform = "nd" }
-
Initialize Terraform. The init command performs several different initialization steps in order to prepare the current working directory for use with Terraform.
terraform init
-
(Optional) Create a Terraform execution plan. The terraform plan command creates an execution plan, which lets you preview the changes that Terraform plans to make to your infrastructure.
terraform plan
-
Apply the terraform changes. The terraform apply command executes the actions proposed in the Terraform plan. When running the command below, an execution plan is created as part of the process. Approve the plan when prompted.
terraform apply
Provided under Cisco Sample Code License, for details see LICENSE
Our code of conduct is available here
See our contributing guidelines here
Please note: This script is meant for demo purposes only. All tools/ scripts in this repo are released for use "AS IS" without any warranties of any kind, including, but not limited to their installation, use, or performance. Any use of these scripts and tools is at your own risk. There is no guarantee that they have been through thorough testing in a comparable environment and we are not responsible for any damage or data loss incurred with their use. You are responsible for reviewing and testing any scripts you run thoroughly before use in any non-testing environment.