Argument reference the following arguments are supported.
Web app for containers terraform.
A few months back i noticed that web apps had a new option for using docker containers so about a week ago i decided to see if i could create an azure web app for containers using terraform.
It has never been easier to deploy container based web apps.
First create a folder for our terraform files.
Java container optional the java container to use.
If specified java container and java container version must also be specified.
Example usage docker single container.
The name of an existing resource group to use for the web app.
But if you want to use azure web apps as your container host the terraform documentation is missing dedicated configuration details for containers on app services.
Contribute to drupalwxt terraform containers webapp azure development by creating an account on github.
Possible values are 1 7 1 8 and 11 and their specific versions except for java 11 e g.
Location required specifies the supported azure location where the resource exists.
Now that our application and docker images are ready let s prepare the terraform infrastructure for app service and mysql database.
Setup and run web app on terraform using docker.
For other ways of deploying a jhipster web app to azure check this out.
Deploy to azure in seconds.
Web app for containers azure app service create web app for containers azure app service.
Luckily i found some further information about that in several github issues so it is time to bring all the details together.
If specified java version and java container version must also be specified.
Changing this forces a new resource to be created.
The name of the web app.
Name required specifies the name of the app service slot component.
It turns out this is already possible but it took some fiddling to figure out what i needed to set up in terraform.
Resources using terraform to get the containers running.
You can also push to azure container registry instead of docker hub if you like.
Terraform for azure app service for containers.
Java version optional the version of java to use.