-
Notifications
You must be signed in to change notification settings - Fork 2
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
feat: Immutability policy storage account [#IOPID-752] #159
Conversation
4a1dc0f
to
cdcac09
Compare
@BurnedMarshal I confirm you found a Terraform bug and we are going to open an issue. In the meanwhile, you can use az cli in the Terraform configuration to make the necessary changes |
f1c71bd
to
5282ae0
Compare
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.
LGTM, only a little fix on null_resource name
Co-authored-by: Andrea Grillo <andrea.grillo@outlook.com>
🎉 This PR is included in version 7.9.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
List of changes
Add variables to set the immutability policy params for an Azure Storage.
Optional immutability policy into the module.
Motivation and context
The Blob storage that contains audit logs for legal reason must have an immutability policy to prevent data deletion until the end of the retention policy.
Type of changes
Does this introduce a breaking change?
Other information
The actual version of the
hashicorp/azurerm
module when we change fromUnlocked
orDisabled
state of the immutability policy toLocked
update the terraform state file but doesn't update the resource into the cloud.Run checks
Useful commands to run checks on local machine
bash .utils/terraform_run_all.sh init local pre-commit run -a