Slide 5
Slide 5 text
© 2023 HASHICORP
5
Declarative
Define expected state of
infrastructure in configuration
files that you can version,
reuse, and share.
locals {
annotation = "orchestrator:terraform"
}
resource "aci_tenant" "dev" {
description = "This tenant is created by Terraform"
name = "${var.prefix}_tenant"
annotation = local.annotation
}
resource "aci_application_profile" "dev" {
tenant_dn = aci_tenant.dev.id
name = "${var.prefix}_ap"
annotation = local.annotation
}
resource "aci_vrf" "dev" {
tenant_dn = aci_tenant.dev.id
name = "${var.prefix}_vrf"
annotation = local.annotation
}
@joatmon08