-
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_recovery_services_vault
- new property classic_vmware_replicate_enabled
#20473
azurerm_recovery_services_vault
- new property classic_vmware_replicate_enabled
#20473
Conversation
internal/services/recoveryservices/recovery_services_vault_resource.go
Outdated
Show resolved
Hide resolved
test
|
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 for this @ziyeqf. Left some comments and questions in-line but once those are resolved we can take another look!
internal/services/recoveryservices/recovery_services_vault_resource.go
Outdated
Show resolved
Hide resolved
internal/services/recoveryservices/recovery_services_vault_resource.go
Outdated
Show resolved
Hide resolved
resource "azurerm_recovery_services_vault" "test" { | ||
name = "acctest-Vault-%d" | ||
location = azurerm_resource_group.test.location | ||
resource_group_name = azurerm_resource_group.test.name | ||
sku = "Standard" | ||
classic_vmware_replication_enabled = true | ||
soft_delete_enabled = false |
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.
Formatting
resource "azurerm_recovery_services_vault" "test" { | |
name = "acctest-Vault-%d" | |
location = azurerm_resource_group.test.location | |
resource_group_name = azurerm_resource_group.test.name | |
sku = "Standard" | |
classic_vmware_replication_enabled = true | |
soft_delete_enabled = false | |
resource "azurerm_recovery_services_vault" "test" { | |
name = "acctest-Vault-%d" | |
location = azurerm_resource_group.test.location | |
resource_group_name = azurerm_resource_group.test.name | |
sku = "Standard" | |
classic_vmware_replication_enabled = true | |
soft_delete_enabled = false |
"classic_vmware_replication_enabled": { | ||
Type: pluginsdk.TypeBool, | ||
Optional: true, | ||
Computed: true, |
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.
Does this need to be computed?
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.
updated comment in code, and I'm worried if we set default value for it, it may break some users vault as they might have changed this on Portal.
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 LGTM 🥭
This functionality has been released in v3.45.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! |
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. |
test