module "fargate_pass" {
  source = "git@github.com:theorchard/terraform-fargate.git//?ref=5.5.1"
}

module "fargate_fail" {
  source = "git@github.com:theorchard/terraform-fargate.git//?ref=3.7.6"
}

#---

module "lambda_pass" {
  # checkov:skip=ORCD_AWS_10:This resource is designed for the ORCD_AWS_2 policy only.
  source = "git@github.com:theorchard/terraform-lambda.git//?ref=3.1.4"
}

module "lambda_fail" {
  # checkov:skip=ORCD_AWS_10:This resource is designed for the ORCD_AWS_2 policy only.
  source = "git@github.com:theorchard/terraform-lambda.git//?ref=3.0.0"
}

#---

module "s3_pass" {
  source = "git@github.com:theorchard/terraform-s3.git//modules/s3_bucket?ref=3.11.0"
}

module "s3_fail" {
  source = "git@github.com:theorchard/terraform-s3.git//modules/s3_bucket?ref=3.2.8"
}

#---

module "rds_pass" {
  source = "git@github.com:theorchard/terraform-rds.git//?ref=2.0.3"
}

module "rds_fail" {
  source = "git@github.com:theorchard/terraform-rds.git//?ref=1.1.0"
}

#---

module "aws_waf_pass" {
  source = "git@github.com:theorchard/terraform-aws-waf.git//?ref=1.5.0"
}

module "aws_waf_fail" {
  source = "git@github.com:theorchard/terraform-aws-waf.git//?ref=1.4.0"
}

#---

module "github_pass" {
  source = "git@github.com:theorchard/terraform-github.git//?ref=4.0.0"
}

module "github_fail" {
  source = "git@github.com:theorchard/terraform-github.git//?ref=3.0.2"
}

#---

module "ecr_pass" {
  source = "git@github.com:theorchard/terraform-ecr.git//?ref=1.8.0"
}

module "ecr_fail" {
  source = "git@github.com:theorchard/terraform-ecr.git//?ref=1.5.0"
}

#---

module "efs_pass" {
  source = "git@github.com:theorchard/terraform-efs.git//?ref=1.3.0"
}

module "efs_fail" {
  source = "git@github.com:theorchard/terraform-efs.git//?ref=1.2.3"
}

#---

module "dynamodb_pass" {
  source = "git@github.com:theorchard/terraform-dynamodb.git//?ref=2.2.1"
}

module "dynamodb_fail" {
  source = "git@github.com:theorchard/terraform-dynamodb.git//?ref=2.0.1"
}

#---

module "elasticache_pass" {
  source = "git@github.com:theorchard/terraform-elasticache.git//?ref=3.3.1"
}

module "elasticache_fail" {
  source = "git@github.com:theorchard/terraform-elasticache.git//?ref=2.3.2"
}

#---

module "elasticsearch_v1_pass" {
  source = "git@github.com:theorchard/terraform-elasticsearch.git//?ref=1.7.5"
}

module "elasticsearch_v1_fail" {
  source = "git@github.com:theorchard/terraform-elasticsearch.git//?ref=1.7.2"
}

#---

module "elasticsearch_v2_pass" {
  source = "git@github.com:theorchard/terraform-elasticsearch.git//?ref=2.4.6"
}

module "elasticsearch_v2_fail" {
  source = "git@github.com:theorchard/terraform-elasticsearch.git//?ref=2.1.1"
}

#---

module "managed_kafka_pass" {
  source = "git@github.com:theorchard/terraform-managed-kafka.git//?ref=2.2.1"
}

module "managed_kafka_fail" {
  source = "git@github.com:theorchard/terraform-managed-kafka.git//?ref=2.0.0"
}

#---

module "emr_pass" {
  source = "git@github.com:theorchard/terraform-emr.git//?ref=1.3.1"
}

module "emr_fail" {
  source = "git@github.com:theorchard/terraform-emr.git//?ref=1.2.0"
}

#---

module "airflow_pass" {
  source = "git@github.com:theorchard/terraform-airflow.git//?ref=1.0.2"
}

module "airflow_fail" {
  source = "git@github.com:theorchard/terraform-airflow.git//?ref=1.0.1"
}

#---

module "module_source_without_double_slash" {
  source = "git@github.com:theorchard/terraform-fargate.git?ref=2.1.1"
}

#---

module "spa_pass" {
  source = "git@github.com:theorchard/terraform-spa.git//?ref=1.4.0"
}

module "spa_fail" {
  source = "git@github.com:theorchard/terraform-spa.git//?ref=1.3.0"
}

#---

module "datadog_pass" {
  source = "git@github.com:theorchard/terraform-datadog.git//modules/service?ref=6.10.7"
}

module "datadog_fail" {
  source = "git@github.com:theorchard/terraform-datadog.git//modules/service?ref=4.21.0"
}

#---

module "sentry_pass" {
  source = "git@github.com:theorchard/terraform-sentry.git//?ref=4.1.2"
}

module "sentry_fail" {
  source = "git@github.com:theorchard/terraform-sentry.git//?ref=4.0.0"
}

#---

module "secrets_manager_pass" {
  source = "git@github.com:theorchard/terraform-secrets-manager.git//?ref=1.5.1"
}

module "secrets_manager_fail" {
  source = "git@github.com:theorchard/terraform-secrets-manager.git//?ref=1.5.0"
}
