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

Bug: Latest Provider expecting different data types #645

Open
ukhan262 opened this issue Oct 21, 2024 · 5 comments
Open

Bug: Latest Provider expecting different data types #645

ukhan262 opened this issue Oct 21, 2024 · 5 comments
Labels
documentation Improvements or additions to documentation

Comments

@ukhan262
Copy link

The code has not changed and the error is such.

Image

When I use the provider version 1.15.0, then I do not see any of these issues.

Underlying, I have this module code where the azapi resource block is being used.
Image

The module is called like this
Image

@cwe1ss
Copy link

cwe1ss commented Oct 21, 2024

v2 no longer supports jsonencode()/jsondecode() for body/output:

@cwe1ss
Copy link

cwe1ss commented Oct 21, 2024

It might be good to link to some documentation in the given error message as I'm sure this will happen to many more people.

@ukhan262
Copy link
Author

We will try to update the modules..

Typically, the module upgrades guides have this highlighted these type of things.

I have only seen a comment which does not clearly say that we can't use jsondecode/jsonencode going forward

@stemaMSFT
Copy link
Member

@ms-henglu for just 2.0 versions can we perhaps implement a link to documentation like @cwe1ss mentioned?

@ms-henglu ms-henglu added the documentation Improvements or additions to documentation label Oct 22, 2024
@DillyBabu
Copy link

v2 no longer supports jsonencode()/jsondecode() for body/output:

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

No branches or pull requests

5 participants