webster5361 / sapient

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sapient Interview Problem/Solution

Special note: Per https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/app_service the terraform docs. The resource type azurerm_app_service is deprecated and beginning in version 4.0 of azurerm provider we should use azurerm_linux_web_app or azurerm_windows_web_app moving forward.

TODO: Fix deprecation issue and move to a more up to date resource type.

Documentation:

If you need to update the terraform docs, you will need to ensure terraform-docs are installed. You can view those instructions here: https://github.com/terraform-docs/terraform-docs

The command you will want to use is:

terraform-docs markdown table --output-file README.md --output-mode inject .

Requirements

Name Version
azurerm =3.0.0

Providers

Name Version
azurerm =3.0.0

Modules

No modules.

Resources

Name Type
azurerm_app_service.app resource

Inputs

Name Description Type Default Required
n_instances_to_provision The number of instances to provision for horizontal scaling. string n/a yes

Outputs

Name Description
hostname The default hostname of the web app.
name The name of the web app.
plan App Service plan properties for the web app.

About

License:MIT License


Languages

Language:HCL 100.0%