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

aztfexport query error #485

Open
balagcpcloud opened this issue Dec 5, 2023 · 1 comment
Open

aztfexport query error #485

balagcpcloud opened this issue Dec 5, 2023 · 1 comment
Labels
question Further information is requested

Comments

@balagcpcloud
Copy link

Hello Team,

When I try to export the terraform scripts for Microsoft.Network types, I am facing with the errors ,
Could you please help?

Command : aztfexport query -g -r -n "resourceGroup =~ DEV-T24' and type contains 'Microsoft.Network'"



RESPONSE 400: 400 Bad Request
ERROR CODE: BadRequest

{
"error": {
"code": "BadRequest",
"message": "Please provide below info when asking for support: timestamp = 2023-12-04T16:43:28.2015623Z, correlationId = c2c2c2f0-56f3-4ea3-b485-c0aabb23889c.",
"details": [
{
"code": "InvalidQuery",
"message": "Query is invalid. Please refer to the documentation for the Azure Resource Graph service and fix the error before retrying."
},
"code": "ParserFailure",
"message": "ParserFailure",
"expectedToken": "'"
},
{
"code": "ParserFailure",
"message": "ParserFailure",
"line": 1,
"characterPositionInLine": 42,
"token": "' and type contains '"
}
]
}
}

@magodo
Copy link
Collaborator

magodo commented Dec 6, 2023

There is a missing opening quote in DEV-T24'?

@magodo magodo added the question Further information is requested label Dec 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants