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

New Resource: azurerm_express_route_gateway #5523

Merged
merged 11 commits into from
Feb 18, 2020
Merged

New Resource: azurerm_express_route_gateway #5523

merged 11 commits into from
Feb 18, 2020

Conversation

brent-au
Copy link
Contributor

This PR adds the new ExpressRoute Gateway resource which can be deployed into Virtual Hub networks.

Copy link
Collaborator

@katbyte katbyte left a 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

@brent-au
Copy link
Contributor Author

Thanks for the feedback @katbyte , have submitted a new commit that should resolve majority of the issues raised.

@ghost ghost removed the waiting-response label Jan 26, 2020
@ekarlso

This comment has been minimized.

@tombuildsstuff tombuildsstuff modified the milestones: v1.43.0, v1.44.0 Feb 4, 2020
@tombuildsstuff tombuildsstuff changed the title F/express route gateway New Resource: azurerm_express_route_gateway Feb 11, 2020
Copy link
Contributor

@tombuildsstuff tombuildsstuff left a 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!

@tombuildsstuff tombuildsstuff dismissed katbyte’s stale review February 18, 2020 06:26

dismissing since changes have been pushed

tombuildsstuff
tombuildsstuff previously approved these changes Feb 18, 2020
Copy link
Contributor

@tombuildsstuff tombuildsstuff left a 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!

@tombuildsstuff tombuildsstuff dismissed their stale review February 18, 2020 13:36

dismissing since the API behaviour has changed from what exists in the SDK 🙃

Copy link
Contributor

@tombuildsstuff tombuildsstuff left a 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

Copy link
Contributor

@tombuildsstuff tombuildsstuff left a comment

Choose a reason for hiding this comment

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

Running the tests picked up a couple of minor issues (which, whilst we'd normally fix in this PR prior to merging I'm going to open a separate PR to fix, since Travis seems to be having delays with PR builds right now & they're fairly minor things to fix)

Screenshot 2020-02-18 at 17 17 39

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
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
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
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
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

@tombuildsstuff tombuildsstuff merged commit 877c7e1 into hashicorp:master Feb 18, 2020
tombuildsstuff added a commit that referenced this pull request Feb 18, 2020
tombuildsstuff added a commit that referenced this pull request Feb 18, 2020
tombuildsstuff added a commit that referenced this pull request Feb 19, 2020
@ghost
Copy link

ghost commented Feb 24, 2020

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 ...

@brent-au brent-au deleted the f/express-route-gateway branch February 25, 2020 04:12
@ghost
Copy link

ghost commented Mar 28, 2020

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!

@ghost ghost locked and limited conversation to collaborators Mar 28, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants