-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Fixes #1722 - function app's setting read #2111
Fixes #1722 - function app's setting read #2111
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @DexterPOSH,
Thanks for the fix! It's almost there, along with not returning an error when the resource is not found we need to set the ID to nil marking it as missing in terraform. I've left a comment inline with the suggested code.
Once that is added this'll be good to merge 🙂
(also just a FYI, putting fixes #1722 in the description will cause that issue to be closed when this is merged) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the update @DexterPOSH! LGTM now 👍
hi @DexterPOSH Just to let you know that this has been released as a part of v1.18 of the AzureRM Provider (the full changelog is available here). You can upgrade to this by specifying the version in the provider block (as shown below) and then running
Thanks! |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks! |
PR to fix the read of Function App's settings #1722
It is based on the suggestion in the same email thread. Catching if the response is not found and returning a nil (should it be nil?) or it should be an if-else block like below:
(Fixes #1722)