Hello Team,
I was trying to run the examples but they do not work. For example:
###main.tf###
terraform {
required_providers {
mso = {
source = "CiscoDevNet/mso"
}
}
}
provider "mso" {
username = "admin"
password = "1234Qwer"
url = "https://192.168.241.120"
}
module "tenant" {
source = "netascode/nac-ndo/mso"
version = ">= 0.7.0"
yaml_files = ["ndo.yaml"]
manage_sites = true
manage_tenants = true
}
###ndo.yaml###
ndo:
sites:
- name: APIC1
id: 1
apic_urls:
- "https://192.168.241.121"
tenants:
- name: NDO1
sites:
- name: APIC1
This gives this error:
Error: invalid character '<' looking for beginning of value
│
│ with module.tenant.data.mso_user.tenant_user["admin"],
│ on .terraform/modules/tenant/ndo_tenants.tf line 15, in data "mso_user" "tenant_user":
│ 15: data "mso_user" "tenant_user" {
Please provide comprehensive example like the one we have for ACI.
Thanks.
Hello Team,
I was trying to run the examples but they do not work. For example:
###main.tf###
terraform {
required_providers {
mso = {
source = "CiscoDevNet/mso"
}
}
}
provider "mso" {
username = "admin"
password = "1234Qwer"
url = "https://192.168.241.120"
}
module "tenant" {
source = "netascode/nac-ndo/mso"
version = ">= 0.7.0"
yaml_files = ["ndo.yaml"]
manage_sites = true
manage_tenants = true
}
###ndo.yaml###
ndo:
sites:
- name: APIC1
id: 1
apic_urls:
- "https://192.168.241.121"
tenants:
- name: NDO1
sites:
- name: APIC1
This gives this error:
Error: invalid character '<' looking for beginning of value
│
│ with module.tenant.data.mso_user.tenant_user["admin"],
│ on .terraform/modules/tenant/ndo_tenants.tf line 15, in data "mso_user" "tenant_user":
│ 15: data "mso_user" "tenant_user" {
Please provide comprehensive example like the one we have for ACI.
Thanks.