Create VM on vSphere and network on ACI (using Terraform and Jenkins)

Introduction Terraform files provider “aci” { username = var.apic_username password = var.apic_password url = var.apic_server insecure = true } data “aci_tenant” “Tenant_Common” { name=”common” } data “aci_l3_outside” “l3_out” { tenant_dn = data.aci_tenant.Tenant_Common.id name = “labinfra-l3out-ro” } data “aci_contract” “ctr_internet” { tenant_dn = data.aci_tenant.Tenant_Common.id name = “ctr-extnet” } resource “aci_tenant” “Tenant_TF” { name = var.aci_tenant description = “Tenant created… Read More »

Create VM on vSphere and network on ACI (using Terraform and Gitlab)

Introduction Terraform files provider “aci” { username = var.apic_username password = var.apic_password url = var.apic_server insecure = true } data “aci_tenant” “Tenant_Common” { name=”common” } data “aci_l3_outside” “l3_out” { tenant_dn = data.aci_tenant.Tenant_Common.id name = “labinfra-l3out-ro” } data “aci_contract” “ctr_internet” { tenant_dn = data.aci_tenant.Tenant_Common.id name = “ctr-extnet” } resource “aci_tenant” “Tenant_TF” { name = var.aci_tenant description = “Tenant created… Read More »

Create VM on vSphere with Terraform

Introduction In this post and this post, we created respectively some EC2 instances on AWS and some network contructs on Cisco’s ACI solution. We will apply the same principle but instead of creating some servers on AWS, we will create some servers on vSphere. Terraform code We will create a main.tf file which contains the entire configuration. It’s… Read More »

Configure ACI with Terraform and Gitlab CI/CD

Introduction As promised, we’ll configure an ACI network using a CI/CD pipeline. If you understood this post, you’ll easily grasp this one as well. In the end, whether you configure an ACI resource or an ACI resource with Gitlab, the same principles apply. So we’ll run fast over this one. In this blog post, we will be using… Read More »

Configure ACI with Terraform

Introduction In this post, we created some EC2 instances on AWS. In this post, we will apply the same principle but instead of creating some servers on AWS, we will create a network on Cisco’s ACI solution using Terraform’s ACI provider. If you want to learn more on ACI, read this and this. Terraform code We will create… Read More »