Skip to content

Releases: cloudposse/terraform-aws-eks-fargate-profile

v1.3.0

11 Jul 23:27
76953f5
Compare
Choose a tag to compare
Enable 1 Pod Execution Role Per Cluster @Nuru (#33)

what

  • Enable 1 Pod Execution Role Per Cluster by allowing users to create either a role or a profile or both
  • Deprecate "profile role" terminology in favor of "pod execution role"
  • Update example
  • Update tests
  • Update README and workflows

why

  • All Fargate Profiles can use the same Pod Execution Role, and there is no advantage (and several disadvantages) to using a different role with each profile. This module used to always create both a profile and a role. Now it allows you to create one or the other or both.
  • The term "profile role" is confusing and suggests using one role per profile. The term "pod execution role" matches AWS documentation.
  • Example used old modules that were incompatible with AWS provider v5 and did not set ALB tags.
    • Supersedes and closes #27.
    • Supersedes and closes #31.
  • Explain 1 role per cluster. Supersedes and closes #32
Sync github @max-lobur (#29)

Rebuild github dir from the template

v1.2.0

17 May 09:15
9ee484a
Compare
Choose a tag to compare
  • No changes

v1.1.0

24 May 20:16
9ee484a
Compare
Choose a tag to compare
Allow overriding Fargate Profile name and Fargate Role name. Update Fargate Profile naming @aknysh (#26)

what

  • Allow overriding Fargate Profile name and Fargate Role name
  • Add the provide Kubernetes namespace to the Fargate Profile name when it's derived from the context

why

  • Allow the caller of the module to specify the names of the Fargate Profile and Fargate IAM Role (instead of deriving them from the context)
  • Allow provisioning multiple Fargate Profiles into the same account (using the same context values) but for different Kubernetes namespaces

v1.0.0

24 May 16:38
3d415f5
Compare
Choose a tag to compare
Update module versions. Update GitHub Actions. Update example and tests. Update README @aknysh (#25)

what

  • Update module versions
  • Update GitHub Actions
  • Update example and tests
  • Update README

why

  • Keep up to date

test

Waiting for worker nodes to join the EKS cluster...
Creating Kubernetes deployment 'demo-deployment' in the 'default' namespace...
Created Kubernetes deployment "demo-deployment"
Node ip-172-16-127-184.us-east-2.compute.internal has joined the EKS cluster at 2022-05-24 07:59:51 +0000 UTC
Node ip-172-16-133-145.us-east-2.compute.internal has joined the EKS cluster at 2022-05-24 07:59:52 +0000 UTC
Node fargate-ip-172-16-34-128.us-east-2.compute.internal has joined the EKS cluster at 2022-05-24 08:01:26 +0000 UTC
All nodes have joined the EKS cluster
Listing deployments in namespace '"default"':
* Deployment 'demo-deployment' has 1 replica(s)
Deleting deployment 'demo-deployment' ...
Deleted deployment 'demo-deployment'

v0.9.2

27 Aug 21:19
7138a77
Compare
Choose a tag to compare

🚀 Enhancements

Use partition @nitrocode (#19)

what

  • Use partition

why

  • Govcloud

references

N/A

v0.9.1

21 Aug 03:31
8b1896b
Compare
Choose a tag to compare

🤖 Automatic Updates

Update context.tf @cloudpossebot (#18)

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.9.0

14 Mar 18:30
2baf479
Compare
Choose a tag to compare
Update main.tf @abhinavkhanna-sf (#17)

what

  • added permissions_boundary to aws_iam_role

why

  • module can accept permissions_boundary

references

v0.8.1

06 Feb 02:49
e8ee669
Compare
Choose a tag to compare

🤖 Automatic Updates

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

This PR contains the following updates:

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

Read more

v0.8.0

06 Feb 02:17
473d62c
Compare
Choose a tag to compare
context.tf updated to v0.24.1, minimum required Terraform version bumped to 0.13.0 when needed, readme updated @maximmi (#13)

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

Closes #14

v0.7.0

04 Feb 06:55
120a6fd
Compare
Choose a tag to compare
Terraform 0.14 upgrade @maximmi (#12)

what

  • Upgrade to support Terraform 0.14 and bring up to current Cloud Posse standard

why

  • Support Terraform 0.14

supersedes and closes #11