f5devcentral / terraform-bigip-app-consul-sync-nia

This terraform module leverages consul-terraform-sync to create and update application services on BIG-IP based on registered services within Consul
MIT License
4 stars 7 forks source link

Error: posting as3 config failed for tenants:(consul-terraform-sync) with error: Tenant Creation failed with :[/consul-terraform-sync/placeHolderApp: should have required property 'template'] #9

Closed arielazem closed 3 years ago

arielazem commented 3 years ago

After troubleshooting found out that placeHolderApp JSON object didn't have the template property, which is required by AS3 F5Networks/f5-appsvcs-extension. https://github.com/F5Networks/f5-appsvcs-extension/blob/master/schema/3.10.0/as3-schema-3.10.0-5.json

Some of the templates available are https,http,tcp,udp,l4 and generic.

As placeHolderApp is an Application class object with an iRule, I found logic to use the generic template which worked for my Proof of Concept, I was able to get consul-terraform-sync to create the LTM VIP based on the Consul Services

arielazem commented 3 years ago

10

focrensh commented 3 years ago

This is due to AS3 version. The readme has 3.20 as minimum version.