Section 7: issue creating binding - invalid resource id
See original GitHub issueHey guys,
I’m having an issue with section 7. When I do the following set of commands in the git bash:
MYSQL_ARM_RESOURCE_ID=$(echo $MYSQL_INFO | jq -r .id)
az spring-cloud app binding mysql add \
--app weather-service \
--name mysql-weather \
--resource-id "$MYSQL_ARM_RESOURCE_ID" \
--database-name 'azure-spring-cloud-training' \
--username "$MYSQL_USERNAME" \
--key "$MYSQL_PASSWORD"
I get an error that looks like this.
Invalid resource id C:/Program Files/Git/subscriptions/xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxx/resourceGroups/my-resource-group/providers/Microsoft.DBforMySQL/servers/sclabm-zzzzzzz
The problem persists if I enter the variables manually into the command.
I’m a bit stumped if this is an issue with my git bash, the terminal I’m using (happens in both ConEmu and the git bash) or with the az spring-cloud command. I hope you’d have an idea or may have seen the issue before.
Issue Analytics
- State:
- Created 3 years ago
- Comments:12 (12 by maintainers)
Top Results From Across the Web
Section 7: issue creating binding - invalid resource id #50
Hey guys, I'm having an issue with section 7. When I do the following set of commands in the git bash: MYSQL_ARM_RESOURCE_ID=$(echo $MYSQL_INFO...
Read more >Invalid resource ID with startIntentSenderForResult with SDK 25
Another SO answer says this error only occurs when using android.support.v4.app.FragmentActivity . My activities all use a base activity that ...
Read more >Invalid Resource id - Google Groups
i am new to HAPI FHIR and now I tried to validate a resource during update request. But I got follow error from...
Read more >draft-ietf-webdav-bind-09 - IETF Datatracker
Creating a new binding to a resource causes at least one new URI to be mapped ... <http://www.webdav.org/bind/draft-ietf-webdav-bind-issues.html> lists all ...
Read more >Invalid resource name given – Google Cloud API Error
When invalid argument values are passed to the Google Cloud APIs, INVALID_ARGUMENT: Invalid resource name given error is returned.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thank you @wonderb0lt ! If you need help or if you want me to amplify your training, just ping me.
Hey guys, this happened again today during the actual Discover Workshop 😬 I haven’t inlined the commands this time around (since I was busy showing off Azure Spring Cloud!), but the error was the same. This time I also followed the tutorial to the letter, in one go.
To help you guys reproduce this, here’s a bit more info about my envrionment:
OS: Windows 10, build 17134 Azure CLI:
Command Line Environment: git bash (git version 2.27.0.windows.1) in a ConEmu (version 200713) prompt. Full bash info: