Skip to content

Releases: cloudposse/terraform-aws-backup

v0.10.4

21 Aug 03:15
0683261
Compare
Choose a tag to compare

🤖 Automatic Updates

Update context.tf @cloudpossebot (#29)

what

This is an auto-generated PR that updates the context.tf file to the latest version from cloudposse/terraform-null-label

why

To support all the features of the context interface.

v0.10.3

04 Aug 18:07
3e83af3
Compare
Choose a tag to compare

🚀 Enhancements

Support govcloud @nitrocode (#26)

what

  • Support govcloud

why

  • Support more partitions

references

  • Previous PR #22

v0.10.2

04 Aug 18:00
3331001
Compare
Choose a tag to compare

🚀 Enhancements

Reuse existing vault @nitrocode (#25)

what

  • Reuse existing vault
  • Similar to existing iam role

why

  • You may want to reuse an existing vault with the option to provide the target_vault_name or simply reuse the one from module.this.id
  • This also checks if the target vault exists using the data source

references

N/A

v0.10.1

04 Aug 17:33
f8905bb
Compare
Choose a tag to compare

🚀 Enhancements

Allow `target_iam_role_name` in existing @nitrocode (#24)

what

  • Allow target_iam_role_name in existing

why

  • I want to change the name variable and reuse an existing iam role that was created when I did not overwrite the name variable.

references

N/A

v0.10.0

23 Jul 13:42
019140f
Compare
Choose a tag to compare
Remove `backup_vault_recovery_points` output @Benbentwo (#21)

what

  • removed backup_vault_recovery_points as an output, as it is not affected by resource changes

why

  • Noisy output with little use

v0.9.0

09 Jul 17:46
f881352
Compare
Choose a tag to compare
Add `enable_continuous_backup` @nitrocode (#20)

what

  • Add enable_continuous_backup

why

  • Enable continuous backups for supported resources.

references

v0.8.1

09 Jul 02:36
dcc3256
Compare
Choose a tag to compare

🚀 Enhancements

Fix `data.aws_iam_role.existing` count logic @nitrocode (#19)

what

  • Fix data.aws_iam_role.existing count logic.

why

  • When enabled = false, it tries to find the existing iam role

references

N/A

🐛 Bug Fixes

Fix `data.aws_iam_role.existing` count logic @nitrocode (#19)

what

  • Fix data.aws_iam_role.existing count logic.

why

  • When enabled = false, it tries to find the existing iam role

references

N/A

v0.8.0

17 Jun 22:47
8b050df
Compare
Choose a tag to compare
allows easier creation of many of these modules @Benbentwo (#18)

what

  • Allows the module to be recreated many times using the same Vault or IAM role.

why

  • We should be able to create many Backup plans that share the same Vault and or share the same IAM Role
  • We should be able to disable components

v0.7.0

26 Apr 23:15
218853c
Compare
Choose a tag to compare
Add support for setting selection_tag on aws_backup_selection allowing tag based resource selection @chancez (#16)

Fixes #15

v0.6.1

06 Feb 02:24
47baa2f
Compare
Choose a tag to compare

🤖 Automatic Updates

Update Terraform cloudposse/label/null to v0.24.1 @renovate (#13)

This PR contains the following updates:

Package Type Update Change
cloudposse/label/null (source) terraform minor 0.22.1 -> 0.24.1

Release Notes

cloudposse/terraform-null-label

v0.24.1

Compare Source

Allow control of letter case of outputs @​SweetOps (#​107)

You now have control over the letter case of generated tag names and supplied labels, which means you also have control over the letter case of the ultimate id.

Labels are the elements you can include in label_order, namely namespace, environment, stage, name, and attributes. For every non-empty label, a corresponding tag name is generated. For namespace, environment, stage, the output is the formatted, normalized input. (By "normalized" we mean that it goes through regex_replace_chars.), For attributes, which is a list, each element is normalized, duplicates are removed, and the resulting list is converted to a string by joining the elements with the delimiter (defaults to hyphen). For name, which is special, the output is the same as id, which is the joining of the labels in the order specified by label_order and separated by delimiter.

  • You can set label_key_case to one of upper, lower, or title, which will result in generated tag names in the corresponding case: NAME, name, or Name. For backwards compatibility, title is the default
  • You can set label_value_case to one of upper, lower, title, or none, which will result in output label values in the corresponding case (with none meaning no case conversion of any kind will be done, though the labels will still be subject to regex_replace_chars). The case converted labels will show up not just in the module output of the labels themselves, but also in the tag values and in the id string.

You can look at the test cases in examples/complete and the expected results in test/src/examples_complete_test.go to see examples of how this is supposed to work.

One interesting example is that you can create ids in Pascal case by setting label_value_case = "title" and delimiter = "".

Include updates to exports/context.tf @​Nuru (#​122 and #​123) ##### what - Include updates to `exports/context.tf` - Update README with features and compatibilty - Add validation for `id_length_limit` ##### why - The `exports/context.tf` is what gets distributed and needs to be in sync - Replace outdated information - Was not validated earlier because validators are not supported in TF 0.12 but now we are dropping support for TF 0.12 and so we can add validators
Restore backward compatibility with v0.22.1 and earlier @​Nuru (#​121) ##### what - Restore backward compatibility with v0.22.1 and earlier - Allow setting of `label_key_case` and `label_value_case` by vars, not just by context attributes. ##### why - Allow interoperability of old and new modules - Normally, root modules make settings via individual variables, not by setting an entire context block.

Incorporates and closes #​120

v0.24.0

Compare Source

Restore backward compatibility with v0.22.1 and earlier @​Nuru (#​121) ##### what - Restore backward compatibility with v0.22.1 and earlier - Allow setting of `label_key_case` and `label_value_case` by vars, not just by context attributes. ##### why - Allow interoperability of old and new modules - Normally, root modules make settings via individual variables, not by setting an entire context block.

Incorporates and closes #​120

Allow control of letter case of outputs @​SweetOps (#​107)

You now have control over the letter case of generated tag names and supplied labels, which means you also have control over the letter case of the ultimate id.

Labels are the elements you can include in label_order, namely namespace, environment, stage, name, and attributes. For every non-empty label, a corresponding tag name is generated. For namespace, environment, stage, the output is the formatted, normalized input. (By "normalized" we mean that it goes through regex_replace_chars.), For attributes, which is a list, each element is normalized, duplicates are removed, and the resulting list is converted to a string by joining the elements with the delimiter (defaults to hyphen). For name, which is special, the output is the same as id, which is the joining of the labels in the order specified by label_order and separated by delimiter.

  • You can set label_key_case to one of upper, lower, or title, which will result in generated tag names in the corresponding case: NAME, name, or Name. For backwards compatibility, title is the default
  • You can set label_value_case to one of upper, lower, title, or none, which will result in output label values in the corresponding case (with none meaning no case conversion of any kind will be done, though the labels will still be subject to regex_replace_chars). The case converted labels will show up not just in the module output of the labels themselves, but also in the tag values and in the id string.

You can look at the test cases in examples/complete and the expected results in test/src/examples_complete_test.go to see examples of how this is supposed to work.

One interesting example is that you can create ids in Pascal case by setting label_value_case = "title" and delimiter = "".

##### Known issues - `exports/context.tf` still not backwards compatible - Validation for `id_length` not included in `exports/context.tf`

v0.23.0

Compare Source

Known issues
  • Does not interoperate with earlier versions of null-label. The canonical context = module.this.context fails if module.this.context is an older version
  • context.tf does not incorporate var.label_key_case and var.label_value_case into the module.this object, preventing those variables from taking effect in the root module's module.this.
feat: add support for setting letter case of context tags @​SweetOps (#​107)

With this release, you gain control over the letter case of generated tag names and supplied labels, which means you also have control over the letter case of the ultimate id.

Labels are the elements you can include in label_order, namely namespace, environment, stage, name, and attributes. For every non-empty label, a corresponding tag name is generated. For namespace, environment, stage, the output is the formatted, normalized input. (By "normalized" we mean that it goes through regex_replace_chars.), For attributes, which is a list, each element is normalized, duplicates are removed, and the resulting list is converted to a string by joining the elements with the delimiter (defaults to hyphen). For name, which is special, the output is the same as id, which is the joining of the labels in the order specified by label_order and separated by delimiter.

  • You can set label_key_case to one of upper, lower, or title, which will result in generated tag names in the corresponding case: NAME, name, or Name. For backwards compatibility, title is the default
  • You can set label_value_case to one of upper, lower, title, or none, which will result in output label values in the corresponding case (with none meaning no case conversion of any kind will be done, though the labels will still be subject to regex_replace_chars). The case converted labels will show up not just in the module output of the labels themselves, but also in the tag values and in the id string.

You can look at the test cases in examples/complete and the expected results in test/src/examples_complete_test.go to see examples of how this is supposed to work.

One interesting example is that you can create ids in Pascal case by setting label_value_case = "title" and delimiter = "".