Closed Monual closed 5 years ago
As a note: For a quick hack, I commented out this line in two places in /lib/puppet/provider/azure_server_farm_with_rich_sku/azure_server_farm_with_rich_sku.rb:
self.op_param("allowPendingState", "query", "allow_pending_state", "allow_pending_state"),
I then did a "chattr +i" on that file. My code deploys now throw up sync-errors, but I was able to deploy my azure_server_farm_with_rich_sku resource just fine.
I created a PR just so I could pull that into my own environment:
Thank you @Monual for your contribution.Will be taking a look on the issue.Thank you.
@Monual Thanks a lot for raising the Issue and the PR.The fix is available in the master.Apologies for the delay.
What you expected to happen?
A new App Service Plan to be deployed
What happened?
How to reproduce it?
Attempt to create any new resource using azure_app_server_farm_with_rich_sku
Anything else we need to know?
Looking at the code, it's clearly looking for a parameter called "allowPendingState":
Yet nowhere in the documentation is that parameter defined or listed as "required". Indeed, according to http://superyyrrzz.github.io/NODE/azure-arm-website/azure-arm-website.ServerFarms.html, the parameter is OBSOLETE.
Adding a dummy "allow_pending_state => true" led to a new error message:
So azure_server_farm_with_rich_sku fails because it requires a parameter it won't allow you to specify.