Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Code Engine project module

You can use this submodule to provision IBM Code Engine Project.

Usage

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

module "secret" {
  source             = "terraform-ibm-modules/code-engine/ibm//modules/project"
  version            = "latest" # Replace "latest" with a release version to lock into a specific release
  name               = "project_name"
  resource_group_id  = "XxxXXxxX-XxxX-XxxX-XxxX-XxxXXxxXXxxX"
  data               = { "secret_key_1" : "secret_value_1", "secret_key_2" : "secret_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_project.ce_project resource

Inputs

Name Description Type Default Required
name The name of the project. string n/a yes
resource_group_id ID of resource group to use when creating resources string n/a yes

Outputs

Name Description
id The unique identifier of the created code engine project.
name The name of the created code engine project.
project_id The ID of the created code engine project.