In this project you can build infrastructure of the WeightTracker application but instead of doing it manually we are going to use Terraform to automate this process.
- Create Image using the guide : https://github.com/idanhoro/bootcamp-app
- Clone this project.
- Create
tfvars file
using the input table below. - run
terraform apply
Name | Version |
---|---|
terraform | >= 1.2.0 |
azurerm | ~> 3.0.2 |
Name | Version |
---|---|
azurerm | 3.0.2 |
Name | Source | Version |
---|---|---|
app_scale_set | ../modules/scale_set_module | n/a |
Name | Description | Type | Default | Required |
---|---|---|---|---|
admin_password | The password of the instances | string |
n/a | yes |
admin_user | The username of the instances | string |
n/a | yes |
allowed_ip_address | The ip/s are allowed to connect with ssh to the web application servers | string |
n/a | yes |
image_gallery_name | The images's gallery name | string |
n/a | yes |
image_name | The image's name | string |
n/a | yes |
image_resource_group_name | The name of the resource group associated with the image | string |
n/a | yes |
image_version_name | String represent the image version | string |
n/a | yes |
instance_count | Number of instances to create using the scale set | number |
n/a | yes |
postgres_password | Password of the postgresql database | string |
n/a | yes |
postgres_sku_model | Model of virtual machine for the database | string |
n/a | yes |
postgres_username | Username of the postgresql database | string |
n/a | yes |
private_subnet_address_space | The private subnet address space X.X.X.X - X.X.X.X | string |
n/a | yes |
public_key | The public key used to encrypt and decrypt messages in network | string |
n/a | yes |
public_subnet_address_space | The public subnet address space X.X.X.X - X.X.X.X | string |
n/a | yes |
resource_group_location | The resource group service location | string |
n/a | yes |
resource_group_name | The resource group name | string |
n/a | yes |
scale_set_sku_model | Model of virtual machine for the scale set instances | string |
n/a | yes |
virtual_network_address_space | The virtual network address space X.X.X.X - X.X.X.X | string |
n/a | yes |
web_app_name | The web appliction name | string |
n/a | yes |
Name | Description |
---|---|
scale_set_password | Create VM password available for output. |