-
Notifications
You must be signed in to change notification settings - Fork 580
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
feat(connectivity): Add option to set allow_non_virtual_wan_traffic in express route gateway. #914
feat(connectivity): Add option to set allow_non_virtual_wan_traffic in express route gateway. #914
Conversation
@microsoft-github-policy-service agree |
f8906c7
to
8b46c96
Compare
LGTM - @luke-taylor @jaredfholgate Please could you have a look and merge/release if you're happy? Thanks! |
+1 - Hit by this issue today |
/azp run unit |
Azure Pipelines successfully started running 1 pipeline(s). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to run terraform fmt -recursive
to fix the tests.
@@ -80,7 +80,7 @@ resource "azurerm_express_route_gateway" "virtual_wan" { | |||
location = each.value.template.location | |||
virtual_hub_id = each.value.template.virtual_hub_id | |||
scale_units = each.value.template.scale_units | |||
|
|||
allow_non_virtual_wan_traffic = each.value.template.allow_non_virtual_wan_traffic |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please run terraform fmt
. Thanks!
8b46c96
to
34fef99
Compare
/azp run unit |
Azure Pipelines successfully started running 1 pipeline(s). |
@Slapper For some reason I am still seeing formatting errors in the unit tests. Two options:
Let me know which you prefer. Thanks |
Hi @jaredfholgate , Feel free to move my branch to Azure project. ( i forgot to run the fmt with the recursive flag so maybe thats was the case ) |
…n express route gateway.
34fef99
to
69f2d2a
Compare
/azp run unit |
Azure Pipelines successfully started running 1 pipeline(s). |
That has fixed the linting issues, thanks. I will run and update the tests as nessecary now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This was released in 5.2.0. |
@Slapper @jaredfholgate - something not quite right with that release |
Apologies, sorted. Nothing to do with your change. #907 introduced a breaking change. Had to tweak settings.connectivity to also change threat_intelligence_allowlist = [] to threat_intelligence_allowlist = {} |
* feat(connectivity): Add option to set allow_non_virtual_wan_traffic in express route gateway. (Azure#914) Co-authored-by: Miltos Tsatsakis <m.tsatsakis@kaizengaming.com> * updates to resolve issue Azure#794 (Azure#919) Co-authored-by: github-actions <action@github.com> * docs: update docs for threat_intelligence_allowlist (Azure#928) * Update wiki-sync.yml * chore(deps): bump github/super-linter from 5 to 6 (Azure#931) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * add link to Upgrade guide from v4.2.0 to v5.0.0 (Azure#934) Co-authored-by: Matt White <16320656+matt-FFFFFF@users.noreply.github.com> * Added hub_routing_preference to connectivity advanced configuration (Azure#930) * Policy sync updates (Azure#959) * Update Library Templates (automated) (Azure#966) Co-authored-by: github-actions <action@github.com> * Add remote branch option (Azure#970) * Update Library Templates (automated) (Azure#973) Co-authored-by: github-actions <action@github.com> * Update Library Templates (automated) (Azure#976) Co-authored-by: github-actions <action@github.com> * Remove redundant assignment file (Azure#977) * updating threat intelligence allowlist dynamic block (Azure#953) Co-authored-by: Matt White <16320656+matt-FFFFFF@users.noreply.github.com> * chore(deps): bump azure/powershell from 1 to 2 (Azure#917) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Add OpenSFF Scorecard (Azure#987) * chore(deps): bump github/codeql-action from 3.24.9 to 3.25.8 (Azure#990) * chore(deps): bump github.com/hashicorp/go-getter from 1.7.3 to 1.7.4 in /tests/terratest (Azure#986) * feat!: ama (Azure#968) * Fix example uami issue (Azure#1000) * Update Library Templates (automated) (Azure#1001) Co-authored-by: github-actions <action@github.com> * docs: additional v6 upgrade detail (Azure#1002) * Update Library Templates (automated) (Azure#1006) Co-authored-by: github-actions <action@github.com> * docs: update docs with FAQ on roadmap and banner for upcoming breaking changes (Azure#1008) * naming fixed in module --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: Mtsa <miltsatsakis@gmail.com> Co-authored-by: Miltos Tsatsakis <m.tsatsakis@kaizengaming.com> Co-authored-by: Adam Tuckwell <106317528+ATuckwell@users.noreply.github.com> Co-authored-by: github-actions <action@github.com> Co-authored-by: Jared Holgate <jaredholgate@microsoft.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Tobias <tobias-m99@gmx.de> Co-authored-by: Matt White <16320656+matt-FFFFFF@users.noreply.github.com> Co-authored-by: QBY-MarkusMaring <106068259+QBY-MarkusMaring@users.noreply.github.com> Co-authored-by: cae-pr-creator[bot] <126156663+cae-pr-creator[bot]@users.noreply.github.com> Co-authored-by: Daan Toes <112694691+cndaan@users.noreply.github.com>
Overview/Summary
Add option to set
allow_non_virtual_wan_traffic
value totrue
orfalse
in express route gateway.This PR fixes/adds/changes/removes
allow_non_virtual_wan_traffic
to true in azurerm_express_route_gateway resourceBreaking Changes
None
Testing Evidence
On the latest azurerm versions ( v3.48.0 and higher ) azurerm_express_route_gateway resource has the option to set this value to true. At the time of writing CAF module has no option available .
We saw this issue in our Dev environment during terraform plan : the value was true so using a newer azurerm version the value goes to false, which is the default.
More info about this option can be found here : hashicorp/terraform-provider-azurerm#20667
As part of this Pull Request I have
main
branch