ibm.CdTektonPipelineDefinition
Explore with Pulumi AI
Create, update, and delete cd_tekton_pipeline_definitions with this resource.
Example Usage
Coming soon!
Coming soon!
Coming soon!
Coming soon!
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.CdTektonPipelineDefinition;
import com.pulumi.ibm.CdTektonPipelineDefinitionArgs;
import com.pulumi.ibm.inputs.CdTektonPipelineDefinitionSourceArgs;
import com.pulumi.ibm.inputs.CdTektonPipelineDefinitionSourcePropertiesArgs;
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 cdTektonPipelineDefinitionInstance = new CdTektonPipelineDefinition("cdTektonPipelineDefinitionInstance", CdTektonPipelineDefinitionArgs.builder()
.pipelineId("94619026-912b-4d92-8f51-6c74f0692d90")
.source(CdTektonPipelineDefinitionSourceArgs.builder()
.properties(CdTektonPipelineDefinitionSourcePropertiesArgs.builder()
.branch("branch")
.path("path")
.tag("tag")
.tool(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.url("url")
.build())
.type("git")
.build())
.build());
}
}
resources:
cdTektonPipelineDefinitionInstance:
type: ibm:CdTektonPipelineDefinition
properties:
pipelineId: 94619026-912b-4d92-8f51-6c74f0692d90
source:
properties:
branch: branch
path: path
tag: tag
tool:
- id: id
url: url
type: git
Create CdTektonPipelineDefinition Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CdTektonPipelineDefinition(name: string, args: CdTektonPipelineDefinitionArgs, opts?: CustomResourceOptions);
@overload
def CdTektonPipelineDefinition(resource_name: str,
args: CdTektonPipelineDefinitionInitArgs,
opts: Optional[ResourceOptions] = None)
@overload
def CdTektonPipelineDefinition(resource_name: str,
opts: Optional[ResourceOptions] = None,
pipeline_id: Optional[str] = None,
source: Optional[CdTektonPipelineDefinitionSourceArgs] = None,
cd_tekton_pipeline_definition_id: Optional[str] = None)
func NewCdTektonPipelineDefinition(ctx *Context, name string, args CdTektonPipelineDefinitionArgs, opts ...ResourceOption) (*CdTektonPipelineDefinition, error)
public CdTektonPipelineDefinition(string name, CdTektonPipelineDefinitionArgs args, CustomResourceOptions? opts = null)
public CdTektonPipelineDefinition(String name, CdTektonPipelineDefinitionArgs args)
public CdTektonPipelineDefinition(String name, CdTektonPipelineDefinitionArgs args, CustomResourceOptions options)
type: ibm:CdTektonPipelineDefinition
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 CdTektonPipelineDefinitionArgs
- 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 CdTektonPipelineDefinitionInitArgs
- 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 CdTektonPipelineDefinitionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CdTektonPipelineDefinitionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CdTektonPipelineDefinitionArgs
- 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 cdTektonPipelineDefinitionResource = new Ibm.CdTektonPipelineDefinition("cdTektonPipelineDefinitionResource", new()
{
PipelineId = "string",
Source = new Ibm.Inputs.CdTektonPipelineDefinitionSourceArgs
{
Properties = new Ibm.Inputs.CdTektonPipelineDefinitionSourcePropertiesArgs
{
Path = "string",
Url = "string",
Branch = "string",
Tag = "string",
Tools = new[]
{
new Ibm.Inputs.CdTektonPipelineDefinitionSourcePropertiesToolArgs
{
Id = "string",
},
},
},
Type = "string",
},
CdTektonPipelineDefinitionId = "string",
});
example, err := ibm.NewCdTektonPipelineDefinition(ctx, "cdTektonPipelineDefinitionResource", &ibm.CdTektonPipelineDefinitionArgs{
PipelineId: pulumi.String("string"),
Source: &ibm.CdTektonPipelineDefinitionSourceArgs{
Properties: &ibm.CdTektonPipelineDefinitionSourcePropertiesArgs{
Path: pulumi.String("string"),
Url: pulumi.String("string"),
Branch: pulumi.String("string"),
Tag: pulumi.String("string"),
Tools: ibm.CdTektonPipelineDefinitionSourcePropertiesToolArray{
&ibm.CdTektonPipelineDefinitionSourcePropertiesToolArgs{
Id: pulumi.String("string"),
},
},
},
Type: pulumi.String("string"),
},
CdTektonPipelineDefinitionId: pulumi.String("string"),
})
var cdTektonPipelineDefinitionResource = new CdTektonPipelineDefinition("cdTektonPipelineDefinitionResource", CdTektonPipelineDefinitionArgs.builder()
.pipelineId("string")
.source(CdTektonPipelineDefinitionSourceArgs.builder()
.properties(CdTektonPipelineDefinitionSourcePropertiesArgs.builder()
.path("string")
.url("string")
.branch("string")
.tag("string")
.tools(CdTektonPipelineDefinitionSourcePropertiesToolArgs.builder()
.id("string")
.build())
.build())
.type("string")
.build())
.cdTektonPipelineDefinitionId("string")
.build());
cd_tekton_pipeline_definition_resource = ibm.CdTektonPipelineDefinition("cdTektonPipelineDefinitionResource",
pipeline_id="string",
source={
"properties": {
"path": "string",
"url": "string",
"branch": "string",
"tag": "string",
"tools": [{
"id": "string",
}],
},
"type": "string",
},
cd_tekton_pipeline_definition_id="string")
const cdTektonPipelineDefinitionResource = new ibm.CdTektonPipelineDefinition("cdTektonPipelineDefinitionResource", {
pipelineId: "string",
source: {
properties: {
path: "string",
url: "string",
branch: "string",
tag: "string",
tools: [{
id: "string",
}],
},
type: "string",
},
cdTektonPipelineDefinitionId: "string",
});
type: ibm:CdTektonPipelineDefinition
properties:
cdTektonPipelineDefinitionId: string
pipelineId: string
source:
properties:
branch: string
path: string
tag: string
tools:
- id: string
url: string
type: string
CdTektonPipelineDefinition 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 CdTektonPipelineDefinition resource accepts the following input properties:
- Pipeline
Id string - The Tekton pipeline ID.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[-0-9a-z]+$/
.
- Constraints: The maximum length is
- Source
Cd
Tekton Pipeline Definition Source - Source repository containing the Tekton pipeline definition. Nested schema for source:
- Cd
Tekton stringPipeline Definition Id - The unique identifier of the cd_tekton_pipeline_definition.
- Pipeline
Id string - The Tekton pipeline ID.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[-0-9a-z]+$/
.
- Constraints: The maximum length is
- Source
Cd
Tekton Pipeline Definition Source Args - Source repository containing the Tekton pipeline definition. Nested schema for source:
- Cd
Tekton stringPipeline Definition Id - The unique identifier of the cd_tekton_pipeline_definition.
- pipeline
Id String - The Tekton pipeline ID.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[-0-9a-z]+$/
.
- Constraints: The maximum length is
- source
Cd
Tekton Pipeline Definition Source - Source repository containing the Tekton pipeline definition. Nested schema for source:
- cd
Tekton StringPipeline Definition Id - The unique identifier of the cd_tekton_pipeline_definition.
- pipeline
Id string - The Tekton pipeline ID.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[-0-9a-z]+$/
.
- Constraints: The maximum length is
- source
Cd
Tekton Pipeline Definition Source - Source repository containing the Tekton pipeline definition. Nested schema for source:
- cd
Tekton stringPipeline Definition Id - The unique identifier of the cd_tekton_pipeline_definition.
- pipeline_
id str - The Tekton pipeline ID.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[-0-9a-z]+$/
.
- Constraints: The maximum length is
- source
Cd
Tekton Pipeline Definition Source Args - Source repository containing the Tekton pipeline definition. Nested schema for source:
- cd_
tekton_ strpipeline_ definition_ id - The unique identifier of the cd_tekton_pipeline_definition.
- pipeline
Id String - The Tekton pipeline ID.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[-0-9a-z]+$/
.
- Constraints: The maximum length is
- source Property Map
- Source repository containing the Tekton pipeline definition. Nested schema for source:
- cd
Tekton StringPipeline Definition Id - The unique identifier of the cd_tekton_pipeline_definition.
Outputs
All input properties are implicitly available as output properties. Additionally, the CdTektonPipelineDefinition resource produces the following output properties:
- Definition
Id string - (String) The aggregated definition ID.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[-0-9a-z]+$/
.
- Constraints: The maximum length is
- Href string
- (String) API URL for interacting with the definition.
- Constraints: The maximum length is
2048
characters. The minimum length is10
characters. The value must match regular expression/^http(s)?:\/\/([^\/?#]*)([^?#]*)(\\?([^#]*))?(#(.*))?$/
.
- Constraints: The maximum length is
- Id string
- The provider-assigned unique ID for this managed resource.
- Definition
Id string - (String) The aggregated definition ID.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[-0-9a-z]+$/
.
- Constraints: The maximum length is
- Href string
- (String) API URL for interacting with the definition.
- Constraints: The maximum length is
2048
characters. The minimum length is10
characters. The value must match regular expression/^http(s)?:\/\/([^\/?#]*)([^?#]*)(\\?([^#]*))?(#(.*))?$/
.
- Constraints: The maximum length is
- Id string
- The provider-assigned unique ID for this managed resource.
- definition
Id String - (String) The aggregated definition ID.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[-0-9a-z]+$/
.
- Constraints: The maximum length is
- href String
- (String) API URL for interacting with the definition.
- Constraints: The maximum length is
2048
characters. The minimum length is10
characters. The value must match regular expression/^http(s)?:\/\/([^\/?#]*)([^?#]*)(\\?([^#]*))?(#(.*))?$/
.
- Constraints: The maximum length is
- id String
- The provider-assigned unique ID for this managed resource.
- definition
Id string - (String) The aggregated definition ID.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[-0-9a-z]+$/
.
- Constraints: The maximum length is
- href string
- (String) API URL for interacting with the definition.
- Constraints: The maximum length is
2048
characters. The minimum length is10
characters. The value must match regular expression/^http(s)?:\/\/([^\/?#]*)([^?#]*)(\\?([^#]*))?(#(.*))?$/
.
- Constraints: The maximum length is
- id string
- The provider-assigned unique ID for this managed resource.
- definition_
id str - (String) The aggregated definition ID.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[-0-9a-z]+$/
.
- Constraints: The maximum length is
- href str
- (String) API URL for interacting with the definition.
- Constraints: The maximum length is
2048
characters. The minimum length is10
characters. The value must match regular expression/^http(s)?:\/\/([^\/?#]*)([^?#]*)(\\?([^#]*))?(#(.*))?$/
.
- Constraints: The maximum length is
- id str
- The provider-assigned unique ID for this managed resource.
- definition
Id String - (String) The aggregated definition ID.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[-0-9a-z]+$/
.
- Constraints: The maximum length is
- href String
- (String) API URL for interacting with the definition.
- Constraints: The maximum length is
2048
characters. The minimum length is10
characters. The value must match regular expression/^http(s)?:\/\/([^\/?#]*)([^?#]*)(\\?([^#]*))?(#(.*))?$/
.
- Constraints: The maximum length is
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing CdTektonPipelineDefinition Resource
Get an existing CdTektonPipelineDefinition 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?: CdTektonPipelineDefinitionState, opts?: CustomResourceOptions): CdTektonPipelineDefinition
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
cd_tekton_pipeline_definition_id: Optional[str] = None,
definition_id: Optional[str] = None,
href: Optional[str] = None,
pipeline_id: Optional[str] = None,
source: Optional[CdTektonPipelineDefinitionSourceArgs] = None) -> CdTektonPipelineDefinition
func GetCdTektonPipelineDefinition(ctx *Context, name string, id IDInput, state *CdTektonPipelineDefinitionState, opts ...ResourceOption) (*CdTektonPipelineDefinition, error)
public static CdTektonPipelineDefinition Get(string name, Input<string> id, CdTektonPipelineDefinitionState? state, CustomResourceOptions? opts = null)
public static CdTektonPipelineDefinition get(String name, Output<String> id, CdTektonPipelineDefinitionState state, CustomResourceOptions options)
resources: _: type: ibm:CdTektonPipelineDefinition 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.
- Cd
Tekton stringPipeline Definition Id - The unique identifier of the cd_tekton_pipeline_definition.
- Definition
Id string - (String) The aggregated definition ID.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[-0-9a-z]+$/
.
- Constraints: The maximum length is
- Href string
- (String) API URL for interacting with the definition.
- Constraints: The maximum length is
2048
characters. The minimum length is10
characters. The value must match regular expression/^http(s)?:\/\/([^\/?#]*)([^?#]*)(\\?([^#]*))?(#(.*))?$/
.
- Constraints: The maximum length is
- Pipeline
Id string - The Tekton pipeline ID.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[-0-9a-z]+$/
.
- Constraints: The maximum length is
- Source
Cd
Tekton Pipeline Definition Source - Source repository containing the Tekton pipeline definition. Nested schema for source:
- Cd
Tekton stringPipeline Definition Id - The unique identifier of the cd_tekton_pipeline_definition.
- Definition
Id string - (String) The aggregated definition ID.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[-0-9a-z]+$/
.
- Constraints: The maximum length is
- Href string
- (String) API URL for interacting with the definition.
- Constraints: The maximum length is
2048
characters. The minimum length is10
characters. The value must match regular expression/^http(s)?:\/\/([^\/?#]*)([^?#]*)(\\?([^#]*))?(#(.*))?$/
.
- Constraints: The maximum length is
- Pipeline
Id string - The Tekton pipeline ID.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[-0-9a-z]+$/
.
- Constraints: The maximum length is
- Source
Cd
Tekton Pipeline Definition Source Args - Source repository containing the Tekton pipeline definition. Nested schema for source:
- cd
Tekton StringPipeline Definition Id - The unique identifier of the cd_tekton_pipeline_definition.
- definition
Id String - (String) The aggregated definition ID.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[-0-9a-z]+$/
.
- Constraints: The maximum length is
- href String
- (String) API URL for interacting with the definition.
- Constraints: The maximum length is
2048
characters. The minimum length is10
characters. The value must match regular expression/^http(s)?:\/\/([^\/?#]*)([^?#]*)(\\?([^#]*))?(#(.*))?$/
.
- Constraints: The maximum length is
- pipeline
Id String - The Tekton pipeline ID.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[-0-9a-z]+$/
.
- Constraints: The maximum length is
- source
Cd
Tekton Pipeline Definition Source - Source repository containing the Tekton pipeline definition. Nested schema for source:
- cd
Tekton stringPipeline Definition Id - The unique identifier of the cd_tekton_pipeline_definition.
- definition
Id string - (String) The aggregated definition ID.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[-0-9a-z]+$/
.
- Constraints: The maximum length is
- href string
- (String) API URL for interacting with the definition.
- Constraints: The maximum length is
2048
characters. The minimum length is10
characters. The value must match regular expression/^http(s)?:\/\/([^\/?#]*)([^?#]*)(\\?([^#]*))?(#(.*))?$/
.
- Constraints: The maximum length is
- pipeline
Id string - The Tekton pipeline ID.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[-0-9a-z]+$/
.
- Constraints: The maximum length is
- source
Cd
Tekton Pipeline Definition Source - Source repository containing the Tekton pipeline definition. Nested schema for source:
- cd_
tekton_ strpipeline_ definition_ id - The unique identifier of the cd_tekton_pipeline_definition.
- definition_
id str - (String) The aggregated definition ID.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[-0-9a-z]+$/
.
- Constraints: The maximum length is
- href str
- (String) API URL for interacting with the definition.
- Constraints: The maximum length is
2048
characters. The minimum length is10
characters. The value must match regular expression/^http(s)?:\/\/([^\/?#]*)([^?#]*)(\\?([^#]*))?(#(.*))?$/
.
- Constraints: The maximum length is
- pipeline_
id str - The Tekton pipeline ID.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[-0-9a-z]+$/
.
- Constraints: The maximum length is
- source
Cd
Tekton Pipeline Definition Source Args - Source repository containing the Tekton pipeline definition. Nested schema for source:
- cd
Tekton StringPipeline Definition Id - The unique identifier of the cd_tekton_pipeline_definition.
- definition
Id String - (String) The aggregated definition ID.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[-0-9a-z]+$/
.
- Constraints: The maximum length is
- href String
- (String) API URL for interacting with the definition.
- Constraints: The maximum length is
2048
characters. The minimum length is10
characters. The value must match regular expression/^http(s)?:\/\/([^\/?#]*)([^?#]*)(\\?([^#]*))?(#(.*))?$/
.
- Constraints: The maximum length is
- pipeline
Id String - The Tekton pipeline ID.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[-0-9a-z]+$/
.
- Constraints: The maximum length is
- source Property Map
- Source repository containing the Tekton pipeline definition. Nested schema for source:
Supporting Types
CdTektonPipelineDefinitionSource, CdTektonPipelineDefinitionSourceArgs
- Properties
Cd
Tekton Pipeline Definition Source Properties - Properties of the source, which define the URL of the repository and a branch or tag. Nested schema for properties:
- Type string
- The only supported source type is "git", indicating that the source is a git repository.
- Constraints: The maximum length is
253
characters. The minimum length is1
character. The value must match regular expression/^git$/
.
- Constraints: The maximum length is
- Properties
Cd
Tekton Pipeline Definition Source Properties - Properties of the source, which define the URL of the repository and a branch or tag. Nested schema for properties:
- Type string
- The only supported source type is "git", indicating that the source is a git repository.
- Constraints: The maximum length is
253
characters. The minimum length is1
character. The value must match regular expression/^git$/
.
- Constraints: The maximum length is
- properties
Cd
Tekton Pipeline Definition Source Properties - Properties of the source, which define the URL of the repository and a branch or tag. Nested schema for properties:
- type String
- The only supported source type is "git", indicating that the source is a git repository.
- Constraints: The maximum length is
253
characters. The minimum length is1
character. The value must match regular expression/^git$/
.
- Constraints: The maximum length is
- properties
Cd
Tekton Pipeline Definition Source Properties - Properties of the source, which define the URL of the repository and a branch or tag. Nested schema for properties:
- type string
- The only supported source type is "git", indicating that the source is a git repository.
- Constraints: The maximum length is
253
characters. The minimum length is1
character. The value must match regular expression/^git$/
.
- Constraints: The maximum length is
- properties
Cd
Tekton Pipeline Definition Source Properties - Properties of the source, which define the URL of the repository and a branch or tag. Nested schema for properties:
- type str
- The only supported source type is "git", indicating that the source is a git repository.
- Constraints: The maximum length is
253
characters. The minimum length is1
character. The value must match regular expression/^git$/
.
- Constraints: The maximum length is
- properties Property Map
- Properties of the source, which define the URL of the repository and a branch or tag. Nested schema for properties:
- type String
- The only supported source type is "git", indicating that the source is a git repository.
- Constraints: The maximum length is
253
characters. The minimum length is1
character. The value must match regular expression/^git$/
.
- Constraints: The maximum length is
CdTektonPipelineDefinitionSourceProperties, CdTektonPipelineDefinitionSourcePropertiesArgs
- Path string
- The path to the definition's YAML files.
- Constraints: The maximum length is
253
characters. The minimum length is1
character. The value must match regular expression/^[-0-9a-zA-Z_.]{1,253}$/
.
- Constraints: The maximum length is
- Url string
- URL of the definition repository.
- Constraints: The maximum length is
2048
characters. The minimum length is10
characters. The value must match regular expression/^http(s)?:\/\/([^\/?#]*)([^?#]*)(\\?([^#]*))?(#(.*))?$/
.
- Constraints: The maximum length is
- Branch string
- A branch from the repo, specify one of branch or tag only.
- Constraints: The maximum length is
253
characters. The minimum length is1
character. The value must match regular expression/^[-0-9a-zA-Z_.]{1,253}$/
.
- Constraints: The maximum length is
- Tag string
- A tag from the repo, specify one of branch or tag only.
- Constraints: The maximum length is
253
characters. The minimum length is1
character. The value must match regular expression/^[-0-9a-zA-Z_]{1,253}$/
.
- Constraints: The maximum length is
- Tools
List<Cd
Tekton Pipeline Definition Source Properties Tool> - Reference to the repository tool in the parent toolchain. Nested schema for tool:
- Path string
- The path to the definition's YAML files.
- Constraints: The maximum length is
253
characters. The minimum length is1
character. The value must match regular expression/^[-0-9a-zA-Z_.]{1,253}$/
.
- Constraints: The maximum length is
- Url string
- URL of the definition repository.
- Constraints: The maximum length is
2048
characters. The minimum length is10
characters. The value must match regular expression/^http(s)?:\/\/([^\/?#]*)([^?#]*)(\\?([^#]*))?(#(.*))?$/
.
- Constraints: The maximum length is
- Branch string
- A branch from the repo, specify one of branch or tag only.
- Constraints: The maximum length is
253
characters. The minimum length is1
character. The value must match regular expression/^[-0-9a-zA-Z_.]{1,253}$/
.
- Constraints: The maximum length is
- Tag string
- A tag from the repo, specify one of branch or tag only.
- Constraints: The maximum length is
253
characters. The minimum length is1
character. The value must match regular expression/^[-0-9a-zA-Z_]{1,253}$/
.
- Constraints: The maximum length is
- Tools
[]Cd
Tekton Pipeline Definition Source Properties Tool - Reference to the repository tool in the parent toolchain. Nested schema for tool:
- path String
- The path to the definition's YAML files.
- Constraints: The maximum length is
253
characters. The minimum length is1
character. The value must match regular expression/^[-0-9a-zA-Z_.]{1,253}$/
.
- Constraints: The maximum length is
- url String
- URL of the definition repository.
- Constraints: The maximum length is
2048
characters. The minimum length is10
characters. The value must match regular expression/^http(s)?:\/\/([^\/?#]*)([^?#]*)(\\?([^#]*))?(#(.*))?$/
.
- Constraints: The maximum length is
- branch String
- A branch from the repo, specify one of branch or tag only.
- Constraints: The maximum length is
253
characters. The minimum length is1
character. The value must match regular expression/^[-0-9a-zA-Z_.]{1,253}$/
.
- Constraints: The maximum length is
- tag String
- A tag from the repo, specify one of branch or tag only.
- Constraints: The maximum length is
253
characters. The minimum length is1
character. The value must match regular expression/^[-0-9a-zA-Z_]{1,253}$/
.
- Constraints: The maximum length is
- tools
List<Cd
Tekton Pipeline Definition Source Properties Tool> - Reference to the repository tool in the parent toolchain. Nested schema for tool:
- path string
- The path to the definition's YAML files.
- Constraints: The maximum length is
253
characters. The minimum length is1
character. The value must match regular expression/^[-0-9a-zA-Z_.]{1,253}$/
.
- Constraints: The maximum length is
- url string
- URL of the definition repository.
- Constraints: The maximum length is
2048
characters. The minimum length is10
characters. The value must match regular expression/^http(s)?:\/\/([^\/?#]*)([^?#]*)(\\?([^#]*))?(#(.*))?$/
.
- Constraints: The maximum length is
- branch string
- A branch from the repo, specify one of branch or tag only.
- Constraints: The maximum length is
253
characters. The minimum length is1
character. The value must match regular expression/^[-0-9a-zA-Z_.]{1,253}$/
.
- Constraints: The maximum length is
- tag string
- A tag from the repo, specify one of branch or tag only.
- Constraints: The maximum length is
253
characters. The minimum length is1
character. The value must match regular expression/^[-0-9a-zA-Z_]{1,253}$/
.
- Constraints: The maximum length is
- tools
Cd
Tekton Pipeline Definition Source Properties Tool[] - Reference to the repository tool in the parent toolchain. Nested schema for tool:
- path str
- The path to the definition's YAML files.
- Constraints: The maximum length is
253
characters. The minimum length is1
character. The value must match regular expression/^[-0-9a-zA-Z_.]{1,253}$/
.
- Constraints: The maximum length is
- url str
- URL of the definition repository.
- Constraints: The maximum length is
2048
characters. The minimum length is10
characters. The value must match regular expression/^http(s)?:\/\/([^\/?#]*)([^?#]*)(\\?([^#]*))?(#(.*))?$/
.
- Constraints: The maximum length is
- branch str
- A branch from the repo, specify one of branch or tag only.
- Constraints: The maximum length is
253
characters. The minimum length is1
character. The value must match regular expression/^[-0-9a-zA-Z_.]{1,253}$/
.
- Constraints: The maximum length is
- tag str
- A tag from the repo, specify one of branch or tag only.
- Constraints: The maximum length is
253
characters. The minimum length is1
character. The value must match regular expression/^[-0-9a-zA-Z_]{1,253}$/
.
- Constraints: The maximum length is
- tools
Sequence[Cd
Tekton Pipeline Definition Source Properties Tool] - Reference to the repository tool in the parent toolchain. Nested schema for tool:
- path String
- The path to the definition's YAML files.
- Constraints: The maximum length is
253
characters. The minimum length is1
character. The value must match regular expression/^[-0-9a-zA-Z_.]{1,253}$/
.
- Constraints: The maximum length is
- url String
- URL of the definition repository.
- Constraints: The maximum length is
2048
characters. The minimum length is10
characters. The value must match regular expression/^http(s)?:\/\/([^\/?#]*)([^?#]*)(\\?([^#]*))?(#(.*))?$/
.
- Constraints: The maximum length is
- branch String
- A branch from the repo, specify one of branch or tag only.
- Constraints: The maximum length is
253
characters. The minimum length is1
character. The value must match regular expression/^[-0-9a-zA-Z_.]{1,253}$/
.
- Constraints: The maximum length is
- tag String
- A tag from the repo, specify one of branch or tag only.
- Constraints: The maximum length is
253
characters. The minimum length is1
character. The value must match regular expression/^[-0-9a-zA-Z_]{1,253}$/
.
- Constraints: The maximum length is
- tools List<Property Map>
- Reference to the repository tool in the parent toolchain. Nested schema for tool:
CdTektonPipelineDefinitionSourcePropertiesTool, CdTektonPipelineDefinitionSourcePropertiesToolArgs
- Id string
- ID of the repository tool instance in the parent toolchain.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[-0-9a-z]+$/
.
- Constraints: The maximum length is
- Id string
- ID of the repository tool instance in the parent toolchain.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[-0-9a-z]+$/
.
- Constraints: The maximum length is
- id String
- ID of the repository tool instance in the parent toolchain.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[-0-9a-z]+$/
.
- Constraints: The maximum length is
- id string
- ID of the repository tool instance in the parent toolchain.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[-0-9a-z]+$/
.
- Constraints: The maximum length is
- id str
- ID of the repository tool instance in the parent toolchain.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[-0-9a-z]+$/
.
- Constraints: The maximum length is
- id String
- ID of the repository tool instance in the parent toolchain.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[-0-9a-z]+$/
.
- Constraints: The maximum length is
Import
You can import the ibm_cd_tekton_pipeline_definition
resource by using id
.
The id
property can be formed from pipeline_id
, and definition_id
in the following format:
<pipeline_id>/<definition_id>
pipeline_id
: A string in the format94619026-912b-4d92-8f51-6c74f0692d90
. The Tekton pipeline ID.definition_id
: A string. The aggregated definition ID.
Syntax
```sh $ pulumi import ibm:index/cdTektonPipelineDefinition:CdTektonPipelineDefinition cd_tekton_pipeline_definition <pipeline_id>/<definition_id> ```
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.