To avoid the deprecation warning, update allocation method syntax from:
public_ip_address_allocation = "static"
to:
allocation_method = "Static"
(present in multiple locations in the doc)
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
Thanks for the feedback! We are currently investigating and will update you shortly.
@matt-FFFFFF thanks for pointing this out! I have corrected the doc.
Once the PR merges the changes will go live in a few hours.
Hi guys - I'm still seeing the lower case "static" in the code snippet above. Terraform returns an error when I apply. Have corrected locally, but thought you might want to know it's still up here as lower case. Just to confirm, Terraform 0.11.11 throws error:
"Error: azurerm_public_ip.vmss: expected allocation_method to be one of [Static Dynamic], got static"
@TomArcherMsft could you take a look at this one? I don't see why the code sample throws an error if we set the allocation method to static. We of course could just change it to dynamic but I don't understand why the error is there in the first place.
@MicahMcKittrick-MSFT This is a case sensitivity issue. The string must have a capital 'S'.
e.g. 'Static' = :)
'static' = :(
@matt-FFFFFF ahhh okay. That's odd I swear I corrected that.... I will submit a PR now.
Done!

Changes should go live in a few hours :)
Most helpful comment
Hi guys - I'm still seeing the lower case "static" in the code snippet above. Terraform returns an error when I apply. Have corrected locally, but thought you might want to know it's still up here as lower case. Just to confirm, Terraform 0.11.11 throws error:
"Error: azurerm_public_ip.vmss: expected allocation_method to be one of [Static Dynamic], got static"