Skip to content

Latest commit

 

History

History

config_map

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Code Engine config map module

You can use this submodule to provision IBM Code Engine Config Map.

Usage

provider "ibm" {
  ibmcloud_api_key = "XXXXXXXXXX" # pragma: allowlist secret
  region           = "us-south"
}

module "config_map" {
  source        = "terraform-ibm-modules/code-engine/ibm//modules/config_map"
  version       = "latest" # Replace "latest" with a release version to lock into a specific release
  project_id    = "project_id"
  name          = "config_map_name"
  data = { "config_map_key_1" : "config_map_value_1", "config_map_key_2" : "config_map_value_2" }
}

Required IAM access policies

You need the following permissions to run this module.

  • IAM Services
    • Code Engine service
      • Editor platform access
      • Writer service access

Requirements

Name Version
terraform >= 1.3.0
ibm >= 1.63.0, <2.0.0

Modules

No modules.

Resources

Name Type
ibm_code_engine_config_map.ce_config_map resource

Inputs

Name Description Type Default Required
data The key-value pair for the config map. map(string) {} no
name The name of the config map. string n/a yes
project_id The ID of the project where config map will be created. string n/a yes

Outputs

Name Description
config_map_id The ID of the created code engine config map.
data The code engine config map's data.
id The unique identifier of the created code engine config map.
name The name of the created code engine config map.