1. Packages
  2. Ibm Provider
  3. API Docs
  4. CodeEngineConfigMap
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

ibm.CodeEngineConfigMap

Explore with Pulumi AI

ibm logo
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

    Create, update, and delete code_engine_config_maps with this resource.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as ibm from "@pulumi/ibm";
    
    const codeEngineConfigMapInstance = new ibm.CodeEngineConfigMap("codeEngineConfigMapInstance", {projectId: ibm_code_engine_project.code_engine_project_instance.project_id});
    
    import pulumi
    import pulumi_ibm as ibm
    
    code_engine_config_map_instance = ibm.CodeEngineConfigMap("codeEngineConfigMapInstance", project_id=ibm_code_engine_project["code_engine_project_instance"]["project_id"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := ibm.NewCodeEngineConfigMap(ctx, "codeEngineConfigMapInstance", &ibm.CodeEngineConfigMapArgs{
    			ProjectId: pulumi.Any(ibm_code_engine_project.Code_engine_project_instance.Project_id),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Ibm = Pulumi.Ibm;
    
    return await Deployment.RunAsync(() => 
    {
        var codeEngineConfigMapInstance = new Ibm.CodeEngineConfigMap("codeEngineConfigMapInstance", new()
        {
            ProjectId = ibm_code_engine_project.Code_engine_project_instance.Project_id,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ibm.CodeEngineConfigMap;
    import com.pulumi.ibm.CodeEngineConfigMapArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var codeEngineConfigMapInstance = new CodeEngineConfigMap("codeEngineConfigMapInstance", CodeEngineConfigMapArgs.builder()
                .projectId(ibm_code_engine_project.code_engine_project_instance().project_id())
                .build());
    
        }
    }
    
    resources:
      codeEngineConfigMapInstance:
        type: ibm:CodeEngineConfigMap
        properties:
          projectId: ${ibm_code_engine_project.code_engine_project_instance.project_id}
    

    Create CodeEngineConfigMap Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new CodeEngineConfigMap(name: string, args: CodeEngineConfigMapArgs, opts?: CustomResourceOptions);
    @overload
    def CodeEngineConfigMap(resource_name: str,
                            args: CodeEngineConfigMapArgs,
                            opts: Optional[ResourceOptions] = None)
    
    @overload
    def CodeEngineConfigMap(resource_name: str,
                            opts: Optional[ResourceOptions] = None,
                            project_id: Optional[str] = None,
                            code_engine_config_map_id: Optional[str] = None,
                            data: Optional[Mapping[str, str]] = None,
                            name: Optional[str] = None)
    func NewCodeEngineConfigMap(ctx *Context, name string, args CodeEngineConfigMapArgs, opts ...ResourceOption) (*CodeEngineConfigMap, error)
    public CodeEngineConfigMap(string name, CodeEngineConfigMapArgs args, CustomResourceOptions? opts = null)
    public CodeEngineConfigMap(String name, CodeEngineConfigMapArgs args)
    public CodeEngineConfigMap(String name, CodeEngineConfigMapArgs args, CustomResourceOptions options)
    
    type: ibm:CodeEngineConfigMap
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args CodeEngineConfigMapArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args CodeEngineConfigMapArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args CodeEngineConfigMapArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CodeEngineConfigMapArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CodeEngineConfigMapArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var codeEngineConfigMapResource = new Ibm.CodeEngineConfigMap("codeEngineConfigMapResource", new()
    {
        ProjectId = "string",
        CodeEngineConfigMapId = "string",
        Data = 
        {
            { "string", "string" },
        },
        Name = "string",
    });
    
    example, err := ibm.NewCodeEngineConfigMap(ctx, "codeEngineConfigMapResource", &ibm.CodeEngineConfigMapArgs{
    	ProjectId:             pulumi.String("string"),
    	CodeEngineConfigMapId: pulumi.String("string"),
    	Data: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Name: pulumi.String("string"),
    })
    
    var codeEngineConfigMapResource = new CodeEngineConfigMap("codeEngineConfigMapResource", CodeEngineConfigMapArgs.builder()
        .projectId("string")
        .codeEngineConfigMapId("string")
        .data(Map.of("string", "string"))
        .name("string")
        .build());
    
    code_engine_config_map_resource = ibm.CodeEngineConfigMap("codeEngineConfigMapResource",
        project_id="string",
        code_engine_config_map_id="string",
        data={
            "string": "string",
        },
        name="string")
    
    const codeEngineConfigMapResource = new ibm.CodeEngineConfigMap("codeEngineConfigMapResource", {
        projectId: "string",
        codeEngineConfigMapId: "string",
        data: {
            string: "string",
        },
        name: "string",
    });
    
    type: ibm:CodeEngineConfigMap
    properties:
        codeEngineConfigMapId: string
        data:
            string: string
        name: string
        projectId: string
    

    CodeEngineConfigMap Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The CodeEngineConfigMap resource accepts the following input properties:

    ProjectId string
    The ID of the project.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    CodeEngineConfigMapId string
    The unique identifier of the code_engine_config_map.
    Data Dictionary<string, string>
    The key-value pair for the config map. Values must be specified in KEY=VALUE format. Each KEY field must consist of alphanumeric characters, -, _ or . and must not be exceed a max length of 253 characters. Each VALUE field can consists of any character and must not be exceed a max length of 1048576 characters.
    Name string
    The name of the config map.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)*$/.
    ProjectId string
    The ID of the project.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    CodeEngineConfigMapId string
    The unique identifier of the code_engine_config_map.
    Data map[string]string
    The key-value pair for the config map. Values must be specified in KEY=VALUE format. Each KEY field must consist of alphanumeric characters, -, _ or . and must not be exceed a max length of 253 characters. Each VALUE field can consists of any character and must not be exceed a max length of 1048576 characters.
    Name string
    The name of the config map.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)*$/.
    projectId String
    The ID of the project.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    codeEngineConfigMapId String
    The unique identifier of the code_engine_config_map.
    data Map<String,String>
    The key-value pair for the config map. Values must be specified in KEY=VALUE format. Each KEY field must consist of alphanumeric characters, -, _ or . and must not be exceed a max length of 253 characters. Each VALUE field can consists of any character and must not be exceed a max length of 1048576 characters.
    name String
    The name of the config map.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)*$/.
    projectId string
    The ID of the project.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    codeEngineConfigMapId string
    The unique identifier of the code_engine_config_map.
    data {[key: string]: string}
    The key-value pair for the config map. Values must be specified in KEY=VALUE format. Each KEY field must consist of alphanumeric characters, -, _ or . and must not be exceed a max length of 253 characters. Each VALUE field can consists of any character and must not be exceed a max length of 1048576 characters.
    name string
    The name of the config map.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)*$/.
    project_id str
    The ID of the project.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    code_engine_config_map_id str
    The unique identifier of the code_engine_config_map.
    data Mapping[str, str]
    The key-value pair for the config map. Values must be specified in KEY=VALUE format. Each KEY field must consist of alphanumeric characters, -, _ or . and must not be exceed a max length of 253 characters. Each VALUE field can consists of any character and must not be exceed a max length of 1048576 characters.
    name str
    The name of the config map.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)*$/.
    projectId String
    The ID of the project.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    codeEngineConfigMapId String
    The unique identifier of the code_engine_config_map.
    data Map<String>
    The key-value pair for the config map. Values must be specified in KEY=VALUE format. Each KEY field must consist of alphanumeric characters, -, _ or . and must not be exceed a max length of 253 characters. Each VALUE field can consists of any character and must not be exceed a max length of 1048576 characters.
    name String
    The name of the config map.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)*$/.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the CodeEngineConfigMap resource produces the following output properties:

    ConfigMapId string
    (String) The identifier of the resource.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    CreatedAt string
    (String) The timestamp when the resource was created.
    EntityTag string
    (String) The version of the config map instance, which is used to achieve optimistic locking.
    Etag string
    ETag identifier for code_engine_config_map.
    Href string
    (String) When you provision a new config map, a URL is created identifying the location of the instance.

    • Constraints: The maximum length is 2048 characters. The minimum length is 0 characters. The value must match regular expression /(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/.
    Id string
    The provider-assigned unique ID for this managed resource.
    Region string
    (String) The region of the project the resource is located in. Possible values: 'au-syd', 'br-sao', 'ca-tor', 'eu-de', 'eu-gb', 'jp-osa', 'jp-tok', 'us-east', 'us-south'.
    ResourceType string
    (String) The type of the config map.

    • Constraints: Allowable values are: config_map_v2.
    ConfigMapId string
    (String) The identifier of the resource.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    CreatedAt string
    (String) The timestamp when the resource was created.
    EntityTag string
    (String) The version of the config map instance, which is used to achieve optimistic locking.
    Etag string
    ETag identifier for code_engine_config_map.
    Href string
    (String) When you provision a new config map, a URL is created identifying the location of the instance.

    • Constraints: The maximum length is 2048 characters. The minimum length is 0 characters. The value must match regular expression /(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/.
    Id string
    The provider-assigned unique ID for this managed resource.
    Region string
    (String) The region of the project the resource is located in. Possible values: 'au-syd', 'br-sao', 'ca-tor', 'eu-de', 'eu-gb', 'jp-osa', 'jp-tok', 'us-east', 'us-south'.
    ResourceType string
    (String) The type of the config map.

    • Constraints: Allowable values are: config_map_v2.
    configMapId String
    (String) The identifier of the resource.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    createdAt String
    (String) The timestamp when the resource was created.
    entityTag String
    (String) The version of the config map instance, which is used to achieve optimistic locking.
    etag String
    ETag identifier for code_engine_config_map.
    href String
    (String) When you provision a new config map, a URL is created identifying the location of the instance.

    • Constraints: The maximum length is 2048 characters. The minimum length is 0 characters. The value must match regular expression /(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/.
    id String
    The provider-assigned unique ID for this managed resource.
    region String
    (String) The region of the project the resource is located in. Possible values: 'au-syd', 'br-sao', 'ca-tor', 'eu-de', 'eu-gb', 'jp-osa', 'jp-tok', 'us-east', 'us-south'.
    resourceType String
    (String) The type of the config map.

    • Constraints: Allowable values are: config_map_v2.
    configMapId string
    (String) The identifier of the resource.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    createdAt string
    (String) The timestamp when the resource was created.
    entityTag string
    (String) The version of the config map instance, which is used to achieve optimistic locking.
    etag string
    ETag identifier for code_engine_config_map.
    href string
    (String) When you provision a new config map, a URL is created identifying the location of the instance.

    • Constraints: The maximum length is 2048 characters. The minimum length is 0 characters. The value must match regular expression /(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/.
    id string
    The provider-assigned unique ID for this managed resource.
    region string
    (String) The region of the project the resource is located in. Possible values: 'au-syd', 'br-sao', 'ca-tor', 'eu-de', 'eu-gb', 'jp-osa', 'jp-tok', 'us-east', 'us-south'.
    resourceType string
    (String) The type of the config map.

    • Constraints: Allowable values are: config_map_v2.
    config_map_id str
    (String) The identifier of the resource.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    created_at str
    (String) The timestamp when the resource was created.
    entity_tag str
    (String) The version of the config map instance, which is used to achieve optimistic locking.
    etag str
    ETag identifier for code_engine_config_map.
    href str
    (String) When you provision a new config map, a URL is created identifying the location of the instance.

    • Constraints: The maximum length is 2048 characters. The minimum length is 0 characters. The value must match regular expression /(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/.
    id str
    The provider-assigned unique ID for this managed resource.
    region str
    (String) The region of the project the resource is located in. Possible values: 'au-syd', 'br-sao', 'ca-tor', 'eu-de', 'eu-gb', 'jp-osa', 'jp-tok', 'us-east', 'us-south'.
    resource_type str
    (String) The type of the config map.

    • Constraints: Allowable values are: config_map_v2.
    configMapId String
    (String) The identifier of the resource.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    createdAt String
    (String) The timestamp when the resource was created.
    entityTag String
    (String) The version of the config map instance, which is used to achieve optimistic locking.
    etag String
    ETag identifier for code_engine_config_map.
    href String
    (String) When you provision a new config map, a URL is created identifying the location of the instance.

    • Constraints: The maximum length is 2048 characters. The minimum length is 0 characters. The value must match regular expression /(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/.
    id String
    The provider-assigned unique ID for this managed resource.
    region String
    (String) The region of the project the resource is located in. Possible values: 'au-syd', 'br-sao', 'ca-tor', 'eu-de', 'eu-gb', 'jp-osa', 'jp-tok', 'us-east', 'us-south'.
    resourceType String
    (String) The type of the config map.

    • Constraints: Allowable values are: config_map_v2.

    Look up Existing CodeEngineConfigMap Resource

    Get an existing CodeEngineConfigMap resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: CodeEngineConfigMapState, opts?: CustomResourceOptions): CodeEngineConfigMap
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            code_engine_config_map_id: Optional[str] = None,
            config_map_id: Optional[str] = None,
            created_at: Optional[str] = None,
            data: Optional[Mapping[str, str]] = None,
            entity_tag: Optional[str] = None,
            etag: Optional[str] = None,
            href: Optional[str] = None,
            name: Optional[str] = None,
            project_id: Optional[str] = None,
            region: Optional[str] = None,
            resource_type: Optional[str] = None) -> CodeEngineConfigMap
    func GetCodeEngineConfigMap(ctx *Context, name string, id IDInput, state *CodeEngineConfigMapState, opts ...ResourceOption) (*CodeEngineConfigMap, error)
    public static CodeEngineConfigMap Get(string name, Input<string> id, CodeEngineConfigMapState? state, CustomResourceOptions? opts = null)
    public static CodeEngineConfigMap get(String name, Output<String> id, CodeEngineConfigMapState state, CustomResourceOptions options)
    resources:  _:    type: ibm:CodeEngineConfigMap    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    CodeEngineConfigMapId string
    The unique identifier of the code_engine_config_map.
    ConfigMapId string
    (String) The identifier of the resource.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    CreatedAt string
    (String) The timestamp when the resource was created.
    Data Dictionary<string, string>
    The key-value pair for the config map. Values must be specified in KEY=VALUE format. Each KEY field must consist of alphanumeric characters, -, _ or . and must not be exceed a max length of 253 characters. Each VALUE field can consists of any character and must not be exceed a max length of 1048576 characters.
    EntityTag string
    (String) The version of the config map instance, which is used to achieve optimistic locking.
    Etag string
    ETag identifier for code_engine_config_map.
    Href string
    (String) When you provision a new config map, a URL is created identifying the location of the instance.

    • Constraints: The maximum length is 2048 characters. The minimum length is 0 characters. The value must match regular expression /(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/.
    Name string
    The name of the config map.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)*$/.
    ProjectId string
    The ID of the project.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    Region string
    (String) The region of the project the resource is located in. Possible values: 'au-syd', 'br-sao', 'ca-tor', 'eu-de', 'eu-gb', 'jp-osa', 'jp-tok', 'us-east', 'us-south'.
    ResourceType string
    (String) The type of the config map.

    • Constraints: Allowable values are: config_map_v2.
    CodeEngineConfigMapId string
    The unique identifier of the code_engine_config_map.
    ConfigMapId string
    (String) The identifier of the resource.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    CreatedAt string
    (String) The timestamp when the resource was created.
    Data map[string]string
    The key-value pair for the config map. Values must be specified in KEY=VALUE format. Each KEY field must consist of alphanumeric characters, -, _ or . and must not be exceed a max length of 253 characters. Each VALUE field can consists of any character and must not be exceed a max length of 1048576 characters.
    EntityTag string
    (String) The version of the config map instance, which is used to achieve optimistic locking.
    Etag string
    ETag identifier for code_engine_config_map.
    Href string
    (String) When you provision a new config map, a URL is created identifying the location of the instance.

    • Constraints: The maximum length is 2048 characters. The minimum length is 0 characters. The value must match regular expression /(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/.
    Name string
    The name of the config map.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)*$/.
    ProjectId string
    The ID of the project.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    Region string
    (String) The region of the project the resource is located in. Possible values: 'au-syd', 'br-sao', 'ca-tor', 'eu-de', 'eu-gb', 'jp-osa', 'jp-tok', 'us-east', 'us-south'.
    ResourceType string
    (String) The type of the config map.

    • Constraints: Allowable values are: config_map_v2.
    codeEngineConfigMapId String
    The unique identifier of the code_engine_config_map.
    configMapId String
    (String) The identifier of the resource.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    createdAt String
    (String) The timestamp when the resource was created.
    data Map<String,String>
    The key-value pair for the config map. Values must be specified in KEY=VALUE format. Each KEY field must consist of alphanumeric characters, -, _ or . and must not be exceed a max length of 253 characters. Each VALUE field can consists of any character and must not be exceed a max length of 1048576 characters.
    entityTag String
    (String) The version of the config map instance, which is used to achieve optimistic locking.
    etag String
    ETag identifier for code_engine_config_map.
    href String
    (String) When you provision a new config map, a URL is created identifying the location of the instance.

    • Constraints: The maximum length is 2048 characters. The minimum length is 0 characters. The value must match regular expression /(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/.
    name String
    The name of the config map.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)*$/.
    projectId String
    The ID of the project.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    region String
    (String) The region of the project the resource is located in. Possible values: 'au-syd', 'br-sao', 'ca-tor', 'eu-de', 'eu-gb', 'jp-osa', 'jp-tok', 'us-east', 'us-south'.
    resourceType String
    (String) The type of the config map.

    • Constraints: Allowable values are: config_map_v2.
    codeEngineConfigMapId string
    The unique identifier of the code_engine_config_map.
    configMapId string
    (String) The identifier of the resource.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    createdAt string
    (String) The timestamp when the resource was created.
    data {[key: string]: string}
    The key-value pair for the config map. Values must be specified in KEY=VALUE format. Each KEY field must consist of alphanumeric characters, -, _ or . and must not be exceed a max length of 253 characters. Each VALUE field can consists of any character and must not be exceed a max length of 1048576 characters.
    entityTag string
    (String) The version of the config map instance, which is used to achieve optimistic locking.
    etag string
    ETag identifier for code_engine_config_map.
    href string
    (String) When you provision a new config map, a URL is created identifying the location of the instance.

    • Constraints: The maximum length is 2048 characters. The minimum length is 0 characters. The value must match regular expression /(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/.
    name string
    The name of the config map.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)*$/.
    projectId string
    The ID of the project.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    region string
    (String) The region of the project the resource is located in. Possible values: 'au-syd', 'br-sao', 'ca-tor', 'eu-de', 'eu-gb', 'jp-osa', 'jp-tok', 'us-east', 'us-south'.
    resourceType string
    (String) The type of the config map.

    • Constraints: Allowable values are: config_map_v2.
    code_engine_config_map_id str
    The unique identifier of the code_engine_config_map.
    config_map_id str
    (String) The identifier of the resource.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    created_at str
    (String) The timestamp when the resource was created.
    data Mapping[str, str]
    The key-value pair for the config map. Values must be specified in KEY=VALUE format. Each KEY field must consist of alphanumeric characters, -, _ or . and must not be exceed a max length of 253 characters. Each VALUE field can consists of any character and must not be exceed a max length of 1048576 characters.
    entity_tag str
    (String) The version of the config map instance, which is used to achieve optimistic locking.
    etag str
    ETag identifier for code_engine_config_map.
    href str
    (String) When you provision a new config map, a URL is created identifying the location of the instance.

    • Constraints: The maximum length is 2048 characters. The minimum length is 0 characters. The value must match regular expression /(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/.
    name str
    The name of the config map.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)*$/.
    project_id str
    The ID of the project.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    region str
    (String) The region of the project the resource is located in. Possible values: 'au-syd', 'br-sao', 'ca-tor', 'eu-de', 'eu-gb', 'jp-osa', 'jp-tok', 'us-east', 'us-south'.
    resource_type str
    (String) The type of the config map.

    • Constraints: Allowable values are: config_map_v2.
    codeEngineConfigMapId String
    The unique identifier of the code_engine_config_map.
    configMapId String
    (String) The identifier of the resource.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    createdAt String
    (String) The timestamp when the resource was created.
    data Map<String>
    The key-value pair for the config map. Values must be specified in KEY=VALUE format. Each KEY field must consist of alphanumeric characters, -, _ or . and must not be exceed a max length of 253 characters. Each VALUE field can consists of any character and must not be exceed a max length of 1048576 characters.
    entityTag String
    (String) The version of the config map instance, which is used to achieve optimistic locking.
    etag String
    ETag identifier for code_engine_config_map.
    href String
    (String) When you provision a new config map, a URL is created identifying the location of the instance.

    • Constraints: The maximum length is 2048 characters. The minimum length is 0 characters. The value must match regular expression /(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/.
    name String
    The name of the config map.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^a-z0-9?(\\.a-z0-9?)*$/.
    projectId String
    The ID of the project.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    region String
    (String) The region of the project the resource is located in. Possible values: 'au-syd', 'br-sao', 'ca-tor', 'eu-de', 'eu-gb', 'jp-osa', 'jp-tok', 'us-east', 'us-south'.
    resourceType String
    (String) The type of the config map.

    • Constraints: Allowable values are: config_map_v2.

    Import

    You can import the ibm_code_engine_config_map resource by using name.

    The name property can be formed from project_id, and name in the following format:

    
    <project_id>/<name>
    
    
    • project_id: A string in the format 15314cc3-85b4-4338-903f-c28cdee6d005. The ID of the project.

    • name: A string in the format my-config-map. The name of the config map.

    Syntax

    
    ```sh
    $ pulumi import ibm:index/codeEngineConfigMap:CodeEngineConfigMap code_engine_config_map <project_id>/<name>
    ```
    
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    ibm ibm-cloud/terraform-provider-ibm
    License
    Notes
    This Pulumi package is based on the ibm Terraform Provider.
    ibm logo
    ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud