Skip to content

Conversation

@chrsundermann
Copy link

@chrsundermann chrsundermann commented Apr 12, 2024

Overview/Summary

This is the Pull Request for the issue #924.

This PR fixes/adds/changes/removes

  1. adds azurerm_virtual_network_gateway attribute, remote_vnet_traffic_enabled
  2. adds azurerm_virtual_network_gateway attribute, virtual_wan_traffic_enabled

Breaking Changes

  1. Attributes were implemented with >= 3.84.0 of the azurerm provider

Testing Evidence

Terraform plan before changes:

image

Terraform plan after changes shows "Nothing to change".

As part of this Pull Request I have

  • Checked for duplicate Pull Requests
  • Associated it with relevant issues, for tracking and closure.
  • 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.

@chrsundermann
Copy link
Author

@microsoft-github-policy-service agree

@matt-FFFFFF
Copy link
Member

/azp run unit

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@matt-FFFFFF
Copy link
Member

Hi @chrsundermann please can you run terraform fmt -recursive and commit the changes?

@chrsundermann
Copy link
Author

Hi @chrsundermann please can you run terraform fmt -recursive and commit the changes?

Hi @matt-FFFFFF, I executed terraform fmt -recursive and pushed the changes.

@matt-FFFFFF
Copy link
Member

/azp run unit

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@chrsundermann
Copy link
Author

Hi @matt-FFFFFF,
do you have any updates on this cause I can't look into the AZ pipelines errors.

@matt-FFFFFF
Copy link
Member

Minimum provider versions. Also there's a mapping missing as the data traverses through the module somewhere too

@matt-FFFFFF
Copy link
Member

/azp run unit

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@matt-FFFFFF matt-FFFFFF changed the base branch from main to feat/ama June 6, 2024 16:54
@matt-FFFFFF
Copy link
Member

/azp run unit

@azure-pipelines
Copy link

Azure Pipelines could not run because the pipeline triggers exclude this branch/path.

@matt-FFFFFF matt-FFFFFF merged commit 616ec3c into Azure:feat/ama Jun 6, 2024
@matt-FFFFFF
Copy link
Member

Thanks for this - I've pulled into the ama branch for the next major release

@matt-FFFFFF matt-FFFFFF mentioned this pull request Jun 6, 2024
5 tasks
@matt-FFFFFF
Copy link
Member

@chrsundermann I had to add null values to the corresponding VPN gateway object in order for the values to be preserved when they are concat()

  azurerm_virtual_network_gateway_vpn = [
    for location, hub_network in local.hub_networks_by_location :
    {
      # ...
      remote_vnet_traffic_enabled = null
      virtual_wan_traffic_enabled = null

@chrsundermann
Copy link
Author

Thanks for the update @matt-FFFFFF. Could only check with ExpressRoute setup. This was successfully deployed at customer site.

@matt-FFFFFF
Copy link
Member

I don't think the attributes are valid for VPN but since all list members have to have same schema, needed to add as nulls.

@chrsundermann chrsundermann deleted the network-gateway-default-parameters branch July 5, 2024 15:40
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.

2 participants