Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Groundwork new workflows #193

Merged
merged 3 commits into from
Mar 28, 2023
Merged

Groundwork new workflows #193

merged 3 commits into from
Mar 28, 2023

Conversation

max-lobur
Copy link
Contributor

Fix lint/format before workflows rollout

@max-lobur max-lobur requested review from a team as code owners March 27, 2023 16:54
@max-lobur max-lobur requested review from jamengual and joe-niland and removed request for a team March 27, 2023 16:54
Copy link

@bridgecrew bridgecrew bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bridgecrew has found errors in this PR ⬇️

@@ -121,7 +121,7 @@
node_type = var.instance_type
num_cache_clusters = var.cluster_mode_enabled ? null : var.cluster_size
port = var.port
parameter_group_name = join("", aws_elasticache_parameter_group.default.*.name)
parameter_group_name = join("", aws_elasticache_parameter_group.default[*].name)
Copy link

@bridgecrew bridgecrew bot Mar 27, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MEDIUM  Ensure AWS ElastiCache Redis cluster with Multi-AZ Automatic Failover feature set to enabled
    Resource: aws_elasticache_replication_group.default | Bridgecrew ID: BC_AWS_GENERAL_185 | Checkov ID: CKV2_AWS_50

How to Fix

resource "aws_elasticache_replication_group" "pass" {
  automatic_failover_enabled  = true
  preferred_cache_cluster_azs = ["us-west-2a", "us-west-2b"]
  replication_group_id        = "tf-rep-group-1"
  description                 = "example description"
  node_type                   = "cache.m4.large"
  num_cache_clusters          = 2
  parameter_group_name        = "default.redis3.2"
  port                        = 6379
}

Description

This policy identifies ElastiCache Redis clusters that have Multi-AZ Automatic Failover feature set to disabled. It is recommended to enable the Multi-AZ Automatic Failover feature for your Redis Cache cluster, which will improve primary node reachability by providing read replica in case of network connectivity loss or loss of availability in the primary's availability zone for read/write operations.\nNote: Redis cluster Multi-AZ with automatic failover does not support T1 and T2 cache node types and is only available if the cluster has at least one read replica.
     🎉   Fixed by commit adaa9ed - fix regex

@max-lobur
Copy link
Contributor Author

/test all

@max-lobur
Copy link
Contributor Author

/test all

@max-lobur max-lobur merged commit e18c196 into master Mar 28, 2023
@max-lobur max-lobur deleted the baseline branch March 28, 2023 10:12
brian-weis-msr pushed a commit to Measurabl/terraform-aws-elasticache-redis that referenced this pull request Apr 2, 2024
* Baseline fixes

* Groundwork new workflows

* fix regex
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants