Skip to content

Latest commit

 

History

History
53 lines (39 loc) · 1.7 KB

README.md

File metadata and controls

53 lines (39 loc) · 1.7 KB

terraform-ibm-twistlock-modules

A set of Terraform modules to automate the deployment of Prisma Cloud Compute (Twistlock) Console and Defenders

Requirements

Using the modules

This repository contains two modules

Prisma Cloud Compute Console

module twistlock_console {
  source                  = "./modules/console"
  namespace               = var.namespace
  storage_class_name      = var.storage_class_name
  twistclok_console_image = var.twistclok_console_image
  image_pull_secrets      = var.image_pull_secrets
  enable_bootstrap        = true
  console_username        = var.console_username
  console_password        = var.console_password
  twistclok_license_key   = var.twistclok_license_key
}

Prisma Cloud Compute Defender

module "defender" {
  source = "./modules/defender"

  load_config_file           = false
  kubernetes_host            = data.ibm_container_cluster_config.cluster.host
  k8s_client_certificate     = data.ibm_container_cluster_config.cluster.admin_certificate
  k8s_client_key             = data.ibm_container_cluster_config.cluster.admin_key
  k8s_cluster_ca_certificate = data.ibm_container_cluster_config.cluster.ca_certificate

  console_hostname  = module.twistlock_console.console_ip
  console_username  = var.console_username
  console_password  = var.console_password
  namespace         = var.namespace
  helm_release_name = "defender-20.09.365"
  chart_name        = "defender_20_09_365.tgz"
}