Reputation: 3274
I'm trying to deploy to Azure with circleci and a config.yml
file using azuresdk/azure-cli-python
from Docker Hub.
I can log to Azure, set my subscription but then the followng line fails without much info.
#!/bin/bash -eo pipefail
az group deployment create -g Preproduction --template-file FactureResourceGroup.json --parameters FactureParametersPreproduction.json --parameters oAuthSecret=$OAUTH_SECRET
malformed node or string: <_ast.Name object at 0x7f2e08b6ef28>
Exited with code 1
Upvotes: 1
Views: 413
Reputation: 19195
According to the error log malformed node or string:
, it seems you use an older version Azure CLI.
az -v
The latest version is 2.0.22. If you don't use latest version, I suggest you could upgrade it with following command.
sudo apt-get update && sudo apt-get upgrade
Please refer to this similar question.
Upvotes: 1