UNPKG

@spacelift-io/pulumi-spacelift

Version:

A Pulumi package for creating and managing Spacelift resources.

493 lines (492 loc) 12.2 kB
import * as outputs from "../types/output"; export interface GetAwsIntegrationsIntegration { durationSeconds: number; externalId: string; generateCredentialsInWorker: boolean; integrationId: string; labels: string[]; name: string; roleArn: string; spaceId: string; } export interface GetAzureIntegrationsIntegration { adminConsentProvided: boolean; adminConsentUrl: string; applicationId: string; defaultSubscriptionId: string; displayName: string; integrationId: string; labels: string[]; name: string; spaceId: string; tenantId: string; } export interface GetContextsContext { contextId: string; description: string; labels: string[]; name: string; spaceId: string; } export interface GetContextsLabel { anyOfs: string[]; } export interface GetModuleAzureDevop { id: string; isDefault: boolean; project: string; } export interface GetModuleBitbucketCloud { id: string; isDefault: boolean; namespace: string; } export interface GetModuleBitbucketDatacenter { id: string; isDefault: boolean; namespace: string; } export interface GetModuleGithubEnterprise { id: string; isDefault: boolean; namespace: string; } export interface GetModuleGitlab { id: string; isDefault: boolean; namespace: string; } export interface GetPoliciesPolicy { id: string; labels: string[]; name: string; spaceId: string; type: string; } export interface GetSpacesSpace { description: string; inheritEntities: boolean; labels: string[]; name: string; parentSpaceId: string; spaceId: string; } export interface GetStackAnsible { playbook: string; } export interface GetStackAzureDevop { id: string; isDefault: boolean; project: string; } export interface GetStackBitbucketCloud { id: string; isDefault: boolean; namespace: string; } export interface GetStackBitbucketDatacenter { id: string; isDefault: boolean; namespace: string; } export interface GetStackCloudformation { entryTemplateFile: string; region: string; stackName: string; templateBucket: string; } export interface GetStackGithubEnterprise { id: string; isDefault: boolean; namespace: string; } export interface GetStackGitlab { id: string; isDefault: boolean; namespace: string; } export interface GetStackKubernete { kubectlVersion: string; namespace: string; } export interface GetStackPulumi { loginUrl: string; stackName: string; } export interface GetStackRawGit { namespace: string; url: string; } export interface GetStackShowcase { namespace: string; } export interface GetStacksAdministrative { equals?: boolean; } export interface GetStacksBranch { anyOfs: string[]; } export interface GetStacksCommit { anyOfs: string[]; } export interface GetStacksLabel { anyOfs: string[]; } export interface GetStacksLocked { equals?: boolean; } export interface GetStacksName { anyOfs: string[]; } export interface GetStacksProjectRoot { anyOfs: string[]; } export interface GetStacksRepository { anyOfs: string[]; } export interface GetStacksStack { additionalProjectGlobs?: string[]; administrative: boolean; afterApplies: string[]; afterDestroys: string[]; afterInits: string[]; afterPerforms: string[]; afterPlans: string[]; afterRuns?: string[]; ansibles: outputs.GetStacksStackAnsible[]; autodeploy: boolean; autoretry: boolean; awsAssumeRolePolicyStatement: string; azureDevops: outputs.GetStacksStackAzureDevop[]; beforeApplies: string[]; beforeDestroys: string[]; beforeInits: string[]; beforePerforms: string[]; beforePlans: string[]; bitbucketClouds: outputs.GetStacksStackBitbucketCloud[]; bitbucketDatacenters: outputs.GetStacksStackBitbucketDatacenter[]; branch: string; cloudformations: outputs.GetStacksStackCloudformation[]; description: string; enableLocalPreview: boolean; githubEnterprises: outputs.GetStacksStackGithubEnterprise[]; gitlabs: outputs.GetStacksStackGitlab[]; kubernetes: outputs.GetStacksStackKubernete[]; labels: string[]; manageState: boolean; name: string; projectRoot: string; protectFromDeletion: boolean; pulumis: outputs.GetStacksStackPulumi[]; rawGits: outputs.GetStacksStackRawGit[]; repository: string; runnerImage: string; showcases: outputs.GetStacksStackShowcase[]; spaceId: string; stackId: string; terraformExternalStateAccess: boolean; terraformSmartSanitization: boolean; terraformVersion: string; terraformWorkflowTool: string; terraformWorkspace: string; workerPoolId: string; } export interface GetStacksStackAnsible { playbook: string; } export interface GetStacksStackAzureDevop { id: string; isDefault: boolean; project: string; } export interface GetStacksStackBitbucketCloud { id: string; isDefault: boolean; namespace: string; } export interface GetStacksStackBitbucketDatacenter { id: string; isDefault: boolean; namespace: string; } export interface GetStacksStackCloudformation { entryTemplateFile: string; region: string; stackName: string; templateBucket: string; } export interface GetStacksStackGithubEnterprise { id: string; isDefault: boolean; namespace: string; } export interface GetStacksStackGitlab { id: string; isDefault: boolean; namespace: string; } export interface GetStacksStackKubernete { kubectlVersion: string; namespace: string; } export interface GetStacksStackPulumi { loginUrl: string; stackName: string; } export interface GetStacksStackRawGit { namespace: string; url: string; } export interface GetStacksStackShowcase { namespace: string; } export interface GetStacksState { anyOfs: string[]; } export interface GetStacksVendor { anyOfs: string[]; } export interface GetStacksWorkerPool { anyOfs: string[]; } export interface GetVcsAgentPoolsVcsAgentPool { description: string; name: string; vcsAgentPoolId: string; } export interface GetWorkerPoolsWorkerPool { config: string; description: string; name: string; spaceId: string; workerPoolId: string; } export interface IdpGroupMappingPolicy { /** * Type of access to the space. Possible values are: READ, WRITE, ADMIN */ role: string; /** * ID (slug) of the space the user group has access to */ spaceId: string; } export interface ModuleAzureDevops { /** * ID of the Azure Devops integration. If not specified, the default integration will be used. */ id?: string; /** * Indicates whether this is the default Azure DevOps integration */ isDefault: boolean; /** * The name of the Azure DevOps project */ project: string; } export interface ModuleBitbucketCloud { /** * The ID of the Bitbucket Cloud integration. If not specified, the default integration will be used. */ id?: string; /** * Indicates whether this is the default Bitbucket Cloud integration */ isDefault: boolean; /** * The Bitbucket project containing the repository */ namespace: string; } export interface ModuleBitbucketDatacenter { /** * The ID of the Bitbucket Datacenter integration. If not specified, the default integration will be used. */ id?: string; /** * Indicates whether this is the default Bitbucket Datacenter integration */ isDefault: boolean; /** * The Bitbucket project containing the repository */ namespace: string; } export interface ModuleGithubEnterprise { /** * The ID of the GitHub Enterprise integration. If not specified, the default integration will be used. */ id?: string; /** * Indicates whether this is the default GitHub Enterprise integration */ isDefault: boolean; /** * The GitHub organization / user the repository belongs to */ namespace: string; } export interface ModuleGitlab { /** * ID of the Gitlab integration. If not specified, the default integration will be used. */ id?: string; /** * Indicates whether this is the default GitLab integration */ isDefault: boolean; /** * The GitLab namespace containing the repository */ namespace: string; } export interface StackAnsible { /** * The playbook Ansible should run. */ playbook: string; } export interface StackAzureDevops { /** * The ID of the Azure Devops integration. If not specified, the default integration will be used. */ id?: string; /** * Indicates whether this is the default Azure DevOps integration */ isDefault: boolean; /** * The name of the Azure DevOps project */ project: string; } export interface StackBitbucketCloud { /** * The ID of the Bitbucket Cloud integration. If not specified, the default integration will be used. */ id?: string; /** * Indicates whether this is the default Bitbucket Cloud integration */ isDefault: boolean; /** * The Bitbucket project containing the repository */ namespace: string; } export interface StackBitbucketDatacenter { /** * The ID of the Bitbucket Datacenter integration. If not specified, the default integration will be used. */ id?: string; /** * Indicates whether this is the default Bitbucket Datacenter integration */ isDefault: boolean; /** * The Bitbucket project containing the repository */ namespace: string; } export interface StackCloudformation { /** * Template file `cloudformation package` will be called on */ entryTemplateFile: string; /** * AWS region to use */ region: string; /** * CloudFormation stack name */ stackName: string; /** * S3 bucket to save CloudFormation templates to */ templateBucket: string; } export interface StackGithubEnterprise { /** * The ID of the GitHub Enterprise integration. If not specified, the default integration will be used. */ id?: string; /** * Indicates whether this is the default GitHub Enterprise integration */ isDefault: boolean; /** * The GitHub organization / user the repository belongs to */ namespace: string; } export interface StackGitlab { /** * The ID of the Gitlab integration. If not specified, the default integration will be used. */ id?: string; /** * Indicates whether this is the default GitLab integration */ isDefault: boolean; /** * The GitLab namespace containing the repository */ namespace: string; } export interface StackKubernetes { /** * Kubectl version. */ kubectlVersion: string; /** * Namespace of the Kubernetes cluster to run commands on. Leave empty for multi-namespace Stacks. */ namespace?: string; } export interface StackPulumi { /** * State backend to log into on Run initialize. */ loginUrl: string; /** * Pulumi stack name to use with the state backend. */ stackName: string; } export interface StackRawGit { /** * User-friendly namespace for the repository, this is for cosmetic purposes only */ namespace: string; /** * HTTPS URL of the Git repository */ url: string; } export interface StackShowcase { namespace: string; } export interface StackTerragrunt { terraformVersion: string; /** * Terragrunt version. */ terragruntVersion: string; /** * Whether to use `terragrunt run-all` instead of `terragrunt`. */ useRunAll?: boolean; useSmartSanitization?: boolean; } export interface UserPolicy { /** * Type of access to the space. Possible values are: READ, WRITE, ADMIN */ role: string; /** * ID (slug) of the space the user has access to */ spaceId: string; }