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

azurerm_site_recovery_replication_recovery_plan: support azure_to_azure_settings #21666

Merged
merged 4 commits into from
May 24, 2023

Conversation

ziyeqf
Copy link
Contributor

@ziyeqf ziyeqf commented May 5, 2023

fix #21584

test

tftest recoveryservices TestAccSiteRecoveryReplicationRecoveryPlan          
=== RUN   TestAccSiteRecoveryReplicationRecoveryPlan_basic
=== PAUSE TestAccSiteRecoveryReplicationRecoveryPlan_basic
=== RUN   TestAccSiteRecoveryReplicationRecoveryPlan_withPreActions
=== PAUSE TestAccSiteRecoveryReplicationRecoveryPlan_withPreActions
=== RUN   TestAccSiteRecoveryReplicationRecoveryPlan_withPostActions
=== PAUSE TestAccSiteRecoveryReplicationRecoveryPlan_withPostActions
=== RUN   TestAccSiteRecoveryReplicationRecoveryPlan_withZones
=== PAUSE TestAccSiteRecoveryReplicationRecoveryPlan_withZones
=== CONT  TestAccSiteRecoveryReplicationRecoveryPlan_basic
=== CONT  TestAccSiteRecoveryReplicationRecoveryPlan_withPreActions
=== CONT  TestAccSiteRecoveryReplicationRecoveryPlan_withZones
=== CONT  TestAccSiteRecoveryReplicationRecoveryPlan_withPostActions
--- PASS: TestAccSiteRecoveryReplicationRecoveryPlan_withPreActions (2968.79s)
--- PASS: TestAccSiteRecoveryReplicationRecoveryPlan_basic (3000.41s)
--- PASS: TestAccSiteRecoveryReplicationRecoveryPlan_withPostActions (3096.27s)
--- PASS: TestAccSiteRecoveryReplicationRecoveryPlan_withZones (3352.37s)
PASS
ok      github.com/hashicorp/terraform-provider-azurerm/internal/services/recoveryservices      3352.441s

Copy link
Member

@catriona-m catriona-m 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 this @ziyeqf - this is looking pretty good so far, however it would be good if we could also include a test for primary_edge_zone and recovery_edge_zone just to confirm these work as expected too. Thanks!

@ziyeqf
Copy link
Contributor Author

ziyeqf commented May 6, 2023

@catriona-m sure, test case added. Sorry for missing that one.
Screenshot 2023-05-06 at 11 04 58

Copy link
Member

@catriona-m catriona-m 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 - just spotted a couple of minor things on having a second look, but otherwise looking pretty good! Thanks!

Signed-off-by: ziyeqf <[email protected]>
Signed-off-by: ziyeqf <[email protected]>
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 2b78ebc into hashicorp:main May 24, 2023
@github-actions github-actions bot added this to the v3.58.0 milestone May 24, 2023
katbyte added a commit that referenced this pull request May 24, 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.

Support for zone-redundant site recovery replication recovery plans
3 participants