diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile
index 8309d90..60dda98 100644
--- a/.devcontainer/Dockerfile
+++ b/.devcontainer/Dockerfile
@@ -54,14 +54,7 @@ RUN apt-get install -y python3 && \
apt-get install -y python3-setuptools
# Install .NET
-RUN wget https://packages.microsoft.com/config/ubuntu/22.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb && \
- dpkg -i packages-microsoft-prod.deb && \
- rm packages-microsoft-prod.deb
-
-RUN apt-get update && \
- apt-get install -y apt-transport-https && \
- apt-get update && \
- apt-get install -y dotnet-sdk-6.0
+RUN apt-get install -y dotnet-sdk-6.0
# Install Pulumi
RUN curl -fsSL https://get.pulumi.com | sh
diff --git a/.github/workflows/build-provider.yml b/.github/workflows/build-provider.yml
index df7f91f..6ee7c4d 100644
--- a/.github/workflows/build-provider.yml
+++ b/.github/workflows/build-provider.yml
@@ -45,3 +45,6 @@ jobs:
run: make provider
env:
PROVIDER_OS: ${{ matrix.provider_os }}
+
+ - name: Build SDKs
+ run: make build_sdks
diff --git a/Makefile b/Makefile
index f8539b4..8d4818b 100644
--- a/Makefile
+++ b/Makefile
@@ -65,7 +65,6 @@ build_nodejs:: install_plugins tfgen # build the node sdk
cd sdk/nodejs/ && \
yarn install && \
yarn run tsc && \
- cp -R scripts/ bin && \
cp ../../README.md ../../LICENSE package.json yarn.lock ./bin/ && \
sed -i.bak -e "s/\$${VERSION}/$(VERSION)/g" ./bin/package.json
diff --git a/sdk/dotnet/AwsIntegration.cs b/sdk/dotnet/AwsIntegration.cs
index c088a85..c78781f 100644
--- a/sdk/dotnet/AwsIntegration.cs
+++ b/sdk/dotnet/AwsIntegration.cs
@@ -12,7 +12,7 @@ namespace Pulumi.Spacelift
///
/// `spacelift.AwsIntegration` represents an integration with an AWS account. This integration is account-level and needs to be explicitly attached to individual stacks in order to take effect.
///
- /// Note: when assuming credentials for **shared workers**, Spacelift will use `$accountName-$integrationID@$stackID-$suffix` or `$accountName-$integrationID@$moduleID-$suffix` as [external ID](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_create_for-user_externalid.html) and `$runID@$stackID@$accountName` truncated to 64 characters as [session ID](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole),$suffix will be `read` or `write`.
+ /// Note: when assuming credentials for **shared workers**, Spacelift will use `$accountName@$integrationID@$stackID@$suffix` or `$accountName@$integrationID@$moduleID@$suffix` as [external ID](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_create_for-user_externalid.html) and `$runID@$stackID@$accountName` truncated to 64 characters as [session ID](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole),$suffix will be `read` or `write`.
///
/// ## Import
///
diff --git a/sdk/dotnet/AwsIntegrationAttachment.cs b/sdk/dotnet/AwsIntegrationAttachment.cs
index a8d5bc1..6cc6ee6 100644
--- a/sdk/dotnet/AwsIntegrationAttachment.cs
+++ b/sdk/dotnet/AwsIntegrationAttachment.cs
@@ -16,6 +16,7 @@ namespace Pulumi.Spacelift
///
/// ```csharp
/// using System.Collections.Generic;
+ /// using System.Linq;
/// using Pulumi;
/// using Spacelift = Pulumi.Spacelift;
///
diff --git a/sdk/dotnet/AzureIntegration.cs b/sdk/dotnet/AzureIntegration.cs
index 6388024..9e969f6 100644
--- a/sdk/dotnet/AzureIntegration.cs
+++ b/sdk/dotnet/AzureIntegration.cs
@@ -16,6 +16,7 @@ namespace Pulumi.Spacelift
///
/// ```csharp
/// using System.Collections.Generic;
+ /// using System.Linq;
/// using Pulumi;
/// using Spacelift = Pulumi.Spacelift;
///
diff --git a/sdk/dotnet/AzureIntegrationAttachment.cs b/sdk/dotnet/AzureIntegrationAttachment.cs
index 67737d4..974f797 100644
--- a/sdk/dotnet/AzureIntegrationAttachment.cs
+++ b/sdk/dotnet/AzureIntegrationAttachment.cs
@@ -16,6 +16,7 @@ namespace Pulumi.Spacelift
///
/// ```csharp
/// using System.Collections.Generic;
+ /// using System.Linq;
/// using Pulumi;
/// using Spacelift = Pulumi.Spacelift;
///
diff --git a/sdk/dotnet/Blueprint.cs b/sdk/dotnet/Blueprint.cs
new file mode 100644
index 0000000..e6ac32b
--- /dev/null
+++ b/sdk/dotnet/Blueprint.cs
@@ -0,0 +1,195 @@
+// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.Spacelift
+{
+ [SpaceliftResourceType("spacelift:index/blueprint:Blueprint")]
+ public partial class Blueprint : global::Pulumi.CustomResource
+ {
+ ///
+ /// Description of the blueprint
+ ///
+ [Output("description")]
+ public Output Description { get; private set; } = null!;
+
+ ///
+ /// Labels of the blueprint
+ ///
+ [Output("labels")]
+ public Output> Labels { get; private set; } = null!;
+
+ ///
+ /// Name of the blueprint
+ ///
+ [Output("name")]
+ public Output Name { get; private set; } = null!;
+
+ ///
+ /// ID of the space the blueprint is in
+ ///
+ [Output("space")]
+ public Output Space { get; private set; } = null!;
+
+ ///
+ /// State of the blueprint. Value can be `DRAFT` or `PUBLISHED`.
+ ///
+ [Output("state")]
+ public Output State { get; private set; } = null!;
+
+ ///
+ /// Body of the blueprint. If `state` is set to `PUBLISHED`, this field is required.
+ ///
+ [Output("template")]
+ public Output Template { get; private set; } = null!;
+
+
+ ///
+ /// Create a Blueprint resource with the given unique name, arguments, and options.
+ ///
+ ///
+ /// The unique name of the resource
+ /// The arguments used to populate this resource's properties
+ /// A bag of options that control this resource's behavior
+ public Blueprint(string name, BlueprintArgs args, CustomResourceOptions? options = null)
+ : base("spacelift:index/blueprint:Blueprint", name, args ?? new BlueprintArgs(), MakeResourceOptions(options, ""))
+ {
+ }
+
+ private Blueprint(string name, Input id, BlueprintState? state = null, CustomResourceOptions? options = null)
+ : base("spacelift:index/blueprint:Blueprint", name, state, MakeResourceOptions(options, id))
+ {
+ }
+
+ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id)
+ {
+ var defaultOptions = new CustomResourceOptions
+ {
+ Version = Utilities.Version,
+ PluginDownloadURL = "https://downloads.spacelift.io/pulumi-plugins",
+ };
+ var merged = CustomResourceOptions.Merge(defaultOptions, options);
+ // Override the ID if one was specified for consistency with other language SDKs.
+ merged.Id = id ?? merged.Id;
+ return merged;
+ }
+ ///
+ /// Get an existing Blueprint resource's state with the given name, ID, and optional extra
+ /// properties used to qualify the lookup.
+ ///
+ ///
+ /// The unique name of the resulting resource.
+ /// The unique provider ID of the resource to lookup.
+ /// Any extra arguments used during the lookup.
+ /// A bag of options that control this resource's behavior
+ public static Blueprint Get(string name, Input id, BlueprintState? state = null, CustomResourceOptions? options = null)
+ {
+ return new Blueprint(name, id, state, options);
+ }
+ }
+
+ public sealed class BlueprintArgs : global::Pulumi.ResourceArgs
+ {
+ ///
+ /// Description of the blueprint
+ ///
+ [Input("description")]
+ public Input? Description { get; set; }
+
+ [Input("labels")]
+ private InputList? _labels;
+
+ ///
+ /// Labels of the blueprint
+ ///
+ public InputList Labels
+ {
+ get => _labels ?? (_labels = new InputList());
+ set => _labels = value;
+ }
+
+ ///
+ /// Name of the blueprint
+ ///
+ [Input("name")]
+ public Input? Name { get; set; }
+
+ ///
+ /// ID of the space the blueprint is in
+ ///
+ [Input("space", required: true)]
+ public Input Space { get; set; } = null!;
+
+ ///
+ /// State of the blueprint. Value can be `DRAFT` or `PUBLISHED`.
+ ///
+ [Input("state", required: true)]
+ public Input State { get; set; } = null!;
+
+ ///
+ /// Body of the blueprint. If `state` is set to `PUBLISHED`, this field is required.
+ ///
+ [Input("template")]
+ public Input? Template { get; set; }
+
+ public BlueprintArgs()
+ {
+ }
+ public static new BlueprintArgs Empty => new BlueprintArgs();
+ }
+
+ public sealed class BlueprintState : global::Pulumi.ResourceArgs
+ {
+ ///
+ /// Description of the blueprint
+ ///
+ [Input("description")]
+ public Input? Description { get; set; }
+
+ [Input("labels")]
+ private InputList? _labels;
+
+ ///
+ /// Labels of the blueprint
+ ///
+ public InputList Labels
+ {
+ get => _labels ?? (_labels = new InputList());
+ set => _labels = value;
+ }
+
+ ///
+ /// Name of the blueprint
+ ///
+ [Input("name")]
+ public Input? Name { get; set; }
+
+ ///
+ /// ID of the space the blueprint is in
+ ///
+ [Input("space")]
+ public Input? Space { get; set; }
+
+ ///
+ /// State of the blueprint. Value can be `DRAFT` or `PUBLISHED`.
+ ///
+ [Input("state")]
+ public Input? State { get; set; }
+
+ ///
+ /// Body of the blueprint. If `state` is set to `PUBLISHED`, this field is required.
+ ///
+ [Input("template")]
+ public Input? Template { get; set; }
+
+ public BlueprintState()
+ {
+ }
+ public static new BlueprintState Empty => new BlueprintState();
+ }
+}
diff --git a/sdk/dotnet/Config/Config.cs b/sdk/dotnet/Config/Config.cs
index f63589b..5cdce82 100644
--- a/sdk/dotnet/Config/Config.cs
+++ b/sdk/dotnet/Config/Config.cs
@@ -8,7 +8,7 @@ namespace Pulumi.Spacelift
{
public static class Config
{
- [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "IDE1006", Justification =
+ [global::System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "IDE1006", Justification =
"Double underscore prefix used to avoid conflicts with variable names.")]
private sealed class __Value
{
diff --git a/sdk/dotnet/Context.cs b/sdk/dotnet/Context.cs
index 05e2c7d..f8b8a20 100644
--- a/sdk/dotnet/Context.cs
+++ b/sdk/dotnet/Context.cs
@@ -16,6 +16,7 @@ namespace Pulumi.Spacelift
///
/// ```csharp
/// using System.Collections.Generic;
+ /// using System.Linq;
/// using Pulumi;
/// using Spacelift = Pulumi.Spacelift;
///
diff --git a/sdk/dotnet/ContextAttachment.cs b/sdk/dotnet/ContextAttachment.cs
index d24c347..2dbc145 100644
--- a/sdk/dotnet/ContextAttachment.cs
+++ b/sdk/dotnet/ContextAttachment.cs
@@ -16,6 +16,7 @@ namespace Pulumi.Spacelift
///
/// ```csharp
/// using System.Collections.Generic;
+ /// using System.Linq;
/// using Pulumi;
/// using Spacelift = Pulumi.Spacelift;
///
diff --git a/sdk/dotnet/DriftDetection.cs b/sdk/dotnet/DriftDetection.cs
index 98ae7cc..423e291 100644
--- a/sdk/dotnet/DriftDetection.cs
+++ b/sdk/dotnet/DriftDetection.cs
@@ -16,6 +16,7 @@ namespace Pulumi.Spacelift
///
/// ```csharp
/// using System.Collections.Generic;
+ /// using System.Linq;
/// using Pulumi;
/// using Spacelift = Pulumi.Spacelift;
///
@@ -54,6 +55,12 @@ namespace Pulumi.Spacelift
[SpaceliftResourceType("spacelift:index/driftDetection:DriftDetection")]
public partial class DriftDetection : global::Pulumi.CustomResource
{
+ ///
+ /// Controls whether drift detection should be performed on a stack in any final state instead of just 'Finished'.
+ ///
+ [Output("ignoreState")]
+ public Output IgnoreState { get; private set; } = null!;
+
///
/// Whether a tracked run should be triggered when drift is detected.
///
@@ -125,6 +132,12 @@ public static DriftDetection Get(string name, Input id, DriftDetectionSt
public sealed class DriftDetectionArgs : global::Pulumi.ResourceArgs
{
+ ///
+ /// Controls whether drift detection should be performed on a stack in any final state instead of just 'Finished'.
+ ///
+ [Input("ignoreState")]
+ public Input? IgnoreState { get; set; }
+
///
/// Whether a tracked run should be triggered when drift is detected.
///
@@ -163,6 +176,12 @@ public DriftDetectionArgs()
public sealed class DriftDetectionState : global::Pulumi.ResourceArgs
{
+ ///
+ /// Controls whether drift detection should be performed on a stack in any final state instead of just 'Finished'.
+ ///
+ [Input("ignoreState")]
+ public Input? IgnoreState { get; set; }
+
///
/// Whether a tracked run should be triggered when drift is detected.
///
diff --git a/sdk/dotnet/EnvironmentVariable.cs b/sdk/dotnet/EnvironmentVariable.cs
index 72afe70..17ff7a4 100644
--- a/sdk/dotnet/EnvironmentVariable.cs
+++ b/sdk/dotnet/EnvironmentVariable.cs
@@ -16,6 +16,7 @@ namespace Pulumi.Spacelift
///
/// ```csharp
/// using System.Collections.Generic;
+ /// using System.Linq;
/// using Pulumi;
/// using Spacelift = Pulumi.Spacelift;
///
@@ -96,13 +97,13 @@ public partial class EnvironmentVariable : global::Pulumi.CustomResource
public Output StackId { get; private set; } = null!;
///
- /// Value of the environment variable
+ /// Value of the environment variable. Defaults to an empty string.
///
[Output("value")]
- public Output Value { get; private set; } = null!;
+ public Output Value { get; private set; } = null!;
///
- /// Indicates whether the value can be read back outside a Run. Defaults to `true`.
+ /// Indicates whether the value is secret or not. Defaults to `true`.
///
[Output("writeOnly")]
public Output WriteOnly { get; private set; } = null!;
@@ -115,7 +116,7 @@ public partial class EnvironmentVariable : global::Pulumi.CustomResource
/// The unique name of the resource
/// The arguments used to populate this resource's properties
/// A bag of options that control this resource's behavior
- public EnvironmentVariable(string name, EnvironmentVariableArgs args, CustomResourceOptions? options = null)
+ public EnvironmentVariable(string name, EnvironmentVariableArgs? args = null, CustomResourceOptions? options = null)
: base("spacelift:index/environmentVariable:EnvironmentVariable", name, args ?? new EnvironmentVariableArgs(), MakeResourceOptions(options, ""))
{
}
@@ -131,6 +132,10 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions?
{
Version = Utilities.Version,
PluginDownloadURL = "https://downloads.spacelift.io/pulumi-plugins",
+ AdditionalSecretOutputs =
+ {
+ "value",
+ },
};
var merged = CustomResourceOptions.Merge(defaultOptions, options);
// Override the ID if one was specified for consistency with other language SDKs.
@@ -178,14 +183,24 @@ public sealed class EnvironmentVariableArgs : global::Pulumi.ResourceArgs
[Input("stackId")]
public Input? StackId { get; set; }
+ [Input("value")]
+ private Input? _value;
+
///
- /// Value of the environment variable
+ /// Value of the environment variable. Defaults to an empty string.
///
- [Input("value", required: true)]
- public Input Value { get; set; } = null!;
+ public Input? Value
+ {
+ get => _value;
+ set
+ {
+ var emptySecret = Output.CreateSecret(0);
+ _value = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1);
+ }
+ }
///
- /// Indicates whether the value can be read back outside a Run. Defaults to `true`.
+ /// Indicates whether the value is secret or not. Defaults to `true`.
///
[Input("writeOnly")]
public Input? WriteOnly { get; set; }
@@ -228,14 +243,24 @@ public sealed class EnvironmentVariableState : global::Pulumi.ResourceArgs
[Input("stackId")]
public Input? StackId { get; set; }
+ [Input("value")]
+ private Input? _value;
+
///
- /// Value of the environment variable
+ /// Value of the environment variable. Defaults to an empty string.
///
- [Input("value")]
- public Input? Value { get; set; }
+ public Input? Value
+ {
+ get => _value;
+ set
+ {
+ var emptySecret = Output.CreateSecret(0);
+ _value = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1);
+ }
+ }
///
- /// Indicates whether the value can be read back outside a Run. Defaults to `true`.
+ /// Indicates whether the value is secret or not. Defaults to `true`.
///
[Input("writeOnly")]
public Input? WriteOnly { get; set; }
diff --git a/sdk/dotnet/GcpServiceAccount.cs b/sdk/dotnet/GcpServiceAccount.cs
index 421e236..181fdfe 100644
--- a/sdk/dotnet/GcpServiceAccount.cs
+++ b/sdk/dotnet/GcpServiceAccount.cs
@@ -14,8 +14,9 @@ namespace Pulumi.Spacelift
///
/// ```csharp
/// using System.Collections.Generic;
+ /// using System.Linq;
/// using Pulumi;
- /// using Gcp = Pulumi.Gcp;
+ /// using Google = Pulumi.Google;
/// using Spacelift = Pulumi.Spacelift;
///
/// return await Deployment.RunAsync(() =>
@@ -37,17 +38,18 @@ namespace Pulumi.Spacelift
/// },
/// });
///
- /// var k8s_coreProject = new Gcp.Organizations.Project("k8s-coreProject", new()
+ /// var k8s_coregoogle_project = new Google.Index.Google_project("k8s-coregoogle_project", new()
/// {
+ /// Name = "Kubernetes code",
/// ProjectId = "unicorn-k8s-core",
/// OrgId = @var.Gcp_organization_id,
/// });
///
- /// var k8s_coreIAMMember = new Gcp.Projects.IAMMember("k8s-coreIAMMember", new()
+ /// var k8s_coregoogle_project_iam_member = new Google.Index.Google_project_iam_member("k8s-coregoogle_project_iam_member", new()
/// {
- /// Project = k8s_coreProject.Id,
+ /// Project = k8s_coregoogle_project.Id,
/// Role = "roles/owner",
- /// Member = k8s_coreGcpServiceAccount.ServiceAccountEmail.Apply(serviceAccountEmail => $"serviceAccount:{serviceAccountEmail}"),
+ /// Member = $"serviceAccount:{k8s_coreGcpServiceAccount.ServiceAccountEmail}",
/// });
///
/// });
diff --git a/sdk/dotnet/GetAccount.cs b/sdk/dotnet/GetAccount.cs
index 427128b..2be4fa7 100644
--- a/sdk/dotnet/GetAccount.cs
+++ b/sdk/dotnet/GetAccount.cs
@@ -20,6 +20,7 @@ public static class GetAccount
///
/// ```csharp
/// using System.Collections.Generic;
+ /// using System.Linq;
/// using Pulumi;
/// using Spacelift = Pulumi.Spacelift;
///
@@ -34,6 +35,31 @@ public static class GetAccount
///
public static Task InvokeAsync(InvokeOptions? options = null)
=> global::Pulumi.Deployment.Instance.InvokeAsync("spacelift:index/getAccount:getAccount", InvokeArgs.Empty, options.WithDefaults());
+
+ ///
+ /// `spacelift.getAccount` represents the currently used Spacelift **account**
+ ///
+ /// {{% examples %}}
+ /// ## Example Usage
+ /// {{% example %}}
+ ///
+ /// ```csharp
+ /// using System.Collections.Generic;
+ /// using System.Linq;
+ /// using Pulumi;
+ /// using Spacelift = Pulumi.Spacelift;
+ ///
+ /// return await Deployment.RunAsync(() =>
+ /// {
+ /// var @this = Spacelift.GetAccount.Invoke();
+ ///
+ /// });
+ /// ```
+ /// {{% /example %}}
+ /// {{% /examples %}}
+ ///
+ public static Output Invoke(InvokeOptions? options = null)
+ => global::Pulumi.Deployment.Instance.Invoke("spacelift:index/getAccount:getAccount", InvokeArgs.Empty, options.WithDefaults());
}
diff --git a/sdk/dotnet/GetAwsIntegration.cs b/sdk/dotnet/GetAwsIntegration.cs
index d0cbdd3..d75d8cd 100644
--- a/sdk/dotnet/GetAwsIntegration.cs
+++ b/sdk/dotnet/GetAwsIntegration.cs
@@ -14,7 +14,7 @@ public static class GetAwsIntegration
///
/// `spacelift.AwsIntegration` represents an integration with an AWS account. This integration is account-level and needs to be explicitly attached to individual stacks in order to take effect.
///
- /// Note: when assuming credentials for **shared workers**, Spacelift will use `$accountName-$integrationID@$stackID-suffix` or `$accountName-$integrationID@$moduleID-$suffix` as [external ID](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_create_for-user_externalid.html) and `$runID@$stackID@$accountName` truncated to 64 characters as [session ID](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole),$suffix will be `read` or `write`.
+ /// Note: when assuming credentials for **shared workers**, Spacelift will use `$accountName@$integrationID@$stackID@suffix` or `$accountName@$integrationID@$moduleID@$suffix` as [external ID](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_create_for-user_externalid.html) and `$runID@$stackID@$accountName` truncated to 64 characters as [session ID](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole),$suffix will be `read` or `write`.
///
/// {{% examples %}}
/// ## Example Usage
@@ -22,6 +22,7 @@ public static class GetAwsIntegration
///
/// ```csharp
/// using System.Collections.Generic;
+ /// using System.Linq;
/// using Pulumi;
/// using Spacelift = Pulumi.Spacelift;
///
@@ -43,7 +44,7 @@ public static Task InvokeAsync(GetAwsIntegrationArgs? a
///
/// `spacelift.AwsIntegration` represents an integration with an AWS account. This integration is account-level and needs to be explicitly attached to individual stacks in order to take effect.
///
- /// Note: when assuming credentials for **shared workers**, Spacelift will use `$accountName-$integrationID@$stackID-suffix` or `$accountName-$integrationID@$moduleID-$suffix` as [external ID](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_create_for-user_externalid.html) and `$runID@$stackID@$accountName` truncated to 64 characters as [session ID](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole),$suffix will be `read` or `write`.
+ /// Note: when assuming credentials for **shared workers**, Spacelift will use `$accountName@$integrationID@$stackID@suffix` or `$accountName@$integrationID@$moduleID@$suffix` as [external ID](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_create_for-user_externalid.html) and `$runID@$stackID@$accountName` truncated to 64 characters as [session ID](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole),$suffix will be `read` or `write`.
///
/// {{% examples %}}
/// ## Example Usage
@@ -51,6 +52,7 @@ public static Task InvokeAsync(GetAwsIntegrationArgs? a
///
/// ```csharp
/// using System.Collections.Generic;
+ /// using System.Linq;
/// using Pulumi;
/// using Spacelift = Pulumi.Spacelift;
///
diff --git a/sdk/dotnet/GetAwsIntegrationAttachmentExternalId.cs b/sdk/dotnet/GetAwsIntegrationAttachmentExternalId.cs
index 21d82d8..3ee20e2 100644
--- a/sdk/dotnet/GetAwsIntegrationAttachmentExternalId.cs
+++ b/sdk/dotnet/GetAwsIntegrationAttachmentExternalId.cs
@@ -20,6 +20,7 @@ public static class GetAwsIntegrationAttachmentExternalId
///
/// ```csharp
/// using System.Collections.Generic;
+ /// using System.Linq;
/// using Pulumi;
/// using Spacelift = Pulumi.Spacelift;
///
@@ -58,6 +59,7 @@ public static Task InvokeAsync(GetA
///
/// ```csharp
/// using System.Collections.Generic;
+ /// using System.Linq;
/// using Pulumi;
/// using Spacelift = Pulumi.Spacelift;
///
diff --git a/sdk/dotnet/GetAwsIntegrations.cs b/sdk/dotnet/GetAwsIntegrations.cs
new file mode 100644
index 0000000..beb7f01
--- /dev/null
+++ b/sdk/dotnet/GetAwsIntegrations.cs
@@ -0,0 +1,47 @@
+// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.Spacelift
+{
+ public static class GetAwsIntegrations
+ {
+ ///
+ /// `spacelift.getAwsIntegrations` represents a list of all the AWS integrations in the Spacelift account visible to the API user.
+ ///
+ public static Task InvokeAsync(InvokeOptions? options = null)
+ => global::Pulumi.Deployment.Instance.InvokeAsync("spacelift:index/getAwsIntegrations:getAwsIntegrations", InvokeArgs.Empty, options.WithDefaults());
+
+ ///
+ /// `spacelift.getAwsIntegrations` represents a list of all the AWS integrations in the Spacelift account visible to the API user.
+ ///
+ public static Output Invoke(InvokeOptions? options = null)
+ => global::Pulumi.Deployment.Instance.Invoke("spacelift:index/getAwsIntegrations:getAwsIntegrations", InvokeArgs.Empty, options.WithDefaults());
+ }
+
+
+ [OutputType]
+ public sealed class GetAwsIntegrationsResult
+ {
+ ///
+ /// The provider-assigned unique ID for this managed resource.
+ ///
+ public readonly string Id;
+ public readonly ImmutableArray Integrations;
+
+ [OutputConstructor]
+ private GetAwsIntegrationsResult(
+ string id,
+
+ ImmutableArray integrations)
+ {
+ Id = id;
+ Integrations = integrations;
+ }
+ }
+}
diff --git a/sdk/dotnet/GetAwsRole.cs b/sdk/dotnet/GetAwsRole.cs
index 4c07bd8..bd4e9dc 100644
--- a/sdk/dotnet/GetAwsRole.cs
+++ b/sdk/dotnet/GetAwsRole.cs
@@ -24,6 +24,7 @@ public static class GetAwsRole
///
/// ```csharp
/// using System.Collections.Generic;
+ /// using System.Linq;
/// using Pulumi;
/// using Spacelift = Pulumi.Spacelift;
///
@@ -60,6 +61,7 @@ public static Task InvokeAsync(GetAwsRoleArgs? args = null, In
///
/// ```csharp
/// using System.Collections.Generic;
+ /// using System.Linq;
/// using Pulumi;
/// using Spacelift = Pulumi.Spacelift;
///
diff --git a/sdk/dotnet/GetAzureDevopsIntegration.cs b/sdk/dotnet/GetAzureDevopsIntegration.cs
index 2ca0a86..2c0f4b8 100644
--- a/sdk/dotnet/GetAzureDevopsIntegration.cs
+++ b/sdk/dotnet/GetAzureDevopsIntegration.cs
@@ -20,6 +20,7 @@ public static class GetAzureDevopsIntegration
///
/// ```csharp
/// using System.Collections.Generic;
+ /// using System.Linq;
/// using Pulumi;
/// using Spacelift = Pulumi.Spacelift;
///
@@ -34,6 +35,31 @@ public static class GetAzureDevopsIntegration
///
public static Task InvokeAsync(InvokeOptions? options = null)
=> global::Pulumi.Deployment.Instance.InvokeAsync("spacelift:index/getAzureDevopsIntegration:getAzureDevopsIntegration", InvokeArgs.Empty, options.WithDefaults());
+
+ ///
+ /// `spacelift.getAzureDevopsIntegration` returns details about Azure DevOps integration
+ ///
+ /// {{% examples %}}
+ /// ## Example Usage
+ /// {{% example %}}
+ ///
+ /// ```csharp
+ /// using System.Collections.Generic;
+ /// using System.Linq;
+ /// using Pulumi;
+ /// using Spacelift = Pulumi.Spacelift;
+ ///
+ /// return await Deployment.RunAsync(() =>
+ /// {
+ /// var azureDevopsIntegration = Spacelift.GetAzureDevopsIntegration.Invoke();
+ ///
+ /// });
+ /// ```
+ /// {{% /example %}}
+ /// {{% /examples %}}
+ ///
+ public static Output Invoke(InvokeOptions? options = null)
+ => global::Pulumi.Deployment.Instance.Invoke("spacelift:index/getAzureDevopsIntegration:getAzureDevopsIntegration", InvokeArgs.Empty, options.WithDefaults());
}
diff --git a/sdk/dotnet/GetAzureIntegration.cs b/sdk/dotnet/GetAzureIntegration.cs
index a33bea9..a2c9580 100644
--- a/sdk/dotnet/GetAzureIntegration.cs
+++ b/sdk/dotnet/GetAzureIntegration.cs
@@ -20,6 +20,7 @@ public static class GetAzureIntegration
///
/// ```csharp
/// using System.Collections.Generic;
+ /// using System.Linq;
/// using Pulumi;
/// using Spacelift = Pulumi.Spacelift;
///
@@ -47,6 +48,7 @@ public static Task InvokeAsync(GetAzureIntegrationArg
///
/// ```csharp
/// using System.Collections.Generic;
+ /// using System.Linq;
/// using Pulumi;
/// using Spacelift = Pulumi.Spacelift;
///
diff --git a/sdk/dotnet/GetAzureIntegrationAttachment.cs b/sdk/dotnet/GetAzureIntegrationAttachment.cs
index 224468c..145efe5 100644
--- a/sdk/dotnet/GetAzureIntegrationAttachment.cs
+++ b/sdk/dotnet/GetAzureIntegrationAttachment.cs
@@ -20,6 +20,7 @@ public static class GetAzureIntegrationAttachment
///
/// ```csharp
/// using System.Collections.Generic;
+ /// using System.Linq;
/// using Pulumi;
/// using Spacelift = Pulumi.Spacelift;
///
@@ -48,6 +49,7 @@ public static Task InvokeAsync(GetAzureInte
///
/// ```csharp
/// using System.Collections.Generic;
+ /// using System.Linq;
/// using Pulumi;
/// using Spacelift = Pulumi.Spacelift;
///
diff --git a/sdk/dotnet/GetAzureIntegrations.cs b/sdk/dotnet/GetAzureIntegrations.cs
new file mode 100644
index 0000000..6ec0bc6
--- /dev/null
+++ b/sdk/dotnet/GetAzureIntegrations.cs
@@ -0,0 +1,47 @@
+// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.Spacelift
+{
+ public static class GetAzureIntegrations
+ {
+ ///
+ /// `spacelift.getAzureIntegrations` represents a list of all the Azure integrations in the Spacelift account visible to the API user.
+ ///
+ public static Task InvokeAsync(InvokeOptions? options = null)
+ => global::Pulumi.Deployment.Instance.InvokeAsync("spacelift:index/getAzureIntegrations:getAzureIntegrations", InvokeArgs.Empty, options.WithDefaults());
+
+ ///
+ /// `spacelift.getAzureIntegrations` represents a list of all the Azure integrations in the Spacelift account visible to the API user.
+ ///
+ public static Output Invoke(InvokeOptions? options = null)
+ => global::Pulumi.Deployment.Instance.Invoke("spacelift:index/getAzureIntegrations:getAzureIntegrations", InvokeArgs.Empty, options.WithDefaults());
+ }
+
+
+ [OutputType]
+ public sealed class GetAzureIntegrationsResult
+ {
+ ///
+ /// The provider-assigned unique ID for this managed resource.
+ ///
+ public readonly string Id;
+ public readonly ImmutableArray Integrations;
+
+ [OutputConstructor]
+ private GetAzureIntegrationsResult(
+ string id,
+
+ ImmutableArray integrations)
+ {
+ Id = id;
+ Integrations = integrations;
+ }
+ }
+}
diff --git a/sdk/dotnet/GetBitbucketCloudIntegration.cs b/sdk/dotnet/GetBitbucketCloudIntegration.cs
index 666c5ca..7802a59 100644
--- a/sdk/dotnet/GetBitbucketCloudIntegration.cs
+++ b/sdk/dotnet/GetBitbucketCloudIntegration.cs
@@ -20,6 +20,7 @@ public static class GetBitbucketCloudIntegration
///
/// ```csharp
/// using System.Collections.Generic;
+ /// using System.Linq;
/// using Pulumi;
/// using Spacelift = Pulumi.Spacelift;
///
@@ -34,6 +35,31 @@ public static class GetBitbucketCloudIntegration
///
public static Task InvokeAsync(InvokeOptions? options = null)
=> global::Pulumi.Deployment.Instance.InvokeAsync("spacelift:index/getBitbucketCloudIntegration:getBitbucketCloudIntegration", InvokeArgs.Empty, options.WithDefaults());
+
+ ///
+ /// `spacelift.getBitbucketCloudIntegration` returns details about Bitbucket Cloud integration
+ ///
+ /// {{% examples %}}
+ /// ## Example Usage
+ /// {{% example %}}
+ ///
+ /// ```csharp
+ /// using System.Collections.Generic;
+ /// using System.Linq;
+ /// using Pulumi;
+ /// using Spacelift = Pulumi.Spacelift;
+ ///
+ /// return await Deployment.RunAsync(() =>
+ /// {
+ /// var bitbucketCloudIntegration = Spacelift.GetBitbucketCloudIntegration.Invoke();
+ ///
+ /// });
+ /// ```
+ /// {{% /example %}}
+ /// {{% /examples %}}
+ ///
+ public static Output Invoke(InvokeOptions? options = null)
+ => global::Pulumi.Deployment.Instance.Invoke("spacelift:index/getBitbucketCloudIntegration:getBitbucketCloudIntegration", InvokeArgs.Empty, options.WithDefaults());
}
diff --git a/sdk/dotnet/GetBitbucketDatacenterIntegration.cs b/sdk/dotnet/GetBitbucketDatacenterIntegration.cs
index e638437..94eaba9 100644
--- a/sdk/dotnet/GetBitbucketDatacenterIntegration.cs
+++ b/sdk/dotnet/GetBitbucketDatacenterIntegration.cs
@@ -20,6 +20,7 @@ public static class GetBitbucketDatacenterIntegration
///
/// ```csharp
/// using System.Collections.Generic;
+ /// using System.Linq;
/// using Pulumi;
/// using Spacelift = Pulumi.Spacelift;
///
@@ -34,6 +35,31 @@ public static class GetBitbucketDatacenterIntegration
///
public static Task InvokeAsync(InvokeOptions? options = null)
=> global::Pulumi.Deployment.Instance.InvokeAsync("spacelift:index/getBitbucketDatacenterIntegration:getBitbucketDatacenterIntegration", InvokeArgs.Empty, options.WithDefaults());
+
+ ///
+ /// `spacelift.getBitbucketDatacenterIntegration` returns details about Bitbucket Datacenter integration
+ ///
+ /// {{% examples %}}
+ /// ## Example Usage
+ /// {{% example %}}
+ ///
+ /// ```csharp
+ /// using System.Collections.Generic;
+ /// using System.Linq;
+ /// using Pulumi;
+ /// using Spacelift = Pulumi.Spacelift;
+ ///
+ /// return await Deployment.RunAsync(() =>
+ /// {
+ /// var bitbucketDatacenterIntegration = Spacelift.GetBitbucketDatacenterIntegration.Invoke();
+ ///
+ /// });
+ /// ```
+ /// {{% /example %}}
+ /// {{% /examples %}}
+ ///
+ public static Output Invoke(InvokeOptions? options = null)
+ => global::Pulumi.Deployment.Instance.Invoke("spacelift:index/getBitbucketDatacenterIntegration:getBitbucketDatacenterIntegration", InvokeArgs.Empty, options.WithDefaults());
}
@@ -56,6 +82,10 @@ public sealed class GetBitbucketDatacenterIntegrationResult
/// Bitbucket Datacenter integration webhook secret
///
public readonly string WebhookSecret;
+ ///
+ /// Bitbucket Datacenter integration webhook URL
+ ///
+ public readonly string WebhookUrl;
[OutputConstructor]
private GetBitbucketDatacenterIntegrationResult(
@@ -65,12 +95,15 @@ private GetBitbucketDatacenterIntegrationResult(
string userFacingHost,
- string webhookSecret)
+ string webhookSecret,
+
+ string webhookUrl)
{
ApiHost = apiHost;
Id = id;
UserFacingHost = userFacingHost;
WebhookSecret = webhookSecret;
+ WebhookUrl = webhookUrl;
}
}
}
diff --git a/sdk/dotnet/GetContext.cs b/sdk/dotnet/GetContext.cs
index b03dbc3..76481fd 100644
--- a/sdk/dotnet/GetContext.cs
+++ b/sdk/dotnet/GetContext.cs
@@ -20,6 +20,7 @@ public static class GetContext
///
/// ```csharp
/// using System.Collections.Generic;
+ /// using System.Linq;
/// using Pulumi;
/// using Spacelift = Pulumi.Spacelift;
///
@@ -47,6 +48,7 @@ public static Task InvokeAsync(GetContextArgs args, InvokeOpti
///
/// ```csharp
/// using System.Collections.Generic;
+ /// using System.Linq;
/// using Pulumi;
/// using Spacelift = Pulumi.Spacelift;
///
diff --git a/sdk/dotnet/GetContextAttachment.cs b/sdk/dotnet/GetContextAttachment.cs
index 2bf80b0..6ffbefa 100644
--- a/sdk/dotnet/GetContextAttachment.cs
+++ b/sdk/dotnet/GetContextAttachment.cs
@@ -20,6 +20,7 @@ public static class GetContextAttachment
///
/// ```csharp
/// using System.Collections.Generic;
+ /// using System.Linq;
/// using Pulumi;
/// using Spacelift = Pulumi.Spacelift;
///
@@ -54,6 +55,7 @@ public static Task InvokeAsync(GetContextAttachmentA
///
/// ```csharp
/// using System.Collections.Generic;
+ /// using System.Linq;
/// using Pulumi;
/// using Spacelift = Pulumi.Spacelift;
///
diff --git a/sdk/dotnet/GetContexts.cs b/sdk/dotnet/GetContexts.cs
new file mode 100644
index 0000000..6adb7b1
--- /dev/null
+++ b/sdk/dotnet/GetContexts.cs
@@ -0,0 +1,165 @@
+// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.Spacelift
+{
+ public static class GetContexts
+ {
+ ///
+ /// `spacelift.getContexts` represents all the contexts in the Spacelift account visible to the API user.
+ ///
+ /// {{% examples %}}
+ /// ## Example Usage
+ /// {{% example %}}
+ ///
+ /// ```csharp
+ /// using System.Collections.Generic;
+ /// using System.Linq;
+ /// using Pulumi;
+ /// using Spacelift = Pulumi.Spacelift;
+ ///
+ /// return await Deployment.RunAsync(() =>
+ /// {
+ /// var contexts = Spacelift.GetContexts.Invoke(new()
+ /// {
+ /// Labels = new[]
+ /// {
+ /// new Spacelift.Inputs.GetContextsLabelInputArgs
+ /// {
+ /// AnyOfs = new[]
+ /// {
+ /// "foo",
+ /// "bar",
+ /// },
+ /// },
+ /// new Spacelift.Inputs.GetContextsLabelInputArgs
+ /// {
+ /// AnyOfs = new[]
+ /// {
+ /// "baz",
+ /// },
+ /// },
+ /// },
+ /// });
+ ///
+ /// });
+ /// ```
+ /// {{% /example %}}
+ /// {{% /examples %}}
+ ///
+ public static Task InvokeAsync(GetContextsArgs? args = null, InvokeOptions? options = null)
+ => global::Pulumi.Deployment.Instance.InvokeAsync("spacelift:index/getContexts:getContexts", args ?? new GetContextsArgs(), options.WithDefaults());
+
+ ///
+ /// `spacelift.getContexts` represents all the contexts in the Spacelift account visible to the API user.
+ ///
+ /// {{% examples %}}
+ /// ## Example Usage
+ /// {{% example %}}
+ ///
+ /// ```csharp
+ /// using System.Collections.Generic;
+ /// using System.Linq;
+ /// using Pulumi;
+ /// using Spacelift = Pulumi.Spacelift;
+ ///
+ /// return await Deployment.RunAsync(() =>
+ /// {
+ /// var contexts = Spacelift.GetContexts.Invoke(new()
+ /// {
+ /// Labels = new[]
+ /// {
+ /// new Spacelift.Inputs.GetContextsLabelInputArgs
+ /// {
+ /// AnyOfs = new[]
+ /// {
+ /// "foo",
+ /// "bar",
+ /// },
+ /// },
+ /// new Spacelift.Inputs.GetContextsLabelInputArgs
+ /// {
+ /// AnyOfs = new[]
+ /// {
+ /// "baz",
+ /// },
+ /// },
+ /// },
+ /// });
+ ///
+ /// });
+ /// ```
+ /// {{% /example %}}
+ /// {{% /examples %}}
+ ///
+ public static Output Invoke(GetContextsInvokeArgs? args = null, InvokeOptions? options = null)
+ => global::Pulumi.Deployment.Instance.Invoke("spacelift:index/getContexts:getContexts", args ?? new GetContextsInvokeArgs(), options.WithDefaults());
+ }
+
+
+ public sealed class GetContextsArgs : global::Pulumi.InvokeArgs
+ {
+ [Input("labels")]
+ private List? _labels;
+ public List Labels
+ {
+ get => _labels ?? (_labels = new List());
+ set => _labels = value;
+ }
+
+ public GetContextsArgs()
+ {
+ }
+ public static new GetContextsArgs Empty => new GetContextsArgs();
+ }
+
+ public sealed class GetContextsInvokeArgs : global::Pulumi.InvokeArgs
+ {
+ [Input("labels")]
+ private InputList? _labels;
+ public InputList Labels
+ {
+ get => _labels ?? (_labels = new InputList());
+ set => _labels = value;
+ }
+
+ public GetContextsInvokeArgs()
+ {
+ }
+ public static new GetContextsInvokeArgs Empty => new GetContextsInvokeArgs();
+ }
+
+
+ [OutputType]
+ public sealed class GetContextsResult
+ {
+ public readonly ImmutableArray Contexts;
+ ///
+ /// The provider-assigned unique ID for this managed resource.
+ ///
+ public readonly string Id;
+ ///
+ /// Require contexts to have one of the labels
+ ///
+ public readonly ImmutableArray Labels;
+
+ [OutputConstructor]
+ private GetContextsResult(
+ ImmutableArray contexts,
+
+ string id,
+
+ ImmutableArray labels)
+ {
+ Contexts = contexts;
+ Id = id;
+ Labels = labels;
+ }
+ }
+}
diff --git a/sdk/dotnet/GetCurrentSpace.cs b/sdk/dotnet/GetCurrentSpace.cs
new file mode 100644
index 0000000..3e71aee
--- /dev/null
+++ b/sdk/dotnet/GetCurrentSpace.cs
@@ -0,0 +1,92 @@
+// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.Spacelift
+{
+ public static class GetCurrentSpace
+ {
+ ///
+ /// `spacelift.getCurrentSpace` is a data source that provides information about the space that an administrative stack is in if the run is executed within Spacelift by a stack or module. This makes it easier to create resources within the same space.
+ ///
+ /// {{% examples %}}
+ /// ## Example Usage
+ /// {{% example %}}
+ ///
+ /// ```csharp
+ /// using System.Collections.Generic;
+ /// using System.Linq;
+ /// using Pulumi;
+ /// using Spacelift = Pulumi.Spacelift;
+ ///
+ /// return await Deployment.RunAsync(() =>
+ /// {
+ /// var @this = Spacelift.GetCurrentSpace.Invoke();
+ ///
+ /// var prod_k8s_ie = new Spacelift.Context("prod-k8s-ie", new()
+ /// {
+ /// Description = "Configuration details for the compute cluster in 🇮🇪",
+ /// SpaceId = @this.Apply(@this => @this.Apply(getCurrentSpaceResult => getCurrentSpaceResult.Id)),
+ /// });
+ ///
+ /// });
+ /// ```
+ /// {{% /example %}}
+ /// {{% /examples %}}
+ ///
+ public static Task InvokeAsync(InvokeOptions? options = null)
+ => global::Pulumi.Deployment.Instance.InvokeAsync("spacelift:index/getCurrentSpace:getCurrentSpace", InvokeArgs.Empty, options.WithDefaults());
+
+ ///
+ /// `spacelift.getCurrentSpace` is a data source that provides information about the space that an administrative stack is in if the run is executed within Spacelift by a stack or module. This makes it easier to create resources within the same space.
+ ///
+ /// {{% examples %}}
+ /// ## Example Usage
+ /// {{% example %}}
+ ///
+ /// ```csharp
+ /// using System.Collections.Generic;
+ /// using System.Linq;
+ /// using Pulumi;
+ /// using Spacelift = Pulumi.Spacelift;
+ ///
+ /// return await Deployment.RunAsync(() =>
+ /// {
+ /// var @this = Spacelift.GetCurrentSpace.Invoke();
+ ///
+ /// var prod_k8s_ie = new Spacelift.Context("prod-k8s-ie", new()
+ /// {
+ /// Description = "Configuration details for the compute cluster in 🇮🇪",
+ /// SpaceId = @this.Apply(@this => @this.Apply(getCurrentSpaceResult => getCurrentSpaceResult.Id)),
+ /// });
+ ///
+ /// });
+ /// ```
+ /// {{% /example %}}
+ /// {{% /examples %}}
+ ///
+ public static Output Invoke(InvokeOptions? options = null)
+ => global::Pulumi.Deployment.Instance.Invoke("spacelift:index/getCurrentSpace:getCurrentSpace", InvokeArgs.Empty, options.WithDefaults());
+ }
+
+
+ [OutputType]
+ public sealed class GetCurrentSpaceResult
+ {
+ ///
+ /// The provider-assigned unique ID for this managed resource.
+ ///
+ public readonly string Id;
+
+ [OutputConstructor]
+ private GetCurrentSpaceResult(string id)
+ {
+ Id = id;
+ }
+ }
+}
diff --git a/sdk/dotnet/GetCurrentStack.cs b/sdk/dotnet/GetCurrentStack.cs
index 6955778..9809925 100644
--- a/sdk/dotnet/GetCurrentStack.cs
+++ b/sdk/dotnet/GetCurrentStack.cs
@@ -20,6 +20,7 @@ public static class GetCurrentStack
///
/// ```csharp
/// using System.Collections.Generic;
+ /// using System.Linq;
/// using Pulumi;
/// using Spacelift = Pulumi.Spacelift;
///
@@ -29,7 +30,7 @@ public static class GetCurrentStack
///
/// var core_kubeconfig = new Spacelift.EnvironmentVariable("core-kubeconfig", new()
/// {
- /// StackId = @this.Apply(getCurrentStackResult => getCurrentStackResult).Apply(@this => @this.Apply(getCurrentStackResult => getCurrentStackResult.Id)),
+ /// StackId = @this.Apply(@this => @this.Apply(getCurrentStackResult => getCurrentStackResult.Id)),
/// Value = "bacon",
/// });
///
@@ -40,6 +41,37 @@ public static class GetCurrentStack
///
public static Task InvokeAsync(InvokeOptions? options = null)
=> global::Pulumi.Deployment.Instance.InvokeAsync("spacelift:index/getCurrentStack:getCurrentStack", InvokeArgs.Empty, options.WithDefaults());
+
+ ///
+ /// `spacelift.getCurrentStack` is a data source that provides information about the current administrative stack if the run is executed within Spacelift by a stack or module. This allows clever tricks like attaching contexts or policies to the stack that manages them.
+ ///
+ /// {{% examples %}}
+ /// ## Example Usage
+ /// {{% example %}}
+ ///
+ /// ```csharp
+ /// using System.Collections.Generic;
+ /// using System.Linq;
+ /// using Pulumi;
+ /// using Spacelift = Pulumi.Spacelift;
+ ///
+ /// return await Deployment.RunAsync(() =>
+ /// {
+ /// var @this = Spacelift.GetCurrentStack.Invoke();
+ ///
+ /// var core_kubeconfig = new Spacelift.EnvironmentVariable("core-kubeconfig", new()
+ /// {
+ /// StackId = @this.Apply(@this => @this.Apply(getCurrentStackResult => getCurrentStackResult.Id)),
+ /// Value = "bacon",
+ /// });
+ ///
+ /// });
+ /// ```
+ /// {{% /example %}}
+ /// {{% /examples %}}
+ ///
+ public static Output Invoke(InvokeOptions? options = null)
+ => global::Pulumi.Deployment.Instance.Invoke("spacelift:index/getCurrentStack:getCurrentStack", InvokeArgs.Empty, options.WithDefaults());
}
diff --git a/sdk/dotnet/GetDriftDetection.cs b/sdk/dotnet/GetDriftDetection.cs
index 2a23347..04e36b1 100644
--- a/sdk/dotnet/GetDriftDetection.cs
+++ b/sdk/dotnet/GetDriftDetection.cs
@@ -20,6 +20,7 @@ public static class GetDriftDetection
///
/// ```csharp
/// using System.Collections.Generic;
+ /// using System.Linq;
/// using Pulumi;
/// using Spacelift = Pulumi.Spacelift;
///
@@ -47,6 +48,7 @@ public static Task InvokeAsync(GetDriftDetectionArgs ar
///
/// ```csharp
/// using System.Collections.Generic;
+ /// using System.Linq;
/// using Pulumi;
/// using Spacelift = Pulumi.Spacelift;
///
@@ -69,6 +71,12 @@ public static Output Invoke(GetDriftDetectionInvokeArgs
public sealed class GetDriftDetectionArgs : global::Pulumi.InvokeArgs
{
+ ///
+ /// Controls whether drift detection should be performed on a stack in any final state instead of just 'Finished'.
+ ///
+ [Input("ignoreState")]
+ public bool? IgnoreState { get; set; }
+
///
/// ID of the stack for which to set up drift detection
///
@@ -83,6 +91,12 @@ public GetDriftDetectionArgs()
public sealed class GetDriftDetectionInvokeArgs : global::Pulumi.InvokeArgs
{
+ ///
+ /// Controls whether drift detection should be performed on a stack in any final state instead of just 'Finished'.
+ ///
+ [Input("ignoreState")]
+ public Input? IgnoreState { get; set; }
+
///
/// ID of the stack for which to set up drift detection
///
@@ -104,6 +118,10 @@ public sealed class GetDriftDetectionResult
///
public readonly string Id;
///
+ /// Controls whether drift detection should be performed on a stack in any final state instead of just 'Finished'.
+ ///
+ public readonly bool? IgnoreState;
+ ///
/// Whether a tracked run should be triggered when drift is detected.
///
public readonly bool Reconcile;
@@ -124,6 +142,8 @@ public sealed class GetDriftDetectionResult
private GetDriftDetectionResult(
string id,
+ bool? ignoreState,
+
bool reconcile,
ImmutableArray schedules,
@@ -133,6 +153,7 @@ private GetDriftDetectionResult(
string timezone)
{
Id = id;
+ IgnoreState = ignoreState;
Reconcile = reconcile;
Schedules = schedules;
StackId = stackId;
diff --git a/sdk/dotnet/GetEnvironmentVariable.cs b/sdk/dotnet/GetEnvironmentVariable.cs
index fc42c0d..fde4a89 100644
--- a/sdk/dotnet/GetEnvironmentVariable.cs
+++ b/sdk/dotnet/GetEnvironmentVariable.cs
@@ -20,6 +20,7 @@ public static class GetEnvironmentVariable
///
/// ```csharp
/// using System.Collections.Generic;
+ /// using System.Linq;
/// using Pulumi;
/// using Spacelift = Pulumi.Spacelift;
///
@@ -60,6 +61,7 @@ public static Task InvokeAsync(GetEnvironmentVaria
///
/// ```csharp
/// using System.Collections.Generic;
+ /// using System.Linq;
/// using Pulumi;
/// using Spacelift = Pulumi.Spacelift;
///
diff --git a/sdk/dotnet/GetGcpServiceAccount.cs b/sdk/dotnet/GetGcpServiceAccount.cs
index aeee93f..53d29e2 100644
--- a/sdk/dotnet/GetGcpServiceAccount.cs
+++ b/sdk/dotnet/GetGcpServiceAccount.cs
@@ -18,6 +18,7 @@ public static class GetGcpServiceAccount
///
/// ```csharp
/// using System.Collections.Generic;
+ /// using System.Linq;
/// using Pulumi;
/// using Spacelift = Pulumi.Spacelift;
///
@@ -48,6 +49,7 @@ public static Task InvokeAsync(GetGcpServiceAccountA
///
/// ```csharp
/// using System.Collections.Generic;
+ /// using System.Linq;
/// using Pulumi;
/// using Spacelift = Pulumi.Spacelift;
///
diff --git a/sdk/dotnet/GetGithubEnterpriseIntegration.cs b/sdk/dotnet/GetGithubEnterpriseIntegration.cs
index 9536424..3634cb5 100644
--- a/sdk/dotnet/GetGithubEnterpriseIntegration.cs
+++ b/sdk/dotnet/GetGithubEnterpriseIntegration.cs
@@ -20,6 +20,7 @@ public static class GetGithubEnterpriseIntegration
///
/// ```csharp
/// using System.Collections.Generic;
+ /// using System.Linq;
/// using Pulumi;
/// using Spacelift = Pulumi.Spacelift;
///
@@ -34,6 +35,31 @@ public static class GetGithubEnterpriseIntegration
///
public static Task InvokeAsync(InvokeOptions? options = null)
=> global::Pulumi.Deployment.Instance.InvokeAsync("spacelift:index/getGithubEnterpriseIntegration:getGithubEnterpriseIntegration", InvokeArgs.Empty, options.WithDefaults());
+
+ ///
+ /// `spacelift.getGithubEnterpriseIntegration` returns details about Github Enterprise integration
+ ///
+ /// {{% examples %}}
+ /// ## Example Usage
+ /// {{% example %}}
+ ///
+ /// ```csharp
+ /// using System.Collections.Generic;
+ /// using System.Linq;
+ /// using Pulumi;
+ /// using Spacelift = Pulumi.Spacelift;
+ ///
+ /// return await Deployment.RunAsync(() =>
+ /// {
+ /// var githubEnterpriseIntegration = Spacelift.GetGithubEnterpriseIntegration.Invoke();
+ ///
+ /// });
+ /// ```
+ /// {{% /example %}}
+ /// {{% /examples %}}
+ ///
+ public static Output Invoke(InvokeOptions? options = null)
+ => global::Pulumi.Deployment.Instance.Invoke("spacelift:index/getGithubEnterpriseIntegration:getGithubEnterpriseIntegration", InvokeArgs.Empty, options.WithDefaults());
}
diff --git a/sdk/dotnet/GetGitlabIntegration.cs b/sdk/dotnet/GetGitlabIntegration.cs
index 2a0cd21..f112e3f 100644
--- a/sdk/dotnet/GetGitlabIntegration.cs
+++ b/sdk/dotnet/GetGitlabIntegration.cs
@@ -20,6 +20,7 @@ public static class GetGitlabIntegration
///
/// ```csharp
/// using System.Collections.Generic;
+ /// using System.Linq;
/// using Pulumi;
/// using Spacelift = Pulumi.Spacelift;
///
@@ -34,6 +35,31 @@ public static class GetGitlabIntegration
///
public static Task InvokeAsync(InvokeOptions? options = null)
=> global::Pulumi.Deployment.Instance.InvokeAsync("spacelift:index/getGitlabIntegration:getGitlabIntegration", InvokeArgs.Empty, options.WithDefaults());
+
+ ///
+ /// `spacelift.getGitlabIntegration` returns details about Gitlab integration
+ ///
+ /// {{% examples %}}
+ /// ## Example Usage
+ /// {{% example %}}
+ ///
+ /// ```csharp
+ /// using System.Collections.Generic;
+ /// using System.Linq;
+ /// using Pulumi;
+ /// using Spacelift = Pulumi.Spacelift;
+ ///
+ /// return await Deployment.RunAsync(() =>
+ /// {
+ /// var gitlabIntegration = Spacelift.GetGitlabIntegration.Invoke();
+ ///
+ /// });
+ /// ```
+ /// {{% /example %}}
+ /// {{% /examples %}}
+ ///
+ public static Output Invoke(InvokeOptions? options = null)
+ => global::Pulumi.Deployment.Instance.Invoke("spacelift:index/getGitlabIntegration:getGitlabIntegration", InvokeArgs.Empty, options.WithDefaults());
}
diff --git a/sdk/dotnet/GetGitlabWebhookEndpoint.cs b/sdk/dotnet/GetGitlabWebhookEndpoint.cs
new file mode 100644
index 0000000..59bd91e
--- /dev/null
+++ b/sdk/dotnet/GetGitlabWebhookEndpoint.cs
@@ -0,0 +1,88 @@
+// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.Spacelift
+{
+ public static class GetGitlabWebhookEndpoint
+ {
+ ///
+ /// `spacelift.getGitlabWebhookEndpoint` returns details about Gitlab webhook endpoint
+ ///
+ /// {{% examples %}}
+ /// ## Example Usage
+ /// {{% example %}}
+ ///
+ /// ```csharp
+ /// using System.Collections.Generic;
+ /// using System.Linq;
+ /// using Pulumi;
+ /// using Spacelift = Pulumi.Spacelift;
+ ///
+ /// return await Deployment.RunAsync(() =>
+ /// {
+ /// var @this = Spacelift.GetGitlabWebhookEndpoint.Invoke();
+ ///
+ /// });
+ /// ```
+ /// {{% /example %}}
+ /// {{% /examples %}}
+ ///
+ public static Task InvokeAsync(InvokeOptions? options = null)
+ => global::Pulumi.Deployment.Instance.InvokeAsync("spacelift:index/getGitlabWebhookEndpoint:getGitlabWebhookEndpoint", InvokeArgs.Empty, options.WithDefaults());
+
+ ///
+ /// `spacelift.getGitlabWebhookEndpoint` returns details about Gitlab webhook endpoint
+ ///
+ /// {{% examples %}}
+ /// ## Example Usage
+ /// {{% example %}}
+ ///
+ /// ```csharp
+ /// using System.Collections.Generic;
+ /// using System.Linq;
+ /// using Pulumi;
+ /// using Spacelift = Pulumi.Spacelift;
+ ///
+ /// return await Deployment.RunAsync(() =>
+ /// {
+ /// var @this = Spacelift.GetGitlabWebhookEndpoint.Invoke();
+ ///
+ /// });
+ /// ```
+ /// {{% /example %}}
+ /// {{% /examples %}}
+ ///
+ public static Output Invoke(InvokeOptions? options = null)
+ => global::Pulumi.Deployment.Instance.Invoke("spacelift:index/getGitlabWebhookEndpoint:getGitlabWebhookEndpoint", InvokeArgs.Empty, options.WithDefaults());
+ }
+
+
+ [OutputType]
+ public sealed class GetGitlabWebhookEndpointResult
+ {
+ ///
+ /// The provider-assigned unique ID for this managed resource.
+ ///
+ public readonly string Id;
+ ///
+ /// Gitlab webhook endpoint address
+ ///
+ public readonly string WebhookEndpoint;
+
+ [OutputConstructor]
+ private GetGitlabWebhookEndpointResult(
+ string id,
+
+ string webhookEndpoint)
+ {
+ Id = id;
+ WebhookEndpoint = webhookEndpoint;
+ }
+ }
+}
diff --git a/sdk/dotnet/GetIPs.cs b/sdk/dotnet/GetIPs.cs
index d5114f4..9599af3 100644
--- a/sdk/dotnet/GetIPs.cs
+++ b/sdk/dotnet/GetIPs.cs
@@ -12,7 +12,7 @@ namespace Pulumi.Spacelift
public static class GetIPs
{
///
- /// `spacelift.getIPs` returns the list of Spacelift's outgoing IP addresses, which you can use to whitelist connections coming from the Spacelift's "mothership".
+ /// `spacelift.getIPs` returns the list of Spacelift's outgoing IP addresses, which you can use to whitelist connections coming from the Spacelift's "mothership". **NOTE:** this does not include the IP addresses of the workers in Spacelift's public worker pool. If you need to ensure that requests made during runs originate from a known set of IP addresses, please consider setting up a [private worker pool](https://docs.spacelift.io/concepts/worker-pools).
///
/// {{% examples %}}
/// ## Example Usage
@@ -20,6 +20,7 @@ public static class GetIPs
///
/// ```csharp
/// using System.Collections.Generic;
+ /// using System.Linq;
/// using Pulumi;
/// using Spacelift = Pulumi.Spacelift;
///
@@ -34,6 +35,31 @@ public static class GetIPs
///
public static Task InvokeAsync(InvokeOptions? options = null)
=> global::Pulumi.Deployment.Instance.InvokeAsync("spacelift:index/getIPs:getIPs", InvokeArgs.Empty, options.WithDefaults());
+
+ ///
+ /// `spacelift.getIPs` returns the list of Spacelift's outgoing IP addresses, which you can use to whitelist connections coming from the Spacelift's "mothership". **NOTE:** this does not include the IP addresses of the workers in Spacelift's public worker pool. If you need to ensure that requests made during runs originate from a known set of IP addresses, please consider setting up a [private worker pool](https://docs.spacelift.io/concepts/worker-pools).
+ ///
+ /// {{% examples %}}
+ /// ## Example Usage
+ /// {{% example %}}
+ ///
+ /// ```csharp
+ /// using System.Collections.Generic;
+ /// using System.Linq;
+ /// using Pulumi;
+ /// using Spacelift = Pulumi.Spacelift;
+ ///
+ /// return await Deployment.RunAsync(() =>
+ /// {
+ /// var ips = Spacelift.GetIPs.Invoke();
+ ///
+ /// });
+ /// ```
+ /// {{% /example %}}
+ /// {{% /examples %}}
+ ///
+ public static Output Invoke(InvokeOptions? options = null)
+ => global::Pulumi.Deployment.Instance.Invoke("spacelift:index/getIPs:getIPs", InvokeArgs.Empty, options.WithDefaults());
}
diff --git a/sdk/dotnet/GetModule.cs b/sdk/dotnet/GetModule.cs
index bd3a4bd..1bfd9b0 100644
--- a/sdk/dotnet/GetModule.cs
+++ b/sdk/dotnet/GetModule.cs
@@ -18,6 +18,7 @@ public static class GetModule
///
/// ```csharp
/// using System.Collections.Generic;
+ /// using System.Linq;
/// using Pulumi;
/// using Spacelift = Pulumi.Spacelift;
///
@@ -43,6 +44,7 @@ public static Task InvokeAsync(GetModuleArgs args, InvokeOption
///
/// ```csharp
/// using System.Collections.Generic;
+ /// using System.Linq;
/// using Pulumi;
/// using Spacelift = Pulumi.Spacelift;
///
@@ -124,6 +126,10 @@ public sealed class GetModuleResult
///
public readonly string Description;
///
+ /// Indicates whether local preview versions can be triggered on this Module.
+ ///
+ public readonly bool EnableLocalPreview;
+ ///
/// GitHub Enterprise (self-hosted) VCS settings
///
public readonly ImmutableArray GithubEnterprises;
@@ -166,6 +172,10 @@ public sealed class GetModuleResult
/// ID of the worker pool to use
///
public readonly string WorkerPoolId;
+ ///
+ /// Defines the tool that will be used to execute the workflow. This can be one of `OPEN_TOFU`, `TERRAFORM_FOSS` or `CUSTOM`.
+ ///
+ public readonly string WorkflowTool;
[OutputConstructor]
private GetModuleResult(
@@ -183,6 +193,8 @@ private GetModuleResult(
string description,
+ bool enableLocalPreview,
+
ImmutableArray githubEnterprises,
ImmutableArray gitlabs,
@@ -207,7 +219,9 @@ private GetModuleResult(
string terraformProvider,
- string workerPoolId)
+ string workerPoolId,
+
+ string workflowTool)
{
Administrative = administrative;
AwsAssumeRolePolicyStatement = awsAssumeRolePolicyStatement;
@@ -216,6 +230,7 @@ private GetModuleResult(
BitbucketDatacenters = bitbucketDatacenters;
Branch = branch;
Description = description;
+ EnableLocalPreview = enableLocalPreview;
GithubEnterprises = githubEnterprises;
Gitlabs = gitlabs;
Id = id;
@@ -229,6 +244,7 @@ private GetModuleResult(
SpaceId = spaceId;
TerraformProvider = terraformProvider;
WorkerPoolId = workerPoolId;
+ WorkflowTool = workflowTool;
}
}
}
diff --git a/sdk/dotnet/GetMountedfile.cs b/sdk/dotnet/GetMountedfile.cs
index 8c8b480..e746ef1 100644
--- a/sdk/dotnet/GetMountedfile.cs
+++ b/sdk/dotnet/GetMountedfile.cs
@@ -20,6 +20,7 @@ public static class GetMountedfile
///
/// ```csharp
/// using System.Collections.Generic;
+ /// using System.Linq;
/// using Pulumi;
/// using Spacelift = Pulumi.Spacelift;
///
@@ -60,6 +61,7 @@ public static Task InvokeAsync(GetMountedfileArgs args, In
///
/// ```csharp
/// using System.Collections.Generic;
+ /// using System.Linq;
/// using Pulumi;
/// using Spacelift = Pulumi.Spacelift;
///
diff --git a/sdk/dotnet/GetNamedWebhook.cs b/sdk/dotnet/GetNamedWebhook.cs
new file mode 100644
index 0000000..f7aaa9f
--- /dev/null
+++ b/sdk/dotnet/GetNamedWebhook.cs
@@ -0,0 +1,128 @@
+// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.Spacelift
+{
+ public static class GetNamedWebhook
+ {
+ ///
+ /// `spacelift.NamedWebhook` represents a named webhook endpoint used for creating webhookswhich are referred to in Notification policies to route messages.
+ ///
+ public static Task InvokeAsync(GetNamedWebhookArgs args, InvokeOptions? options = null)
+ => global::Pulumi.Deployment.Instance.InvokeAsync("spacelift:index/getNamedWebhook:getNamedWebhook", args ?? new GetNamedWebhookArgs(), options.WithDefaults());
+
+ ///
+ /// `spacelift.NamedWebhook` represents a named webhook endpoint used for creating webhookswhich are referred to in Notification policies to route messages.
+ ///
+ public static Output Invoke(GetNamedWebhookInvokeArgs args, InvokeOptions? options = null)
+ => global::Pulumi.Deployment.Instance.Invoke("spacelift:index/getNamedWebhook:getNamedWebhook", args ?? new GetNamedWebhookInvokeArgs(), options.WithDefaults());
+ }
+
+
+ public sealed class GetNamedWebhookArgs : global::Pulumi.InvokeArgs
+ {
+ ///
+ /// ID of the webhook
+ ///
+ [Input("webhookId", required: true)]
+ public string WebhookId { get; set; } = null!;
+
+ public GetNamedWebhookArgs()
+ {
+ }
+ public static new GetNamedWebhookArgs Empty => new GetNamedWebhookArgs();
+ }
+
+ public sealed class GetNamedWebhookInvokeArgs : global::Pulumi.InvokeArgs
+ {
+ ///
+ /// ID of the webhook
+ ///
+ [Input("webhookId", required: true)]
+ public Input WebhookId { get; set; } = null!;
+
+ public GetNamedWebhookInvokeArgs()
+ {
+ }
+ public static new GetNamedWebhookInvokeArgs Empty => new GetNamedWebhookInvokeArgs();
+ }
+
+
+ [OutputType]
+ public sealed class GetNamedWebhookResult
+ {
+ ///
+ /// enables or disables sending webhooks.
+ ///
+ public readonly bool Enabled;
+ ///
+ /// endpoint to send the requests to
+ ///
+ public readonly string Endpoint;
+ ///
+ /// The provider-assigned unique ID for this managed resource.
+ ///
+ public readonly string Id;
+ ///
+ /// labels for the webhook to use when referring in policies or filtering them
+ ///
+ public readonly ImmutableArray Labels;
+ ///
+ /// the name for the webhook which will also be used to generate the id
+ ///
+ public readonly string Name;
+ ///
+ /// secret used to sign each request so you're able to verify that the request comes from us.
+ ///
+ public readonly string Secret;
+ ///
+ /// secret header keys which are currently set for this webhook
+ ///
+ public readonly ImmutableArray SecretHeaderKeys;
+ ///
+ /// ID of the space the webhook is in
+ ///
+ public readonly string SpaceId;
+ ///
+ /// ID of the webhook
+ ///
+ public readonly string WebhookId;
+
+ [OutputConstructor]
+ private GetNamedWebhookResult(
+ bool enabled,
+
+ string endpoint,
+
+ string id,
+
+ ImmutableArray labels,
+
+ string name,
+
+ string secret,
+
+ ImmutableArray secretHeaderKeys,
+
+ string spaceId,
+
+ string webhookId)
+ {
+ Enabled = enabled;
+ Endpoint = endpoint;
+ Id = id;
+ Labels = labels;
+ Name = name;
+ Secret = secret;
+ SecretHeaderKeys = secretHeaderKeys;
+ SpaceId = spaceId;
+ WebhookId = webhookId;
+ }
+ }
+}
diff --git a/sdk/dotnet/GetPolicies.cs b/sdk/dotnet/GetPolicies.cs
index 2828829..09be478 100644
--- a/sdk/dotnet/GetPolicies.cs
+++ b/sdk/dotnet/GetPolicies.cs
@@ -93,19 +93,12 @@ public sealed class GetPoliciesArgs : global::Pulumi.InvokeArgs
{
[Input("labels")]
private List? _labels;
-
- ///
- /// required labels to match
- ///
public List Labels
{
get => _labels ?? (_labels = new List());
set => _labels = value;
}
- ///
- /// required policy type
- ///
[Input("type")]
public string? Type { get; set; }
@@ -119,19 +112,12 @@ public sealed class GetPoliciesInvokeArgs : global::Pulumi.InvokeArgs
{
[Input("labels")]
private InputList? _labels;
-
- ///
- /// required labels to match
- ///
public InputList Labels
{
get => _labels ?? (_labels = new InputList());
set => _labels = value;
}
- ///
- /// required policy type
- ///
[Input("type")]
public Input? Type { get; set; }
diff --git a/sdk/dotnet/GetPolicy.cs b/sdk/dotnet/GetPolicy.cs
index f432b04..1965531 100644
--- a/sdk/dotnet/GetPolicy.cs
+++ b/sdk/dotnet/GetPolicy.cs
@@ -20,6 +20,7 @@ public static class GetPolicy
///
/// ```csharp
/// using System.Collections.Generic;
+ /// using System.Linq;
/// using Pulumi;
/// using Spacelift = Pulumi.Spacelift;
///
@@ -51,6 +52,7 @@ public static Task InvokeAsync(GetPolicyArgs args, InvokeOption
///
/// ```csharp
/// using System.Collections.Generic;
+ /// using System.Linq;
/// using Pulumi;
/// using Spacelift = Pulumi.Spacelift;
///
diff --git a/sdk/dotnet/GetScheduledDeleteStack.cs b/sdk/dotnet/GetScheduledDeleteStack.cs
new file mode 100644
index 0000000..70278ae
--- /dev/null
+++ b/sdk/dotnet/GetScheduledDeleteStack.cs
@@ -0,0 +1,151 @@
+// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.Spacelift
+{
+ public static class GetScheduledDeleteStack
+ {
+ ///
+ /// `spacelift.ScheduledDeleteTask` represents a scheduling configuration for a Stack. It will trigger a stack deletion task at the given timestamp.
+ ///
+ /// {{% examples %}}
+ /// ## Example Usage
+ /// {{% example %}}
+ ///
+ /// ```csharp
+ /// using System.Collections.Generic;
+ /// using System.Linq;
+ /// using Pulumi;
+ /// using Spacelift = Pulumi.Spacelift;
+ ///
+ /// return await Deployment.RunAsync(() =>
+ /// {
+ /// var ireland_kubeconfig_delete = Spacelift.GetScheduledDeleteStack.Invoke(new()
+ /// {
+ /// ScheduledDeleteStackId = "$STACK_ID/$SCHEDULED_DELETE_STACK_ID",
+ /// });
+ ///
+ /// });
+ /// ```
+ /// {{% /example %}}
+ /// {{% /examples %}}
+ ///
+ public static Task InvokeAsync(GetScheduledDeleteStackArgs args, InvokeOptions? options = null)
+ => global::Pulumi.Deployment.Instance.InvokeAsync("spacelift:index/getScheduledDeleteStack:getScheduledDeleteStack", args ?? new GetScheduledDeleteStackArgs(), options.WithDefaults());
+
+ ///
+ /// `spacelift.ScheduledDeleteTask` represents a scheduling configuration for a Stack. It will trigger a stack deletion task at the given timestamp.
+ ///
+ /// {{% examples %}}
+ /// ## Example Usage
+ /// {{% example %}}
+ ///
+ /// ```csharp
+ /// using System.Collections.Generic;
+ /// using System.Linq;
+ /// using Pulumi;
+ /// using Spacelift = Pulumi.Spacelift;
+ ///
+ /// return await Deployment.RunAsync(() =>
+ /// {
+ /// var ireland_kubeconfig_delete = Spacelift.GetScheduledDeleteStack.Invoke(new()
+ /// {
+ /// ScheduledDeleteStackId = "$STACK_ID/$SCHEDULED_DELETE_STACK_ID",
+ /// });
+ ///
+ /// });
+ /// ```
+ /// {{% /example %}}
+ /// {{% /examples %}}
+ ///
+ public static Output Invoke(GetScheduledDeleteStackInvokeArgs args, InvokeOptions? options = null)
+ => global::Pulumi.Deployment.Instance.Invoke("spacelift:index/getScheduledDeleteStack:getScheduledDeleteStack", args ?? new GetScheduledDeleteStackInvokeArgs(), options.WithDefaults());
+ }
+
+
+ public sealed class GetScheduledDeleteStackArgs : global::Pulumi.InvokeArgs
+ {
+ ///
+ /// ID of the scheduled delete*stack (stack*id/schedule_id)
+ ///
+ [Input("scheduledDeleteStackId", required: true)]
+ public string ScheduledDeleteStackId { get; set; } = null!;
+
+ public GetScheduledDeleteStackArgs()
+ {
+ }
+ public static new GetScheduledDeleteStackArgs Empty => new GetScheduledDeleteStackArgs();
+ }
+
+ public sealed class GetScheduledDeleteStackInvokeArgs : global::Pulumi.InvokeArgs
+ {
+ ///
+ /// ID of the scheduled delete*stack (stack*id/schedule_id)
+ ///
+ [Input("scheduledDeleteStackId", required: true)]
+ public Input ScheduledDeleteStackId { get; set; } = null!;
+
+ public GetScheduledDeleteStackInvokeArgs()
+ {
+ }
+ public static new GetScheduledDeleteStackInvokeArgs Empty => new GetScheduledDeleteStackInvokeArgs();
+ }
+
+
+ [OutputType]
+ public sealed class GetScheduledDeleteStackResult
+ {
+ ///
+ /// Timestamp (unix timestamp) at which time the scheduling should happen.
+ ///
+ public readonly int At;
+ ///
+ /// Indicates whether the resources of the stack should be deleted.
+ ///
+ public readonly bool DeleteResources;
+ ///
+ /// The provider-assigned unique ID for this managed resource.
+ ///
+ public readonly string Id;
+ ///
+ /// ID of the schedule
+ ///
+ public readonly string ScheduleId;
+ ///
+ /// ID of the scheduled delete*stack (stack*id/schedule_id)
+ ///
+ public readonly string ScheduledDeleteStackId;
+ ///
+ /// Stack ID of the scheduling config
+ ///
+ public readonly string StackId;
+
+ [OutputConstructor]
+ private GetScheduledDeleteStackResult(
+ int at,
+
+ bool deleteResources,
+
+ string id,
+
+ string scheduleId,
+
+ string scheduledDeleteStackId,
+
+ string stackId)
+ {
+ At = at;
+ DeleteResources = deleteResources;
+ Id = id;
+ ScheduleId = scheduleId;
+ ScheduledDeleteStackId = scheduledDeleteStackId;
+ StackId = stackId;
+ }
+ }
+}
diff --git a/sdk/dotnet/GetScheduledTask.cs b/sdk/dotnet/GetScheduledTask.cs
new file mode 100644
index 0000000..f4e3405
--- /dev/null
+++ b/sdk/dotnet/GetScheduledTask.cs
@@ -0,0 +1,165 @@
+// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.Spacelift
+{
+ public static class GetScheduledTask
+ {
+ ///
+ /// `spacelift.ScheduledTask` represents a scheduling configuration for a Stack. It will trigger a task on the given timestamp/schedule.
+ ///
+ /// {{% examples %}}
+ /// ## Example Usage
+ /// {{% example %}}
+ ///
+ /// ```csharp
+ /// using System.Collections.Generic;
+ /// using System.Linq;
+ /// using Pulumi;
+ /// using Spacelift = Pulumi.Spacelift;
+ ///
+ /// return await Deployment.RunAsync(() =>
+ /// {
+ /// var ireland_kubeconfig_destroy = Spacelift.GetScheduledTask.Invoke(new()
+ /// {
+ /// ScheduledTaskId = "$STACK_ID/$SCHEDULED_TASK_ID",
+ /// });
+ ///
+ /// });
+ /// ```
+ /// {{% /example %}}
+ /// {{% /examples %}}
+ ///
+ public static Task InvokeAsync(GetScheduledTaskArgs args, InvokeOptions? options = null)
+ => global::Pulumi.Deployment.Instance.InvokeAsync("spacelift:index/getScheduledTask:getScheduledTask", args ?? new GetScheduledTaskArgs(), options.WithDefaults());
+
+ ///
+ /// `spacelift.ScheduledTask` represents a scheduling configuration for a Stack. It will trigger a task on the given timestamp/schedule.
+ ///
+ /// {{% examples %}}
+ /// ## Example Usage
+ /// {{% example %}}
+ ///
+ /// ```csharp
+ /// using System.Collections.Generic;
+ /// using System.Linq;
+ /// using Pulumi;
+ /// using Spacelift = Pulumi.Spacelift;
+ ///
+ /// return await Deployment.RunAsync(() =>
+ /// {
+ /// var ireland_kubeconfig_destroy = Spacelift.GetScheduledTask.Invoke(new()
+ /// {
+ /// ScheduledTaskId = "$STACK_ID/$SCHEDULED_TASK_ID",
+ /// });
+ ///
+ /// });
+ /// ```
+ /// {{% /example %}}
+ /// {{% /examples %}}
+ ///
+ public static Output Invoke(GetScheduledTaskInvokeArgs args, InvokeOptions? options = null)
+ => global::Pulumi.Deployment.Instance.Invoke("spacelift:index/getScheduledTask:getScheduledTask", args ?? new GetScheduledTaskInvokeArgs(), options.WithDefaults());
+ }
+
+
+ public sealed class GetScheduledTaskArgs : global::Pulumi.InvokeArgs
+ {
+ ///
+ /// ID of the scheduled task (stack*id/schedule*id)
+ ///
+ [Input("scheduledTaskId", required: true)]
+ public string ScheduledTaskId { get; set; } = null!;
+
+ public GetScheduledTaskArgs()
+ {
+ }
+ public static new GetScheduledTaskArgs Empty => new GetScheduledTaskArgs();
+ }
+
+ public sealed class GetScheduledTaskInvokeArgs : global::Pulumi.InvokeArgs
+ {
+ ///
+ /// ID of the scheduled task (stack*id/schedule*id)
+ ///
+ [Input("scheduledTaskId", required: true)]
+ public Input ScheduledTaskId { get; set; } = null!;
+
+ public GetScheduledTaskInvokeArgs()
+ {
+ }
+ public static new GetScheduledTaskInvokeArgs Empty => new GetScheduledTaskInvokeArgs();
+ }
+
+
+ [OutputType]
+ public sealed class GetScheduledTaskResult
+ {
+ ///
+ /// Timestamp (unix timestamp) at which time the scheduling should happen.
+ ///
+ public readonly int At;
+ ///
+ /// Command that will be run.
+ ///
+ public readonly string Command;
+ ///
+ /// List of cron schedule expressions based on which the scheduled task should be triggered.
+ ///
+ public readonly ImmutableArray Everies;
+ ///
+ /// The provider-assigned unique ID for this managed resource.
+ ///
+ public readonly string Id;
+ ///
+ /// ID of the schedule
+ ///
+ public readonly string ScheduleId;
+ ///
+ /// ID of the scheduled task (stack*id/schedule*id)
+ ///
+ public readonly string ScheduledTaskId;
+ ///
+ /// Stack ID of the scheduled task
+ ///
+ public readonly string StackId;
+ ///
+ /// Timezone in which the schedule is expressed. Defaults to `UTC`.
+ ///
+ public readonly string Timezone;
+
+ [OutputConstructor]
+ private GetScheduledTaskResult(
+ int at,
+
+ string command,
+
+ ImmutableArray everies,
+
+ string id,
+
+ string scheduleId,
+
+ string scheduledTaskId,
+
+ string stackId,
+
+ string timezone)
+ {
+ At = at;
+ Command = command;
+ Everies = everies;
+ Id = id;
+ ScheduleId = scheduleId;
+ ScheduledTaskId = scheduledTaskId;
+ StackId = stackId;
+ Timezone = timezone;
+ }
+ }
+}
diff --git a/sdk/dotnet/GetSpace.cs b/sdk/dotnet/GetSpace.cs
index 5f8557c..b732f99 100644
--- a/sdk/dotnet/GetSpace.cs
+++ b/sdk/dotnet/GetSpace.cs
@@ -20,6 +20,7 @@ public static class GetSpace
///
/// ```csharp
/// using System.Collections.Generic;
+ /// using System.Linq;
/// using Pulumi;
/// using Spacelift = Pulumi.Spacelift;
///
@@ -51,6 +52,7 @@ public static Task InvokeAsync(GetSpaceArgs args, InvokeOptions?
///
/// ```csharp
/// using System.Collections.Generic;
+ /// using System.Linq;
/// using Pulumi;
/// using Spacelift = Pulumi.Spacelift;
///
@@ -120,6 +122,10 @@ public sealed class GetSpaceResult
///
public readonly bool InheritEntities;
///
+ /// list of labels describing a space
+ ///
+ public readonly ImmutableArray Labels;
+ ///
/// name of the space
///
public readonly string Name;
@@ -140,6 +146,8 @@ private GetSpaceResult(
bool inheritEntities,
+ ImmutableArray labels,
+
string name,
string parentSpaceId,
@@ -149,6 +157,7 @@ private GetSpaceResult(
Description = description;
Id = id;
InheritEntities = inheritEntities;
+ Labels = labels;
Name = name;
ParentSpaceId = parentSpaceId;
SpaceId = spaceId;
diff --git a/sdk/dotnet/GetSpaceByPath.cs b/sdk/dotnet/GetSpaceByPath.cs
new file mode 100644
index 0000000..60d7d7a
--- /dev/null
+++ b/sdk/dotnet/GetSpaceByPath.cs
@@ -0,0 +1,170 @@
+// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.Spacelift
+{
+ public static class GetSpaceByPath
+ {
+ ///
+ /// `spacelift.getSpaceByPath` represents a Spacelift **space** - a collection of resources such as stacks, modules, policies, etc. Allows for more granular access control. Can have a parent space. In contrary to `spacelift.Space`, this resource is identified by a path, not by an ID. For this data source to work, path must be unique. If there are multiple spaces with the same path, this datasource will fail.
+ /// **Disclaimer:**
+ /// This datasource can only be used in a stack that resides in a space with inheritance enabled. In addition, the parent spaces (excluding root) must also have inheritance enabled.
+ ///
+ /// {{% examples %}}
+ /// ## Example Usage
+ /// {{% example %}}
+ ///
+ /// ```csharp
+ /// using System.Collections.Generic;
+ /// using System.Linq;
+ /// using Pulumi;
+ /// using Spacelift = Pulumi.Spacelift;
+ ///
+ /// return await Deployment.RunAsync(() =>
+ /// {
+ /// var space = Spacelift.GetSpaceByPath.Invoke(new()
+ /// {
+ /// SpacePath = "root/second space/my space",
+ /// });
+ ///
+ /// return new Dictionary<string, object?>
+ /// {
+ /// ["spaceDescription"] = space.Apply(getSpaceByPathResult => getSpaceByPathResult.Description),
+ /// };
+ /// });
+ /// ```
+ /// {{% /example %}}
+ /// {{% /examples %}}
+ ///
+ public static Task InvokeAsync(GetSpaceByPathArgs args, InvokeOptions? options = null)
+ => global::Pulumi.Deployment.Instance.InvokeAsync("spacelift:index/getSpaceByPath:getSpaceByPath", args ?? new GetSpaceByPathArgs(), options.WithDefaults());
+
+ ///
+ /// `spacelift.getSpaceByPath` represents a Spacelift **space** - a collection of resources such as stacks, modules, policies, etc. Allows for more granular access control. Can have a parent space. In contrary to `spacelift.Space`, this resource is identified by a path, not by an ID. For this data source to work, path must be unique. If there are multiple spaces with the same path, this datasource will fail.
+ /// **Disclaimer:**
+ /// This datasource can only be used in a stack that resides in a space with inheritance enabled. In addition, the parent spaces (excluding root) must also have inheritance enabled.
+ ///
+ /// {{% examples %}}
+ /// ## Example Usage
+ /// {{% example %}}
+ ///
+ /// ```csharp
+ /// using System.Collections.Generic;
+ /// using System.Linq;
+ /// using Pulumi;
+ /// using Spacelift = Pulumi.Spacelift;
+ ///
+ /// return await Deployment.RunAsync(() =>
+ /// {
+ /// var space = Spacelift.GetSpaceByPath.Invoke(new()
+ /// {
+ /// SpacePath = "root/second space/my space",
+ /// });
+ ///
+ /// return new Dictionary<string, object?>
+ /// {
+ /// ["spaceDescription"] = space.Apply(getSpaceByPathResult => getSpaceByPathResult.Description),
+ /// };
+ /// });
+ /// ```
+ /// {{% /example %}}
+ /// {{% /examples %}}
+ ///
+ public static Output Invoke(GetSpaceByPathInvokeArgs args, InvokeOptions? options = null)
+ => global::Pulumi.Deployment.Instance.Invoke("spacelift:index/getSpaceByPath:getSpaceByPath", args ?? new GetSpaceByPathInvokeArgs(), options.WithDefaults());
+ }
+
+
+ public sealed class GetSpaceByPathArgs : global::Pulumi.InvokeArgs
+ {
+ ///
+ /// path to the space - a series of space names separated by `/`
+ ///
+ [Input("spacePath", required: true)]
+ public string SpacePath { get; set; } = null!;
+
+ public GetSpaceByPathArgs()
+ {
+ }
+ public static new GetSpaceByPathArgs Empty => new GetSpaceByPathArgs();
+ }
+
+ public sealed class GetSpaceByPathInvokeArgs : global::Pulumi.InvokeArgs
+ {
+ ///
+ /// path to the space - a series of space names separated by `/`
+ ///
+ [Input("spacePath", required: true)]
+ public Input SpacePath { get; set; } = null!;
+
+ public GetSpaceByPathInvokeArgs()
+ {
+ }
+ public static new GetSpaceByPathInvokeArgs Empty => new GetSpaceByPathInvokeArgs();
+ }
+
+
+ [OutputType]
+ public sealed class GetSpaceByPathResult
+ {
+ ///
+ /// free-form space description for users
+ ///
+ public readonly string Description;
+ ///
+ /// The provider-assigned unique ID for this managed resource.
+ ///
+ public readonly string Id;
+ ///
+ /// indication whether access to this space inherits read access to entities from the parent space
+ ///
+ public readonly bool InheritEntities;
+ ///
+ /// list of labels describing a space
+ ///
+ public readonly ImmutableArray Labels;
+ ///
+ /// name of the space
+ ///
+ public readonly string Name;
+ ///
+ /// immutable ID (slug) of parent space
+ ///
+ public readonly string ParentSpaceId;
+ ///
+ /// path to the space - a series of space names separated by `/`
+ ///
+ public readonly string SpacePath;
+
+ [OutputConstructor]
+ private GetSpaceByPathResult(
+ string description,
+
+ string id,
+
+ bool inheritEntities,
+
+ ImmutableArray labels,
+
+ string name,
+
+ string parentSpaceId,
+
+ string spacePath)
+ {
+ Description = description;
+ Id = id;
+ InheritEntities = inheritEntities;
+ Labels = labels;
+ Name = name;
+ ParentSpaceId = parentSpaceId;
+ SpacePath = spacePath;
+ }
+ }
+}
diff --git a/sdk/dotnet/GetSpaces.cs b/sdk/dotnet/GetSpaces.cs
new file mode 100644
index 0000000..a7d42da
--- /dev/null
+++ b/sdk/dotnet/GetSpaces.cs
@@ -0,0 +1,93 @@
+// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.Spacelift
+{
+ public static class GetSpaces
+ {
+ ///
+ /// `spacelift.getSpaces` can find all spaces in the spacelift organization.
+ ///
+ /// {{% examples %}}
+ /// ## Example Usage
+ /// {{% example %}}
+ ///
+ /// ```csharp
+ /// using System.Collections.Generic;
+ /// using System.Linq;
+ /// using Pulumi;
+ /// using Spacelift = Pulumi.Spacelift;
+ ///
+ /// return await Deployment.RunAsync(() =>
+ /// {
+ /// var @this = Spacelift.GetSpaces.Invoke();
+ ///
+ /// return new Dictionary<string, object?>
+ /// {
+ /// ["spaces"] = @this.Apply(@this => @this.Apply(getSpacesResult => getSpacesResult.Spaces)),
+ /// };
+ /// });
+ /// ```
+ /// {{% /example %}}
+ /// {{% /examples %}}
+ ///
+ public static Task InvokeAsync(InvokeOptions? options = null)
+ => global::Pulumi.Deployment.Instance.InvokeAsync("spacelift:index/getSpaces:getSpaces", InvokeArgs.Empty, options.WithDefaults());
+
+ ///
+ /// `spacelift.getSpaces` can find all spaces in the spacelift organization.
+ ///
+ /// {{% examples %}}
+ /// ## Example Usage
+ /// {{% example %}}
+ ///
+ /// ```csharp
+ /// using System.Collections.Generic;
+ /// using System.Linq;
+ /// using Pulumi;
+ /// using Spacelift = Pulumi.Spacelift;
+ ///
+ /// return await Deployment.RunAsync(() =>
+ /// {
+ /// var @this = Spacelift.GetSpaces.Invoke();
+ ///
+ /// return new Dictionary<string, object?>
+ /// {
+ /// ["spaces"] = @this.Apply(@this => @this.Apply(getSpacesResult => getSpacesResult.Spaces)),
+ /// };
+ /// });
+ /// ```
+ /// {{% /example %}}
+ /// {{% /examples %}}
+ ///
+ public static Output Invoke(InvokeOptions? options = null)
+ => global::Pulumi.Deployment.Instance.Invoke("spacelift:index/getSpaces:getSpaces", InvokeArgs.Empty, options.WithDefaults());
+ }
+
+
+ [OutputType]
+ public sealed class GetSpacesResult
+ {
+ ///
+ /// The provider-assigned unique ID for this managed resource.
+ ///
+ public readonly string Id;
+ public readonly ImmutableArray Spaces;
+
+ [OutputConstructor]
+ private GetSpacesResult(
+ string id,
+
+ ImmutableArray spaces)
+ {
+ Id = id;
+ Spaces = spaces;
+ }
+ }
+}
diff --git a/sdk/dotnet/GetStack.cs b/sdk/dotnet/GetStack.cs
index d26ff15..05501a4 100644
--- a/sdk/dotnet/GetStack.cs
+++ b/sdk/dotnet/GetStack.cs
@@ -20,6 +20,7 @@ public static class GetStack
///
/// ```csharp
/// using System.Collections.Generic;
+ /// using System.Linq;
/// using Pulumi;
/// using Spacelift = Pulumi.Spacelift;
///
@@ -47,6 +48,7 @@ public static Task InvokeAsync(GetStackArgs args, InvokeOptions?
///
/// ```csharp
/// using System.Collections.Generic;
+ /// using System.Linq;
/// using Pulumi;
/// using Spacelift = Pulumi.Spacelift;
///
@@ -129,6 +131,18 @@ public List AfterPlans
set => _afterPlans = value;
}
+ [Input("afterRuns")]
+ private List? _afterRuns;
+
+ ///
+ /// List of after-run scripts
+ ///
+ public List AfterRuns
+ {
+ get => _afterRuns ?? (_afterRuns = new List());
+ set => _afterRuns = value;
+ }
+
[Input("beforeApplies")]
private List? _beforeApplies;
@@ -263,6 +277,18 @@ public InputList AfterPlans
set => _afterPlans = value;
}
+ [Input("afterRuns")]
+ private InputList? _afterRuns;
+
+ ///
+ /// List of after-run scripts
+ ///
+ public InputList AfterRuns
+ {
+ get => _afterRuns ?? (_afterRuns = new InputList());
+ set => _afterRuns = value;
+ }
+
[Input("beforeApplies")]
private InputList? _beforeApplies;
@@ -364,6 +390,10 @@ public sealed class GetStackResult
///
public readonly ImmutableArray AfterPlans;
///
+ /// List of after-run scripts
+ ///
+ public readonly ImmutableArray AfterRuns;
+ ///
/// Ansible-specific configuration. Presence means this Stack is an Ansible Stack.
///
public readonly ImmutableArray Ansibles;
@@ -465,6 +495,10 @@ public sealed class GetStackResult
///
public readonly ImmutableArray Pulumis;
///
+ /// One-way VCS integration using a raw Git repository link
+ ///
+ public readonly ImmutableArray RawGits;
+ ///
/// Name of the repository, without the owner part
///
public readonly string Repository;
@@ -484,8 +518,16 @@ public sealed class GetStackResult
/// ID (slug) of the stack
///
public readonly string StackId;
+ ///
+ /// Indicates whether you can access the Stack state file from other stacks or outside of Spacelift.
+ ///
+ public readonly bool TerraformExternalStateAccess;
public readonly bool TerraformSmartSanitization;
public readonly string TerraformVersion;
+ ///
+ /// Defines the tool that will be used to execute the workflow. This can be one of `OPEN_TOFU`, `TERRAFORM_FOSS` or `CUSTOM`.
+ ///
+ public readonly string TerraformWorkflowTool;
public readonly string TerraformWorkspace;
///
/// ID of the worker pool to use
@@ -506,6 +548,8 @@ private GetStackResult(
ImmutableArray afterPlans,
+ ImmutableArray afterRuns,
+
ImmutableArray ansibles,
bool autodeploy,
@@ -558,6 +602,8 @@ private GetStackResult(
ImmutableArray pulumis,
+ ImmutableArray rawGits,
+
string repository,
string runnerImage,
@@ -568,10 +614,14 @@ private GetStackResult(
string stackId,
+ bool terraformExternalStateAccess,
+
bool terraformSmartSanitization,
string terraformVersion,
+ string terraformWorkflowTool,
+
string terraformWorkspace,
string workerPoolId)
@@ -582,6 +632,7 @@ private GetStackResult(
AfterInits = afterInits;
AfterPerforms = afterPerforms;
AfterPlans = afterPlans;
+ AfterRuns = afterRuns;
Ansibles = ansibles;
Autodeploy = autodeploy;
Autoretry = autoretry;
@@ -608,13 +659,16 @@ private GetStackResult(
ProjectRoot = projectRoot;
ProtectFromDeletion = protectFromDeletion;
Pulumis = pulumis;
+ RawGits = rawGits;
Repository = repository;
RunnerImage = runnerImage;
Showcases = showcases;
SpaceId = spaceId;
StackId = stackId;
+ TerraformExternalStateAccess = terraformExternalStateAccess;
TerraformSmartSanitization = terraformSmartSanitization;
TerraformVersion = terraformVersion;
+ TerraformWorkflowTool = terraformWorkflowTool;
TerraformWorkspace = terraformWorkspace;
WorkerPoolId = workerPoolId;
}
diff --git a/sdk/dotnet/GetStackAwsRole.cs b/sdk/dotnet/GetStackAwsRole.cs
index 3a399eb..3e4ce72 100644
--- a/sdk/dotnet/GetStackAwsRole.cs
+++ b/sdk/dotnet/GetStackAwsRole.cs
@@ -26,6 +26,7 @@ public static class GetStackAwsRole
///
/// ```csharp
/// using System.Collections.Generic;
+ /// using System.Linq;
/// using Pulumi;
/// using Spacelift = Pulumi.Spacelift;
///
@@ -64,6 +65,7 @@ public static Task InvokeAsync(GetStackAwsRoleArgs? args
///
/// ```csharp
/// using System.Collections.Generic;
+ /// using System.Linq;
/// using Pulumi;
/// using Spacelift = Pulumi.Spacelift;
///
diff --git a/sdk/dotnet/GetStackGcpServiceAccount.cs b/sdk/dotnet/GetStackGcpServiceAccount.cs
index 47af71c..6c711a1 100644
--- a/sdk/dotnet/GetStackGcpServiceAccount.cs
+++ b/sdk/dotnet/GetStackGcpServiceAccount.cs
@@ -18,6 +18,7 @@ public static class GetStackGcpServiceAccount
///
/// ```csharp
/// using System.Collections.Generic;
+ /// using System.Linq;
/// using Pulumi;
/// using Spacelift = Pulumi.Spacelift;
///
@@ -48,6 +49,7 @@ public static Task InvokeAsync(GetStackGcpServi
///
/// ```csharp
/// using System.Collections.Generic;
+ /// using System.Linq;
/// using Pulumi;
/// using Spacelift = Pulumi.Spacelift;
///
diff --git a/sdk/dotnet/GetStacks.cs b/sdk/dotnet/GetStacks.cs
new file mode 100644
index 0000000..10e120c
--- /dev/null
+++ b/sdk/dotnet/GetStacks.cs
@@ -0,0 +1,250 @@
+// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.Spacelift
+{
+ public static class GetStacks
+ {
+ ///
+ /// `spacelift.getStacks` represents all the stacks in the Spacelift account visible to the API user, matching predicates.
+ ///
+ public static Task InvokeAsync(GetStacksArgs? args = null, InvokeOptions? options = null)
+ => global::Pulumi.Deployment.Instance.InvokeAsync("spacelift:index/getStacks:getStacks", args ?? new GetStacksArgs(), options.WithDefaults());
+
+ ///
+ /// `spacelift.getStacks` represents all the stacks in the Spacelift account visible to the API user, matching predicates.
+ ///
+ public static Output Invoke(GetStacksInvokeArgs? args = null, InvokeOptions? options = null)
+ => global::Pulumi.Deployment.Instance.Invoke("spacelift:index/getStacks:getStacks", args ?? new GetStacksInvokeArgs(), options.WithDefaults());
+ }
+
+
+ public sealed class GetStacksArgs : global::Pulumi.InvokeArgs
+ {
+ [Input("administrative")]
+ public Inputs.GetStacksAdministrativeArgs? Administrative { get; set; }
+
+ [Input("branch")]
+ public Inputs.GetStacksBranchArgs? Branch { get; set; }
+
+ ///
+ /// Require stacks to be on one of the commits
+ ///
+ [Input("commit")]
+ public Inputs.GetStacksCommitArgs? Commit { get; set; }
+
+ [Input("labels")]
+ private List? _labels;
+ public List Labels
+ {
+ get => _labels ?? (_labels = new List());
+ set => _labels = value;
+ }
+
+ ///
+ /// Require stacks to be locked
+ ///
+ [Input("locked")]
+ public Inputs.GetStacksLockedArgs? Locked { get; set; }
+
+ [Input("name")]
+ public Inputs.GetStacksNameArgs? Name { get; set; }
+
+ [Input("projectRoot")]
+ public Inputs.GetStacksProjectRootArgs? ProjectRoot { get; set; }
+
+ [Input("repository")]
+ public Inputs.GetStacksRepositoryArgs? Repository { get; set; }
+
+ ///
+ /// Require stacks to have one of the states
+ ///
+ [Input("state")]
+ public Inputs.GetStacksStateArgs? State { get; set; }
+
+ ///
+ /// Require stacks to use one of the IaC vendors
+ ///
+ [Input("vendor")]
+ public Inputs.GetStacksVendorArgs? Vendor { get; set; }
+
+ ///
+ /// Require stacks to use one of the worker pools
+ ///
+ [Input("workerPool")]
+ public Inputs.GetStacksWorkerPoolArgs? WorkerPool { get; set; }
+
+ public GetStacksArgs()
+ {
+ }
+ public static new GetStacksArgs Empty => new GetStacksArgs();
+ }
+
+ public sealed class GetStacksInvokeArgs : global::Pulumi.InvokeArgs
+ {
+ [Input("administrative")]
+ public Input? Administrative { get; set; }
+
+ [Input("branch")]
+ public Input? Branch { get; set; }
+
+ ///
+ /// Require stacks to be on one of the commits
+ ///
+ [Input("commit")]
+ public Input? Commit { get; set; }
+
+ [Input("labels")]
+ private InputList? _labels;
+ public InputList Labels
+ {
+ get => _labels ?? (_labels = new InputList());
+ set => _labels = value;
+ }
+
+ ///
+ /// Require stacks to be locked
+ ///
+ [Input("locked")]
+ public Input? Locked { get; set; }
+
+ [Input("name")]
+ public Input? Name { get; set; }
+
+ [Input("projectRoot")]
+ public Input? ProjectRoot { get; set; }
+
+ [Input("repository")]
+ public Input? Repository { get; set; }
+
+ ///
+ /// Require stacks to have one of the states
+ ///
+ [Input("state")]
+ public Input? State { get; set; }
+
+ ///
+ /// Require stacks to use one of the IaC vendors
+ ///
+ [Input("vendor")]
+ public Input? Vendor { get; set; }
+
+ ///
+ /// Require stacks to use one of the worker pools
+ ///
+ [Input("workerPool")]
+ public Input? WorkerPool { get; set; }
+
+ public GetStacksInvokeArgs()
+ {
+ }
+ public static new GetStacksInvokeArgs Empty => new GetStacksInvokeArgs();
+ }
+
+
+ [OutputType]
+ public sealed class GetStacksResult
+ {
+ ///
+ /// Require stacks to be administrative or not
+ ///
+ public readonly Outputs.GetStacksAdministrativeResult? Administrative;
+ ///
+ /// Require stacks to be on one of the branches
+ ///
+ public readonly Outputs.GetStacksBranchResult? Branch;
+ ///
+ /// Require stacks to be on one of the commits
+ ///
+ public readonly Outputs.GetStacksCommitResult? Commit;
+ ///
+ /// The provider-assigned unique ID for this managed resource.
+ ///
+ public readonly string Id;
+ ///
+ /// Require stacks to have one of the labels
+ ///
+ public readonly ImmutableArray Labels;
+ ///
+ /// Require stacks to be locked
+ ///
+ public readonly Outputs.GetStacksLockedResult? Locked;
+ ///
+ /// Require stacks to have one of the names
+ ///
+ public readonly Outputs.GetStacksNameResult? Name;
+ ///
+ /// Require stacks to be in one of the project roots
+ ///
+ public readonly Outputs.GetStacksProjectRootResult? ProjectRoot;
+ ///
+ /// Require stacks to be in one of the repositories
+ ///
+ public readonly Outputs.GetStacksRepositoryResult? Repository;
+ ///
+ /// List of stacks matching the predicates
+ ///
+ public readonly ImmutableArray Stacks;
+ ///
+ /// Require stacks to have one of the states
+ ///
+ public readonly Outputs.GetStacksStateResult? State;
+ ///
+ /// Require stacks to use one of the IaC vendors
+ ///
+ public readonly Outputs.GetStacksVendorResult? Vendor;
+ ///
+ /// Require stacks to use one of the worker pools
+ ///
+ public readonly Outputs.GetStacksWorkerPoolResult? WorkerPool;
+
+ [OutputConstructor]
+ private GetStacksResult(
+ Outputs.GetStacksAdministrativeResult? administrative,
+
+ Outputs.GetStacksBranchResult? branch,
+
+ Outputs.GetStacksCommitResult? commit,
+
+ string id,
+
+ ImmutableArray labels,
+
+ Outputs.GetStacksLockedResult? locked,
+
+ Outputs.GetStacksNameResult? name,
+
+ Outputs.GetStacksProjectRootResult? projectRoot,
+
+ Outputs.GetStacksRepositoryResult? repository,
+
+ ImmutableArray stacks,
+
+ Outputs.GetStacksStateResult? state,
+
+ Outputs.GetStacksVendorResult? vendor,
+
+ Outputs.GetStacksWorkerPoolResult? workerPool)
+ {
+ Administrative = administrative;
+ Branch = branch;
+ Commit = commit;
+ Id = id;
+ Labels = labels;
+ Locked = locked;
+ Name = name;
+ ProjectRoot = projectRoot;
+ Repository = repository;
+ Stacks = stacks;
+ State = state;
+ Vendor = vendor;
+ WorkerPool = workerPool;
+ }
+ }
+}
diff --git a/sdk/dotnet/GetVcsAgentPools.cs b/sdk/dotnet/GetVcsAgentPools.cs
index 7b3cd9d..c0d3b87 100644
--- a/sdk/dotnet/GetVcsAgentPools.cs
+++ b/sdk/dotnet/GetVcsAgentPools.cs
@@ -20,6 +20,7 @@ public static class GetVcsAgentPools
///
/// ```csharp
/// using System.Collections.Generic;
+ /// using System.Linq;
/// using Pulumi;
/// using Spacelift = Pulumi.Spacelift;
///
@@ -34,6 +35,31 @@ public static class GetVcsAgentPools
///
public static Task InvokeAsync(InvokeOptions? options = null)
=> global::Pulumi.Deployment.Instance.InvokeAsync("spacelift:index/getVcsAgentPools:getVcsAgentPools", InvokeArgs.Empty, options.WithDefaults());
+
+ ///
+ /// `spacelift.getVcsAgentPools` represents the VCS agent pools assigned to the Spacelift account.
+ ///
+ /// {{% examples %}}
+ /// ## Example Usage
+ /// {{% example %}}
+ ///
+ /// ```csharp
+ /// using System.Collections.Generic;
+ /// using System.Linq;
+ /// using Pulumi;
+ /// using Spacelift = Pulumi.Spacelift;
+ ///
+ /// return await Deployment.RunAsync(() =>
+ /// {
+ /// var vcs_agent_pools = Spacelift.GetVcsAgentPools.Invoke();
+ ///
+ /// });
+ /// ```
+ /// {{% /example %}}
+ /// {{% /examples %}}
+ ///
+ public static Output Invoke(InvokeOptions? options = null)
+ => global::Pulumi.Deployment.Instance.Invoke("spacelift:index/getVcsAgentPools:getVcsAgentPools", InvokeArgs.Empty, options.WithDefaults());
}
diff --git a/sdk/dotnet/GetWebhook.cs b/sdk/dotnet/GetWebhook.cs
index f7ac562..2341fe7 100644
--- a/sdk/dotnet/GetWebhook.cs
+++ b/sdk/dotnet/GetWebhook.cs
@@ -20,6 +20,7 @@ public static class GetWebhook
///
/// ```csharp
/// using System.Collections.Generic;
+ /// using System.Linq;
/// using Pulumi;
/// using Spacelift = Pulumi.Spacelift;
///
@@ -47,6 +48,7 @@ public static Task InvokeAsync(GetWebhookArgs args, InvokeOpti
///
/// ```csharp
/// using System.Collections.Generic;
+ /// using System.Linq;
/// using Pulumi;
/// using Spacelift = Pulumi.Spacelift;
///
diff --git a/sdk/dotnet/GetWorkerPool.cs b/sdk/dotnet/GetWorkerPool.cs
index b7d657f..3d48657 100644
--- a/sdk/dotnet/GetWorkerPool.cs
+++ b/sdk/dotnet/GetWorkerPool.cs
@@ -20,6 +20,7 @@ public static class GetWorkerPool
///
/// ```csharp
/// using System.Collections.Generic;
+ /// using System.Linq;
/// using Pulumi;
/// using Spacelift = Pulumi.Spacelift;
///
@@ -27,7 +28,7 @@ public static class GetWorkerPool
/// {
/// var k8s_core = Spacelift.GetWorkerPool.Invoke(new()
/// {
- /// WorkerPoolId = "k8s-core",
+ /// WorkerPoolId = "01G1KTZ4BA86RBN3XNN3YK9EWT",
/// });
///
/// });
@@ -47,6 +48,7 @@ public static Task InvokeAsync(GetWorkerPoolArgs args, Invo
///
/// ```csharp
/// using System.Collections.Generic;
+ /// using System.Linq;
/// using Pulumi;
/// using Spacelift = Pulumi.Spacelift;
///
@@ -54,7 +56,7 @@ public static Task InvokeAsync(GetWorkerPoolArgs args, Invo
/// {
/// var k8s_core = Spacelift.GetWorkerPool.Invoke(new()
/// {
- /// WorkerPoolId = "k8s-core",
+ /// WorkerPoolId = "01G1KTZ4BA86RBN3XNN3YK9EWT",
/// });
///
/// });
diff --git a/sdk/dotnet/GetWorkerPools.cs b/sdk/dotnet/GetWorkerPools.cs
index 6054f5a..0b708ac 100644
--- a/sdk/dotnet/GetWorkerPools.cs
+++ b/sdk/dotnet/GetWorkerPools.cs
@@ -20,6 +20,7 @@ public static class GetWorkerPools
///
/// ```csharp
/// using System.Collections.Generic;
+ /// using System.Linq;
/// using Pulumi;
/// using Spacelift = Pulumi.Spacelift;
///
@@ -34,6 +35,31 @@ public static class GetWorkerPools
///
public static Task InvokeAsync(InvokeOptions? options = null)
=> global::Pulumi.Deployment.Instance.InvokeAsync("spacelift:index/getWorkerPools:getWorkerPools", InvokeArgs.Empty, options.WithDefaults());
+
+ ///
+ /// `spacelift.getWorkerPools` represents the worker pools assigned to the Spacelift account.
+ ///
+ /// {{% examples %}}
+ /// ## Example Usage
+ /// {{% example %}}
+ ///
+ /// ```csharp
+ /// using System.Collections.Generic;
+ /// using System.Linq;
+ /// using Pulumi;
+ /// using Spacelift = Pulumi.Spacelift;
+ ///
+ /// return await Deployment.RunAsync(() =>
+ /// {
+ /// var worker_pools = Spacelift.GetWorkerPools.Invoke();
+ ///
+ /// });
+ /// ```
+ /// {{% /example %}}
+ /// {{% /examples %}}
+ ///
+ public static Output Invoke(InvokeOptions? options = null)
+ => global::Pulumi.Deployment.Instance.Invoke("spacelift:index/getWorkerPools:getWorkerPools", InvokeArgs.Empty, options.WithDefaults());
}
diff --git a/sdk/dotnet/IdpGroupMapping.cs b/sdk/dotnet/IdpGroupMapping.cs
new file mode 100644
index 0000000..d154332
--- /dev/null
+++ b/sdk/dotnet/IdpGroupMapping.cs
@@ -0,0 +1,145 @@
+// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.Spacelift
+{
+ ///
+ /// `spacelift.IdpGroupMapping` represents a mapping (binding) between a user group (as provided by IdP) and a Spacelift User Management Policy. If you assign permissions (a Policy) to a user group, all users in the group will have those permissions unless the user's permissions are higher than the group's permissions.
+ ///
+ /// ## Example Usage
+ ///
+ /// ```csharp
+ /// using System.Collections.Generic;
+ /// using System.Linq;
+ /// using Pulumi;
+ /// using Spacelift = Pulumi.Spacelift;
+ ///
+ /// return await Deployment.RunAsync(() =>
+ /// {
+ /// var test = new Spacelift.IdpGroupMapping("test", new()
+ /// {
+ /// Policies = new[]
+ /// {
+ /// new Spacelift.Inputs.IdpGroupMappingPolicyArgs
+ /// {
+ /// Role = "ADMIN",
+ /// SpaceId = "root",
+ /// },
+ /// new Spacelift.Inputs.IdpGroupMappingPolicyArgs
+ /// {
+ /// Role = "ADMIN",
+ /// SpaceId = "legacy",
+ /// },
+ /// },
+ /// });
+ ///
+ /// });
+ /// ```
+ ///
+ [SpaceliftResourceType("spacelift:index/idpGroupMapping:IdpGroupMapping")]
+ public partial class IdpGroupMapping : global::Pulumi.CustomResource
+ {
+ ///
+ /// Name of the user group - should be unique in one account
+ ///
+ [Output("name")]
+ public Output Name { get; private set; } = null!;
+
+ [Output("policies")]
+ public Output> Policies { get; private set; } = null!;
+
+
+ ///
+ /// Create a IdpGroupMapping resource with the given unique name, arguments, and options.
+ ///
+ ///
+ /// The unique name of the resource
+ /// The arguments used to populate this resource's properties
+ /// A bag of options that control this resource's behavior
+ public IdpGroupMapping(string name, IdpGroupMappingArgs args, CustomResourceOptions? options = null)
+ : base("spacelift:index/idpGroupMapping:IdpGroupMapping", name, args ?? new IdpGroupMappingArgs(), MakeResourceOptions(options, ""))
+ {
+ }
+
+ private IdpGroupMapping(string name, Input id, IdpGroupMappingState? state = null, CustomResourceOptions? options = null)
+ : base("spacelift:index/idpGroupMapping:IdpGroupMapping", name, state, MakeResourceOptions(options, id))
+ {
+ }
+
+ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id)
+ {
+ var defaultOptions = new CustomResourceOptions
+ {
+ Version = Utilities.Version,
+ PluginDownloadURL = "https://downloads.spacelift.io/pulumi-plugins",
+ };
+ var merged = CustomResourceOptions.Merge(defaultOptions, options);
+ // Override the ID if one was specified for consistency with other language SDKs.
+ merged.Id = id ?? merged.Id;
+ return merged;
+ }
+ ///
+ /// Get an existing IdpGroupMapping resource's state with the given name, ID, and optional extra
+ /// properties used to qualify the lookup.
+ ///
+ ///
+ /// The unique name of the resulting resource.
+ /// The unique provider ID of the resource to lookup.
+ /// Any extra arguments used during the lookup.
+ /// A bag of options that control this resource's behavior
+ public static IdpGroupMapping Get(string name, Input id, IdpGroupMappingState? state = null, CustomResourceOptions? options = null)
+ {
+ return new IdpGroupMapping(name, id, state, options);
+ }
+ }
+
+ public sealed class IdpGroupMappingArgs : global::Pulumi.ResourceArgs
+ {
+ ///
+ /// Name of the user group - should be unique in one account
+ ///
+ [Input("name")]
+ public Input? Name { get; set; }
+
+ [Input("policies", required: true)]
+ private InputList? _policies;
+ public InputList Policies
+ {
+ get => _policies ?? (_policies = new InputList());
+ set => _policies = value;
+ }
+
+ public IdpGroupMappingArgs()
+ {
+ }
+ public static new IdpGroupMappingArgs Empty => new IdpGroupMappingArgs();
+ }
+
+ public sealed class IdpGroupMappingState : global::Pulumi.ResourceArgs
+ {
+ ///
+ /// Name of the user group - should be unique in one account
+ ///
+ [Input("name")]
+ public Input? Name { get; set; }
+
+ [Input("policies")]
+ private InputList? _policies;
+ public InputList Policies
+ {
+ get => _policies ?? (_policies = new InputList());
+ set => _policies = value;
+ }
+
+ public IdpGroupMappingState()
+ {
+ }
+ public static new IdpGroupMappingState Empty => new IdpGroupMappingState();
+ }
+}
diff --git a/sdk/dotnet/Inputs/GetContextsLabel.cs b/sdk/dotnet/Inputs/GetContextsLabel.cs
new file mode 100644
index 0000000..de046f7
--- /dev/null
+++ b/sdk/dotnet/Inputs/GetContextsLabel.cs
@@ -0,0 +1,28 @@
+// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.Spacelift.Inputs
+{
+
+ public sealed class GetContextsLabelArgs : global::Pulumi.InvokeArgs
+ {
+ [Input("anyOfs", required: true)]
+ private List? _anyOfs;
+ public List AnyOfs
+ {
+ get => _anyOfs ?? (_anyOfs = new List());
+ set => _anyOfs = value;
+ }
+
+ public GetContextsLabelArgs()
+ {
+ }
+ public static new GetContextsLabelArgs Empty => new GetContextsLabelArgs();
+ }
+}
diff --git a/sdk/dotnet/Inputs/GetContextsLabelArgs.cs b/sdk/dotnet/Inputs/GetContextsLabelArgs.cs
new file mode 100644
index 0000000..652d255
--- /dev/null
+++ b/sdk/dotnet/Inputs/GetContextsLabelArgs.cs
@@ -0,0 +1,28 @@
+// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.Spacelift.Inputs
+{
+
+ public sealed class GetContextsLabelInputArgs : global::Pulumi.ResourceArgs
+ {
+ [Input("anyOfs", required: true)]
+ private InputList? _anyOfs;
+ public InputList AnyOfs
+ {
+ get => _anyOfs ?? (_anyOfs = new InputList());
+ set => _anyOfs = value;
+ }
+
+ public GetContextsLabelInputArgs()
+ {
+ }
+ public static new GetContextsLabelInputArgs Empty => new GetContextsLabelInputArgs();
+ }
+}
diff --git a/sdk/dotnet/Inputs/GetStacksAdministrative.cs b/sdk/dotnet/Inputs/GetStacksAdministrative.cs
new file mode 100644
index 0000000..87c2f72
--- /dev/null
+++ b/sdk/dotnet/Inputs/GetStacksAdministrative.cs
@@ -0,0 +1,23 @@
+// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.Spacelift.Inputs
+{
+
+ public sealed class GetStacksAdministrativeArgs : global::Pulumi.InvokeArgs
+ {
+ [Input("equals")]
+ public bool? Equals { get; set; }
+
+ public GetStacksAdministrativeArgs()
+ {
+ }
+ public static new GetStacksAdministrativeArgs Empty => new GetStacksAdministrativeArgs();
+ }
+}
diff --git a/sdk/dotnet/Inputs/GetStacksAdministrativeArgs.cs b/sdk/dotnet/Inputs/GetStacksAdministrativeArgs.cs
new file mode 100644
index 0000000..e202584
--- /dev/null
+++ b/sdk/dotnet/Inputs/GetStacksAdministrativeArgs.cs
@@ -0,0 +1,23 @@
+// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.Spacelift.Inputs
+{
+
+ public sealed class GetStacksAdministrativeInputArgs : global::Pulumi.ResourceArgs
+ {
+ [Input("equals")]
+ public Input? Equals { get; set; }
+
+ public GetStacksAdministrativeInputArgs()
+ {
+ }
+ public static new GetStacksAdministrativeInputArgs Empty => new GetStacksAdministrativeInputArgs();
+ }
+}
diff --git a/sdk/dotnet/Inputs/GetStacksBranch.cs b/sdk/dotnet/Inputs/GetStacksBranch.cs
new file mode 100644
index 0000000..2139859
--- /dev/null
+++ b/sdk/dotnet/Inputs/GetStacksBranch.cs
@@ -0,0 +1,28 @@
+// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.Spacelift.Inputs
+{
+
+ public sealed class GetStacksBranchArgs : global::Pulumi.InvokeArgs
+ {
+ [Input("anyOfs", required: true)]
+ private List? _anyOfs;
+ public List AnyOfs
+ {
+ get => _anyOfs ?? (_anyOfs = new List());
+ set => _anyOfs = value;
+ }
+
+ public GetStacksBranchArgs()
+ {
+ }
+ public static new GetStacksBranchArgs Empty => new GetStacksBranchArgs();
+ }
+}
diff --git a/sdk/dotnet/Inputs/GetStacksBranchArgs.cs b/sdk/dotnet/Inputs/GetStacksBranchArgs.cs
new file mode 100644
index 0000000..27813d8
--- /dev/null
+++ b/sdk/dotnet/Inputs/GetStacksBranchArgs.cs
@@ -0,0 +1,28 @@
+// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.Spacelift.Inputs
+{
+
+ public sealed class GetStacksBranchInputArgs : global::Pulumi.ResourceArgs
+ {
+ [Input("anyOfs", required: true)]
+ private InputList? _anyOfs;
+ public InputList AnyOfs
+ {
+ get => _anyOfs ?? (_anyOfs = new InputList());
+ set => _anyOfs = value;
+ }
+
+ public GetStacksBranchInputArgs()
+ {
+ }
+ public static new GetStacksBranchInputArgs Empty => new GetStacksBranchInputArgs();
+ }
+}
diff --git a/sdk/dotnet/Inputs/GetStacksCommit.cs b/sdk/dotnet/Inputs/GetStacksCommit.cs
new file mode 100644
index 0000000..9a76cfb
--- /dev/null
+++ b/sdk/dotnet/Inputs/GetStacksCommit.cs
@@ -0,0 +1,28 @@
+// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.Spacelift.Inputs
+{
+
+ public sealed class GetStacksCommitArgs : global::Pulumi.InvokeArgs
+ {
+ [Input("anyOfs", required: true)]
+ private List? _anyOfs;
+ public List AnyOfs
+ {
+ get => _anyOfs ?? (_anyOfs = new List());
+ set => _anyOfs = value;
+ }
+
+ public GetStacksCommitArgs()
+ {
+ }
+ public static new GetStacksCommitArgs Empty => new GetStacksCommitArgs();
+ }
+}
diff --git a/sdk/dotnet/Inputs/GetStacksCommitArgs.cs b/sdk/dotnet/Inputs/GetStacksCommitArgs.cs
new file mode 100644
index 0000000..6e18223
--- /dev/null
+++ b/sdk/dotnet/Inputs/GetStacksCommitArgs.cs
@@ -0,0 +1,28 @@
+// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.Spacelift.Inputs
+{
+
+ public sealed class GetStacksCommitInputArgs : global::Pulumi.ResourceArgs
+ {
+ [Input("anyOfs", required: true)]
+ private InputList? _anyOfs;
+ public InputList AnyOfs
+ {
+ get => _anyOfs ?? (_anyOfs = new InputList());
+ set => _anyOfs = value;
+ }
+
+ public GetStacksCommitInputArgs()
+ {
+ }
+ public static new GetStacksCommitInputArgs Empty => new GetStacksCommitInputArgs();
+ }
+}
diff --git a/sdk/dotnet/Inputs/GetStacksLabel.cs b/sdk/dotnet/Inputs/GetStacksLabel.cs
new file mode 100644
index 0000000..5d5f9c6
--- /dev/null
+++ b/sdk/dotnet/Inputs/GetStacksLabel.cs
@@ -0,0 +1,28 @@
+// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.Spacelift.Inputs
+{
+
+ public sealed class GetStacksLabelArgs : global::Pulumi.InvokeArgs
+ {
+ [Input("anyOfs", required: true)]
+ private List? _anyOfs;
+ public List AnyOfs
+ {
+ get => _anyOfs ?? (_anyOfs = new List());
+ set => _anyOfs = value;
+ }
+
+ public GetStacksLabelArgs()
+ {
+ }
+ public static new GetStacksLabelArgs Empty => new GetStacksLabelArgs();
+ }
+}
diff --git a/sdk/dotnet/Inputs/GetStacksLabelArgs.cs b/sdk/dotnet/Inputs/GetStacksLabelArgs.cs
new file mode 100644
index 0000000..766a5dd
--- /dev/null
+++ b/sdk/dotnet/Inputs/GetStacksLabelArgs.cs
@@ -0,0 +1,28 @@
+// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.Spacelift.Inputs
+{
+
+ public sealed class GetStacksLabelInputArgs : global::Pulumi.ResourceArgs
+ {
+ [Input("anyOfs", required: true)]
+ private InputList? _anyOfs;
+ public InputList AnyOfs
+ {
+ get => _anyOfs ?? (_anyOfs = new InputList());
+ set => _anyOfs = value;
+ }
+
+ public GetStacksLabelInputArgs()
+ {
+ }
+ public static new GetStacksLabelInputArgs Empty => new GetStacksLabelInputArgs();
+ }
+}
diff --git a/sdk/dotnet/Inputs/GetStacksLocked.cs b/sdk/dotnet/Inputs/GetStacksLocked.cs
new file mode 100644
index 0000000..b78b482
--- /dev/null
+++ b/sdk/dotnet/Inputs/GetStacksLocked.cs
@@ -0,0 +1,23 @@
+// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.Spacelift.Inputs
+{
+
+ public sealed class GetStacksLockedArgs : global::Pulumi.InvokeArgs
+ {
+ [Input("equals")]
+ public bool? Equals { get; set; }
+
+ public GetStacksLockedArgs()
+ {
+ }
+ public static new GetStacksLockedArgs Empty => new GetStacksLockedArgs();
+ }
+}
diff --git a/sdk/dotnet/Inputs/GetStacksLockedArgs.cs b/sdk/dotnet/Inputs/GetStacksLockedArgs.cs
new file mode 100644
index 0000000..cc3d4a0
--- /dev/null
+++ b/sdk/dotnet/Inputs/GetStacksLockedArgs.cs
@@ -0,0 +1,23 @@
+// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.Spacelift.Inputs
+{
+
+ public sealed class GetStacksLockedInputArgs : global::Pulumi.ResourceArgs
+ {
+ [Input("equals")]
+ public Input? Equals { get; set; }
+
+ public GetStacksLockedInputArgs()
+ {
+ }
+ public static new GetStacksLockedInputArgs Empty => new GetStacksLockedInputArgs();
+ }
+}
diff --git a/sdk/dotnet/Inputs/GetStacksName.cs b/sdk/dotnet/Inputs/GetStacksName.cs
new file mode 100644
index 0000000..b09b575
--- /dev/null
+++ b/sdk/dotnet/Inputs/GetStacksName.cs
@@ -0,0 +1,28 @@
+// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.Spacelift.Inputs
+{
+
+ public sealed class GetStacksNameArgs : global::Pulumi.InvokeArgs
+ {
+ [Input("anyOfs", required: true)]
+ private List? _anyOfs;
+ public List AnyOfs
+ {
+ get => _anyOfs ?? (_anyOfs = new List());
+ set => _anyOfs = value;
+ }
+
+ public GetStacksNameArgs()
+ {
+ }
+ public static new GetStacksNameArgs Empty => new GetStacksNameArgs();
+ }
+}
diff --git a/sdk/dotnet/Inputs/GetStacksNameArgs.cs b/sdk/dotnet/Inputs/GetStacksNameArgs.cs
new file mode 100644
index 0000000..4ab69dd
--- /dev/null
+++ b/sdk/dotnet/Inputs/GetStacksNameArgs.cs
@@ -0,0 +1,28 @@
+// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.Spacelift.Inputs
+{
+
+ public sealed class GetStacksNameInputArgs : global::Pulumi.ResourceArgs
+ {
+ [Input("anyOfs", required: true)]
+ private InputList? _anyOfs;
+ public InputList AnyOfs
+ {
+ get => _anyOfs ?? (_anyOfs = new InputList());
+ set => _anyOfs = value;
+ }
+
+ public GetStacksNameInputArgs()
+ {
+ }
+ public static new GetStacksNameInputArgs Empty => new GetStacksNameInputArgs();
+ }
+}
diff --git a/sdk/dotnet/Inputs/GetStacksProjectRoot.cs b/sdk/dotnet/Inputs/GetStacksProjectRoot.cs
new file mode 100644
index 0000000..181c777
--- /dev/null
+++ b/sdk/dotnet/Inputs/GetStacksProjectRoot.cs
@@ -0,0 +1,28 @@
+// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.Spacelift.Inputs
+{
+
+ public sealed class GetStacksProjectRootArgs : global::Pulumi.InvokeArgs
+ {
+ [Input("anyOfs", required: true)]
+ private List? _anyOfs;
+ public List AnyOfs
+ {
+ get => _anyOfs ?? (_anyOfs = new List());
+ set => _anyOfs = value;
+ }
+
+ public GetStacksProjectRootArgs()
+ {
+ }
+ public static new GetStacksProjectRootArgs Empty => new GetStacksProjectRootArgs();
+ }
+}
diff --git a/sdk/dotnet/Inputs/GetStacksProjectRootArgs.cs b/sdk/dotnet/Inputs/GetStacksProjectRootArgs.cs
new file mode 100644
index 0000000..43ff6dd
--- /dev/null
+++ b/sdk/dotnet/Inputs/GetStacksProjectRootArgs.cs
@@ -0,0 +1,28 @@
+// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.Spacelift.Inputs
+{
+
+ public sealed class GetStacksProjectRootInputArgs : global::Pulumi.ResourceArgs
+ {
+ [Input("anyOfs", required: true)]
+ private InputList? _anyOfs;
+ public InputList AnyOfs
+ {
+ get => _anyOfs ?? (_anyOfs = new InputList());
+ set => _anyOfs = value;
+ }
+
+ public GetStacksProjectRootInputArgs()
+ {
+ }
+ public static new GetStacksProjectRootInputArgs Empty => new GetStacksProjectRootInputArgs();
+ }
+}
diff --git a/sdk/dotnet/Inputs/GetStacksRepository.cs b/sdk/dotnet/Inputs/GetStacksRepository.cs
new file mode 100644
index 0000000..f56cfef
--- /dev/null
+++ b/sdk/dotnet/Inputs/GetStacksRepository.cs
@@ -0,0 +1,28 @@
+// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.Spacelift.Inputs
+{
+
+ public sealed class GetStacksRepositoryArgs : global::Pulumi.InvokeArgs
+ {
+ [Input("anyOfs", required: true)]
+ private List? _anyOfs;
+ public List AnyOfs
+ {
+ get => _anyOfs ?? (_anyOfs = new List());
+ set => _anyOfs = value;
+ }
+
+ public GetStacksRepositoryArgs()
+ {
+ }
+ public static new GetStacksRepositoryArgs Empty => new GetStacksRepositoryArgs();
+ }
+}
diff --git a/sdk/dotnet/Inputs/GetStacksRepositoryArgs.cs b/sdk/dotnet/Inputs/GetStacksRepositoryArgs.cs
new file mode 100644
index 0000000..7efc56a
--- /dev/null
+++ b/sdk/dotnet/Inputs/GetStacksRepositoryArgs.cs
@@ -0,0 +1,28 @@
+// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.Spacelift.Inputs
+{
+
+ public sealed class GetStacksRepositoryInputArgs : global::Pulumi.ResourceArgs
+ {
+ [Input("anyOfs", required: true)]
+ private InputList? _anyOfs;
+ public InputList AnyOfs
+ {
+ get => _anyOfs ?? (_anyOfs = new InputList());
+ set => _anyOfs = value;
+ }
+
+ public GetStacksRepositoryInputArgs()
+ {
+ }
+ public static new GetStacksRepositoryInputArgs Empty => new GetStacksRepositoryInputArgs();
+ }
+}
diff --git a/sdk/dotnet/Inputs/GetStacksState.cs b/sdk/dotnet/Inputs/GetStacksState.cs
new file mode 100644
index 0000000..7e2392a
--- /dev/null
+++ b/sdk/dotnet/Inputs/GetStacksState.cs
@@ -0,0 +1,28 @@
+// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.Spacelift.Inputs
+{
+
+ public sealed class GetStacksStateArgs : global::Pulumi.InvokeArgs
+ {
+ [Input("anyOfs", required: true)]
+ private List? _anyOfs;
+ public List AnyOfs
+ {
+ get => _anyOfs ?? (_anyOfs = new List());
+ set => _anyOfs = value;
+ }
+
+ public GetStacksStateArgs()
+ {
+ }
+ public static new GetStacksStateArgs Empty => new GetStacksStateArgs();
+ }
+}
diff --git a/sdk/dotnet/Inputs/GetStacksStateArgs.cs b/sdk/dotnet/Inputs/GetStacksStateArgs.cs
new file mode 100644
index 0000000..123296b
--- /dev/null
+++ b/sdk/dotnet/Inputs/GetStacksStateArgs.cs
@@ -0,0 +1,28 @@
+// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.Spacelift.Inputs
+{
+
+ public sealed class GetStacksStateInputArgs : global::Pulumi.ResourceArgs
+ {
+ [Input("anyOfs", required: true)]
+ private InputList? _anyOfs;
+ public InputList AnyOfs
+ {
+ get => _anyOfs ?? (_anyOfs = new InputList());
+ set => _anyOfs = value;
+ }
+
+ public GetStacksStateInputArgs()
+ {
+ }
+ public static new GetStacksStateInputArgs Empty => new GetStacksStateInputArgs();
+ }
+}
diff --git a/sdk/dotnet/Inputs/GetStacksVendor.cs b/sdk/dotnet/Inputs/GetStacksVendor.cs
new file mode 100644
index 0000000..4cdae6e
--- /dev/null
+++ b/sdk/dotnet/Inputs/GetStacksVendor.cs
@@ -0,0 +1,28 @@
+// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.Spacelift.Inputs
+{
+
+ public sealed class GetStacksVendorArgs : global::Pulumi.InvokeArgs
+ {
+ [Input("anyOfs", required: true)]
+ private List? _anyOfs;
+ public List AnyOfs
+ {
+ get => _anyOfs ?? (_anyOfs = new List());
+ set => _anyOfs = value;
+ }
+
+ public GetStacksVendorArgs()
+ {
+ }
+ public static new GetStacksVendorArgs Empty => new GetStacksVendorArgs();
+ }
+}
diff --git a/sdk/dotnet/Inputs/GetStacksVendorArgs.cs b/sdk/dotnet/Inputs/GetStacksVendorArgs.cs
new file mode 100644
index 0000000..e24105c
--- /dev/null
+++ b/sdk/dotnet/Inputs/GetStacksVendorArgs.cs
@@ -0,0 +1,28 @@
+// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.Spacelift.Inputs
+{
+
+ public sealed class GetStacksVendorInputArgs : global::Pulumi.ResourceArgs
+ {
+ [Input("anyOfs", required: true)]
+ private InputList? _anyOfs;
+ public InputList AnyOfs
+ {
+ get => _anyOfs ?? (_anyOfs = new InputList());
+ set => _anyOfs = value;
+ }
+
+ public GetStacksVendorInputArgs()
+ {
+ }
+ public static new GetStacksVendorInputArgs Empty => new GetStacksVendorInputArgs();
+ }
+}
diff --git a/sdk/dotnet/Inputs/GetStacksWorkerPool.cs b/sdk/dotnet/Inputs/GetStacksWorkerPool.cs
new file mode 100644
index 0000000..f9411e3
--- /dev/null
+++ b/sdk/dotnet/Inputs/GetStacksWorkerPool.cs
@@ -0,0 +1,28 @@
+// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.Spacelift.Inputs
+{
+
+ public sealed class GetStacksWorkerPoolArgs : global::Pulumi.InvokeArgs
+ {
+ [Input("anyOfs", required: true)]
+ private List? _anyOfs;
+ public List AnyOfs
+ {
+ get => _anyOfs ?? (_anyOfs = new List());
+ set => _anyOfs = value;
+ }
+
+ public GetStacksWorkerPoolArgs()
+ {
+ }
+ public static new GetStacksWorkerPoolArgs Empty => new GetStacksWorkerPoolArgs();
+ }
+}
diff --git a/sdk/dotnet/Inputs/GetStacksWorkerPoolArgs.cs b/sdk/dotnet/Inputs/GetStacksWorkerPoolArgs.cs
new file mode 100644
index 0000000..e9aa2a1
--- /dev/null
+++ b/sdk/dotnet/Inputs/GetStacksWorkerPoolArgs.cs
@@ -0,0 +1,28 @@
+// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.Spacelift.Inputs
+{
+
+ public sealed class GetStacksWorkerPoolInputArgs : global::Pulumi.ResourceArgs
+ {
+ [Input("anyOfs", required: true)]
+ private InputList? _anyOfs;
+ public InputList AnyOfs
+ {
+ get => _anyOfs ?? (_anyOfs = new InputList());
+ set => _anyOfs = value;
+ }
+
+ public GetStacksWorkerPoolInputArgs()
+ {
+ }
+ public static new GetStacksWorkerPoolInputArgs Empty => new GetStacksWorkerPoolInputArgs();
+ }
+}
diff --git a/sdk/dotnet/Inputs/IdpGroupMappingPolicyArgs.cs b/sdk/dotnet/Inputs/IdpGroupMappingPolicyArgs.cs
new file mode 100644
index 0000000..226c00d
--- /dev/null
+++ b/sdk/dotnet/Inputs/IdpGroupMappingPolicyArgs.cs
@@ -0,0 +1,32 @@
+// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.Spacelift.Inputs
+{
+
+ public sealed class IdpGroupMappingPolicyArgs : global::Pulumi.ResourceArgs
+ {
+ ///
+ /// Type of access to the space. Possible values are: READ, WRITE, ADMIN
+ ///
+ [Input("role", required: true)]
+ public Input Role { get; set; } = null!;
+
+ ///
+ /// ID (slug) of the space the user group has access to
+ ///
+ [Input("spaceId", required: true)]
+ public Input SpaceId { get; set; } = null!;
+
+ public IdpGroupMappingPolicyArgs()
+ {
+ }
+ public static new IdpGroupMappingPolicyArgs Empty => new IdpGroupMappingPolicyArgs();
+ }
+}
diff --git a/sdk/dotnet/Inputs/IdpGroupMappingPolicyGetArgs.cs b/sdk/dotnet/Inputs/IdpGroupMappingPolicyGetArgs.cs
new file mode 100644
index 0000000..ea60818
--- /dev/null
+++ b/sdk/dotnet/Inputs/IdpGroupMappingPolicyGetArgs.cs
@@ -0,0 +1,32 @@
+// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.Spacelift.Inputs
+{
+
+ public sealed class IdpGroupMappingPolicyGetArgs : global::Pulumi.ResourceArgs
+ {
+ ///
+ /// Type of access to the space. Possible values are: READ, WRITE, ADMIN
+ ///
+ [Input("role", required: true)]
+ public Input Role { get; set; } = null!;
+
+ ///
+ /// ID (slug) of the space the user group has access to
+ ///
+ [Input("spaceId", required: true)]
+ public Input SpaceId { get; set; } = null!;
+
+ public IdpGroupMappingPolicyGetArgs()
+ {
+ }
+ public static new IdpGroupMappingPolicyGetArgs Empty => new IdpGroupMappingPolicyGetArgs();
+ }
+}
diff --git a/sdk/dotnet/Inputs/StackKubernetesArgs.cs b/sdk/dotnet/Inputs/StackKubernetesArgs.cs
index 00c1d57..c40c7f3 100644
--- a/sdk/dotnet/Inputs/StackKubernetesArgs.cs
+++ b/sdk/dotnet/Inputs/StackKubernetesArgs.cs
@@ -12,6 +12,12 @@ namespace Pulumi.Spacelift.Inputs
public sealed class StackKubernetesArgs : global::Pulumi.ResourceArgs
{
+ ///
+ /// Kubectl version.
+ ///
+ [Input("kubectlVersion")]
+ public Input? KubectlVersion { get; set; }
+
///
/// Namespace of the Kubernetes cluster to run commands on. Leave empty for multi-namespace Stacks.
///
diff --git a/sdk/dotnet/Inputs/StackKubernetesGetArgs.cs b/sdk/dotnet/Inputs/StackKubernetesGetArgs.cs
index 4cb425d..cd79dbf 100644
--- a/sdk/dotnet/Inputs/StackKubernetesGetArgs.cs
+++ b/sdk/dotnet/Inputs/StackKubernetesGetArgs.cs
@@ -12,6 +12,12 @@ namespace Pulumi.Spacelift.Inputs
public sealed class StackKubernetesGetArgs : global::Pulumi.ResourceArgs
{
+ ///
+ /// Kubectl version.
+ ///
+ [Input("kubectlVersion")]
+ public Input? KubectlVersion { get; set; }
+
///
/// Namespace of the Kubernetes cluster to run commands on. Leave empty for multi-namespace Stacks.
///
diff --git a/sdk/dotnet/Inputs/StackRawGitArgs.cs b/sdk/dotnet/Inputs/StackRawGitArgs.cs
new file mode 100644
index 0000000..80fd8ba
--- /dev/null
+++ b/sdk/dotnet/Inputs/StackRawGitArgs.cs
@@ -0,0 +1,32 @@
+// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.Spacelift.Inputs
+{
+
+ public sealed class StackRawGitArgs : global::Pulumi.ResourceArgs
+ {
+ ///
+ /// User-friendly namespace for the repository, this is for cosmetic purposes only
+ ///
+ [Input("namespace", required: true)]
+ public Input Namespace { get; set; } = null!;
+
+ ///
+ /// HTTPS URL of the Git repository
+ ///
+ [Input("url", required: true)]
+ public Input Url { get; set; } = null!;
+
+ public StackRawGitArgs()
+ {
+ }
+ public static new StackRawGitArgs Empty => new StackRawGitArgs();
+ }
+}
diff --git a/sdk/dotnet/Inputs/StackRawGitGetArgs.cs b/sdk/dotnet/Inputs/StackRawGitGetArgs.cs
new file mode 100644
index 0000000..5d0c7fb
--- /dev/null
+++ b/sdk/dotnet/Inputs/StackRawGitGetArgs.cs
@@ -0,0 +1,32 @@
+// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.Spacelift.Inputs
+{
+
+ public sealed class StackRawGitGetArgs : global::Pulumi.ResourceArgs
+ {
+ ///
+ /// User-friendly namespace for the repository, this is for cosmetic purposes only
+ ///
+ [Input("namespace", required: true)]
+ public Input Namespace { get; set; } = null!;
+
+ ///
+ /// HTTPS URL of the Git repository
+ ///
+ [Input("url", required: true)]
+ public Input Url { get; set; } = null!;
+
+ public StackRawGitGetArgs()
+ {
+ }
+ public static new StackRawGitGetArgs Empty => new StackRawGitGetArgs();
+ }
+}
diff --git a/sdk/dotnet/Inputs/StackTerragruntArgs.cs b/sdk/dotnet/Inputs/StackTerragruntArgs.cs
new file mode 100644
index 0000000..009eb1f
--- /dev/null
+++ b/sdk/dotnet/Inputs/StackTerragruntArgs.cs
@@ -0,0 +1,38 @@
+// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.Spacelift.Inputs
+{
+
+ public sealed class StackTerragruntArgs : global::Pulumi.ResourceArgs
+ {
+ [Input("terraformVersion")]
+ public Input? TerraformVersion { get; set; }
+
+ ///
+ /// Terragrunt version.
+ ///
+ [Input("terragruntVersion")]
+ public Input? TerragruntVersion { get; set; }
+
+ ///
+ /// Whether to use `terragrunt run-all` instead of `terragrunt`.
+ ///
+ [Input("useRunAll")]
+ public Input? UseRunAll { get; set; }
+
+ [Input("useSmartSanitization")]
+ public Input? UseSmartSanitization { get; set; }
+
+ public StackTerragruntArgs()
+ {
+ }
+ public static new StackTerragruntArgs Empty => new StackTerragruntArgs();
+ }
+}
diff --git a/sdk/dotnet/Inputs/StackTerragruntGetArgs.cs b/sdk/dotnet/Inputs/StackTerragruntGetArgs.cs
new file mode 100644
index 0000000..3c38be7
--- /dev/null
+++ b/sdk/dotnet/Inputs/StackTerragruntGetArgs.cs
@@ -0,0 +1,38 @@
+// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.Spacelift.Inputs
+{
+
+ public sealed class StackTerragruntGetArgs : global::Pulumi.ResourceArgs
+ {
+ [Input("terraformVersion")]
+ public Input? TerraformVersion { get; set; }
+
+ ///
+ /// Terragrunt version.
+ ///
+ [Input("terragruntVersion")]
+ public Input? TerragruntVersion { get; set; }
+
+ ///
+ /// Whether to use `terragrunt run-all` instead of `terragrunt`.
+ ///
+ [Input("useRunAll")]
+ public Input? UseRunAll { get; set; }
+
+ [Input("useSmartSanitization")]
+ public Input? UseSmartSanitization { get; set; }
+
+ public StackTerragruntGetArgs()
+ {
+ }
+ public static new StackTerragruntGetArgs Empty => new StackTerragruntGetArgs();
+ }
+}
diff --git a/sdk/dotnet/Inputs/UserPolicyArgs.cs b/sdk/dotnet/Inputs/UserPolicyArgs.cs
new file mode 100644
index 0000000..fdc3832
--- /dev/null
+++ b/sdk/dotnet/Inputs/UserPolicyArgs.cs
@@ -0,0 +1,32 @@
+// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.Spacelift.Inputs
+{
+
+ public sealed class UserPolicyArgs : global::Pulumi.ResourceArgs
+ {
+ ///
+ /// Type of access to the space. Possible values are: READ, WRITE, ADMIN
+ ///
+ [Input("role", required: true)]
+ public Input Role { get; set; } = null!;
+
+ ///
+ /// ID (slug) of the space the user has access to
+ ///
+ [Input("spaceId", required: true)]
+ public Input SpaceId { get; set; } = null!;
+
+ public UserPolicyArgs()
+ {
+ }
+ public static new UserPolicyArgs Empty => new UserPolicyArgs();
+ }
+}
diff --git a/sdk/dotnet/Inputs/UserPolicyGetArgs.cs b/sdk/dotnet/Inputs/UserPolicyGetArgs.cs
new file mode 100644
index 0000000..ff1e1b0
--- /dev/null
+++ b/sdk/dotnet/Inputs/UserPolicyGetArgs.cs
@@ -0,0 +1,32 @@
+// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.Spacelift.Inputs
+{
+
+ public sealed class UserPolicyGetArgs : global::Pulumi.ResourceArgs
+ {
+ ///
+ /// Type of access to the space. Possible values are: READ, WRITE, ADMIN
+ ///
+ [Input("role", required: true)]
+ public Input Role { get; set; } = null!;
+
+ ///
+ /// ID (slug) of the space the user has access to
+ ///
+ [Input("spaceId", required: true)]
+ public Input SpaceId { get; set; } = null!;
+
+ public UserPolicyGetArgs()
+ {
+ }
+ public static new UserPolicyGetArgs Empty => new UserPolicyGetArgs();
+ }
+}
diff --git a/sdk/dotnet/Module.cs b/sdk/dotnet/Module.cs
index 930a896..93879e6 100644
--- a/sdk/dotnet/Module.cs
+++ b/sdk/dotnet/Module.cs
@@ -14,6 +14,7 @@ namespace Pulumi.Spacelift
///
/// ```csharp
/// using System.Collections.Generic;
+ /// using System.Linq;
/// using Pulumi;
/// using Spacelift = Pulumi.Spacelift;
///
@@ -93,6 +94,12 @@ public partial class Module : global::Pulumi.CustomResource
[Output("description")]
public Output Description { get; private set; } = null!;
+ ///
+ /// Indicates whether local preview versions can be triggered on this Module. Defaults to `false`.
+ ///
+ [Output("enableLocalPreview")]
+ public Output EnableLocalPreview { get; private set; } = null!;
+
///
/// GitHub Enterprise (self-hosted) VCS settings
///
@@ -155,11 +162,17 @@ public partial class Module : global::Pulumi.CustomResource
public Output TerraformProvider { get; private set; } = null!;
///
- /// ID of the worker pool to use
+ /// ID of the worker pool to use. NOTE: worker*pool*id is required when using a self-hosted instance of Spacelift.
///
[Output("workerPoolId")]
public Output WorkerPoolId { get; private set; } = null!;
+ ///
+ /// Defines the tool that will be used to execute the workflow. This can be one of `OPEN_TOFU`, `TERRAFORM_FOSS` or `CUSTOM`. Defaults to `TERRAFORM_FOSS`.
+ ///
+ [Output("workflowTool")]
+ public Output WorkflowTool { get; private set; } = null!;
+
///
/// Create a Module resource with the given unique name, arguments, and options.
@@ -243,6 +256,12 @@ public sealed class ModuleArgs : global::Pulumi.ResourceArgs
[Input("description")]
public Input? Description { get; set; }
+ ///
+ /// Indicates whether local preview versions can be triggered on this Module. Defaults to `false`.
+ ///
+ [Input("enableLocalPreview")]
+ public Input? EnableLocalPreview { get; set; }
+
///
/// GitHub Enterprise (self-hosted) VCS settings
///
@@ -316,11 +335,17 @@ public InputList SharedAccounts
public Input? TerraformProvider { get; set; }
///
- /// ID of the worker pool to use
+ /// ID of the worker pool to use. NOTE: worker*pool*id is required when using a self-hosted instance of Spacelift.
///
[Input("workerPoolId")]
public Input? WorkerPoolId { get; set; }
+ ///
+ /// Defines the tool that will be used to execute the workflow. This can be one of `OPEN_TOFU`, `TERRAFORM_FOSS` or `CUSTOM`. Defaults to `TERRAFORM_FOSS`.
+ ///
+ [Input("workflowTool")]
+ public Input? WorkflowTool { get; set; }
+
public ModuleArgs()
{
}
@@ -371,6 +396,12 @@ public sealed class ModuleState : global::Pulumi.ResourceArgs
[Input("description")]
public Input? Description { get; set; }
+ ///
+ /// Indicates whether local preview versions can be triggered on this Module. Defaults to `false`.
+ ///
+ [Input("enableLocalPreview")]
+ public Input? EnableLocalPreview { get; set; }
+
///
/// GitHub Enterprise (self-hosted) VCS settings
///
@@ -444,11 +475,17 @@ public InputList SharedAccounts
public Input? TerraformProvider { get; set; }
///
- /// ID of the worker pool to use
+ /// ID of the worker pool to use. NOTE: worker*pool*id is required when using a self-hosted instance of Spacelift.
///
[Input("workerPoolId")]
public Input? WorkerPoolId { get; set; }
+ ///
+ /// Defines the tool that will be used to execute the workflow. This can be one of `OPEN_TOFU`, `TERRAFORM_FOSS` or `CUSTOM`. Defaults to `TERRAFORM_FOSS`.
+ ///
+ [Input("workflowTool")]
+ public Input? WorkflowTool { get; set; }
+
public ModuleState()
{
}
diff --git a/sdk/dotnet/Mountedfile.cs b/sdk/dotnet/Mountedfile.cs
index d57e3e8..7f67584 100644
--- a/sdk/dotnet/Mountedfile.cs
+++ b/sdk/dotnet/Mountedfile.cs
@@ -18,11 +18,12 @@ namespace Pulumi.Spacelift
/// using System;
/// using System.Collections.Generic;
/// using System.IO;
+ /// using System.Linq;
/// using Pulumi;
/// using Spacelift = Pulumi.Spacelift;
///
/// private static string ReadFileBase64(string path) {
- /// return Convert.ToBase64String(Encoding.UTF8.GetBytes(File.ReadAllText(path)))
+ /// return Convert.ToBase64String(System.Text.Encoding.UTF8.GetBytes(File.ReadAllText(path)));
/// }
///
/// return await Deployment.RunAsync(() =>
@@ -137,6 +138,10 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions?
{
Version = Utilities.Version,
PluginDownloadURL = "https://downloads.spacelift.io/pulumi-plugins",
+ AdditionalSecretOutputs =
+ {
+ "content",
+ },
};
var merged = CustomResourceOptions.Merge(defaultOptions, options);
// Override the ID if one was specified for consistency with other language SDKs.
@@ -160,11 +165,21 @@ public static Mountedfile Get(string name, Input id, MountedfileState? s
public sealed class MountedfileArgs : global::Pulumi.ResourceArgs
{
+ [Input("content", required: true)]
+ private Input? _content;
+
///
/// Content of the mounted file encoded using Base-64
///
- [Input("content", required: true)]
- public Input Content { get; set; } = null!;
+ public Input? Content
+ {
+ get => _content;
+ set
+ {
+ var emptySecret = Output.CreateSecret(0);
+ _content = Output.Tuple