terraform-aws-modules / terraform-aws-efs

Terraform module to create AWS EFS resources 🇺🇦
https://registry.terraform.io/modules/terraform-aws-modules/efs/aws
Apache License 2.0
24 stars 41 forks source link

fix: Create backup policy conditionally #5

Closed jeenadeepak closed 1 year ago

jeenadeepak commented 1 year ago

Description

Introduce create_backup_policy flag, on bases of which we will decide that either to create aws_efs_backup_policy resource or not.

Motivation and Context

Terraform apply command failed partially when aws backup is not available for any specific region, I have disabled enable_backup_policy but still it is throwing error.

bryantbiggs commented 1 year ago

you will need to run pre-commit run terraform-docs -a to update docs for this change

jeenadeepak commented 1 year ago

you will need to run pre-commit run terraform-docs -a to update docs for this change

Done

antonbabenko commented 1 year ago

This PR is included in version 1.0.2 :tada:

github-actions[bot] commented 1 year ago

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 issues. If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.