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_site_recovery_vmware_replication_policy_classic #20861

Closed
wants to merge 3 commits into from

Conversation

ziyeqf
Copy link
Contributor

@ziyeqf ziyeqf commented Mar 9, 2023

test

terraform-provider-azurerm ❯ TF_ACC=1 go test -v ./internal/services/recoveryservices -run=TestAccSiteRecoveryReplicationPolicyV2A -timeout=600m
=== RUN   TestAccSiteRecoveryReplicationPolicyV2A_basic
=== PAUSE TestAccSiteRecoveryReplicationPolicyV2A_basic
=== RUN   TestAccSiteRecoveryReplicationPolicyV2A_noSnapshots
=== PAUSE TestAccSiteRecoveryReplicationPolicyV2A_noSnapshots
=== RUN   TestAccSiteRecoveryReplicationPolicyV2A_wrongSettings
=== PAUSE TestAccSiteRecoveryReplicationPolicyV2A_wrongSettings
=== CONT  TestAccSiteRecoveryReplicationPolicyV2A_basic
=== CONT  TestAccSiteRecoveryReplicationPolicyV2A_wrongSettings
=== CONT  TestAccSiteRecoveryReplicationPolicyV2A_noSnapshots
--- PASS: TestAccSiteRecoveryReplicationPolicyV2A_wrongSettings (14.40s)
--- PASS: TestAccSiteRecoveryReplicationPolicyV2A_noSnapshots (443.06s)
--- PASS: TestAccSiteRecoveryReplicationPolicyV2A_basic (623.56s)
PASS
ok      github.com/hashicorp/terraform-provider-azurerm/internal/services/recoveryservices      623.630s

@ziyeqf ziyeqf changed the title New Resource: azurerm_site_recovery_replication_policy_vmware_classic New Resource: azurerm_site_recovery_vmware_replication_policy_classic Mar 10, 2023
@ziyeqf ziyeqf force-pushed the tengzh/recovery/vmware/policy branch from 2229a68 to 84fdbb8 Compare March 10, 2023 01:39
@ziyeqf ziyeqf force-pushed the tengzh/recovery/vmware/policy branch from 0027faa to af4a11a Compare March 10, 2023 01:57
@tombuildsstuff
Copy link
Contributor

@ziyeqf the Classic resources are likely to be removed in the future - since #20881 is adding support for the non-Classic version, what's the use-case for supporting the Classic version?

@ziyeqf
Copy link
Contributor Author

ziyeqf commented Mar 15, 2023

@ziyeqf the Classic resources are likely to be removed in the future - since #20881 is adding support for the non-Classic version, what's the use-case for supporting the Classic version?

Users could also use it for now. And the applications used to connected VMWare to vault are different, the classic one has been released for more time (maybe more stable?) so there may be users want to use the classic version I think.

Another thing is once a Recovery Vault is set to classic mode, it will not be able to set back again. If users want to migrate their infra to Terraform, they might need this.

@tombuildsstuff
Copy link
Contributor

@grayzu is reaching out to the Service Team about this one

@tombuildsstuff
Copy link
Contributor

hey @ziyeqf

As discussed offline, since we're not planing to support the classic version of this resource, whilst I'd like to thank you for this PR @ziyeqf I'm going to close this PR for the moment.

Thanks!

@grayzu
Copy link
Collaborator

grayzu commented Apr 12, 2023

@tombuildsstuff actually this PR is in support of new functionality. The classic name might be misleading here but this should not fall into the same bucket as other classic resources. Reopening and will discuss further offline if necessary.

@grayzu grayzu reopened this Apr 12, 2023
@ziyeqf
Copy link
Contributor Author

ziyeqf commented Apr 14, 2023

Sorry for the forth and back, discussed offline we decided to close this PR

@ziyeqf ziyeqf closed this Apr 14, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 14, 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.

4 participants