Forum Discussion
RavinderSingh13
Altocumulus
Nov 10, 2025Terraform AS3 code for GTM Only.
Hello All, I am really really suffering here :( Have been looking for GTM ONLY code in AS3 form, need a simple code hardcoded values will also work. I have seen documentation and couldn't see e...
Jeff_Granieri
Employee
Nov 14, 2025Hi RavinderSingh13 ,
There are many example AS3 code snippets AS3 GTM Here are some simple GTM AS3 snippets you can play with:
{
"class": "AS3",
"declaration": {
"class": "ADC",
"schemaVersion": "3.40.0",
"id": "gtm-minimal",
"tenant": {
"class": "Tenant",
"Common": {
"class": "Application",
"dns_listener": {
"class": "DNS_Listener",
"address": "0.0.0.0",
"port": 53
},
"dc1": { "class": "GTM_DataCenter" },
"server1": {
"class": "GTM_Server",
"dataCenter": "dc1",
"devices": [{ "address": "10.1.1.1" }],
"virtualServers": [
{ "name": "vs1", "address": "203.0.113.10", "port": 80 }
]
},
"pool1": {
"class": "GTM_Pool",
"members": [
{ "server": "server1", "virtualServer": "vs1" }
]
},
"app_com": {
"class": "GTM_WideIP",
"domainName": "app.example.com",
"pools": [{ "use": "pool1" }]
}
}
}
}
}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects