cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
936
Views
0
Helpful
0
Replies

Terraform export contract

Raphael Abreu
Level 1
Level 1

I am trying to export a contract for 1 tenant to common tenant.

however the contract is imported to common tenant but when I checked the contract dn is empty.

 

any suggestion ?

 

this is my code

the relation_vz_rs_if line is not being applied properly seems like.

 

resource "aci_imported_contract" "DC3_LAB_HashiCorp_EX_M5" {
tenant_dn = data.aci_tenant.common.id
name = "DC3_LAB_HashiCorp_EX_M5"
relation_vz_rs_if = aci_contract.DC3_LAB_HashiCorp_EX_M5.id
}

 

output

# aci_imported_contract.DC3_LAB_HashiCorp_EX_M5 will be created
+ resource "aci_imported_contract" "DC3_LAB_HashiCorp_EX_M5" {
+ annotation = "orchestrator:terraform"
+ description = (known after apply)
+ id = (known after apply)
+ name = "DC3_LAB_HashiCorp_EX_M5"
+ name_alias = (known after apply)
+ relation_vz_rs_if = "uni/tn-Tenant_HashiCorp/brc-DC3_LAB_HashiCorp_EX_M5"
+ tenant_dn = "uni/tn-common"
}

0 Replies 0

Save 25% on Day-2 Operations Add-On License