terraform-provider-azurerm
terraform-provider-azurerm copied to clipboard
Support for source_content in azurerm_storage_share_file
Community Note
- Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
- Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
- If you are interested in working on this issue or have submitted a pull request, please leave a comment
Description
Thanks to the maintainers/implementers for your hard work on azurerm_storage_share_file
! It would be nice to also have a source_content
argument to define files inline, similar to azurerm_storage_blob
.
New or Affected Resource(s)
- azurerm_storage_share_file
Potential Terraform Configuration
resource "azurerm_storage_share_file" "example" {
name = "my-shopping-list.txt"
storage_share_id = azurerm_storage_share.example.id
source_content = <<-EOT
My shopping list:
* eggs
* bananas
* kiwis
* milk tea
EOT
}
References
- #5132