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

update github workflow for Deploy Enterprise Landing Zone Hub & Spoke Infrastructure #160

Open
wants to merge 82 commits into
base: main
Choose a base branch
from

Conversation

iamaliyousefi
Copy link
Contributor

update github workflow for Deploy Enterprise Landing Zone Hub & Spoke Infrastructure

Update route table to fix the error below:

ERROR: (ApplicationGatewaySubnetUserDefinedRouteNotAllowed) Route Table /subscriptions/***/resourceGroups/ESLZ-SPOKE-RG/providers/Microsoft.Network/routeTables/AppGWSubnet-RT is associated to subnet /subscriptions/***/resourceGroups/ESLZ-SPOKE-RG/providers/Microsoft.Network/virtualNetworks/VNet-SPOKE/subnets/AppGWSubnet, which contains V2 SKU Application Gateway /subscriptions/***/resourceGroups/ESLZ-SPOKE-RG/providers/Microsoft.Network/applicationGateways/APPGW. Route /subscriptions/***/resourceGroups/ESLZ-SPOKE-RG/providers/Microsoft.Network/routeTables/AppGWSubnet-RT/routes/vm-to-internet in the route table has AddressPrefix '0.0.0.0/0'. For routes associated to subnet containing Application Gateway V2, please ensure '0.0.0.0/0' uses NextHopType as 'Internet'.
update route table for appGW subnet for fix the error below:
         // to fix ERROR: (ApplicationGatewaySubnetUserDefinedRouteNotAllowed) Route Table /subscriptions/***/resourceGroups/ESLZ-SPOKE-RG/providers/Microsoft.Network/routeTables/AppGWSubnet-RT is associated to subnet /subscriptions/***/resourceGroups/ESLZ-SPOKE-RG/providers/Microsoft.Network/virtualNetworks/VNet-SPOKE/subnets/AppGWSubnet, which contains V2 SKU Application Gateway /subscriptions/***/resourceGroups/ESLZ-SPOKE-RG/providers/Microsoft.Network/applicationGateways/APPGW. Route /subscriptions/***/resourceGroups/ESLZ-SPOKE-RG/providers/Microsoft.Network/routeTables/AppGWSubnet-RT/routes/vm-to-internet in the route table has AddressPrefix '0.0.0.0/0'. For routes associated to subnet containing Application Gateway V2, please ensure '0.0.0.0/0' uses NextHopType as 'Internet'.
ERROR: {"code": "InvalidTemplate", "message": "Deployment template validation failed: 'The following parameters were supplied, but do not correspond to any parameters defined in the template: 'appGatewayName'.
to fix error: 
'The provided value for the template parameter 'autoScalerProfileMaxGracefulTerminationSec' is not valid. Expected a value of type 'Integer', but received a value of type 'String'.
[{"code":"InvalidTemplate","message":"Deployment template validation failed: 'The provided value for the template parameter 'autoScalerProfileBalanceSimilarNodeGroups' is not valid. Expected a value of type 'Boolean', but received a value of type 'String'
@iamaliyousefi iamaliyousefi self-assigned this Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant