-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New Modules #60
base: main
Are you sure you want to change the base?
New Modules #60
Conversation
modules/linux-web-app/README.md
Outdated
@@ -0,0 +1,32 @@ | |||
# Data Factory |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# Data Factory | |
# Linux Web App |
modules/linux-web-app/README.md
Outdated
environment = "dev" | ||
identifier = "mortgages" | ||
location = "uksouth" | ||
log_analytics_workspace_id = data.azurerm_log_analytics_workspace.main.id | ||
resource_group_name = module.resource_group.name | ||
service_plan_id = module.app_service_plan.id | ||
instrumentation_key = azurerm_application_insights.main.instrumentation_key | ||
zone = "mtg" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Convention is to keep the 5 standard vars together and then the rest below.
environment = "dev" | |
identifier = "mortgages" | |
location = "uksouth" | |
log_analytics_workspace_id = data.azurerm_log_analytics_workspace.main.id | |
resource_group_name = module.resource_group.name | |
service_plan_id = module.app_service_plan.id | |
instrumentation_key = azurerm_application_insights.main.instrumentation_key | |
zone = "mtg" | |
environment = "dev" | |
identifier = "mortgages" | |
location = "uksouth" | |
resource_group_name = module.resource_group.name | |
zone = "mtg" | |
service_plan_id = module.app_service_plan.id | |
instrumentation_key = azurerm_application_insights.main.instrumentation_key | |
log_analytics_workspace_id = data.azurerm_log_analytics_workspace.main.id |
modules/linux-web-app/src/main.tf
Outdated
name = "log-analytics" | ||
target_resource_id = azurerm_linux_web_app.main.id | ||
log_analytics_workspace_id = var.log_analytics_workspace_id | ||
log_analytics_destination_type = "AzureDiagnostics" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This causes TF to flap.
log_analytics_destination_type = "AzureDiagnostics" |
modules/cosmosdb-account/README.md
Outdated
@@ -0,0 +1,29 @@ | |||
# Data Factory |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# Data Factory | |
# CosmosDB Account |
modules/service-plan/README.md
Outdated
environment = "dev" | ||
identifier = "mortgages" | ||
location = "uksouth" | ||
os_type = "Linux" | ||
resource_group_name = module.resource_group.name | ||
sku_name = "P0v3" | ||
zone = "mtg" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
environment = "dev" | |
identifier = "mortgages" | |
location = "uksouth" | |
os_type = "Linux" | |
resource_group_name = module.resource_group.name | |
sku_name = "P0v3" | |
zone = "mtg" | |
environment = "dev" | |
identifier = "mortgages" | |
location = "uksouth" | |
resource_group_name = module.resource_group.name | |
zone = "mtg" | |
os_type = "Linux" | |
sku_name = "P0v3" |
modules/service-plan/README.md
Outdated
|
||
```hcl | ||
module "service_plan" { | ||
source = "https://github.com/gofrontier-com/azurerm-terraform-modules/releases/download/app-service-plan/[VERSION]/module.tar.gz//src" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
source = "https://github.com/gofrontier-com/azurerm-terraform-modules/releases/download/app-service-plan/[VERSION]/module.tar.gz//src" | |
source = "https://github.com/gofrontier-com/azurerm-terraform-modules/releases/download/service-plan/[VERSION]/module.tar.gz//src" |
modules/service-plan/test/main.tf
Outdated
features {} | ||
} | ||
|
||
module "app_service_plan" { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
module "app_service_plan" { | |
module "service_plan" { |
modules/service-plan/test/main.tf
Outdated
environment = "bar" | ||
identifier = "baz" | ||
location = "uksouth" | ||
os_type = "boo" | ||
resource_group_name = "bar" | ||
sku_name = "far" | ||
zone = "bat" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
environment = "bar" | |
identifier = "baz" | |
location = "uksouth" | |
os_type = "boo" | |
resource_group_name = "bar" | |
sku_name = "far" | |
zone = "bat" | |
environment = "bar" | |
identifier = "baz" | |
location = "uksouth" | |
resource_group_name = "bar" | |
zone = "bat" | |
os_type = "boo" | |
sku_name = "far" |
Co-authored-by: Fraser Davidson <[email protected]>
No description provided.