This update introduces the container-instances module, enabling the creation of Azure Container Instances. With this module, you can set up a container group that consist of one or multiple containers.
While the module is designed to be used with DNS, it also supports configurations without DNS.
The included example deploys the ad hoc hello-world image from mcr.microsoft.com, which does not require any credentials. You can also deploy images from other registries by providing the necessary credentials through input variables.
PR instructions
cd examples/azure/container_instances
terraform init
Work in your own workspace: terraform workspace new <YOUR_NAME> (you know the drill, common practice is to have first letter of your first name and 2 letters of your last name).
You should be on your new workspace now (you can check with terraform workspace list)
terraform apply
After the process is successfully finished, you will have an IP as an output. Paste it in your favorite browser (http://<output_IP>)
You should see the container running!
The steps of acceptance
✔ I executed the PR instructions and everything worked.
✔ I checked the requirements for the ticket, and they are matching the PR.
✔ I am satisfied with the code and left annotations if I had some ideas.
Context
This update introduces the container-instances module, enabling the creation of Azure Container Instances. With this module, you can set up a container group that consist of one or multiple containers.
While the module is designed to be used with DNS, it also supports configurations without DNS.
The included example deploys the ad hoc hello-world image from
mcr.microsoft.com
, which does not require any credentials. You can also deploy images from other registries by providing the necessary credentials through input variables.PR instructions
cd examples/azure/container_instances
terraform init
terraform workspace new <YOUR_NAME>
(you know the drill, common practice is to have first letter of your first name and 2 letters of your last name).terraform workspace list
)terraform apply
http://<output_IP>
)The steps of acceptance
✔ I executed the PR instructions and everything worked.
✔ I checked the requirements for the ticket, and they are matching the PR.
✔ I am satisfied with the code and left annotations if I had some ideas.