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

'NoneType' object has no attribute 'location' #9

Closed
michalski9wsb opened this issue Jan 24, 2020 · 0 comments
Closed

'NoneType' object has no attribute 'location' #9

michalski9wsb opened this issue Jan 24, 2020 · 0 comments

Comments

@michalski9wsb
Copy link

michalski9wsb commented Jan 24, 2020

Hi, i have a problem with step 7. I can't create an app with this command:
az webapp create --resource-group myResourceGroup --plan myAppServicePlan --name <app_name> --runtime "PHP|7.0" --deployment-local-git

because of it:

usage: az webapp create [-h] [--verbose] [--debug]
                       [--output {json,jsonc,table,tsv,yaml,none}]
                       [--query JMESPATH] [--subscription _SUBSCRIPTION]
                        --resource-group RESOURCE_GROUP_NAME --name NAME
                        --plan PLAN [--runtime RUNTIME]
                        [--startup-file STARTUP_FILE]
                        [--deployment-container-image-name DEPLOYMENT_CONTAINER_IMAGE_NAME]
                        [--deployment-source-url DEPLOYMENT_SOURCE_URL]
                        [--deployment-source-branch DEPLOYMENT_SOURCE_BRANCH]
                        [--deployment-local-git]
                        [--docker-registry-server-password DOCKER_REGISTRY_SERVER_PASSWORD]
                        [--docker-registry-server-user DOCKER_REGISTRY_SERVER_USER]
                        [--multicontainer-config-type {COMPOSE,KUBE}]
                        [--multicontainer-config-file MULTICONTAINER_CONFIG_FILE]
                        [--tags [TAGS [TAGS ...]]]
az webapp create: error: 'NoneType' object has no attribute 'location

Hava an idea?

Edit:
I used bad name of Resource Group before in command az appservice plan create

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant