-
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_storage_account' - Support for 'blob_properties' 'cors_rule' #5425
Conversation
7c941e4
to
6cec5c5
Compare
@Brunhil sorry this has sat for a while / thanks for rebasing this - will take a look |
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.
hey @Brunhil
Thanks for this PR - apologies for the delayed review here! I've taken a look through and left a few comments inline, since there's some matching changes needed outside of the scope of this PR (but related) I hope you don't mind but I'm going to push a commit to fix up these comments & the other changes.
Thanks!
azurerm/internal/services/storage/resource_arm_storage_account.go
Outdated
Show resolved
Hide resolved
azurerm/internal/services/storage/resource_arm_storage_account.go
Outdated
Show resolved
Hide resolved
@tombuildsstuff thanks for reviewing this! |
Ignoring a couple of failing tests (which I've run locally and are also fine)
|
This has been released in version 2.0.0 of the provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. As an example: provider "azurerm" {
version = "~> 2.0.0"
}
# ... other configuration ... |
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 👉 [email protected]. Thanks! |
This PR adds the ability to set cors_rule's for blob's on the storage account. This will resolve #19
The one question I have is around the Azure Go Storage SDK vs. Giovanni Storage SDK. I chose to use the Azure Go Storage SDK. Do we want to use this or Giovanni?
Let me know and I can update if needed
=== RUN TestAccAzureRMStorageAccount_blobProperties
=== PAUSE TestAccAzureRMStorageAccount_blobProperties
=== CONT TestAccAzureRMStorageAccount_blobProperties
--- PASS: TestAccAzureRMStorageAccount_blobProperties (156.69s)
PASS
ok github.com/terraform-providers/terraform-provider-azurerm/azurerm/internal/services/storage/tests 156.958s