File tree Expand file tree Collapse file tree
samples/web-app-custom-image/python Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,7 +28,8 @@ The solution is composed of the following Azure resources:
2828
2929- [ Azure Subscription] ( https://azure.microsoft.com/free/ )
3030- [ Azure CLI] ( https://learn.microsoft.com/en-us/cli/azure/install-azure-cli )
31- - [ Docker] ( https://docs.docker.com/get-docker/ ) udio.com/items?itemName=ms-azuretools.vscode-bicep), if you plan to install the sample via Bicep.
31+ - [ Docker] ( https://docs.docker.com/get-docker/ )
32+ - [ Bicep] ( https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-bicep ) , if you plan to install the sample via Bicep.
3233- [ Terraform] ( https://developer.hashicorp.com/terraform/downloads ) , if you plan to install the sample via Terraform.
3334- [ Azlocal CLI] ( https://azure.localstack.cloud/user-guides/sdks/az/ ) : LocalStack Azure CLI wrapper
3435- [ jq] ( https://jqlang.org/ ) : JSON processor for scripting and parsing command outputs
Original file line number Diff line number Diff line change @@ -168,8 +168,7 @@ if [[ $? != 0 ]]; then
168168 az identity create \
169169 --name " $MANAGED_IDENTITY_NAME " \
170170 --resource-group " $RESOURCE_GROUP_NAME " \
171- --location " $LOCATION " \
172- --subscription " $SUBSCRIPTION_ID " 1> /dev/null
171+ --location " $LOCATION " 1> /dev/null
173172
174173 if [[ $? == 0 ]]; then
175174 echo " [$MANAGED_IDENTITY_NAME ] user-assigned managed identity successfully created in the [$RESOURCE_GROUP_NAME ] resource group"
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ resource "azurerm_log_analytics_workspace" "example" {
44 resource_group_name = var. resource_group_name
55 sku = var. sku
66 tags = var. tags
7- retention_in_days = var. retention_in_days != " " ? var. retention_in_days : null
7+ retention_in_days = var. retention_in_days != null ? var. retention_in_days : null
88
99 lifecycle {
1010 ignore_changes = [
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ resource "azurerm_private_endpoint" "example" {
99 name = " ${ var . name } Connection"
1010 private_connection_resource_id = var. private_connection_resource_id
1111 is_manual_connection = var. is_manual_connection
12- subresource_names = try ( [var . subresource_name ], null )
12+ subresource_names = var . subresource_name != null ? [var . subresource_name ] : null
1313 request_message = try (var. request_message , null )
1414 }
1515
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ variable "subnet_id" {
2525
2626variable "is_manual_connection" {
2727 description = " (Optional) Specifies whether the Azure Private Endpoint connection requires manual approval from the remote resource owner."
28- type = string
28+ type = bool
2929 default = false
3030}
3131
You can’t perform that action at this time.
0 commit comments