-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from iquzart/development
restructure
- Loading branch information
Showing
5 changed files
with
136 additions
and
87 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,13 @@ | ||
# Azure App service Plan | ||
# Azure App service | ||
|
||
output "app_service_name" { | ||
description = "Name of the App Service" | ||
value = azurerm_app_service.app.name | ||
} | ||
|
||
output "app_service_default_site_hostname" { | ||
description = "The Default Hostname associated with the App Service" | ||
value = azurerm_app_service.app.default_site_hostname | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,54 +1,48 @@ | ||
# Azure App service Plan | ||
# Azure App service | ||
|
||
variable "resource_group_name" { | ||
description = "App service resource group name" | ||
description = "(Required) The name of the resource group in which to create the App Service" | ||
type = string | ||
default = "" | ||
} | ||
|
||
variable "location" { | ||
description = "App service location" | ||
description = "(Required) Specifies the supported Azure location where the resource exists" | ||
type = string | ||
default = "" | ||
} | ||
|
||
variable "app_name" { | ||
description = "App service name" | ||
description = "(Required) Specifies the name of the App Service" | ||
type = string | ||
default = "" | ||
} | ||
|
||
variable "app_service_plan_id" { | ||
description = "App service plan id" | ||
description = "(Required) Specifies the name of the App Service plan" | ||
type = string | ||
default = "" | ||
} | ||
|
||
variable "container_type" { | ||
description = "Type of container. The options are: `docker`, `compose` or `kube`." | ||
type = string | ||
default = "" | ||
} | ||
|
||
variable "container_image" { | ||
description = "Container image name. Example: diquzart/flaskapp" | ||
type = string | ||
default = "" | ||
variable "tags" { | ||
description = "(Optional) A mapping of default tags to assign to the resource" | ||
type = map(string) | ||
} | ||
|
||
variable "container_image_tag" { | ||
description = "Container image tag" | ||
type = string | ||
default = "" | ||
variable "app_settings" { | ||
description = "(Optional) A key-value pair of App Settings" | ||
type = map(string) | ||
default = {} | ||
} | ||
|
||
variable "container_image_registry" { | ||
description = "Container image registry" | ||
type = string | ||
default = "https://index.docker.io" | ||
variable "site_config" { | ||
description = "(Optional) A site_config block." | ||
type = any | ||
default = {} | ||
} | ||
|
||
variable "tags" { | ||
description = "A mapping of tags to assign to the resource" | ||
type = map(string) | ||
variable "connection_string" { | ||
description = "(Optional) One or more connection_string" | ||
type = list(map(string)) | ||
default = [] | ||
} |