-
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
azurerm_site_recovery_replication_recovery_plan
: keep the order of recovery_group
#22348
azurerm_site_recovery_replication_recovery_plan
: keep the order of recovery_group
#22348
Conversation
…`recovery_group` Signed-off-by: ziyeqf <[email protected]>
b630242
to
3411bab
Compare
Signed-off-by: ziyeqf <[email protected]>
@@ -258,6 +261,8 @@ A `recovery_group` block supports the following: | |||
|
|||
* `type` - (Required) The Recovery Plan Group Type. Possible values are `Boot`, `Failover` and `Shutdown`. | |||
|
|||
**Note:** The List of `recovery_group` must be in the order of `Shutdown`-`Failover`-`Boot`. |
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.
should these be modelled differently to account for that?
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.
have updated per comments, please take another look:)
Signed-off-by: ziyeqf <[email protected]>
triggered a test on TC and will upload the result here |
Signed-off-by: ziyeqf <[email protected]>
Signed-off-by: ziyeqf <[email protected]>
e95a168
to
d858643
Compare
Signed-off-by: ziyeqf <[email protected]>
36ccc7a
to
aa0b8f1
Compare
|
||
-> **NOTE:** `shutdown_recovery_group` will be required in the next major version of the AzureRM Provider. | ||
|
||
* `failover_recovery_group` - (Optional) One or more `failover_recovery_group` block defined as below. |
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.
This is not consistent with the Microsoft.RecoveryServices/vaults/replicationRecoveryPlans@2022-10-01 API. If I create multiple failover or shutdown groups, I receive an error: "recommendedAction": "Ensure there is only a single shutdown and a single failover group and that virtual machines are present in only one boot group." Only multiple boot groups are allowed.
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, code updated
Signed-off-by: ziyeqf <[email protected]>
Signed-off-by: ziyeqf <[email protected]>
431e293
to
40b5a24
Compare
Signed-off-by: ziyeqf <[email protected]>
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.
@ziyeqf Can you look at the linting error? Unfortunately we can't merge a fixable failure.
Signed-off-by: ziyeqf <[email protected]>
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 @ziyeqf, just some minor wording tweaks but this otherwise LGTM! 🪐
internal/services/recoveryservices/site_recovery_replication_recovery_plan_resource.go
Outdated
Show resolved
Hide resolved
website/docs/r/site_recovery_replication_recovery_plan.html.markdown
Outdated
Show resolved
Hide resolved
website/docs/r/site_recovery_replication_recovery_plan.html.markdown
Outdated
Show resolved
Hide resolved
website/docs/r/site_recovery_replication_recovery_plan.html.markdown
Outdated
Show resolved
Hide resolved
website/docs/r/site_recovery_replication_recovery_plan.html.markdown
Outdated
Show resolved
Hide resolved
website/docs/r/site_recovery_replication_recovery_plan.html.markdown
Outdated
Show resolved
Hide resolved
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. |
fix #22323