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_service_fabric_mesh_local_network #8838

Merged
merged 5 commits into from
Oct 16, 2020

Conversation

mbfrahry
Copy link
Member

@mbfrahry mbfrahry commented Oct 11, 2020

--- PASS: TestAccAzureRMServiceFabricMeshLocalNetwork_basic (88.18s)
--- PASS: TestAccAzureRMServiceFabricMeshLocalNetwork_update (122.01s)

@ghost ghost added the size/XL label Oct 11, 2020
@ghost ghost added the documentation label Oct 12, 2020
@mbfrahry mbfrahry changed the title [WIP] New Resource: azurerm_service_fabric_mesh_network New Resource: azurerm_service_fabric_mesh_local_network Oct 12, 2020
@mbfrahry mbfrahry requested a review from a team October 12, 2020 04:32
@mbfrahry mbfrahry added this to the v2.32.0 milestone Oct 12, 2020
@mbfrahry mbfrahry added service/service-fabric-mesh Service Fabric Mesh is Deprecated new-resource labels Oct 12, 2020
@jackofallops jackofallops modified the milestones: v2.32.0, v2.33.0 Oct 15, 2020
Copy link
Member

@jackofallops jackofallops left a comment

Choose a reason for hiding this comment

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

Thanks @mbfrahry - Couple of questions / suggestions below, but otherwise LGTM.

Side note - Is it worth updating for the new file naming convention we've started moving to while it's a new resource? (i.e. service_fabric_mesh_network_resource.go)

return nil, fmt.Errorf("[ERROR] Unable to parse Service Fabric Mesh Network ID %q: %+v", input, err)
}

cluster := ServiceFabricMeshNetworkId{
Copy link
Member

Choose a reason for hiding this comment

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

Copy-paste error?

Suggested change
cluster := ServiceFabricMeshNetworkId{
network := ServiceFabricMeshNetworkId{

Copy link
Member Author

Choose a reason for hiding this comment

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

Good call. Updated!

return fmt.Errorf("retrieving Service Fabric Mesh Local Network %q (Resource Group %q): %+v", name, resourceGroup, err)
}

if resp.ID == nil {
Copy link
Member

Choose a reason for hiding this comment

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

Worth checking for empty string here too?

Copy link
Member Author

Choose a reason for hiding this comment

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

Good call

name = "accTest-%d"
resource_group_name = azurerm_resource_group.test.name
location = azurerm_resource_group.test.location
network_address_prefix = "10.0.0.0/22"
Copy link
Member

Choose a reason for hiding this comment

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

Worth checking if this value updates successfully? I can see it being the contentious item if it doesn't work as expected, albeit used rarely.

Copy link
Member Author

Choose a reason for hiding this comment

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

Checked and it works!

@mbfrahry mbfrahry merged commit 84120b6 into master Oct 16, 2020
@mbfrahry mbfrahry deleted the f-servicefabricmesh-network branch October 16, 2020 20:16
mbfrahry added a commit that referenced this pull request Oct 16, 2020
@ghost
Copy link

ghost commented Oct 22, 2020

This has been released in version 2.33.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.33.0"
}
# ... other configuration ...

@ghost
Copy link

ghost commented Nov 16, 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 as resolved and limited conversation to collaborators Nov 16, 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.

2 participants