You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-> pip-agw-byo : Microsoft.Network/publicIPAddresses [3/4]
[PASS] Azure.PublicIP.Name
[PASS] Azure.PublicIP.AvailabilityZone
[PASS] Azure.PublicIP.StandardSKU
[FAIL] CAF.Name.PublicIP
| Template: bicep/main.bicep:991:5
| Parameter: .github/workflows_dep/AksDeploy-ByoVnet.parameters.json:1:0
| RECOMMEND:
| Consider creating public IPs with a standard name. Additionally consider using
| Azure Policy to only permit creation using a standard naming convention.
| REASON:
| - The parameter 'prefix' is null.
| HELP:
| - https://github.com/microsoft/PSRule.Rules.CAF/blob/main/docs/rules/en/CAF.Name.PublicIP.md
Error: pip-agw-byo failed CAF.Name.PublicIP. Public IP address names should use a standard prefix.
The parameter 'prefix' is null - I don't see prefix in the RP schema.
Hoping it doesn't mean publicIPPrefix as that has another purpose, not naming.
This PublicIP address is created with the name pip-agw-byo - which should already be CAF compliant.
The text was updated successfully, but these errors were encountered:
@Gordonby Thanks for reporting this issue. Yes. Looks like a bug. Double-checking your linked GitHub action results it does not appear that you are overriding the CAF_PublicIPPrefix configuration option so it should just work.
Description of the issue
I don't believe the logic or message around public ip's is correct. (Happy to be wrong through).
My template fails with;
The parameter 'prefix' is null
- I don't see prefix in the RP schema.publicIPPrefix
as that has another purpose, not naming.The text was updated successfully, but these errors were encountered: