Skip to content

Releases: cloudposse/terraform-aws-inspector

v0.2.3

08 Sep 18:05
eb0c8c3
Compare
Choose a tag to compare

🤖 Automatic Updates

Update Terraform cloudposse/iam-role/aws to v0.11.0 @renovate (#16)

This PR contains the following updates:

Package Type Update Change
cloudposse/iam-role/aws (source) module minor 0.10.1 -> 0.11.0

Release Notes

cloudposse/terraform-aws-iam-role

v0.11.0

Compare Source

Add instance profile @​sebastianmacarescu (#​27) #### what * add option to create instance profile for the role #### why * we should be able to use this module to create a role for an ec2 instance #### references * https://github.com/cloudposse/terraform-aws-iam-role/issues/26

Configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Renovate will not automatically rebase this PR, because other commits have been found.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box.

This PR has been generated by WhiteSource Renovate. View repository job log here.

v0.2.2

29 Aug 01:54
8951e70
Compare
Choose a tag to compare

🤖 Automatic Updates

Update Terraform cloudposse/label/null to v0.25.0 @renovate (#14)

This PR contains the following updates:

Package Type Update Change
cloudposse/label/null (source) module minor 0.24.1 -> 0.25.0

Release Notes

cloudposse/terraform-null-label

v0.25.0

Compare Source

Add "tenant", "labels_as_tags", and "descriptors" @​Nuru (#​132) ##### what - Add additional label and `id` component: `tenant` - New input `labels_as_tags` controls which labels are exported as tags - New input `descriptor_formats` generates new output `descriptors` - Update README, remove link to obsolete `terraform-terraform-label` ##### why - Support users that host resources on behalf of and/or dedicated to single customers - Supersedes and closes #​131, giving people control over which tags the module generates - Simple mechanism for creating multiple identifiers from the same inputs, reducing the need to create multiple instances of `null-label` - Document `tenant`, `labels_as_tags`, `descriptor_formats`, add additional clarification, stop promoting obsolete module
Fix: Update README Snippets @​korenyoni (#​130) ##### what * Update README snippets to reflect use of Terraform Registry. ##### why * Including snippets that reflect use of the Terraform Registry make it easier for users to quickly instantiate a null_label module. * README is out of date and does not include snippets that reflect use of the Terraform Registry. ##### references * N/A
Bridgecrew compliance @​Nuru (#​125) ##### what - Resolve Bridgecrew compliance complaint about example Autoscaling Group (BC_AWS_GENERAL_31) - Fix typo in README - Include Terraform lock file in `.gitignore` ##### why - Get clean Bridgecrew badge - Correct confusing error - Ensure lock files are not checked into GitHub ##### note The PR can and should be merged into `master` to update README and Bridgecrew without triggering a new release/version. These changes have no effect on the actual module in use and a release will create unnecessary ripple effects. However, merging to `master` will update the README and badges, so is worthwhile, and the changes will move forward into the next release.
Properly output descriptors of chained modules @​Nuru (#​133) ##### what - Properly output descriptors of chained modules ##### why - Bug fix; implement intended behavior

Configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Renovate will not automatically rebase this PR, because other commits have been found.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box.

This PR has been generated by WhiteSource Renovate. View repository job log here.

v0.2.1

29 Aug 01:47
eba2693
Compare
Choose a tag to compare

🤖 Automatic Updates

Update Terraform cloudposse/iam-role/aws to v0.10.1 @renovate (#10)

This PR contains the following updates:

Package Type Update Change
cloudposse/iam-role/aws (source) module minor 0.9.3 -> 0.10.1

Release Notes

cloudposse/terraform-aws-iam-role

v0.10.1

Compare Source

🤖 Automatic Updates

Update context.tf @​cloudpossebot (#​28) #### 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.0

Compare Source

Remove dependency from policy-document-aggregator @​goruha (#​25) #### what * Replace "cloudposse/terraform-aws-iam-policy-document-aggregator" with https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document#example-of-merging-override-documents #### why * Reduce complexity

Configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Renovate will not automatically rebase this PR, because other commits have been found.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box.

This PR has been generated by WhiteSource Renovate. View repository job log here.

v0.2.0

26 May 17:54
d248c91
Compare
Choose a tag to compare
Allow human readable rules to be passed in @nitrocode (#12)

what

why

  • This simplifies figuring out the correct arns of the rules that we want applied

references

N/A

v0.1.3

26 May 00:06
96c55f8
Compare
Choose a tag to compare

🚀 Enhancements

Check all resources for enabled @nitrocode (#11)

what

  • Disable resource creation if module.this.enabled is false for all resources
  • Disable resource creation if enabled_rules is empty
  • Fixed terratests

why

  • Standardization

references

N/A

🐛 Bug Fixes

Check all resources for enabled @nitrocode (#11)

what

  • Disable resource creation if module.this.enabled is false for all resources
  • Disable resource creation if enabled_rules is empty
  • Fixed terratests

why

  • Standardization

references

N/A

v0.1.2

01 Mar 13:54
022955c
Compare
Choose a tag to compare

🤖 Automatic Updates

Update Terraform cloudposse/iam-role/aws to v0.9.3 @renovate (#8)

This PR contains the following updates:

Package Type Update Change
cloudposse/iam-role/aws (source) terraform minor 0.6.1 -> 0.9.3

Release Notes

cloudposse/terraform-aws-iam-role

v0.9.3

Compare Source

🤖 Automatic Updates

Update README.md and docs @​cloudpossebot (#​20) #### what This is an auto-generated PR that updates the README.md and docs #### why To have most recent changes of README.md and doc from origin templates

v0.9.2

Compare Source

🚀 Enhancements

adding tags for role @​roock (#​6)

Adding tags for role

v0.9.1

Compare Source

🤖 Automatic Updates

Update Terraform cloudposse/iam-policy-document-aggregator/aws to v0.8.0 @​renovate (#​23)

This PR contains the following updates:

Package Type Update Change
cloudposse/iam-policy-document-aggregator/aws (source) terraform minor 0.6.0 -> 0.8.0

Release Notes
cloudposse/terraform-aws-iam-policy-document-aggregator ##### [`v0.8.0`](https://togithub.com/cloudposse/terraform-aws-iam-policy-document-aggregator/releases/0.8.0)

Compare Source

minimum required Terraform version bumped to 0.13.0, context.tf updated, readme updated @​&#​8203;maximmi (#&#​8203;25) ##### what - update context.tf to v0.23.0 - minimum required Terraform version bumped to 0.13.0 - readme updated, Bridgecrew compliance badges added ##### why - It allows for setting the letter case of tag names and labels - we have dropped support for Terraform 0.12 - To be able see and fix the recommendations from Bridgecrew so we can position our modules as standards compliant
##### [`v0.7.0`](https://togithub.com/cloudposse/terraform-aws-iam-policy-document-aggregator/releases/0.7.0)

Compare Source

Terraform 0.14 upgrade @​&#​8203;maximmi (#&#​8203;24) ##### what - Upgrade to support Terraform 0.14 and bring up to current Cloud Posse standard ##### why - Support Terraform 0.14

v0.9.0

Compare Source

context.tf updated to v0.24.1, minimum required Terraform version bumped to 0.13.0 when needed, readme updated @​maximmi (#​22) #### what - update context.tf to v0.24.1 - minimum required Terraform version bumped to 0.13.0 - readme updated, Bridgecrew compliance badges added #### why - It allows for setting the letter case of tag names and labels, back compatibility with context v0.22.0 and below - we have dropped support for Terraform 0.12 - To be able see and fix the recommendations from Bridgecrew so we can position our modules as standards compliant

v0.8.0

Compare Source

Terraform 0.14 upgrade @​maximmi (#​21) #### what - Upgrade to support Terraform 0.14 and bring up to current Cloud Posse standard #### why - Support Terraform 0.14

v0.7.0

Compare Source

Terraform 0.14 upgrade @​woz5999 (#​19) #### what fixes and updates for tf 0.14 compatibility

v0.1.1

01 Mar 13:42
8610012
Compare
Choose a tag to compare

🤖 Automatic Updates

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

This PR contains the following updates:

Package Type Update Change
cloudposse/label/null (source) terraform minor 0.21.0 -> 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 = "".

v0.22.1

Compare Source

Add var.attributes to end of context.attributes, not vice versa @​Nuru (#​114) ##### what - Add `var.attributes` to end of `context.attributes`, not vice versa - Update to current workflows (with some exceptions) ##### why - Modules should append to attributes passed in, not insert themselves ahead of others - New features, like auto-format (but holding back some, because this is a special module) ##### references - closes #​113 - closes #​108

v0.22.0

[Compare Source](https://togithub.com/cloudposse/terraform-null-label/compare/0.21.0.....

Read more

0.1.0: initial implementation (#2)

27 Feb 07:44
a510efd
Compare
Choose a tag to compare
* update context to use terraform registry format

* update versions

* add initial module

* update tests

* add comment about terratest bug

* add random seed

* update readme

* remove bats test

* update readme

* make description a variable

* update readme

* fix tests with different terratest approach

* remove unused func

* update readme based on eric's feedback

* reenable bats tests

* fix typo

* disable bats tests

* reenable bats testing again

* update context tf

* Auto Format

* update terraform

* update Makefile

Co-authored-by: cloudpossebot <[email protected]>