-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
New Resource: azurerm_express_route_gateway
#5523
New Resource: azurerm_express_route_gateway
#5523
Conversation
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.
Thanks for the new resource @brent-au! overall this looks good, i've left some mostly minor comment inline to address
azurerm/internal/services/network/tests/resource_arm_express_route_gateway_test.go
Outdated
Show resolved
Hide resolved
azurerm/internal/services/network/tests/resource_arm_express_route_gateway_test.go
Outdated
Show resolved
Hide resolved
azurerm/internal/services/network/tests/resource_arm_express_route_gateway_test.go
Outdated
Show resolved
Hide resolved
azurerm/internal/services/network/tests/resource_arm_express_route_gateway_test.go
Outdated
Show resolved
Hide resolved
azurerm/internal/services/network/tests/resource_arm_express_route_gateway_test.go
Outdated
Show resolved
Hide resolved
Thanks for the feedback @katbyte , have submitted a new commit that should resolve majority of the issues raised. |
This comment has been minimized.
This comment has been minimized.
azurerm_express_route_gateway
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.
hey @brent-au
Thanks for pushing those changes - apologies for the delayed re-review here!
I've left a few comments inline but this otherwise LGTM - if we can fix those up (and the tests pass) then this otherwise looks good to me 👍
Thanks!
azurerm/internal/services/network/resource_arm_express_route_gateway.go
Outdated
Show resolved
Hide resolved
azurerm/internal/services/network/resource_arm_express_route_gateway.go
Outdated
Show resolved
Hide resolved
azurerm/internal/services/network/resource_arm_express_route_gateway.go
Outdated
Show resolved
Hide resolved
azurerm/internal/services/network/tests/resource_arm_express_route_gateway_test.go
Outdated
Show resolved
Hide resolved
dismissing since changes have been pushed
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.
hey @brent-au
Thanks for pushing those changes / apologies for the delayed re-review here!
I've taken another look through and left a few minor comments but this otherwise LGTM - since this otherwise looks good I hope you don't mind but I'm going to push a commit to resolve the PR comments so that we can kick off the tests and get this merged 👍
Thanks!
azurerm/internal/services/network/tests/resource_arm_express_route_gateway_test.go
Show resolved
Hide resolved
dismissing since the API behaviour has changed from what exists in the SDK 🙃
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 - thanks for this @brent-au
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.
resource_group_name = azurerm_resource_group.example.name | ||
location = azurerm_resource_group.example.location | ||
virtual_hub_id = azurerm_virtual_hub.example.id | ||
scale_unts = 1 |
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.
scale_unts = 1 | |
scale_units = 1 |
resource "azurerm_express_route_gateway" "import" { | ||
name = azurerm_express_route_gateway.test.name | ||
resource_group_name = azurerm_express_route_gateway.test.name | ||
location = azurerm_express_route_gateway.test.location |
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.
location = azurerm_express_route_gateway.test.location | |
location = azurerm_express_route_gateway.test.location | |
virtual_hub_id = azurerm_express_route_gateway.test.virtual_hub_id |
…eway r/express_route_gateway: fixes from #5523
This has been released in version 2.0.0 of the provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. As an example: provider "azurerm" {
version = "~> 2.0.0"
}
# ... other configuration ... |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks! |
This PR adds the new ExpressRoute Gateway resource which can be deployed into Virtual Hub networks.