0
1

More than 1 year has passed since last update.

Azure Functions の Python をバージョンアップしてみました

Posted at

概要

備忘録となります。Azure Functions の Linuxで使用されている Python のバージョンを 3.7 から 3.8 にバージョンアップしたときの手順です。

実行環境

macOS Monterey 12.3.1
Azure CLI 2.34.1
Azure Functions Core Tools 4.0.3971

現在の Python のバージョン

$ az functionapp config show -n <Function名> -g <リソースグループ名> --query 'linuxFxVersion' -o tsv
PYTHON|3.7

Python のバージョンアップ

az functionapp config set -n <Function名> -g <リソースグループ名> --linux-fx-version "Python|3.8"

確認

$ az functionapp config show -n <Function名> -g <リソースグループ名> --query 'linuxFxVersion' -o tsv
Python|3.8

無事、バージョンアップできました、、、

参考記事

以下の記事を参考にさせていただきました。
Azure Functions ランタイム バージョンをターゲットにする方法

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1