いま結構中途半端って話
コンテナにsecretsがあって、それを別の場所から参照(ref)できる。 これはこれで良いんだけど、シークレットをKVに置くというAzureの基本ができない。 Issue見てると、案がいくつか出てる
- App Service のKV Refみたいのを書けるようにする
- Dapr のsecure storageを使えるようにする
| title |
|---|
Container AppsのAPI |
bicepのtypelibに入ってない件、alex に、「api specのPRがマージされたれたら、行けるようになる。ETA は12/1」と返事をもらった。
| // For format details, see https://aka.ms/devcontainer.json. For config options, see the README at: | |
| // https://github.com/microsoft/vscode-dev-containers/tree/v0.205.0/containers/dapr-dotnet | |
| { | |
| "name": "container-app-demo", | |
| "dockerFile": "Dockerfile", | |
| "build": { | |
| "args": { | |
| "VARIANT":"5.0", | |
| "INSTALL_AZURE_CLI": "true" | |
| } |
vnet にagwをdeployすると、what-ifに引っかかる
az deployment group what-if -g kinmugi-bicep01 -n deploy-18084242 \
-f vnet.test.json 2>&1
Note: The result may contain false positive predictions (noise).
You can help us improve the accuracy of the result by opening an issue here: https://aka.ms/WhatIfIssues.
Resource and property changes are indicated with these symbols:
- Delete| param vmPrefix string | |
| param location string | |
| param vmCount int | |
| module vm 'vm.bicep' = [for i in range(0, vmCount): { | |
| name: 'vm-${i}' | |
| params:{ | |
| name: '${vmPrefix}-${substring(uniqueString(resourceGroup().id), 0, 5)}-${i}' | |
| location: location | |
| vnetName:vnet.name |
| #!/bin/bash | |
| SUBSCRIPTION_ID=xxxxxxx | |
| RESOURCE_GROUP_NAME=xxxxxxx | |
| STATIC_SITE_NAME=xxxxxxx | |
| DOMAIN=xxxxxxx.azurestaticapps.net | |
| USER_DETAILS=xxxxxxx | |
| cat << EOJ > properties.json | |
| { |
| param vnet object | |
| param vmName string = 'linux-vm' | |
| param vmSize string = 'Standard_B1s' | |
| param adminUsername string = 'takekazu.omi' | |
| param adminPassword string { | |
| secure: true | |
| } | |
| param subnetName string = 'subnet1' | |
| param customData string = '' | |
| param location string = resourceGroup().location |
| #!/usr/bin/env bash | |
| ### | |
| # Add User with SSH KeyAuth | |
| # | |
| # set -x | |
| set -ue -o pipefail | |
| export LC_ALL=C |
| for c in wslfetch wslpath wslsys wslupath wslusc wslvar wslview | |
| do | |
| alias $c="PATH=$PATH:/mnt/c/windows/system32 $c" | |
| done | |
| alias open=wslview | |