You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently when creating a Managed Disk in an azurerm_virtual_machine_scale_set - the name field under storage_profile_os_disk is a Required field. However this can't be set at the same time as managed_disk_type, as such it needs to be set to an empty string - instead this would make more sense as an Optional field.
tombuildsstuff
changed the title
provider/azurerm: VMSS Managed Disk - storage_profile_os_disk.name should be optional
VMSS Managed Disk - storage_profile_os_disk.name should be optional
Jun 14, 2017
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 hashibot-feedback@hashicorp.com. Thanks!
ghost
locked and limited conversation to collaborators
Apr 1, 2020
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
This issue was originally opened by @tombuildsstuff as hashicorp/terraform#14932. It was migrated here as part of the provider split. The original body of the issue is below.
Currently when creating a Managed Disk in an
azurerm_virtual_machine_scale_set
- thename
field understorage_profile_os_disk
is a Required field. However this can't be set at the same time asmanaged_disk_type
, as such it needs to be set to an empty string - instead this would make more sense as an Optional field.Terraform Version
0.9.6
Affected Resource(s)
azurerm_vm_scale_set
Terraform Configuration Files
Debug Output
n/a
Panic Output
n/a
Expected Behavior
The
name
field in thestorage_profile_os_disk
object should be Optional, rather than Required - given it's only mandatory for non-managed disks.Actual Behavior
The
name
field needs to be set to an empty string currently (see the HCL above)References
The text was updated successfully, but these errors were encountered: