05-12-2023 11:37 AM
Hi,
Is it possible to prevent the message "This has been created from Orchestrator", and the "Terraform" icon from being displayed in ACI when configuring objects using Terraform? I have a scenario where I want to initially create most objects using Terraform but turn the deployment over to an end customer who will be using the UI to configure going forward.
Solved! Go to Solution.
05-13-2023 05:59 AM
You can set the annotation as an argument in the resources (just set it to ""). Here is an example for the tenant resource:
resource "aci_tenant" "example" {
name = "demo_tenant"
description = "from terraform"
annotation = ""
}
05-12-2023 11:58 AM
05-12-2023 12:11 PM
Thanks. I'm new to TF but I don't see that annotation in my TF files. Is it added automatically by TF? I'll keep looking around as I may have missed it.
05-13-2023 05:59 AM
You can set the annotation as an argument in the resources (just set it to ""). Here is an example for the tenant resource:
resource "aci_tenant" "example" {
name = "demo_tenant"
description = "from terraform"
annotation = ""
}
05-15-2023 07:08 AM
Thanks @Marcel Zehnder and tmagill@convergeone.com !
08-01-2023 05:54 AM
It doesn't work in my environment. Terraform v1.5.4, Provider aci v2.9.0 and Application Policy Infrastructure Controller Version: 5.2(4e)
08-01-2023 11:29 PM
Even if you provide an empty string as the annotation argument you see the icon? If yes, try to set the annotaion argument as "dummy" or some other string. Not sure if it works, but it's worth a try.
08-02-2023 05:49 AM
I've set annotation argument as "dummy" and I don't see the icon but if you save the object in xml I see annotation="dummy". If I change iafter apply annotation="" and make terraform plan the messages is
No changes. Your infrastructure matches the configuration.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide