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_mobile_network_packet_core_control_plane;New Datasource: azurerm_mobile_network_packet_core_control_plane #21071

Merged
merged 32 commits into from
May 23, 2023

Conversation

ziyeqf
Copy link
Contributor

@ziyeqf ziyeqf commented Mar 22, 2023

re-submit as the original PR(#20730) has been reverted.

test

terraform-provider-azurerm ❯ TF_ACC=1 go test -v ./internal/services/mobilenetwork -run=TestAccMobileNetworkPacketCoreControlPlane -timeout=600m
=== RUN   TestAccMobileNetworkPacketCoreControlPlane_basic
=== PAUSE TestAccMobileNetworkPacketCoreControlPlane_basic
=== RUN   TestAccMobileNetworkPacketCoreControlPlane_withAccessInterface
=== PAUSE TestAccMobileNetworkPacketCoreControlPlane_withAccessInterface
=== RUN   TestAccMobileNetworkPacketCoreControlPlane_withIneropJSON
=== PAUSE TestAccMobileNetworkPacketCoreControlPlane_withIneropJSON
=== RUN   TestAccMobileNetworkPacketCoreControlPlane_withUeMTU
=== PAUSE TestAccMobileNetworkPacketCoreControlPlane_withUeMTU
=== RUN   TestAccMobileNetworkPacketCoreControlPlane_withCertificateUserAssignedIdentity
=== PAUSE TestAccMobileNetworkPacketCoreControlPlane_withCertificateUserAssignedIdentity
=== RUN   TestAccMobileNetworkPacketCoreControlPlane_requiresImport
=== PAUSE TestAccMobileNetworkPacketCoreControlPlane_requiresImport
=== RUN   TestAccMobileNetworkPacketCoreControlPlane_update
=== PAUSE TestAccMobileNetworkPacketCoreControlPlane_update
=== CONT  TestAccMobileNetworkPacketCoreControlPlane_basic
=== CONT  TestAccMobileNetworkPacketCoreControlPlane_withCertificateUserAssignedIdentity
=== CONT  TestAccMobileNetworkPacketCoreControlPlane_withIneropJSON
=== CONT  TestAccMobileNetworkPacketCoreControlPlane_withUeMTU
=== CONT  TestAccMobileNetworkPacketCoreControlPlane_update
=== CONT  TestAccMobileNetworkPacketCoreControlPlane_requiresImport
=== CONT  TestAccMobileNetworkPacketCoreControlPlane_withAccessInterface
--- PASS: TestAccMobileNetworkPacketCoreControlPlane_basic (516.13s)
--- PASS: TestAccMobileNetworkPacketCoreControlPlane_withUeMTU (517.12s)
--- PASS: TestAccMobileNetworkPacketCoreControlPlane_withIneropJSON (578.63s)
--- PASS: TestAccMobileNetworkPacketCoreControlPlane_withAccessInterface (579.01s)
--- PASS: TestAccMobileNetworkPacketCoreControlPlane_requiresImport (602.74s)
--- PASS: TestAccMobileNetworkPacketCoreControlPlane_withCertificateUserAssignedIdentity (738.94s)
--- PASS: TestAccMobileNetworkPacketCoreControlPlane_update (795.82s)
PASS
ok      github.com/hashicorp/terraform-provider-azurerm/internal/services/mobilenetwork 795.887s

@ziyeqf
Copy link
Contributor Author

ziyeqf commented Mar 22, 2023

@tombuildsstuff do you mind taking a look at this again as it has been updated with comments in #20730

… for consistency (hashicorp#21309)

* Removing containers to use container for consistency

* Moving from containers to container category for consistency
Copy link
Member

@stephybun stephybun 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 clarifying the purpose of the json property and for renaming it @ziyeqf. I've made a first pass through the code for the resource and left some comments and remarks that need to be addressed - please propagate any changes you make in the resource over to the data source as well. Once that's done we can take another look through.

ziyeqf added 3 commits April 18, 2023 11:05
Signed-off-by: ziyeqf <[email protected]>
Signed-off-by: ziyeqf <[email protected]>
Signed-off-by: ziyeqf <[email protected]>
@ziyeqf
Copy link
Contributor Author

ziyeqf commented Apr 18, 2023

test after update

❯ TF_ACC=1 go test -v ./internal/services/mobilenetwork -run=TestAccMobileNetworkPacketCoreControlPlane -timeout=600m
=== RUN   TestAccMobileNetworkPacketCoreControlPlane_basic
=== PAUSE TestAccMobileNetworkPacketCoreControlPlane_basic
=== RUN   TestAccMobileNetworkPacketCoreControlPlane_withAccessInterface
=== PAUSE TestAccMobileNetworkPacketCoreControlPlane_withAccessInterface
=== RUN   TestAccMobileNetworkPacketCoreControlPlane_withInteropJSON
=== PAUSE TestAccMobileNetworkPacketCoreControlPlane_withInteropJSON
=== RUN   TestAccMobileNetworkPacketCoreControlPlane_withUeMTU
=== PAUSE TestAccMobileNetworkPacketCoreControlPlane_withUeMTU
=== RUN   TestAccMobileNetworkPacketCoreControlPlane_withCertificateUserAssignedIdentity
=== PAUSE TestAccMobileNetworkPacketCoreControlPlane_withCertificateUserAssignedIdentity
=== RUN   TestAccMobileNetworkPacketCoreControlPlane_requiresImport
=== PAUSE TestAccMobileNetworkPacketCoreControlPlane_requiresImport
=== RUN   TestAccMobileNetworkPacketCoreControlPlane_update
=== PAUSE TestAccMobileNetworkPacketCoreControlPlane_update
=== RUN   TestAccMobileNetworkPacketCoreControlPlane_complete
=== PAUSE TestAccMobileNetworkPacketCoreControlPlane_complete
=== CONT  TestAccMobileNetworkPacketCoreControlPlane_basic
=== CONT  TestAccMobileNetworkPacketCoreControlPlane_withCertificateUserAssignedIdentity
=== CONT  TestAccMobileNetworkPacketCoreControlPlane_withInteropJSON
=== CONT  TestAccMobileNetworkPacketCoreControlPlane_update
=== CONT  TestAccMobileNetworkPacketCoreControlPlane_withUeMTU
=== CONT  TestAccMobileNetworkPacketCoreControlPlane_withAccessInterface
=== CONT  TestAccMobileNetworkPacketCoreControlPlane_complete
=== CONT  TestAccMobileNetworkPacketCoreControlPlane_requiresImport
--- PASS: TestAccMobileNetworkPacketCoreControlPlane_withInteropJSON (575.57s)
--- PASS: TestAccMobileNetworkPacketCoreControlPlane_withUeMTU (602.95s)
--- PASS: TestAccMobileNetworkPacketCoreControlPlane_basic (642.91s)
--- PASS: TestAccMobileNetworkPacketCoreControlPlane_withAccessInterface (673.85s)
--- PASS: TestAccMobileNetworkPacketCoreControlPlane_requiresImport (792.53s)
--- PASS: TestAccMobileNetworkPacketCoreControlPlane_complete (801.28s)
--- PASS: TestAccMobileNetworkPacketCoreControlPlane_update (813.48s)
--- PASS: TestAccMobileNetworkPacketCoreControlPlane_withCertificateUserAssignedIdentity (916.91s)
PASS
ok      github.com/hashicorp/terraform-provider-azurerm/internal/services/mobilenetwork 916.981s

@ziyeqf
Copy link
Contributor Author

ziyeqf commented May 11, 2023

Could you please take another look at this? @stephybun

Copy link
Member

@stephybun stephybun left a comment

Choose a reason for hiding this comment

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

Thanks @ziyeqf.

I made another pass through and left some minor comments in-line. Once those are resolved this should be good to go!

Signed-off-by: ziyeqf <[email protected]>
@ziyeqf ziyeqf requested a review from stephybun May 18, 2023 05:49
@ziyeqf
Copy link
Contributor Author

ziyeqf commented May 22, 2023

kindly ping for another look

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.

LGTM ☎️

@katbyte katbyte merged commit f06130a into hashicorp:main May 23, 2023
katbyte added a commit that referenced this pull request May 23, 2023
@github-actions github-actions bot added this to the v3.58.0 milestone May 23, 2023
@github-actions
Copy link

This functionality has been released in v3.58.0 of the Terraform Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.

For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you!

Copy link

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active contributions.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 29, 2024
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.

5 participants