Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/libre-devops/terraform-azurerm-service-plan

A module used to deploy a service plan in Azure :fire:. This is the new edition of App service plans added in the version 3.0 provider
https://github.com/libre-devops/terraform-azurerm-service-plan

azure azurerm azurerm-terraform-provider module terraform terraform-module

Last synced: 7 days ago
JSON representation

A module used to deploy a service plan in Azure :fire:. This is the new edition of App service plans added in the version 3.0 provider

Awesome Lists containing this project

README

        

```hcl
module "plan" {
source = "registry.terraform.io/libre-devops/service-plan/azurerm"

rg_name = module.rg.rg_name
location = module.rg.rg_location
tags = module.rg.rg_tags

app_service_plan_name = "plan-${var.short}-${var.loc}-${terraform.workspace}-01"
add_to_app_service_environment = false

os_type = "Linux"
sku_name = "Y1"
}
```

## Requirements

No requirements.

## Providers

| Name | Version |
|------|---------|
| [azurerm](#provider\_azurerm) | n/a |

## Modules

No modules.

## Resources

| Name | Type |
|------|------|
| [azurerm_service_plan.plan](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/service_plan) | resource |

## Inputs

| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| [add\_to\_app\_service\_environment](#input\_add\_to\_app\_service\_environment) | Whether or not this app service plan should be added to an app service environment | `bool` | `false` | no |
| [app\_service\_environment\_id](#input\_app\_service\_environment\_id) | If an ASE is used, supply the ID to it here | `string` | `""` | no |
| [app\_service\_plan\_name](#input\_app\_service\_plan\_name) | The name for the App service plan | `string` | n/a | yes |
| [location](#input\_location) | Azure location. | `string` | n/a | yes |
| [maximum\_elastic\_worker\_count](#input\_maximum\_elastic\_worker\_count) | If ElasticScaleEnabled app service plan is used, the max number of nodes | `number` | `null` | no |
| [os\_type](#input\_os\_type) | The OS type of the app service plan | `string` | n/a | yes |
| [per\_site\_scaling](#input\_per\_site\_scaling) | Should per site scaling be used? | `bool` | `false` | no |
| [rg\_name](#input\_rg\_name) | Resource group name | `string` | n/a | yes |
| [sku\_name](#input\_sku\_name) | A new SKU name | `map(string)` | n/a | yes |
| [tags](#input\_tags) | A map of the tags to use on the resources that are deployed with this module. | `map(string)` |

{
"source": "terraform"
}
| no |
| [zone\_balancing\_enabled](#input\_zone\_balancing\_enabled) | Should the ASP be zone redundant? | `bool` | `false` | no |

## Outputs

| Name | Description |
|------|-------------|
| [service\_plan\_id](#output\_service\_plan\_id) | Id of the created App Service Plan |
| [service\_plan\_is\_reserved](#output\_service\_plan\_is\_reserved) | If the instance is reserved |
| [service\_plan\_kind](#output\_service\_plan\_kind) | The kind of the plan |
| [service\_plan\_location](#output\_service\_plan\_location) | Azure location of the created App Service Plan |
| [service\_plan\_name](#output\_service\_plan\_name) | Name of the created App Service Plan |