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

Fixed parDdosEnabled/parDdosPlanName camel casing #196

Conversation

cbezenco
Copy link
Contributor

Overview/Summary

Fix for bug #195

This PR fixes/adds/changes/removes

Changed casing for parDDoS to parDdos on parDdosEnabled and parDdosPlanName in hubnetworking.bicep

Breaking Changes

None

Testing Evidence

PS C:\GithubCamelCasingFix\ALZ-Bicep> New-AzResourceGroupDeployment `

-TemplateFile infra-as-code/bicep/modules/hubNetworking/hubNetworking.bicep -TemplateParameterFile infra-as-code/bicep/modules/hubNetworking/hubNetworking.parameters.example.json
-parLocation $varDeplRegion -parBastionEnabled $varBastionEnabled
-parDdosEnabled $varDdosEnabled -parAzureFirewallEnabled $varAzureFirewallEnabled
-parPrivateDNSZonesEnabled $varPrivateDNSZonesEnabled -parCompanyPrefix $varTopLevelMGPrefix
-parDdosPlanName $varDdosPlanName -parBastionName $varBastionName
-parBastionSku $varBastionSku -parPublicIPSku $varPublicIPSku
-parTags $varTags -parHubNetworkAddressPrefix $varHubNetworkAddressPrefix
-parHubNetworkName $varHubNetworkName -parAzureFirewallName $varAzureFirewallName
-parAzureFirewallTier $varAzureFirewallTier -parHubRouteTableName $varHubRouteTableName
-parDNSServerIPArray $varDNSServerIPArray -parNetworkDNSEnableProxy $varNetworkDNSEnableProxy
-parDisableBGPRoutePropagation $varDisableBGPRoutePropagation `
-ResourceGroupName $varConnectionRG

DeploymentName : hubNetworking
ResourceGroupName : rg-LAB2-hub
ProvisioningState : Succeeded
Timestamp : 3/29/2022 8:05:01 AM
Mode : Incremental
TemplateLink :
Parameters :

As part of this Pull Request I have

  • Checked for duplicate Pull Requests
  • Associated it with relevant ADO items
  • Ensured my code/branch is up-to-date with the latest changes in the main branch
  • Performed testing and provided evidence.
  • Updated relevant and associated documentation. Checked doc no change required.

@ghost ghost added the Needs: Triage 🔍 Needs triaging by the team label Mar 29, 2022
@cbezenco
Copy link
Contributor Author

I cannot access ADO item link so I have not checked the item when creating the pull request.
Associated it with relevant ADO items

Copy link
Collaborator

@jtracey93 jtracey93 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @cbezenco,

Can you also change the output and the resources symbolic name to all follow camelCasing properly as well?

Also please update the docs if required.

Massively appreciate this and look forward to merging once ready 👍

@jtracey93 jtracey93 added Area: Networking and removed Needs: Triage 🔍 Needs triaging by the team labels Mar 29, 2022
@jtracey93 jtracey93 self-assigned this Mar 29, 2022
@jtracey93
Copy link
Collaborator

I cannot access ADO item link so I have not checked the item when creating the pull request.

Associated it with relevant ADO items

That's fine. I need to update the PR template

@cbezenco
Copy link
Contributor Author

Ok will do.

@cbezenco cbezenco requested a review from jtracey93 March 29, 2022 11:55
Copy link
Collaborator

@jtracey93 jtracey93 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @cbezenco, just a few more small bits 👍👍

infra-as-code/bicep/modules/hubNetworking/README.md Outdated Show resolved Hide resolved
@ghost ghost removed the Needs: Author Feedback label Mar 29, 2022
@jtracey93
Copy link
Collaborator

/azp run e2e

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Collaborator

@jtracey93 jtracey93 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @cbezenco,

can we ensue that the resource name parameter input for the DDoS plan is alz-ddos-plan across all references including parameter example files?

Thanks

@cbezenco cbezenco requested a review from jtracey93 March 29, 2022 18:15
@ghost ghost removed the Needs: Author Feedback label Mar 29, 2022
@cbezenco
Copy link
Contributor Author

DDoS plan is alz-ddos-plan across all references. Done and tested successfully.

Copy link
Collaborator

@jtracey93 jtracey93 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ghost ghost removed the Needs: Author Feedback label Mar 30, 2022
@zebak007
Copy link

zebak007 commented Mar 30, 2022

Can still see references to alz-ddos-Plan instead of alz-ddos-plan https://github.com/cbezenco/ALZ-Bicep/blob/71b660ade82e76ea8cb5c7b8dbea707e551c7a84/infra-as-code/bicep/modules/hubNetworking/hubNetworking.parameters.example.json#L52

Weird... I can see it but doing a github searching on my repo does not report it (see snapshoot). I used Github search for the other changes and it was working. Am I doing something wrong ?

I did file search using Visual Studio Code and it did report 3 more isntances that I fixed. I hope this is ok now... Still wonder why Github search does not seem to work on that particular search.

image

@jtracey93
Copy link
Collaborator

/azp run e2e

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Collaborator

@jtracey93 jtracey93 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants