Giter Site home page Giter Site logo

Bad Request When deploying an Azure Kubernetes Service (Error parsing provided IP..... Invalid resource Id format...) about bicep-types-az HOT 7 OPEN

midhun-mohan avatar midhun-mohan commented on July 29, 2024
Bad Request When deploying an Azure Kubernetes Service (Error parsing provided IP..... Invalid resource Id format...)

from bicep-types-az.

Comments (7)

anthony-c-martin avatar anthony-c-martin commented on July 29, 2024

Thanks for reporting. We'll follow up with the AKS team, as the error is coming back from the RP during the validation stage.

from bicep-types-az.

phealy avatar phealy commented on July 29, 2024

@anthony-c-martin while the error does come back from the AKS RP, that's because the value that's being submitted for a public IP object ID is the string [reference(resourceId('Microsoft.Resources/deployments', format('{0}-pip', parameters('name'))), '2019-10-01').outputs.id.value] - for whatever reason, it's not being resolved to a resource ID before the call to our RP.

from bicep-types-az.

alex-frankel avatar alex-frankel commented on July 29, 2024

Use of the reference() function cannot be resolved during the validation phase. The RP is supposed to skip over any checks for values that have an unresolved expression like this, but the RP is not doing that right now, which is what the AKS team needs to fix. I will follow up with the AKS team.

from bicep-types-az.

anthony-c-martin avatar anthony-c-martin commented on July 29, 2024

@phealy - here's the relevant ARM documentation on preflight implementation: https://armwiki.azurewebsites.net/api_contracts/preflight.html - see the note on "Template Language expressions".

from bicep-types-az.

phealy avatar phealy commented on July 29, 2024

@anthony-c-martin thank you, I understand the issue now. I've updated an AzDO bug with this use case and asked for it to be looked at.

from bicep-types-az.

yuanyi2121 avatar yuanyi2121 commented on July 29, 2024

It's been two years since the last update. Is this bug still active?

from bicep-types-az.

anthony-c-martin avatar anthony-c-martin commented on July 29, 2024

@phealy could you confirm whether this has been fixed?

from bicep-types-az.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.