Skip to content

Releases: cloudposse/terraform-aws-components

v1.487.0

20 Aug 18:47
f5c5a6f
Compare
Choose a tag to compare
Add Scoped Rate Limits and Bot Control Machine Learning to WAF Component @RoseSecurity (#1103)

what

  • Added enable_machine_learning parameter inside aws_managed_rules_bot_control_rule_set configuration
  • Adds scope_down_statements with byte matching support

why

  • AWS highly recommends safeguarding against HTTP request floods; they advise implementing two rate limiting rules for web traffic. The initial rule employs AWS WAF's rate-based rules to automatically block IP addresses of malicious actors if the number of requests in a 5-minute sliding window surpasses a predefined threshold. The second rule focuses on a more detailed approach, allowing for targeted blocking. This is achieved by using scope_down_statements to refine the criteria for blocking, enhancing the precision of the defense mechanism.
  • Added enable_machine_learning argument to avoid idempotency problem if you use "COMMON" inspection level

example

scoped_rule

testing

Utilized the following example Atmos component:

        rate_based_statement_rules:
          - name: "scoped-rate-limit"
            action: "block"
            priority: 10
            statement:
              limit: 1000
              aggregate_key_type: "IP"
              evaluation_window_sec: 300
              scope_down_statement:
                byte_match_statement:
                  field_to_match:
                    uri_path: true
                  positional_constraint: "STARTS_WITH"
                  search_string: "/test"
                  text_transformation:
                    - priority: 0
                      type: "NONE"

references

v1.486.0

19 Aug 12:46
6bbc490
Compare
Choose a tag to compare
feat: IAM Access Analyzer Component @RoseSecurity (#1066)

what

[!NOTE]
This component was developed by @aknysh

  • Creates a new component for access-analyzer

why

This component is responsible for configuring AWS Identity and Access Management Access Analyzer within an AWS
Organization. IAM Access Analyzer helps you identify the resources in your organization and accounts, such as Amazon S3 buckets or IAM roles, shared with an external entity. This lets you identify unintended access to your resources and data, which is a security risk.

references

v1.485.0

15 Aug 15:31
482be0b
Compare
Choose a tag to compare
make requester vpc lookup optional if vpc is passed @Benbentwo (#1099)

what

continuation of #1097

Add frontmatter @osterman (#1085)

what

  • Specify the layer associated with each component using tags
  • Tag each component
  • Move title to front matter

why

  • So we can associate components with layers in documentation
  • Play nicely with docusarus

ref

v1.484.0

14 Aug 17:18
711575a
Compare
Choose a tag to compare
Update `eks/external-dns` component to support Istio `istio-gateway` resources @aknysh (#1098)

what

  • Update eks/external-dns component to support Istio istio-gateway resources

why

  • The external-dns Helm Chart supports the sources variable (not source) to specify the resources types to be observed for new DNS entries by ExternalDNS
## @param sources [array] K8s resources type to be observed for new DNS entries by ExternalDNS
##
sources:
  # - crd
  - service
  - ingress

The code used the source variable instead of sources. It was working for the service and ingress types because they are in the Chart values by default.

The istio-gateway resource was never added, preventing external-dns from managing Istio Gateways and creating DNS records for the Gateway's hosts.

references

v1.483.0

14 Aug 16:24
8354d70
Compare
Choose a tag to compare
update `vpc-peering` with requester params @Benbentwo (#1097)

what

  • New Variable:
    requester_vpc_id - allows passing in an ID for the requester vpc
    requester_role_arn - allows passing in a custom arn to use to hook up the requester vpc

why

the requester vpc shouldn't HAVE to be a vpc component.

DEV-2439: Update all docs.cloudposse links @milldr (#1096)

what

  • Updated all links for docs.cloudposse.com

why

  • New version of the docs has been released! As such, there are many changes in links

references

  • DEV-2439

v1.482.0

12 Aug 16:35
32d120d
Compare
Choose a tag to compare
Upstream `eks/actions-runner-controller` with `var.auto_update_enabled` @milldr (#1095)

what

  • Upstream improvements for eks/actions-runner-controller
  • Added var.auto_update_enabled

why

  • We can now choose whether or not to enable runner auto-updates. The default behavior is to auto-update, but we've encountered issues building on Geodesic where we choose to disable auto-update for the sake of debugging. Added to this chart to help future efforts
  • It's no longer pointless to pin the version, and is rather a matter of preference.

references

v1.481.0

09 Aug 19:55
c7b9050
Compare
Choose a tag to compare
fix: tfstate-backend cold-start regression @dudymas (#1093)

what

  • fix(tfstate-backend): cold-start regression
  • chore(tfstate-backend): update cold-start reqs

why

  • tfstate cold-start had a regression bug that prevents an admin from using
    the bucket/dynamodb

references

v1.480.0

09 Aug 18:14
6a4eff3
Compare
Choose a tag to compare
Add Variable for dynamic dns component lookup @Benbentwo (#1094)

what

  • Adds input for dynamic component lookup for external-dns

why

  • External DNS needs a policy that contains each hosted zone. we lookup only dns-primary and dns-delegated currently. This changes it so we can support a list of objects to enhance that lookup.

e.g.

        dns_components: 
          - component: dns-primary
          - component: dns-delegated
          - component: dns-delegated/abc
          - component: dns-delegated/123

v1.479.0

08 Aug 18:52
020dc81
Compare
Choose a tag to compare
chore: update argocd-repo to use 6.0+ github provider @dudymas (#1031)

what

  • chore(argocd-repo/branch-protection): updated for latest provider
  • chore(argocd-repo/versions): ensure github is 6.0+

why

references

Replace Admonition Style @milldr (#1092)

what

  • Replace all Docusarus style admonitions with GitHub style admonitions

why

  • We now can provide the GH style here and have the docs site convert the format into Docusarus style

references

v1.478.0

05 Aug 15:09
27be807
Compare
Choose a tag to compare
feat(spacelift): support for local files for policies @oycyc (#1091)

what

references

PR from the Spacelift module cloudposse/terraform-spacelift-cloud-infrastructure-automation#183