Skip to content
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

documentation for the resource group to use for the azurerm_app_service_certificate #23908

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions examples/api-management/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,17 @@ output "service_public_ip_addresses" {
output "api_outputs" {
description = "The IDs, state, and version outputs of the APIs created"
value = {
id = azurerm_api_management_api.api.id
is_current = azurerm_api_management_api.api.is_current
is_online = azurerm_api_management_api.api.is_online
version = azurerm_api_management_api.api.version
version_set_id = azurerm_api_management_api.api.version_set_id
}
id = azurerm_api_management_api.api.id
is_current = azurerm_api_management_api.api.is_current
is_online = azurerm_api_management_api.api.is_online
version = azurerm_api_management_api.api.version
version_set_id = azurerm_api_management_api.api.version_set_id
}
}

output "product_ids" {
description = "The ID of the Product created"
value = azurerm_api_management_product.product.id
value = azurerm_api_management_product.product.id
}

output "product_api_ids" {
Expand Down
4 changes: 2 additions & 2 deletions examples/api-management/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ variable "location" {
}

variable "open_api_spec_content_format" {
description = "The format of the content from which the API Definition should be imported. Possible values are: openapi, openapi+json, openapi+json-link, openapi-link, swagger-json, swagger-link-json, wadl-link-json, wadl-xml, wsdl and wsdl-link."
description = "The format of the content from which the API Definition should be imported. Possible values are: openapi, openapi+json, openapi+json-link, openapi-link, swagger-json, swagger-link-json, wadl-link-json, wadl-xml, wsdl and wsdl-link."
}

variable "open_api_spec_content_value" {
description = "The Content from which the API Definition should be imported. When a content_format of *-link-* is specified this must be a URL, otherwise this must be defined inline."
description = "The Content from which the API Definition should be imported. When a content_format of *-link-* is specified this must be a URL, otherwise this must be defined inline."
}
30 changes: 15 additions & 15 deletions examples/automation-account/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ provider "azurerm" {

resource "azurerm_resource_group" "example" {
name = "${var.prefix}-resources"
location = "${var.location}"
location = var.location
}

resource "azurerm_automation_account" "example" {
name = "${var.prefix}-autoacc"
location = "${azurerm_resource_group.example.location}"
resource_group_name = "${azurerm_resource_group.example.name}"
location = azurerm_resource_group.example.location
resource_group_name = azurerm_resource_group.example.name

sku {
name = "Basic"
Expand All @@ -22,9 +22,9 @@ resource "azurerm_automation_account" "example" {

resource "azurerm_automation_runbook" "example" {
name = "Get-AzureVMTutorial"
location = "${azurerm_resource_group.example.location}"
resource_group_name = "${azurerm_resource_group.example.name}"
account_name = "${azurerm_automation_account.example.name}"
location = azurerm_resource_group.example.location
resource_group_name = azurerm_resource_group.example.name
account_name = azurerm_automation_account.example.name
log_verbose = "true"
log_progress = "true"
description = "This is an example runbook"
Expand All @@ -37,27 +37,27 @@ resource "azurerm_automation_runbook" "example" {

resource "azurerm_automation_schedule" "one-time" {
name = "${var.prefix}-one-time"
resource_group_name = "${azurerm_resource_group.example.name}"
automation_account_name = "${azurerm_automation_account.example.name}"
resource_group_name = azurerm_resource_group.example.name
automation_account_name = azurerm_automation_account.example.name
frequency = "OneTime"

// The start_time defaults to now + 7 min
}

resource "azurerm_automation_schedule" "hour" {
name = "${var.prefix}-hour"
resource_group_name = "${azurerm_resource_group.example.name}"
automation_account_name = "${azurerm_automation_account.example.name}"
resource_group_name = azurerm_resource_group.example.name
automation_account_name = azurerm_automation_account.example.name
frequency = "Hour"
interval = 2

// Timezone defaults to UTC
}

// Schedules the example runbook to run on the hour schedule
// Schedules the example runbook to run on the hour schedule
resource "azurerm_automation_job_schedule" "example" {
resource_group_name = "${azurerm_resource_group.example.name}"
automation_account_name = "${azurerm_automation_account.example.name}"
runbook_name = "${azurerm_automation_runbook.example.name}"
schedule_name = "${azurerm_automation_schedule.hour.name}"
resource_group_name = azurerm_resource_group.example.name
automation_account_name = azurerm_automation_account.example.name
runbook_name = azurerm_automation_runbook.example.name
schedule_name = azurerm_automation_schedule.hour.name
}
4 changes: 2 additions & 2 deletions examples/automation-account/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
# SPDX-License-Identifier: MPL-2.0

output "automation_schedule_start_time" {
value = "${azurerm_automation_schedule.one-time.start_time}"
value = azurerm_automation_schedule.one-time.start_time
}

output "automation_schedule_week_interval" {
value = "${azurerm_automation_schedule.hour.interval}"
value = azurerm_automation_schedule.hour.interval
}
Original file line number Diff line number Diff line change
Expand Up @@ -214,11 +214,11 @@ resource "azurerm_cdn_frontdoor_rule" "example" {
}

resource "azurerm_cdn_frontdoor_route" "example" {
name = "${var.prefix}-route"
cdn_frontdoor_endpoint_id = azurerm_cdn_frontdoor_endpoint.example.id
cdn_frontdoor_origin_group_id = azurerm_cdn_frontdoor_origin_group.example.id
cdn_frontdoor_origin_ids = [azurerm_cdn_frontdoor_origin.example.id]
enabled = true
name = "${var.prefix}-route"
cdn_frontdoor_endpoint_id = azurerm_cdn_frontdoor_endpoint.example.id
cdn_frontdoor_origin_group_id = azurerm_cdn_frontdoor_origin_group.example.id
cdn_frontdoor_origin_ids = [azurerm_cdn_frontdoor_origin.example.id]
enabled = true

forwarding_protocol = "MatchRequest"
https_redirect_enabled = true
Expand Down
16 changes: 8 additions & 8 deletions examples/cdn/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,29 +7,29 @@ provider "azurerm" {

resource "azurerm_resource_group" "example" {
name = "${var.prefix}-resources"
location = "${var.location}"
location = var.location
}

resource "azurerm_storage_account" "stor" {
name = "${var.prefix}stor"
location = "${azurerm_resource_group.example.location}"
resource_group_name = "${azurerm_resource_group.example.name}"
location = azurerm_resource_group.example.location
resource_group_name = azurerm_resource_group.example.name
account_tier = "Standard"
account_replication_type = "LRS"
}

resource "azurerm_cdn_profile" "example" {
name = "${var.prefix}-cdn"
location = "${azurerm_resource_group.example.location}"
resource_group_name = "${azurerm_resource_group.example.name}"
location = azurerm_resource_group.example.location
resource_group_name = azurerm_resource_group.example.name
sku = "Standard_Akamai"
}

resource "azurerm_cdn_endpoint" "example" {
name = "${var.prefix}-cdn"
profile_name = "${azurerm_cdn_profile.example.name}"
location = "${azurerm_resource_group.example.location}"
resource_group_name = "${azurerm_resource_group.example.name}"
profile_name = azurerm_cdn_profile.example.name
location = azurerm_resource_group.example.location
resource_group_name = azurerm_resource_group.example.name

origin {
name = "${var.prefix}origin1"
Expand Down
26 changes: 13 additions & 13 deletions examples/confidential-ledger/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,18 @@ data "azurerm_client_config" "current" {
}

resource "azurerm_confidential_ledger" "example" {
name = "example-ledger"
ledger_type = "Public"
location = azurerm_resource_group.example.location
resource_group_name = azurerm_resource_group.example.name
name = "example-ledger"
ledger_type = "Public"
location = azurerm_resource_group.example.location
resource_group_name = azurerm_resource_group.example.name

aad_based_security_principals {
principal_id = data.azurerm_client_config.current.object_id
tenant_id = data.azurerm_client_config.current.tenant_id
ledger_role_name = "Administrator"
}
aad_based_security_principals {
principal_id = data.azurerm_client_config.current.object_id
tenant_id = data.azurerm_client_config.current.tenant_id
ledger_role_name = "Administrator"
}

tags = {
IsExample = "True"
}
}
tags = {
IsExample = "True"
}
}
6 changes: 3 additions & 3 deletions examples/container-registry/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ provider "azurerm" {

resource "azurerm_resource_group" "example" {
name = "${var.prefix}-resources"
location = "${var.location}"
location = var.location
}

resource "azurerm_container_registry" "example" {
name = "${var.prefix}registry"
resource_group_name = "${azurerm_resource_group.example.name}"
location = "${azurerm_resource_group.example.location}"
resource_group_name = azurerm_resource_group.example.name
location = azurerm_resource_group.example.location
sku = "Standard"
}
2 changes: 1 addition & 1 deletion examples/container-registry/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
# SPDX-License-Identifier: MPL-2.0

output "login_server" {
value = "${azurerm_container_registry.example.login_server}"
value = azurerm_container_registry.example.login_server
}
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@ resource "azurerm_key_vault_access_policy" "terraform" {
}

resource "azurerm_key_vault_access_policy" "managed" {
key_vault_id = azurerm_key_vault.example.id
tenant_id = azurerm_key_vault.example.tenant_id
object_id = "See the README.md file for instructions on how to lookup the correct value to enter here"
key_vault_id = azurerm_key_vault.example.id
tenant_id = azurerm_key_vault.example.tenant_id
object_id = "See the README.md file for instructions on how to lookup the correct value to enter here"

key_permissions = [
"get",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ resource "azurerm_subnet" "public" {

service_delegation {
actions = [
"Microsoft.Network/virtualNetworks/subnets/join/action",
"Microsoft.Network/virtualNetworks/subnets/prepareNetworkPolicies/action",
"Microsoft.Network/virtualNetworks/subnets/unprepareNetworkPolicies/action",
]
"Microsoft.Network/virtualNetworks/subnets/join/action",
"Microsoft.Network/virtualNetworks/subnets/prepareNetworkPolicies/action",
"Microsoft.Network/virtualNetworks/subnets/unprepareNetworkPolicies/action",
]
name = "Microsoft.Databricks/workspaces"
}
}
Expand All @@ -48,10 +48,10 @@ resource "azurerm_subnet" "private" {

service_delegation {
actions = [
"Microsoft.Network/virtualNetworks/subnets/join/action",
"Microsoft.Network/virtualNetworks/subnets/prepareNetworkPolicies/action",
"Microsoft.Network/virtualNetworks/subnets/unprepareNetworkPolicies/action",
]
"Microsoft.Network/virtualNetworks/subnets/join/action",
"Microsoft.Network/virtualNetworks/subnets/prepareNetworkPolicies/action",
"Microsoft.Network/virtualNetworks/subnets/unprepareNetworkPolicies/action",
]
name = "Microsoft.Databricks/workspaces"
}
}
Expand Down Expand Up @@ -123,8 +123,8 @@ resource "azurerm_lb" "example" {
}

resource "azurerm_lb_outbound_rule" "example" {
name = "Databricks-LB-Outbound-Rules"
resource_group_name = azurerm_resource_group.example.name
name = "Databricks-LB-Outbound-Rules"
resource_group_name = azurerm_resource_group.example.name

loadbalancer_id = azurerm_lb.example.id
protocol = "All"
Expand All @@ -140,6 +140,6 @@ resource "azurerm_lb_outbound_rule" "example" {
}

resource "azurerm_lb_backend_address_pool" "example" {
loadbalancer_id = azurerm_lb.example.id
name = "Databricks-BE"
loadbalancer_id = azurerm_lb.example.id
name = "Databricks-BE"
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ resource "azurerm_subnet" "public" {

service_delegation {
actions = [
"Microsoft.Network/virtualNetworks/subnets/join/action",
"Microsoft.Network/virtualNetworks/subnets/prepareNetworkPolicies/action",
"Microsoft.Network/virtualNetworks/subnets/unprepareNetworkPolicies/action",
]
"Microsoft.Network/virtualNetworks/subnets/join/action",
"Microsoft.Network/virtualNetworks/subnets/prepareNetworkPolicies/action",
"Microsoft.Network/virtualNetworks/subnets/unprepareNetworkPolicies/action",
]
name = "Microsoft.Databricks/workspaces"
}
}
Expand All @@ -48,10 +48,10 @@ resource "azurerm_subnet" "private" {

service_delegation {
actions = [
"Microsoft.Network/virtualNetworks/subnets/join/action",
"Microsoft.Network/virtualNetworks/subnets/prepareNetworkPolicies/action",
"Microsoft.Network/virtualNetworks/subnets/unprepareNetworkPolicies/action",
]
"Microsoft.Network/virtualNetworks/subnets/join/action",
"Microsoft.Network/virtualNetworks/subnets/prepareNetworkPolicies/action",
"Microsoft.Network/virtualNetworks/subnets/unprepareNetworkPolicies/action",
]
name = "Microsoft.Databricks/workspaces"
}
}
Expand Down
20 changes: 10 additions & 10 deletions examples/datalake/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,36 +7,36 @@ provider "azurerm" {

resource "azurerm_resource_group" "example" {
name = "${var.prefix}-resources"
location = "${var.location}"
location = var.location
}

resource "azurerm_data_lake_store" "example" {
name = "${var.prefix}-dls"
resource_group_name = "${azurerm_resource_group.example.name}"
location = "${azurerm_resource_group.example.location}"
resource_group_name = azurerm_resource_group.example.name
location = azurerm_resource_group.example.location
tier = "Consumption"
}

resource "azurerm_data_lake_store_firewall_rule" "test" {
name = "${var.prefix}-dls-fwrule"
account_name = "${azurerm_data_lake_store.example.name}"
resource_group_name = "${azurerm_resource_group.example.name}"
account_name = azurerm_data_lake_store.example.name
resource_group_name = azurerm_resource_group.example.name
start_ip_address = "0.0.0.0"
end_ip_address = "0.0.0.0"
}

resource "azurerm_data_lake_analytics_account" "example" {
name = "${var.prefix}-dla"
resource_group_name = "${azurerm_resource_group.example.name}"
location = "${azurerm_resource_group.example.location}"
resource_group_name = azurerm_resource_group.example.name
location = azurerm_resource_group.example.location
tier = "Consumption"
default_store_account_name = "${azurerm_data_lake_store.example.name}"
default_store_account_name = azurerm_data_lake_store.example.name
}

resource "azurerm_data_lake_analytics_firewall_rule" "test" {
name = "${var.prefix}-dlafwrule"
account_name = "${azurerm_data_lake_analytics_account.example.name}"
resource_group_name = "${azurerm_resource_group.example.name}"
account_name = azurerm_data_lake_analytics_account.example.name
resource_group_name = azurerm_resource_group.example.name
start_ip_address = "0.0.0.0"
end_ip_address = "0.0.0.0"
}
Loading