From ce059f427024ff19adc7a86f6d2a949880b0fde3 Mon Sep 17 00:00:00 2001 From: James Humphries Date: Fri, 23 Feb 2024 16:43:11 +0000 Subject: [PATCH 1/4] Started work to add goreleaser Signed-off-by: James Humphries --- .goreleaser.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .goreleaser.yml diff --git a/.goreleaser.yml b/.goreleaser.yml new file mode 100644 index 0000000..f78cd1b --- /dev/null +++ b/.goreleaser.yml @@ -0,0 +1,24 @@ +archives: + - id: archive + name_template: "{{ .Binary }}-{{ .Tag }}-{{ .Os }}-{{ .Arch }}" +before: + hooks: + - make tfgen +builds: + - binary: pulumi-resource-spacelift + dir: provider + goarch: + - amd64 + - arm64 + goos: + - darwin + - windows + - linux + ignore: [] + ldflags: + - -X github.com/pulumi/pulumi-spacelift/provider/pkg/version.Version={{.Tag}} + main: ./cmd/pulumi-resource-spacelift/ +release: + disable: false +snapshot: + name_template: "{{ .Tag }}-SNAPSHOT" \ No newline at end of file From 6164b29b6112707f66fac83763fc30f023825524 Mon Sep 17 00:00:00 2001 From: James Humphries Date: Thu, 29 Feb 2024 10:35:22 +0000 Subject: [PATCH 2/4] Finished moving to goreleaser Signed-off-by: James Humphries --- .github/workflows/release.yml | 26 ++++++++------------------ .goreleaser.yml | 2 +- 2 files changed, 9 insertions(+), 19 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 47d1511..d84a0ae 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -6,7 +6,6 @@ on: - 'v*' workflow_dispatch: # This is needed to trigger the workflow manually - jobs: release: name: 🚀 Release new pulumi provider version @@ -42,26 +41,17 @@ jobs: - name: Print pulumictl version run: pulumictl get version - - name: Build provider - run: make provider - env: - PROVIDER_OS: ${{ matrix.provider_os }} - - - name: Create package directory - run: | - mkdir -p package/arm64 package/amd64 - mv bin/pulumi-resource-*amd64* package/amd64/pulumi-resource-spacelift - mv bin/pulumi-resource-*arm64* package/arm64/pulumi-resource-spacelift + - name: Set PreRelease Version + run: echo "GORELEASER_CURRENT_TAG=v$(pulumictl get version --language generic)" >> $GITHUB_ENV - - name: Create package - run: | - cd package/amd64 - tar -zcvf pulumi-resource-spacelift-${{ github.ref_name }}-${{matrix.provider_os}}-amd64.tar.gz pulumi-resource-* - cd ../arm64 - tar -zcvf pulumi-resource-spacelift-${{ github.ref_name }}-${{matrix.provider_os}}-arm64.tar.gz pulumi-resource-* + - name: Run GoReleaser + uses: goreleaser/goreleaser-action@v5 + with: + args: -p 3 release --rm-dist + version: latest - name: Create upload directory - run: mkdir -p upload/pulumi-plugins && mv package/*/*.tar.gz upload/pulumi-plugins/ && ls -la upload/pulumi-plugins/ + run: mkdir -p upload/pulumi-plugins && mv dist/*/*.tar.gz upload/pulumi-plugins/ && ls -la upload/pulumi-plugins/ - name: Configure AWS credentials uses: aws-actions/configure-aws-credentials@v4 diff --git a/.goreleaser.yml b/.goreleaser.yml index f78cd1b..17114c6 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -16,7 +16,7 @@ builds: - linux ignore: [] ldflags: - - -X github.com/pulumi/pulumi-spacelift/provider/pkg/version.Version={{.Tag}} + - -X github.com/spacelift-io/pulumi-spacelift/provider/pkg/version.Version={{.Tag}} main: ./cmd/pulumi-resource-spacelift/ release: disable: false From ba3fc260cac02381ebf9f93064bb8de0988f1093 Mon Sep 17 00:00:00 2001 From: James Humphries Date: Thu, 29 Feb 2024 10:37:46 +0000 Subject: [PATCH 3/4] Removed extraenous matrix Signed-off-by: James Humphries --- .github/workflows/release.yml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d84a0ae..47a8754 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -70,11 +70,4 @@ jobs: run: >- aws cloudfront create-invalidation --distribution-id ${{ secrets.DISTRIBUTION }} - --paths "/*" - - strategy: - matrix: - provider_os: - - darwin - - linux - - windows + --paths "/*" \ No newline at end of file From 79bef46fa9b2f35efe11a6129ebaaf619d9933e1 Mon Sep 17 00:00:00 2001 From: James Humphries Date: Thu, 29 Feb 2024 12:21:42 +0000 Subject: [PATCH 4/4] Updated packages in hope that tfgen stops generating strange stuff Signed-off-by: James Humphries --- .../cmd/pulumi-resource-spacelift/schema.json | 469 ++- provider/go.mod | 156 +- provider/go.sum | 325 +- sdk/dotnet/Mountedfile.cs | 8 +- .../GetAwsIntegrationsIntegrationResult.cs | 21 + .../GetAzureIntegrationsIntegrationResult.cs | 30 + .../Outputs/GetContextsContextResult.cs | 12 + .../Outputs/GetModuleAzureDevopResult.cs | 9 + .../Outputs/GetModuleBitbucketCloudResult.cs | 9 + .../GetModuleBitbucketDatacenterResult.cs | 9 + .../GetModuleGithubEnterpriseResult.cs | 9 + sdk/dotnet/Outputs/GetModuleGitlabResult.cs | 9 + sdk/dotnet/Outputs/GetPoliciesPolicyResult.cs | 12 + sdk/dotnet/Outputs/GetSpacesSpaceResult.cs | 18 + sdk/dotnet/Outputs/GetStackAnsibleResult.cs | 3 + .../Outputs/GetStackAzureDevopResult.cs | 9 + .../Outputs/GetStackBitbucketCloudResult.cs | 9 + .../GetStackBitbucketDatacenterResult.cs | 9 + .../Outputs/GetStackCloudformationResult.cs | 12 + .../Outputs/GetStackGithubEnterpriseResult.cs | 9 + sdk/dotnet/Outputs/GetStackGitlabResult.cs | 9 + sdk/dotnet/Outputs/GetStackKuberneteResult.cs | 6 + sdk/dotnet/Outputs/GetStackPulumiResult.cs | 6 + sdk/dotnet/Outputs/GetStackRawGitResult.cs | 6 + sdk/dotnet/Outputs/GetStackShowcaseResult.cs | 3 + .../Outputs/GetStacksStackAnsibleResult.cs | 3 + .../Outputs/GetStacksStackAzureDevopResult.cs | 9 + .../GetStacksStackBitbucketCloudResult.cs | 9 + ...GetStacksStackBitbucketDatacenterResult.cs | 9 + .../GetStacksStackCloudformationResult.cs | 12 + .../GetStacksStackGithubEnterpriseResult.cs | 9 + .../Outputs/GetStacksStackGitlabResult.cs | 9 + .../Outputs/GetStacksStackKuberneteResult.cs | 6 + .../Outputs/GetStacksStackPulumiResult.cs | 6 + .../Outputs/GetStacksStackRawGitResult.cs | 6 + sdk/dotnet/Outputs/GetStacksStackResult.cs | 123 + .../Outputs/GetStacksStackShowcaseResult.cs | 3 + .../GetVcsAgentPoolsVcsAgentPoolResult.cs | 9 + .../Outputs/GetWorkerPoolsWorkerPoolResult.cs | 15 + sdk/dotnet/WorkerPool.cs | 8 +- sdk/go/spacelift/auditTrailWebhook.go | 37 - sdk/go/spacelift/awsIntegration.go | 37 - sdk/go/spacelift/awsIntegrationAttachment.go | 39 +- sdk/go/spacelift/awsRole.go | 37 - sdk/go/spacelift/azureIntegration.go | 37 - .../spacelift/azureIntegrationAttachment.go | 39 +- sdk/go/spacelift/blueprint.go | 37 - sdk/go/spacelift/context.go | 37 - sdk/go/spacelift/contextAttachment.go | 38 +- sdk/go/spacelift/driftDetection.go | 37 - sdk/go/spacelift/environmentVariable.go | 40 +- sdk/go/spacelift/gcpServiceAccount.go | 37 - sdk/go/spacelift/getAccount.go | 7 - sdk/go/spacelift/getAwsIntegration.go | 7 - .../spacelift/getAwsIntegrationAttachment.go | 7 - .../getAwsIntegrationAttachmentExternalId.go | 7 - sdk/go/spacelift/getAwsIntegrations.go | 7 - sdk/go/spacelift/getAwsRole.go | 7 - sdk/go/spacelift/getAzureDevopsIntegration.go | 7 - sdk/go/spacelift/getAzureIntegration.go | 7 - .../getAzureIntegrationAttachment.go | 7 - sdk/go/spacelift/getAzureIntegrations.go | 7 - .../spacelift/getBitbucketCloudIntegration.go | 7 - .../getBitbucketDatacenterIntegration.go | 7 - sdk/go/spacelift/getContext.go | 7 - sdk/go/spacelift/getContextAttachment.go | 7 - sdk/go/spacelift/getContexts.go | 7 - sdk/go/spacelift/getCurrentSpace.go | 7 - sdk/go/spacelift/getCurrentStack.go | 7 - sdk/go/spacelift/getDriftDetection.go | 7 - sdk/go/spacelift/getEnvironmentVariable.go | 7 - sdk/go/spacelift/getGcpServiceAccount.go | 7 - .../getGithubEnterpriseIntegration.go | 7 - sdk/go/spacelift/getGitlabIntegration.go | 7 - sdk/go/spacelift/getGitlabWebhookEndpoint.go | 7 - sdk/go/spacelift/getIPs.go | 7 - sdk/go/spacelift/getModule.go | 7 - sdk/go/spacelift/getMountedfile.go | 7 - sdk/go/spacelift/getNamedWebhook.go | 7 - sdk/go/spacelift/getPolicies.go | 7 - sdk/go/spacelift/getPolicy.go | 7 - sdk/go/spacelift/getScheduledDeleteStack.go | 7 - sdk/go/spacelift/getScheduledTask.go | 7 - sdk/go/spacelift/getSpace.go | 7 - sdk/go/spacelift/getSpaceByPath.go | 7 - sdk/go/spacelift/getSpaces.go | 7 - sdk/go/spacelift/getStack.go | 7 - sdk/go/spacelift/getStackAwsRole.go | 7 - sdk/go/spacelift/getStackGcpServiceAccount.go | 7 - sdk/go/spacelift/getStacks.go | 7 - sdk/go/spacelift/getVcsAgentPool.go | 7 - sdk/go/spacelift/getVcsAgentPools.go | 7 - sdk/go/spacelift/getWebhook.go | 7 - sdk/go/spacelift/getWorkerPool.go | 7 - sdk/go/spacelift/getWorkerPools.go | 7 - sdk/go/spacelift/idpGroupMapping.go | 37 - sdk/go/spacelift/internal/pulumiUtilities.go | 71 + sdk/go/spacelift/module.go | 39 +- sdk/go/spacelift/mountedfile.go | 44 +- sdk/go/spacelift/namedWebhook.go | 37 - sdk/go/spacelift/namedWebhookSecretHeader.go | 37 - sdk/go/spacelift/policy.go | 37 - sdk/go/spacelift/policyAttachment.go | 37 - sdk/go/spacelift/provider.go | 13 - sdk/go/spacelift/pulumiTypes.go | 2544 +++++---------- sdk/go/spacelift/run.go | 37 - sdk/go/spacelift/scheduledDeleteTask.go | 38 +- sdk/go/spacelift/scheduledTask.go | 40 +- sdk/go/spacelift/securityEmail.go | 37 - sdk/go/spacelift/space.go | 37 - sdk/go/spacelift/stack.go | 46 +- sdk/go/spacelift/stackActivator.go | 37 - sdk/go/spacelift/stackAwsRole.go | 37 - sdk/go/spacelift/stackDependency.go | 37 - sdk/go/spacelift/stackDependencyReference.go | 37 - sdk/go/spacelift/stackDestructor.go | 37 - sdk/go/spacelift/stackGcpServiceAccount.go | 37 - sdk/go/spacelift/terraformProvider.go | 37 - sdk/go/spacelift/user.go | 37 - sdk/go/spacelift/vcsAgentPool.go | 37 - sdk/go/spacelift/version.go | 37 - sdk/go/spacelift/webhook.go | 37 - sdk/go/spacelift/workerPool.go | 41 +- sdk/nodejs/mountedfile.ts | 6 +- sdk/nodejs/policy.ts | 2 +- sdk/nodejs/policyAttachment.ts | 2 +- sdk/nodejs/types/output.ts | 447 +++ sdk/nodejs/utilities.ts | 29 + sdk/nodejs/workerPool.ts | 2 +- sdk/python/pulumi_spacelift/_inputs.py | 661 +--- sdk/python/pulumi_spacelift/_utilities.py | 56 +- .../pulumi_spacelift/audit_trail_webhook.py | 66 +- .../pulumi_spacelift/aws_integration.py | 102 +- .../aws_integration_attachment.py | 84 +- sdk/python/pulumi_spacelift/aws_role.py | 98 +- .../pulumi_spacelift/azure_integration.py | 102 +- .../azure_integration_attachment.py | 96 +- sdk/python/pulumi_spacelift/blueprint.py | 76 +- .../pulumi_spacelift/config/__init__.pyi | 2 +- sdk/python/pulumi_spacelift/config/vars.py | 2 +- sdk/python/pulumi_spacelift/context.py | 192 +- .../pulumi_spacelift/context_attachment.py | 70 +- .../pulumi_spacelift/drift_detection.py | 76 +- .../pulumi_spacelift/environment_variable.py | 92 +- .../pulumi_spacelift/gcp_service_account.py | 68 +- sdk/python/pulumi_spacelift/get_account.py | 2 +- .../pulumi_spacelift/get_aws_integration.py | 2 +- .../get_aws_integration_attachment.py | 2 +- ..._aws_integration_attachment_external_id.py | 2 +- .../pulumi_spacelift/get_aws_integrations.py | 2 +- sdk/python/pulumi_spacelift/get_aws_role.py | 2 +- .../get_azure_devops_integration.py | 2 +- .../pulumi_spacelift/get_azure_integration.py | 2 +- .../get_azure_integration_attachment.py | 2 +- .../get_azure_integrations.py | 2 +- .../get_bitbucket_cloud_integration.py | 2 +- .../get_bitbucket_datacenter_integration.py | 2 +- sdk/python/pulumi_spacelift/get_context.py | 2 +- .../get_context_attachment.py | 2 +- sdk/python/pulumi_spacelift/get_contexts.py | 2 +- .../pulumi_spacelift/get_current_space.py | 2 +- .../pulumi_spacelift/get_current_stack.py | 2 +- .../pulumi_spacelift/get_drift_detection.py | 2 +- .../get_environment_variable.py | 2 +- .../get_gcp_service_account.py | 2 +- .../get_github_enterprise_integration.py | 2 +- .../get_gitlab_integration.py | 2 +- .../get_gitlab_webhook_endpoint.py | 2 +- sdk/python/pulumi_spacelift/get_ips.py | 2 +- sdk/python/pulumi_spacelift/get_module.py | 2 +- .../pulumi_spacelift/get_mountedfile.py | 2 +- .../pulumi_spacelift/get_named_webhook.py | 2 +- sdk/python/pulumi_spacelift/get_policies.py | 2 +- sdk/python/pulumi_spacelift/get_policy.py | 2 +- .../get_scheduled_delete_stack.py | 2 +- .../pulumi_spacelift/get_scheduled_task.py | 2 +- sdk/python/pulumi_spacelift/get_space.py | 2 +- .../pulumi_spacelift/get_space_by_path.py | 2 +- sdk/python/pulumi_spacelift/get_spaces.py | 2 +- sdk/python/pulumi_spacelift/get_stack.py | 2 +- .../pulumi_spacelift/get_stack_aws_role.py | 2 +- .../get_stack_gcp_service_account.py | 2 +- sdk/python/pulumi_spacelift/get_stacks.py | 2 +- .../pulumi_spacelift/get_vcs_agent_pool.py | 2 +- .../pulumi_spacelift/get_vcs_agent_pools.py | 2 +- sdk/python/pulumi_spacelift/get_webhook.py | 2 +- .../pulumi_spacelift/get_worker_pool.py | 2 +- .../pulumi_spacelift/get_worker_pools.py | 2 +- .../pulumi_spacelift/idp_group_mapping.py | 42 +- sdk/python/pulumi_spacelift/module.py | 239 +- sdk/python/pulumi_spacelift/mountedfile.py | 100 +- sdk/python/pulumi_spacelift/named_webhook.py | 82 +- .../named_webhook_secret_header.py | 58 +- sdk/python/pulumi_spacelift/outputs.py | 2736 ++++++----------- sdk/python/pulumi_spacelift/policy.py | 72 +- .../pulumi_spacelift/policy_attachment.py | 62 +- sdk/python/pulumi_spacelift/provider.py | 39 +- sdk/python/pulumi_spacelift/run.py | 66 +- .../pulumi_spacelift/scheduled_delete_task.py | 72 +- sdk/python/pulumi_spacelift/scheduled_task.py | 84 +- sdk/python/pulumi_spacelift/security_email.py | 34 +- sdk/python/pulumi_spacelift/space.py | 72 +- sdk/python/pulumi_spacelift/stack.py | 558 +--- .../pulumi_spacelift/stack_activator.py | 48 +- sdk/python/pulumi_spacelift/stack_aws_role.py | 98 +- .../pulumi_spacelift/stack_dependency.py | 52 +- .../stack_dependency_reference.py | 66 +- .../pulumi_spacelift/stack_destructor.py | 46 +- .../stack_gcp_service_account.py | 68 +- .../pulumi_spacelift/terraform_provider.py | 72 +- sdk/python/pulumi_spacelift/user.py | 58 +- sdk/python/pulumi_spacelift/vcs_agent_pool.py | 44 +- sdk/python/pulumi_spacelift/version.py | 70 +- sdk/python/pulumi_spacelift/webhook.py | 74 +- sdk/python/pulumi_spacelift/worker_pool.py | 78 +- sdk/python/setup.py | 5 +- 216 files changed, 3860 insertions(+), 9397 deletions(-) diff --git a/provider/cmd/pulumi-resource-spacelift/schema.json b/provider/cmd/pulumi-resource-spacelift/schema.json index 0c0d86b..5ee68c6 100644 --- a/provider/cmd/pulumi-resource-spacelift/schema.json +++ b/provider/cmd/pulumi-resource-spacelift/schema.json @@ -547,16 +547,20 @@ "spacelift:index/getAwsIntegrationsIntegration:getAwsIntegrationsIntegration": { "properties": { "durationSeconds": { - "type": "integer" + "type": "integer", + "description": "Duration in seconds for which the assumed role credentials should be valid\n" }, "externalId": { - "type": "string" + "type": "string", + "description": "Custom external ID (works only for private workers).\n" }, "generateCredentialsInWorker": { - "type": "boolean" + "type": "boolean", + "description": "Generate AWS credentials in the private worker\n" }, "integrationId": { - "type": "string" + "type": "string", + "description": "Immutable ID of the integration.\n" }, "labels": { "type": "array", @@ -565,13 +569,16 @@ } }, "name": { - "type": "string" + "type": "string", + "description": "Name of the AWS integration.\n" }, "roleArn": { - "type": "string" + "type": "string", + "description": "ARN of the AWS IAM role to attach\n" }, "spaceId": { - "type": "string" + "type": "string", + "description": "ID (slug) of the space the integration is in\n" } }, "type": "object", @@ -594,37 +601,47 @@ "spacelift:index/getAzureIntegrationsIntegration:getAzureIntegrationsIntegration": { "properties": { "adminConsentProvided": { - "type": "boolean" + "type": "boolean", + "description": "Indicates whether admin consent has been performed for the AAD Application.\n" }, "adminConsentUrl": { - "type": "string" + "type": "string", + "description": "The URL to use to provide admin consent to the application in the customer's tenant\n" }, "applicationId": { - "type": "string" + "type": "string", + "description": "The applicationId of the Azure AD application used by the integration.\n" }, "defaultSubscriptionId": { - "type": "string" + "type": "string", + "description": "The default subscription ID to use, if one isn't specified at the stack/module level\n" }, "displayName": { - "type": "string" + "type": "string", + "description": "The display name for the application in Azure. This is automatically generated when the integration is created, and cannot be changed without deleting and recreating the integration.\n" }, "integrationId": { - "type": "string" + "type": "string", + "description": "Immutable ID of the integration.\n" }, "labels": { "type": "array", "items": { "type": "string" - } + }, + "description": "Labels to set on the integration\n" }, "name": { - "type": "string" + "type": "string", + "description": "The friendly name of the integration.\n" }, "spaceId": { - "type": "string" + "type": "string", + "description": "ID (slug) of the space the integration is in\n" }, "tenantId": { - "type": "string" + "type": "string", + "description": "The Azure AD tenant ID\n" } }, "type": "object", @@ -649,10 +666,12 @@ "spacelift:index/getContextsContext:getContextsContext": { "properties": { "contextId": { - "type": "string" + "type": "string", + "description": "immutable ID (slug) of the context\n" }, "description": { - "type": "string" + "type": "string", + "description": "free-form context description for users\n" }, "labels": { "type": "array", @@ -661,10 +680,12 @@ } }, "name": { - "type": "string" + "type": "string", + "description": "name of the context\n" }, "spaceId": { - "type": "string" + "type": "string", + "description": "ID (slug) of the space the context is in\n" } }, "type": "object", @@ -698,13 +719,16 @@ "spacelift:index/getModuleAzureDevop:getModuleAzureDevop": { "properties": { "id": { - "type": "string" + "type": "string", + "description": "ID of the Azure Devops integration\n" }, "isDefault": { - "type": "boolean" + "type": "boolean", + "description": "Indicates whether this is the default Azure Devops integration\n" }, "project": { - "type": "string" + "type": "string", + "description": "The name of the Azure DevOps project\n" } }, "type": "object", @@ -722,13 +746,16 @@ "spacelift:index/getModuleBitbucketCloud:getModuleBitbucketCloud": { "properties": { "id": { - "type": "string" + "type": "string", + "description": "ID of the Bitbucket Cloud integration\n" }, "isDefault": { - "type": "boolean" + "type": "boolean", + "description": "Indicates whether this is the default Bitbucket Cloud integration\n" }, "namespace": { - "type": "string" + "type": "string", + "description": "Bitbucket Cloud namespace of the stack's repository\n" } }, "type": "object", @@ -746,13 +773,16 @@ "spacelift:index/getModuleBitbucketDatacenter:getModuleBitbucketDatacenter": { "properties": { "id": { - "type": "string" + "type": "string", + "description": "ID of the Bitbucket Datacenter integration\n" }, "isDefault": { - "type": "boolean" + "type": "boolean", + "description": "Indicates whether this is the default Bitbucket Datacenter integration\n" }, "namespace": { - "type": "string" + "type": "string", + "description": "Bitbucket Datacenter namespace of the stack's repository\n" } }, "type": "object", @@ -770,13 +800,16 @@ "spacelift:index/getModuleGithubEnterprise:getModuleGithubEnterprise": { "properties": { "id": { - "type": "string" + "type": "string", + "description": "ID of the GitHub Enterprise integration\n" }, "isDefault": { - "type": "boolean" + "type": "boolean", + "description": "Indicates whether this is the default GitHub Enterprise integration\n" }, "namespace": { - "type": "string" + "type": "string", + "description": "GitHub Enterprise namespace of the stack's repository\n" } }, "type": "object", @@ -794,13 +827,16 @@ "spacelift:index/getModuleGitlab:getModuleGitlab": { "properties": { "id": { - "type": "string" + "type": "string", + "description": "ID of the Gitlab integration\n" }, "isDefault": { - "type": "boolean" + "type": "boolean", + "description": "Indicates whether this is the default Gitlab integration\n" }, "namespace": { - "type": "string" + "type": "string", + "description": "GitLab namespace of the repository\n" } }, "type": "object", @@ -818,7 +854,8 @@ "spacelift:index/getPoliciesPolicy:getPoliciesPolicy": { "properties": { "id": { - "type": "string" + "type": "string", + "description": "ID of the policy\n" }, "labels": { "type": "array", @@ -827,13 +864,16 @@ } }, "name": { - "type": "string" + "type": "string", + "description": "Name of the policy\n" }, "spaceId": { - "type": "string" + "type": "string", + "description": "ID (slug) of the space the policy is in\n" }, "type": { - "type": "string" + "type": "string", + "description": "Type of the policy\n" } }, "type": "object", @@ -853,25 +893,31 @@ "spacelift:index/getSpacesSpace:getSpacesSpace": { "properties": { "description": { - "type": "string" + "type": "string", + "description": "free-form space description for users\n" }, "inheritEntities": { - "type": "boolean" + "type": "boolean", + "description": "indication whether access to this space inherits read access to entities from the parent space\n" }, "labels": { "type": "array", "items": { "type": "string" - } + }, + "description": "list of labels describing a space\n" }, "name": { - "type": "string" + "type": "string", + "description": "name of the space\n" }, "parentSpaceId": { - "type": "string" + "type": "string", + "description": "immutable ID (slug) of parent space\n" }, "spaceId": { - "type": "string" + "type": "string", + "description": "immutable ID (slug) of the space\n" } }, "type": "object", @@ -892,7 +938,8 @@ "spacelift:index/getStackAnsible:getStackAnsible": { "properties": { "playbook": { - "type": "string" + "type": "string", + "description": "The playbook the Ansible stack should run.\n" } }, "type": "object", @@ -908,13 +955,16 @@ "spacelift:index/getStackAzureDevop:getStackAzureDevop": { "properties": { "id": { - "type": "string" + "type": "string", + "description": "ID of the Azure Devops VCS integration\n" }, "isDefault": { - "type": "boolean" + "type": "boolean", + "description": "Indicates whether this is the default Azure Devops VCS integration\n" }, "project": { - "type": "string" + "type": "string", + "description": "The name of the Azure DevOps project\n" } }, "type": "object", @@ -932,13 +982,16 @@ "spacelift:index/getStackBitbucketCloud:getStackBitbucketCloud": { "properties": { "id": { - "type": "string" + "type": "string", + "description": "ID of the Bitbucket Cloud integration\n" }, "isDefault": { - "type": "boolean" + "type": "boolean", + "description": "Indicates whether this is the default Bitbucket Cloud integration\n" }, "namespace": { - "type": "string" + "type": "string", + "description": "Bitbucket Cloud namespace of the stack's repository\n" } }, "type": "object", @@ -956,13 +1009,16 @@ "spacelift:index/getStackBitbucketDatacenter:getStackBitbucketDatacenter": { "properties": { "id": { - "type": "string" + "type": "string", + "description": "ID of the Bitbucket Datacenter integration\n" }, "isDefault": { - "type": "boolean" + "type": "boolean", + "description": "Indicates whether this is the default Bitbucket Datacenter integration\n" }, "namespace": { - "type": "string" + "type": "string", + "description": "Bitbucket Datacenter namespace of the stack's repository\n" } }, "type": "object", @@ -980,16 +1036,20 @@ "spacelift:index/getStackCloudformation:getStackCloudformation": { "properties": { "entryTemplateFile": { - "type": "string" + "type": "string", + "description": "Template file `cloudformation package` will be called on\n" }, "region": { - "type": "string" + "type": "string", + "description": "AWS region to use\n" }, "stackName": { - "type": "string" + "type": "string", + "description": "CloudFormation stack name\n" }, "templateBucket": { - "type": "string" + "type": "string", + "description": "S3 bucket to save CloudFormation templates to\n" } }, "type": "object", @@ -1008,13 +1068,16 @@ "spacelift:index/getStackGithubEnterprise:getStackGithubEnterprise": { "properties": { "id": { - "type": "string" + "type": "string", + "description": "ID of the GitHub Enterprise integration\n" }, "isDefault": { - "type": "boolean" + "type": "boolean", + "description": "Indicates whether this is the default GitHub Enterprise integration\n" }, "namespace": { - "type": "string" + "type": "string", + "description": "GitHub Enterprise namespace of the stack's repository\n" } }, "type": "object", @@ -1032,13 +1095,16 @@ "spacelift:index/getStackGitlab:getStackGitlab": { "properties": { "id": { - "type": "string" + "type": "string", + "description": "ID of the Gitlab integration\n" }, "isDefault": { - "type": "boolean" + "type": "boolean", + "description": "Indicates whether this is the default Gitlab integration\n" }, "namespace": { - "type": "string" + "type": "string", + "description": "GitLab namespace of the stack's repository\n" } }, "type": "object", @@ -1056,10 +1122,12 @@ "spacelift:index/getStackKubernete:getStackKubernete": { "properties": { "kubectlVersion": { - "type": "string" + "type": "string", + "description": "Kubectl version.\n" }, "namespace": { - "type": "string" + "type": "string", + "description": "Namespace of the Kubernetes cluster to run commands on. Leave empty for multi-namespace Stacks.\n" } }, "type": "object", @@ -1076,10 +1144,12 @@ "spacelift:index/getStackPulumi:getStackPulumi": { "properties": { "loginUrl": { - "type": "string" + "type": "string", + "description": "State backend to log into on Run initialize.\n" }, "stackName": { - "type": "string" + "type": "string", + "description": "Pulumi stack name to use with the state backend.\n" } }, "type": "object", @@ -1096,10 +1166,12 @@ "spacelift:index/getStackRawGit:getStackRawGit": { "properties": { "namespace": { - "type": "string" + "type": "string", + "description": "User-friendly namespace for the repository, this is for cosmetic purposes only\n" }, "url": { - "type": "string" + "type": "string", + "description": "HTTPS URL of the Git repository\n" } }, "type": "object", @@ -1116,7 +1188,8 @@ "spacelift:index/getStackShowcase:getStackShowcase": { "properties": { "namespace": { - "type": "string" + "type": "string", + "description": "GitHub namespace of the stack's repository\n" } }, "type": "object", @@ -1235,142 +1308,169 @@ "type": "array", "items": { "type": "string" - } + }, + "description": "Project globs is an optional list of paths to track changes of in addition to the project root.\n" }, "administrative": { - "type": "boolean" + "type": "boolean", + "description": "indicates whether this stack can administer others\n" }, "afterApplies": { "type": "array", "items": { "type": "string" - } + }, + "description": "List of after-apply scripts\n" }, "afterDestroys": { "type": "array", "items": { "type": "string" - } + }, + "description": "List of after-destroy scripts\n" }, "afterInits": { "type": "array", "items": { "type": "string" - } + }, + "description": "List of after-init scripts\n" }, "afterPerforms": { "type": "array", "items": { "type": "string" - } + }, + "description": "List of after-perform scripts\n" }, "afterPlans": { "type": "array", "items": { "type": "string" - } + }, + "description": "List of after-plan scripts\n" }, "afterRuns": { "type": "array", "items": { "type": "string" - } + }, + "description": "List of after-run scripts\n" }, "ansibles": { "type": "array", "items": { "$ref": "#/types/spacelift:index/getStacksStackAnsible:getStacksStackAnsible" - } + }, + "description": "Ansible-specific configuration. Presence means this Stack is an Ansible Stack.\n" }, "autodeploy": { - "type": "boolean" + "type": "boolean", + "description": "indicates whether changes to this stack can be automatically deployed\n" }, "autoretry": { - "type": "boolean" + "type": "boolean", + "description": "indicates whether obsolete proposed changes should automatically be retried\n" }, "awsAssumeRolePolicyStatement": { - "type": "string" + "type": "string", + "description": "AWS IAM assume role policy statement setting up trust relationship\n" }, "azureDevops": { "type": "array", "items": { "$ref": "#/types/spacelift:index/getStacksStackAzureDevop:getStacksStackAzureDevop" - } + }, + "description": "Azure DevOps VCS settings\n" }, "beforeApplies": { "type": "array", "items": { "type": "string" - } + }, + "description": "List of before-apply scripts\n" }, "beforeDestroys": { "type": "array", "items": { "type": "string" - } + }, + "description": "List of before-destroy scripts\n" }, "beforeInits": { "type": "array", "items": { "type": "string" - } + }, + "description": "List of before-init scripts\n" }, "beforePerforms": { "type": "array", "items": { "type": "string" - } + }, + "description": "List of before-perform scripts\n" }, "beforePlans": { "type": "array", "items": { "type": "string" - } + }, + "description": "List of before-plan scripts\n" }, "bitbucketClouds": { "type": "array", "items": { "$ref": "#/types/spacelift:index/getStacksStackBitbucketCloud:getStacksStackBitbucketCloud" - } + }, + "description": "Bitbucket Cloud VCS settings\n" }, "bitbucketDatacenters": { "type": "array", "items": { "$ref": "#/types/spacelift:index/getStacksStackBitbucketDatacenter:getStacksStackBitbucketDatacenter" - } + }, + "description": "Bitbucket Datacenter VCS settings\n" }, "branch": { - "type": "string" + "type": "string", + "description": "Repository branch to treat as the default 'main' branch\n" }, "cloudformations": { "type": "array", "items": { "$ref": "#/types/spacelift:index/getStacksStackCloudformation:getStacksStackCloudformation" - } + }, + "description": "CloudFormation-specific configuration. Presence means this Stack is a CloudFormation Stack.\n" }, "description": { - "type": "string" + "type": "string", + "description": "free-form stack description for users\n" }, "enableLocalPreview": { - "type": "boolean" + "type": "boolean", + "description": "Indicates whether local preview runs can be triggered on this Stack.\n" }, "githubEnterprises": { "type": "array", "items": { "$ref": "#/types/spacelift:index/getStacksStackGithubEnterprise:getStacksStackGithubEnterprise" - } + }, + "description": "GitHub Enterprise (self-hosted) VCS settings\n" }, "gitlabs": { "type": "array", "items": { "$ref": "#/types/spacelift:index/getStacksStackGitlab:getStacksStackGitlab" - } + }, + "description": "GitLab VCS settings\n" }, "kubernetes": { "type": "array", "items": { "$ref": "#/types/spacelift:index/getStacksStackKubernete:getStacksStackKubernete" - } + }, + "description": "Kubernetes-specific configuration. Presence means this Stack is a Kubernetes Stack.\n" }, "labels": { "type": "array", @@ -1379,49 +1479,61 @@ } }, "manageState": { - "type": "boolean" + "type": "boolean", + "description": "Determines if Spacelift should manage state for this stack\n" }, "name": { - "type": "string" + "type": "string", + "description": "Name of the stack - should be unique in one account\n" }, "projectRoot": { - "type": "string" + "type": "string", + "description": "Project root is the optional directory relative to the workspace root containing the entrypoint to the Stack.\n" }, "protectFromDeletion": { - "type": "boolean" + "type": "boolean", + "description": "Protect this stack from accidental deletion. If set, attempts to delete this stack will fail.\n" }, "pulumis": { "type": "array", "items": { "$ref": "#/types/spacelift:index/getStacksStackPulumi:getStacksStackPulumi" - } + }, + "description": "Pulumi-specific configuration. Presence means this Stack is a Pulumi Stack.\n" }, "rawGits": { "type": "array", "items": { "$ref": "#/types/spacelift:index/getStacksStackRawGit:getStacksStackRawGit" - } + }, + "description": "One-way VCS integration using a raw Git repository link\n" }, "repository": { - "type": "string" + "type": "string", + "description": "Name of the repository, without the owner part\n" }, "runnerImage": { - "type": "string" + "type": "string", + "description": "Name of the Docker image used to process Runs\n" }, "showcases": { "type": "array", "items": { "$ref": "#/types/spacelift:index/getStacksStackShowcase:getStacksStackShowcase" - } + }, + "description": "Showcase-related attributes\n" }, "spaceId": { - "type": "string" + "type": "string", + "description": "ID (slug) of the space the stack is in\n" }, "stackId": { - "type": "string" + "type": "string", + "description": "ID (slug) of the stack\n" }, "terraformExternalStateAccess": { - "type": "boolean" + "type": "boolean", + "description": "Indicates whether you can access the Stack state file from other stacks or outside of Spacelift.\n" }, "terraformSmartSanitization": { "type": "boolean" @@ -1430,13 +1542,15 @@ "type": "string" }, "terraformWorkflowTool": { - "type": "string" + "type": "string", + "description": "Defines the tool that will be used to execute the workflow. This can be one of `OPEN_TOFU`, `TERRAFORM_FOSS` or `CUSTOM`.\n" }, "terraformWorkspace": { "type": "string" }, "workerPoolId": { - "type": "string" + "type": "string", + "description": "ID of the worker pool to use\n" } }, "type": "object", @@ -1494,7 +1608,8 @@ "spacelift:index/getStacksStackAnsible:getStacksStackAnsible": { "properties": { "playbook": { - "type": "string" + "type": "string", + "description": "The playbook the Ansible stack should run.\n" } }, "type": "object", @@ -1510,13 +1625,16 @@ "spacelift:index/getStacksStackAzureDevop:getStacksStackAzureDevop": { "properties": { "id": { - "type": "string" + "type": "string", + "description": "ID of the Azure Devops VCS integration\n" }, "isDefault": { - "type": "boolean" + "type": "boolean", + "description": "Indicates whether this is the default Azure Devops VCS integration\n" }, "project": { - "type": "string" + "type": "string", + "description": "The name of the Azure DevOps project\n" } }, "type": "object", @@ -1534,13 +1652,16 @@ "spacelift:index/getStacksStackBitbucketCloud:getStacksStackBitbucketCloud": { "properties": { "id": { - "type": "string" + "type": "string", + "description": "ID of the Bitbucket Cloud integration\n" }, "isDefault": { - "type": "boolean" + "type": "boolean", + "description": "Indicates whether this is the default Bitbucket Cloud integration\n" }, "namespace": { - "type": "string" + "type": "string", + "description": "Bitbucket Cloud namespace of the stack's repository\n" } }, "type": "object", @@ -1558,13 +1679,16 @@ "spacelift:index/getStacksStackBitbucketDatacenter:getStacksStackBitbucketDatacenter": { "properties": { "id": { - "type": "string" + "type": "string", + "description": "ID of the Bitbucket Datacenter integration\n" }, "isDefault": { - "type": "boolean" + "type": "boolean", + "description": "Indicates whether this is the default Bitbucket Datacenter integration\n" }, "namespace": { - "type": "string" + "type": "string", + "description": "Bitbucket Datacenter namespace of the stack's repository\n" } }, "type": "object", @@ -1582,16 +1706,20 @@ "spacelift:index/getStacksStackCloudformation:getStacksStackCloudformation": { "properties": { "entryTemplateFile": { - "type": "string" + "type": "string", + "description": "Template file `cloudformation package` will be called on\n" }, "region": { - "type": "string" + "type": "string", + "description": "AWS region to use\n" }, "stackName": { - "type": "string" + "type": "string", + "description": "CloudFormation stack name\n" }, "templateBucket": { - "type": "string" + "type": "string", + "description": "S3 bucket to save CloudFormation templates to\n" } }, "type": "object", @@ -1610,13 +1738,16 @@ "spacelift:index/getStacksStackGithubEnterprise:getStacksStackGithubEnterprise": { "properties": { "id": { - "type": "string" + "type": "string", + "description": "ID of the GitHub Enterprise integration\n" }, "isDefault": { - "type": "boolean" + "type": "boolean", + "description": "Indicates whether this is the default GitHub Enterprise integration\n" }, "namespace": { - "type": "string" + "type": "string", + "description": "GitHub Enterprise namespace of the stack's repository\n" } }, "type": "object", @@ -1634,13 +1765,16 @@ "spacelift:index/getStacksStackGitlab:getStacksStackGitlab": { "properties": { "id": { - "type": "string" + "type": "string", + "description": "ID of the Gitlab integration\n" }, "isDefault": { - "type": "boolean" + "type": "boolean", + "description": "Indicates whether this is the default Gitlab integration\n" }, "namespace": { - "type": "string" + "type": "string", + "description": "GitLab namespace of the stack's repository\n" } }, "type": "object", @@ -1658,10 +1792,12 @@ "spacelift:index/getStacksStackKubernete:getStacksStackKubernete": { "properties": { "kubectlVersion": { - "type": "string" + "type": "string", + "description": "Kubectl version.\n" }, "namespace": { - "type": "string" + "type": "string", + "description": "Namespace of the Kubernetes cluster to run commands on. Leave empty for multi-namespace Stacks.\n" } }, "type": "object", @@ -1678,10 +1814,12 @@ "spacelift:index/getStacksStackPulumi:getStacksStackPulumi": { "properties": { "loginUrl": { - "type": "string" + "type": "string", + "description": "State backend to log into on Run initialize.\n" }, "stackName": { - "type": "string" + "type": "string", + "description": "Pulumi stack name to use with the state backend.\n" } }, "type": "object", @@ -1698,10 +1836,12 @@ "spacelift:index/getStacksStackRawGit:getStacksStackRawGit": { "properties": { "namespace": { - "type": "string" + "type": "string", + "description": "User-friendly namespace for the repository, this is for cosmetic purposes only\n" }, "url": { - "type": "string" + "type": "string", + "description": "HTTPS URL of the Git repository\n" } }, "type": "object", @@ -1718,7 +1858,8 @@ "spacelift:index/getStacksStackShowcase:getStacksStackShowcase": { "properties": { "namespace": { - "type": "string" + "type": "string", + "description": "GitHub namespace of the stack's repository\n" } }, "type": "object", @@ -1776,13 +1917,16 @@ "spacelift:index/getVcsAgentPoolsVcsAgentPool:getVcsAgentPoolsVcsAgentPool": { "properties": { "description": { - "type": "string" + "type": "string", + "description": "Free-form VCS agent pool description for users\n" }, "name": { - "type": "string" + "type": "string", + "description": "Name of the VCS agent pool\n" }, "vcsAgentPoolId": { - "type": "string" + "type": "string", + "description": "ID of the VCS agent pool to retrieve\n" } }, "type": "object", @@ -1801,19 +1945,24 @@ "properties": { "config": { "type": "string", + "description": "credentials necessary to connect WorkerPool's workers to the control plane\n", "secret": true }, "description": { - "type": "string" + "type": "string", + "description": "description of the worker pool\n" }, "name": { - "type": "string" + "type": "string", + "description": "name of the worker pool\n" }, "spaceId": { - "type": "string" + "type": "string", + "description": "ID (slug) of the space the worker pool is in\n" }, "workerPoolId": { - "type": "string" + "type": "string", + "description": "ID of the worker pool\n" } }, "type": "object", @@ -2084,7 +2233,7 @@ } }, "spacelift:index/awsIntegrationAttachment:AwsIntegrationAttachment": { - "description": "`spacelift.AwsIntegrationAttachment` represents the attachment between a reusable AWS integration and a single stack or module.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as spacelift from \"@spacelift-io/pulumi-spacelift\";\n\n// For a stack\nconst thisAwsIntegrationAttachment = new spacelift.AwsIntegrationAttachment(\"thisAwsIntegrationAttachment\", {\n integrationId: spacelift_aws_integration[\"this\"].id,\n stackId: \"my-stack-id\",\n read: true,\n write: true,\n}, {\n dependsOn: [aws_iam_role[\"this\"]],\n});\n// For a module\nconst thisIndex_awsIntegrationAttachmentAwsIntegrationAttachment = new spacelift.AwsIntegrationAttachment(\"thisIndex/awsIntegrationAttachmentAwsIntegrationAttachment\", {\n integrationId: spacelift_aws_integration[\"this\"].id,\n moduleId: \"my-module-id\",\n read: true,\n write: true,\n}, {\n dependsOn: [aws_iam_role[\"this\"]],\n});\n```\n```python\nimport pulumi\nimport pulumi_spacelift as spacelift\n\n# For a stack\nthis_aws_integration_attachment = spacelift.AwsIntegrationAttachment(\"thisAwsIntegrationAttachment\",\n integration_id=spacelift_aws_integration[\"this\"][\"id\"],\n stack_id=\"my-stack-id\",\n read=True,\n write=True,\n opts=pulumi.ResourceOptions(depends_on=[aws_iam_role[\"this\"]]))\n# For a module\nthis_index_aws_integration_attachment_aws_integration_attachment = spacelift.AwsIntegrationAttachment(\"thisIndex/awsIntegrationAttachmentAwsIntegrationAttachment\",\n integration_id=spacelift_aws_integration[\"this\"][\"id\"],\n module_id=\"my-module-id\",\n read=True,\n write=True,\n opts=pulumi.ResourceOptions(depends_on=[aws_iam_role[\"this\"]]))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Spacelift = Pulumi.Spacelift;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // For a stack\n var thisAwsIntegrationAttachment = new Spacelift.AwsIntegrationAttachment(\"thisAwsIntegrationAttachment\", new()\n {\n IntegrationId = spacelift_aws_integration.This.Id,\n StackId = \"my-stack-id\",\n Read = true,\n Write = true,\n }, new CustomResourceOptions\n {\n DependsOn = new[]\n {\n aws_iam_role.This,\n },\n });\n\n // For a module\n var thisIndex_awsIntegrationAttachmentAwsIntegrationAttachment = new Spacelift.AwsIntegrationAttachment(\"thisIndex/awsIntegrationAttachmentAwsIntegrationAttachment\", new()\n {\n IntegrationId = spacelift_aws_integration.This.Id,\n ModuleId = \"my-module-id\",\n Read = true,\n Write = true,\n }, new CustomResourceOptions\n {\n DependsOn = new[]\n {\n aws_iam_role.This,\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := spacelift.NewAwsIntegrationAttachment(ctx, \"thisAwsIntegrationAttachment\", \u0026spacelift.AwsIntegrationAttachmentArgs{\n\t\t\tIntegrationId: pulumi.Any(spacelift_aws_integration.This.Id),\n\t\t\tStackId: pulumi.String(\"my-stack-id\"),\n\t\t\tRead: pulumi.Bool(true),\n\t\t\tWrite: pulumi.Bool(true),\n\t\t}, pulumi.DependsOn([]pulumi.Resource{\n\t\t\taws_iam_role.This,\n\t\t}))\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = spacelift.NewAwsIntegrationAttachment(ctx, \"thisIndex/awsIntegrationAttachmentAwsIntegrationAttachment\", \u0026spacelift.AwsIntegrationAttachmentArgs{\n\t\t\tIntegrationId: pulumi.Any(spacelift_aws_integration.This.Id),\n\t\t\tModuleId: pulumi.String(\"my-module-id\"),\n\t\t\tRead: pulumi.Bool(true),\n\t\t\tWrite: pulumi.Bool(true),\n\t\t}, pulumi.DependsOn([]pulumi.Resource{\n\t\t\taws_iam_role.This,\n\t\t}))\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.spacelift.AwsIntegrationAttachment;\nimport com.pulumi.spacelift.AwsIntegrationAttachmentArgs;\nimport com.pulumi.resources.CustomResourceOptions;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var thisAwsIntegrationAttachment = new AwsIntegrationAttachment(\"thisAwsIntegrationAttachment\", AwsIntegrationAttachmentArgs.builder() \n .integrationId(spacelift_aws_integration.this().id())\n .stackId(\"my-stack-id\")\n .read(true)\n .write(true)\n .build(), CustomResourceOptions.builder()\n .dependsOn(aws_iam_role.this())\n .build());\n\n var thisIndex_awsIntegrationAttachmentAwsIntegrationAttachment = new AwsIntegrationAttachment(\"thisIndex/awsIntegrationAttachmentAwsIntegrationAttachment\", AwsIntegrationAttachmentArgs.builder() \n .integrationId(spacelift_aws_integration.this().id())\n .moduleId(\"my-module-id\")\n .read(true)\n .write(true)\n .build(), CustomResourceOptions.builder()\n .dependsOn(aws_iam_role.this())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # For a stack\n thisAwsIntegrationAttachment:\n type: spacelift:AwsIntegrationAttachment\n properties:\n integrationId: ${spacelift_aws_integration.this.id}\n stackId: my-stack-id\n read: true\n write: true\n options:\n dependson:\n - ${aws_iam_role.this}\n # For a module\n thisIndex/awsIntegrationAttachmentAwsIntegrationAttachment:\n type: spacelift:AwsIntegrationAttachment\n properties:\n integrationId: ${spacelift_aws_integration.this.id}\n moduleId: my-module-id\n read: true\n write: true\n options:\n dependson:\n - ${aws_iam_role.this}\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\n\n\n```sh\n $ pulumi import spacelift:index/awsIntegrationAttachment:AwsIntegrationAttachment read_write_my_stack $INTEGRATION_ID/$PROJECT_ID\n```\n\n ", + "description": "`spacelift.AwsIntegrationAttachment` represents the attachment between a reusable AWS integration and a single stack or module.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as spacelift from \"@spacelift-io/pulumi-spacelift\";\n\n// For a stack\nconst thisAwsIntegrationAttachment = new spacelift.AwsIntegrationAttachment(\"thisAwsIntegrationAttachment\", {\n integrationId: spacelift_aws_integration[\"this\"].id,\n stackId: \"my-stack-id\",\n read: true,\n write: true,\n}, {\n dependsOn: [aws_iam_role[\"this\"]],\n});\n// For a module\nconst thisIndex_awsIntegrationAttachmentAwsIntegrationAttachment = new spacelift.AwsIntegrationAttachment(\"thisIndex/awsIntegrationAttachmentAwsIntegrationAttachment\", {\n integrationId: spacelift_aws_integration[\"this\"].id,\n moduleId: \"my-module-id\",\n read: true,\n write: true,\n}, {\n dependsOn: [aws_iam_role[\"this\"]],\n});\n```\n```python\nimport pulumi\nimport pulumi_spacelift as spacelift\n\n# For a stack\nthis_aws_integration_attachment = spacelift.AwsIntegrationAttachment(\"thisAwsIntegrationAttachment\",\n integration_id=spacelift_aws_integration[\"this\"][\"id\"],\n stack_id=\"my-stack-id\",\n read=True,\n write=True,\n opts=pulumi.ResourceOptions(depends_on=[aws_iam_role[\"this\"]]))\n# For a module\nthis_index_aws_integration_attachment_aws_integration_attachment = spacelift.AwsIntegrationAttachment(\"thisIndex/awsIntegrationAttachmentAwsIntegrationAttachment\",\n integration_id=spacelift_aws_integration[\"this\"][\"id\"],\n module_id=\"my-module-id\",\n read=True,\n write=True,\n opts=pulumi.ResourceOptions(depends_on=[aws_iam_role[\"this\"]]))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Spacelift = Pulumi.Spacelift;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // For a stack\n var thisAwsIntegrationAttachment = new Spacelift.AwsIntegrationAttachment(\"thisAwsIntegrationAttachment\", new()\n {\n IntegrationId = spacelift_aws_integration.This.Id,\n StackId = \"my-stack-id\",\n Read = true,\n Write = true,\n }, new CustomResourceOptions\n {\n DependsOn = new[]\n {\n aws_iam_role.This,\n },\n });\n\n // For a module\n var thisIndex_awsIntegrationAttachmentAwsIntegrationAttachment = new Spacelift.AwsIntegrationAttachment(\"thisIndex/awsIntegrationAttachmentAwsIntegrationAttachment\", new()\n {\n IntegrationId = spacelift_aws_integration.This.Id,\n ModuleId = \"my-module-id\",\n Read = true,\n Write = true,\n }, new CustomResourceOptions\n {\n DependsOn = new[]\n {\n aws_iam_role.This,\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t// For a stack\n\t\t_, err := spacelift.NewAwsIntegrationAttachment(ctx, \"thisAwsIntegrationAttachment\", \u0026spacelift.AwsIntegrationAttachmentArgs{\n\t\t\tIntegrationId: pulumi.Any(spacelift_aws_integration.This.Id),\n\t\t\tStackId: pulumi.String(\"my-stack-id\"),\n\t\t\tRead: pulumi.Bool(true),\n\t\t\tWrite: pulumi.Bool(true),\n\t\t}, pulumi.DependsOn([]pulumi.Resource{\n\t\t\taws_iam_role.This,\n\t\t}))\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t// For a module\n\t\t_, err = spacelift.NewAwsIntegrationAttachment(ctx, \"thisIndex/awsIntegrationAttachmentAwsIntegrationAttachment\", \u0026spacelift.AwsIntegrationAttachmentArgs{\n\t\t\tIntegrationId: pulumi.Any(spacelift_aws_integration.This.Id),\n\t\t\tModuleId: pulumi.String(\"my-module-id\"),\n\t\t\tRead: pulumi.Bool(true),\n\t\t\tWrite: pulumi.Bool(true),\n\t\t}, pulumi.DependsOn([]pulumi.Resource{\n\t\t\taws_iam_role.This,\n\t\t}))\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.spacelift.AwsIntegrationAttachment;\nimport com.pulumi.spacelift.AwsIntegrationAttachmentArgs;\nimport com.pulumi.resources.CustomResourceOptions;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var thisAwsIntegrationAttachment = new AwsIntegrationAttachment(\"thisAwsIntegrationAttachment\", AwsIntegrationAttachmentArgs.builder() \n .integrationId(spacelift_aws_integration.this().id())\n .stackId(\"my-stack-id\")\n .read(true)\n .write(true)\n .build(), CustomResourceOptions.builder()\n .dependsOn(aws_iam_role.this())\n .build());\n\n var thisIndex_awsIntegrationAttachmentAwsIntegrationAttachment = new AwsIntegrationAttachment(\"thisIndex/awsIntegrationAttachmentAwsIntegrationAttachment\", AwsIntegrationAttachmentArgs.builder() \n .integrationId(spacelift_aws_integration.this().id())\n .moduleId(\"my-module-id\")\n .read(true)\n .write(true)\n .build(), CustomResourceOptions.builder()\n .dependsOn(aws_iam_role.this())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # For a stack\n thisAwsIntegrationAttachment:\n type: spacelift:AwsIntegrationAttachment\n properties:\n integrationId: ${spacelift_aws_integration.this.id}\n stackId: my-stack-id\n read: true\n write: true\n options:\n dependson:\n - ${aws_iam_role.this}\n # For a module\n thisIndex/awsIntegrationAttachmentAwsIntegrationAttachment:\n type: spacelift:AwsIntegrationAttachment\n properties:\n integrationId: ${spacelift_aws_integration.this.id}\n moduleId: my-module-id\n read: true\n write: true\n options:\n dependson:\n - ${aws_iam_role.this}\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\n\n\n```sh\n $ pulumi import spacelift:index/awsIntegrationAttachment:AwsIntegrationAttachment read_write_my_stack $INTEGRATION_ID/$PROJECT_ID\n```\n\n ", "properties": { "attachmentId": { "type": "string", @@ -2402,7 +2551,7 @@ } }, "spacelift:index/azureIntegrationAttachment:AzureIntegrationAttachment": { - "description": "`spacelift.AzureIntegrationAttachment` represents the attachment between a reusable Azure integration and a single stack or module.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as spacelift from \"@spacelift-io/pulumi-spacelift\";\n\n// For a stack\nconst readonly = new spacelift.AzureIntegrationAttachment(\"readonly\", {\n integrationId: spacelift_azure_integration.example.id,\n stackId: spacelift_stack.example.id,\n write: false,\n subscriptionId: \"subscription_id\",\n});\n// For a module\nconst writeonly = new spacelift.AzureIntegrationAttachment(\"writeonly\", {\n integrationId: spacelift_azure_integration.example.id,\n stackId: spacelift_module.example.id,\n read: false,\n subscriptionId: \"subscription_id\",\n});\n```\n```python\nimport pulumi\nimport pulumi_spacelift as spacelift\n\n# For a stack\nreadonly = spacelift.AzureIntegrationAttachment(\"readonly\",\n integration_id=spacelift_azure_integration[\"example\"][\"id\"],\n stack_id=spacelift_stack[\"example\"][\"id\"],\n write=False,\n subscription_id=\"subscription_id\")\n# For a module\nwriteonly = spacelift.AzureIntegrationAttachment(\"writeonly\",\n integration_id=spacelift_azure_integration[\"example\"][\"id\"],\n stack_id=spacelift_module[\"example\"][\"id\"],\n read=False,\n subscription_id=\"subscription_id\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Spacelift = Pulumi.Spacelift;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // For a stack\n var @readonly = new Spacelift.AzureIntegrationAttachment(\"readonly\", new()\n {\n IntegrationId = spacelift_azure_integration.Example.Id,\n StackId = spacelift_stack.Example.Id,\n Write = false,\n SubscriptionId = \"subscription_id\",\n });\n\n // For a module\n var writeonly = new Spacelift.AzureIntegrationAttachment(\"writeonly\", new()\n {\n IntegrationId = spacelift_azure_integration.Example.Id,\n StackId = spacelift_module.Example.Id,\n Read = false,\n SubscriptionId = \"subscription_id\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := spacelift.NewAzureIntegrationAttachment(ctx, \"readonly\", \u0026spacelift.AzureIntegrationAttachmentArgs{\n\t\t\tIntegrationId: pulumi.Any(spacelift_azure_integration.Example.Id),\n\t\t\tStackId: pulumi.Any(spacelift_stack.Example.Id),\n\t\t\tWrite: pulumi.Bool(false),\n\t\t\tSubscriptionId: pulumi.String(\"subscription_id\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = spacelift.NewAzureIntegrationAttachment(ctx, \"writeonly\", \u0026spacelift.AzureIntegrationAttachmentArgs{\n\t\t\tIntegrationId: pulumi.Any(spacelift_azure_integration.Example.Id),\n\t\t\tStackId: pulumi.Any(spacelift_module.Example.Id),\n\t\t\tRead: pulumi.Bool(false),\n\t\t\tSubscriptionId: pulumi.String(\"subscription_id\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.spacelift.AzureIntegrationAttachment;\nimport com.pulumi.spacelift.AzureIntegrationAttachmentArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var readonly = new AzureIntegrationAttachment(\"readonly\", AzureIntegrationAttachmentArgs.builder() \n .integrationId(spacelift_azure_integration.example().id())\n .stackId(spacelift_stack.example().id())\n .write(false)\n .subscriptionId(\"subscription_id\")\n .build());\n\n var writeonly = new AzureIntegrationAttachment(\"writeonly\", AzureIntegrationAttachmentArgs.builder() \n .integrationId(spacelift_azure_integration.example().id())\n .stackId(spacelift_module.example().id())\n .read(false)\n .subscriptionId(\"subscription_id\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # For a stack\n readonly:\n type: spacelift:AzureIntegrationAttachment\n properties:\n integrationId: ${spacelift_azure_integration.example.id}\n stackId: ${spacelift_stack.example.id}\n write: false\n subscriptionId: subscription_id\n # For a module\n writeonly:\n type: spacelift:AzureIntegrationAttachment\n properties:\n integrationId: ${spacelift_azure_integration.example.id}\n stackId: ${spacelift_module.example.id}\n read: false\n subscriptionId: subscription_id\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\n\n\n```sh\n $ pulumi import spacelift:index/azureIntegrationAttachment:AzureIntegrationAttachment readonly $INTEGRATION_ID/$STACK_ID\n```\n\n\n\n```sh\n $ pulumi import spacelift:index/azureIntegrationAttachment:AzureIntegrationAttachment writeonly $INTEGRATION_ID/$MODULE_ID\n```\n\n ", + "description": "`spacelift.AzureIntegrationAttachment` represents the attachment between a reusable Azure integration and a single stack or module.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as spacelift from \"@spacelift-io/pulumi-spacelift\";\n\n// For a stack\nconst readonly = new spacelift.AzureIntegrationAttachment(\"readonly\", {\n integrationId: spacelift_azure_integration.example.id,\n stackId: spacelift_stack.example.id,\n write: false,\n subscriptionId: \"subscription_id\",\n});\n// For a module\nconst writeonly = new spacelift.AzureIntegrationAttachment(\"writeonly\", {\n integrationId: spacelift_azure_integration.example.id,\n stackId: spacelift_module.example.id,\n read: false,\n subscriptionId: \"subscription_id\",\n});\n```\n```python\nimport pulumi\nimport pulumi_spacelift as spacelift\n\n# For a stack\nreadonly = spacelift.AzureIntegrationAttachment(\"readonly\",\n integration_id=spacelift_azure_integration[\"example\"][\"id\"],\n stack_id=spacelift_stack[\"example\"][\"id\"],\n write=False,\n subscription_id=\"subscription_id\")\n# For a module\nwriteonly = spacelift.AzureIntegrationAttachment(\"writeonly\",\n integration_id=spacelift_azure_integration[\"example\"][\"id\"],\n stack_id=spacelift_module[\"example\"][\"id\"],\n read=False,\n subscription_id=\"subscription_id\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Spacelift = Pulumi.Spacelift;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // For a stack\n var @readonly = new Spacelift.AzureIntegrationAttachment(\"readonly\", new()\n {\n IntegrationId = spacelift_azure_integration.Example.Id,\n StackId = spacelift_stack.Example.Id,\n Write = false,\n SubscriptionId = \"subscription_id\",\n });\n\n // For a module\n var writeonly = new Spacelift.AzureIntegrationAttachment(\"writeonly\", new()\n {\n IntegrationId = spacelift_azure_integration.Example.Id,\n StackId = spacelift_module.Example.Id,\n Read = false,\n SubscriptionId = \"subscription_id\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t// For a stack\n\t\t_, err := spacelift.NewAzureIntegrationAttachment(ctx, \"readonly\", \u0026spacelift.AzureIntegrationAttachmentArgs{\n\t\t\tIntegrationId: pulumi.Any(spacelift_azure_integration.Example.Id),\n\t\t\tStackId: pulumi.Any(spacelift_stack.Example.Id),\n\t\t\tWrite: pulumi.Bool(false),\n\t\t\tSubscriptionId: pulumi.String(\"subscription_id\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t// For a module\n\t\t_, err = spacelift.NewAzureIntegrationAttachment(ctx, \"writeonly\", \u0026spacelift.AzureIntegrationAttachmentArgs{\n\t\t\tIntegrationId: pulumi.Any(spacelift_azure_integration.Example.Id),\n\t\t\tStackId: pulumi.Any(spacelift_module.Example.Id),\n\t\t\tRead: pulumi.Bool(false),\n\t\t\tSubscriptionId: pulumi.String(\"subscription_id\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.spacelift.AzureIntegrationAttachment;\nimport com.pulumi.spacelift.AzureIntegrationAttachmentArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var readonly = new AzureIntegrationAttachment(\"readonly\", AzureIntegrationAttachmentArgs.builder() \n .integrationId(spacelift_azure_integration.example().id())\n .stackId(spacelift_stack.example().id())\n .write(false)\n .subscriptionId(\"subscription_id\")\n .build());\n\n var writeonly = new AzureIntegrationAttachment(\"writeonly\", AzureIntegrationAttachmentArgs.builder() \n .integrationId(spacelift_azure_integration.example().id())\n .stackId(spacelift_module.example().id())\n .read(false)\n .subscriptionId(\"subscription_id\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # For a stack\n readonly:\n type: spacelift:AzureIntegrationAttachment\n properties:\n integrationId: ${spacelift_azure_integration.example.id}\n stackId: ${spacelift_stack.example.id}\n write: false\n subscriptionId: subscription_id\n # For a module\n writeonly:\n type: spacelift:AzureIntegrationAttachment\n properties:\n integrationId: ${spacelift_azure_integration.example.id}\n stackId: ${spacelift_module.example.id}\n read: false\n subscriptionId: subscription_id\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\n\n\n```sh\n $ pulumi import spacelift:index/azureIntegrationAttachment:AzureIntegrationAttachment readonly $INTEGRATION_ID/$STACK_ID\n```\n\n\n\n```sh\n $ pulumi import spacelift:index/azureIntegrationAttachment:AzureIntegrationAttachment writeonly $INTEGRATION_ID/$MODULE_ID\n```\n\n ", "properties": { "attachmentId": { "type": "string", @@ -2916,7 +3065,7 @@ } }, "spacelift:index/contextAttachment:ContextAttachment": { - "description": "`spacelift.ContextAttachment` represents a Spacelift attachment of a single context to a single stack or module, with a predefined priority.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as spacelift from \"@spacelift-io/pulumi-spacelift\";\n\n// For a module\nconst attachment = new spacelift.ContextAttachment(\"attachment\", {\n contextId: \"prod-k8s-ie\",\n moduleId: \"k8s-module\",\n priority: 0,\n});\n```\n```python\nimport pulumi\nimport pulumi_spacelift as spacelift\n\n# For a module\nattachment = spacelift.ContextAttachment(\"attachment\",\n context_id=\"prod-k8s-ie\",\n module_id=\"k8s-module\",\n priority=0)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Spacelift = Pulumi.Spacelift;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // For a module\n var attachment = new Spacelift.ContextAttachment(\"attachment\", new()\n {\n ContextId = \"prod-k8s-ie\",\n ModuleId = \"k8s-module\",\n Priority = 0,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := spacelift.NewContextAttachment(ctx, \"attachment\", \u0026spacelift.ContextAttachmentArgs{\n\t\t\tContextId: pulumi.String(\"prod-k8s-ie\"),\n\t\t\tModuleId: pulumi.String(\"k8s-module\"),\n\t\t\tPriority: pulumi.Int(0),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.spacelift.ContextAttachment;\nimport com.pulumi.spacelift.ContextAttachmentArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var attachment = new ContextAttachment(\"attachment\", ContextAttachmentArgs.builder() \n .contextId(\"prod-k8s-ie\")\n .moduleId(\"k8s-module\")\n .priority(0)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # For a module\n attachment:\n type: spacelift:ContextAttachment\n properties:\n contextId: prod-k8s-ie\n moduleId: k8s-module\n priority: 0\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\n\n\n```sh\n $ pulumi import spacelift:index/contextAttachment:ContextAttachment test_stack $CONTEXT_ID/$STACK_ID\n```\n\n ", + "description": "`spacelift.ContextAttachment` represents a Spacelift attachment of a single context to a single stack or module, with a predefined priority.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as spacelift from \"@spacelift-io/pulumi-spacelift\";\n\n// For a module\nconst attachment = new spacelift.ContextAttachment(\"attachment\", {\n contextId: \"prod-k8s-ie\",\n moduleId: \"k8s-module\",\n priority: 0,\n});\n```\n```python\nimport pulumi\nimport pulumi_spacelift as spacelift\n\n# For a module\nattachment = spacelift.ContextAttachment(\"attachment\",\n context_id=\"prod-k8s-ie\",\n module_id=\"k8s-module\",\n priority=0)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Spacelift = Pulumi.Spacelift;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // For a module\n var attachment = new Spacelift.ContextAttachment(\"attachment\", new()\n {\n ContextId = \"prod-k8s-ie\",\n ModuleId = \"k8s-module\",\n Priority = 0,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t// For a module\n\t\t_, err := spacelift.NewContextAttachment(ctx, \"attachment\", \u0026spacelift.ContextAttachmentArgs{\n\t\t\tContextId: pulumi.String(\"prod-k8s-ie\"),\n\t\t\tModuleId: pulumi.String(\"k8s-module\"),\n\t\t\tPriority: pulumi.Int(0),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.spacelift.ContextAttachment;\nimport com.pulumi.spacelift.ContextAttachmentArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var attachment = new ContextAttachment(\"attachment\", ContextAttachmentArgs.builder() \n .contextId(\"prod-k8s-ie\")\n .moduleId(\"k8s-module\")\n .priority(0)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # For a module\n attachment:\n type: spacelift:ContextAttachment\n properties:\n contextId: prod-k8s-ie\n moduleId: k8s-module\n priority: 0\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\n\n\n```sh\n $ pulumi import spacelift:index/contextAttachment:ContextAttachment test_stack $CONTEXT_ID/$STACK_ID\n```\n\n ", "properties": { "contextId": { "type": "string", @@ -3083,7 +3232,7 @@ } }, "spacelift:index/environmentVariable:EnvironmentVariable": { - "description": "`spacelift.EnvironmentVariable` defines an environment variable on the context (`spacelift.Context`), stack (`spacelift.Stack`) or a module (`spacelift.Module`), thereby allowing to pass and share various secrets and configuration with Spacelift stacks.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as spacelift from \"@spacelift-io/pulumi-spacelift\";\n\n// For a context\nconst ireland_kubeconfig = new spacelift.EnvironmentVariable(\"ireland-kubeconfig\", {\n contextId: \"prod-k8s-ie\",\n value: \"/project/spacelift/kubeconfig\",\n writeOnly: false,\n});\n// For a module\nconst module_kubeconfig = new spacelift.EnvironmentVariable(\"module-kubeconfig\", {\n moduleId: \"k8s-module\",\n value: \"/project/spacelift/kubeconfig\",\n writeOnly: false,\n});\n// For a stack\nconst core_kubeconfig = new spacelift.EnvironmentVariable(\"core-kubeconfig\", {\n stackId: \"k8s-core\",\n value: \"/project/spacelift/kubeconfig\",\n writeOnly: false,\n});\n```\n```python\nimport pulumi\nimport pulumi_spacelift as spacelift\n\n# For a context\nireland_kubeconfig = spacelift.EnvironmentVariable(\"ireland-kubeconfig\",\n context_id=\"prod-k8s-ie\",\n value=\"/project/spacelift/kubeconfig\",\n write_only=False)\n# For a module\nmodule_kubeconfig = spacelift.EnvironmentVariable(\"module-kubeconfig\",\n module_id=\"k8s-module\",\n value=\"/project/spacelift/kubeconfig\",\n write_only=False)\n# For a stack\ncore_kubeconfig = spacelift.EnvironmentVariable(\"core-kubeconfig\",\n stack_id=\"k8s-core\",\n value=\"/project/spacelift/kubeconfig\",\n write_only=False)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Spacelift = Pulumi.Spacelift;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // For a context\n var ireland_kubeconfig = new Spacelift.EnvironmentVariable(\"ireland-kubeconfig\", new()\n {\n ContextId = \"prod-k8s-ie\",\n Value = \"/project/spacelift/kubeconfig\",\n WriteOnly = false,\n });\n\n // For a module\n var module_kubeconfig = new Spacelift.EnvironmentVariable(\"module-kubeconfig\", new()\n {\n ModuleId = \"k8s-module\",\n Value = \"/project/spacelift/kubeconfig\",\n WriteOnly = false,\n });\n\n // For a stack\n var core_kubeconfig = new Spacelift.EnvironmentVariable(\"core-kubeconfig\", new()\n {\n StackId = \"k8s-core\",\n Value = \"/project/spacelift/kubeconfig\",\n WriteOnly = false,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := spacelift.NewEnvironmentVariable(ctx, \"ireland-kubeconfig\", \u0026spacelift.EnvironmentVariableArgs{\n\t\t\tContextId: pulumi.String(\"prod-k8s-ie\"),\n\t\t\tValue: pulumi.String(\"/project/spacelift/kubeconfig\"),\n\t\t\tWriteOnly: pulumi.Bool(false),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = spacelift.NewEnvironmentVariable(ctx, \"module-kubeconfig\", \u0026spacelift.EnvironmentVariableArgs{\n\t\t\tModuleId: pulumi.String(\"k8s-module\"),\n\t\t\tValue: pulumi.String(\"/project/spacelift/kubeconfig\"),\n\t\t\tWriteOnly: pulumi.Bool(false),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = spacelift.NewEnvironmentVariable(ctx, \"core-kubeconfig\", \u0026spacelift.EnvironmentVariableArgs{\n\t\t\tStackId: pulumi.String(\"k8s-core\"),\n\t\t\tValue: pulumi.String(\"/project/spacelift/kubeconfig\"),\n\t\t\tWriteOnly: pulumi.Bool(false),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.spacelift.EnvironmentVariable;\nimport com.pulumi.spacelift.EnvironmentVariableArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var ireland_kubeconfig = new EnvironmentVariable(\"ireland-kubeconfig\", EnvironmentVariableArgs.builder() \n .contextId(\"prod-k8s-ie\")\n .value(\"/project/spacelift/kubeconfig\")\n .writeOnly(false)\n .build());\n\n var module_kubeconfig = new EnvironmentVariable(\"module-kubeconfig\", EnvironmentVariableArgs.builder() \n .moduleId(\"k8s-module\")\n .value(\"/project/spacelift/kubeconfig\")\n .writeOnly(false)\n .build());\n\n var core_kubeconfig = new EnvironmentVariable(\"core-kubeconfig\", EnvironmentVariableArgs.builder() \n .stackId(\"k8s-core\")\n .value(\"/project/spacelift/kubeconfig\")\n .writeOnly(false)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # For a context\n ireland-kubeconfig:\n type: spacelift:EnvironmentVariable\n properties:\n contextId: prod-k8s-ie\n value: /project/spacelift/kubeconfig\n writeOnly: false\n # For a module\n module-kubeconfig:\n type: spacelift:EnvironmentVariable\n properties:\n moduleId: k8s-module\n value: /project/spacelift/kubeconfig\n writeOnly: false\n # For a stack\n core-kubeconfig:\n type: spacelift:EnvironmentVariable\n properties:\n stackId: k8s-core\n value: /project/spacelift/kubeconfig\n writeOnly: false\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\n\n\n```sh\n $ pulumi import spacelift:index/environmentVariable:EnvironmentVariable ireland-kubeconfig context/$CONTEXT_ID/$ENVIRONMENT_VARIABLE_NAME\n```\n\n\n\n```sh\n $ pulumi import spacelift:index/environmentVariable:EnvironmentVariable module-kubeconfig module/$MODULE_ID/$ENVIRONMENT_VARIABLE_NAME\n```\n\n\n\n```sh\n $ pulumi import spacelift:index/environmentVariable:EnvironmentVariable core-kubeconfig stack/$STACK_ID/$ENVIRONMENT_VARIABLE_NAME\n```\n\n ", + "description": "`spacelift.EnvironmentVariable` defines an environment variable on the context (`spacelift.Context`), stack (`spacelift.Stack`) or a module (`spacelift.Module`), thereby allowing to pass and share various secrets and configuration with Spacelift stacks.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as spacelift from \"@spacelift-io/pulumi-spacelift\";\n\n// For a context\nconst ireland_kubeconfig = new spacelift.EnvironmentVariable(\"ireland-kubeconfig\", {\n contextId: \"prod-k8s-ie\",\n value: \"/project/spacelift/kubeconfig\",\n writeOnly: false,\n});\n// For a module\nconst module_kubeconfig = new spacelift.EnvironmentVariable(\"module-kubeconfig\", {\n moduleId: \"k8s-module\",\n value: \"/project/spacelift/kubeconfig\",\n writeOnly: false,\n});\n// For a stack\nconst core_kubeconfig = new spacelift.EnvironmentVariable(\"core-kubeconfig\", {\n stackId: \"k8s-core\",\n value: \"/project/spacelift/kubeconfig\",\n writeOnly: false,\n});\n```\n```python\nimport pulumi\nimport pulumi_spacelift as spacelift\n\n# For a context\nireland_kubeconfig = spacelift.EnvironmentVariable(\"ireland-kubeconfig\",\n context_id=\"prod-k8s-ie\",\n value=\"/project/spacelift/kubeconfig\",\n write_only=False)\n# For a module\nmodule_kubeconfig = spacelift.EnvironmentVariable(\"module-kubeconfig\",\n module_id=\"k8s-module\",\n value=\"/project/spacelift/kubeconfig\",\n write_only=False)\n# For a stack\ncore_kubeconfig = spacelift.EnvironmentVariable(\"core-kubeconfig\",\n stack_id=\"k8s-core\",\n value=\"/project/spacelift/kubeconfig\",\n write_only=False)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Spacelift = Pulumi.Spacelift;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // For a context\n var ireland_kubeconfig = new Spacelift.EnvironmentVariable(\"ireland-kubeconfig\", new()\n {\n ContextId = \"prod-k8s-ie\",\n Value = \"/project/spacelift/kubeconfig\",\n WriteOnly = false,\n });\n\n // For a module\n var module_kubeconfig = new Spacelift.EnvironmentVariable(\"module-kubeconfig\", new()\n {\n ModuleId = \"k8s-module\",\n Value = \"/project/spacelift/kubeconfig\",\n WriteOnly = false,\n });\n\n // For a stack\n var core_kubeconfig = new Spacelift.EnvironmentVariable(\"core-kubeconfig\", new()\n {\n StackId = \"k8s-core\",\n Value = \"/project/spacelift/kubeconfig\",\n WriteOnly = false,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t// For a context\n\t\t_, err := spacelift.NewEnvironmentVariable(ctx, \"ireland-kubeconfig\", \u0026spacelift.EnvironmentVariableArgs{\n\t\t\tContextId: pulumi.String(\"prod-k8s-ie\"),\n\t\t\tValue: pulumi.String(\"/project/spacelift/kubeconfig\"),\n\t\t\tWriteOnly: pulumi.Bool(false),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t// For a module\n\t\t_, err = spacelift.NewEnvironmentVariable(ctx, \"module-kubeconfig\", \u0026spacelift.EnvironmentVariableArgs{\n\t\t\tModuleId: pulumi.String(\"k8s-module\"),\n\t\t\tValue: pulumi.String(\"/project/spacelift/kubeconfig\"),\n\t\t\tWriteOnly: pulumi.Bool(false),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t// For a stack\n\t\t_, err = spacelift.NewEnvironmentVariable(ctx, \"core-kubeconfig\", \u0026spacelift.EnvironmentVariableArgs{\n\t\t\tStackId: pulumi.String(\"k8s-core\"),\n\t\t\tValue: pulumi.String(\"/project/spacelift/kubeconfig\"),\n\t\t\tWriteOnly: pulumi.Bool(false),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.spacelift.EnvironmentVariable;\nimport com.pulumi.spacelift.EnvironmentVariableArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var ireland_kubeconfig = new EnvironmentVariable(\"ireland-kubeconfig\", EnvironmentVariableArgs.builder() \n .contextId(\"prod-k8s-ie\")\n .value(\"/project/spacelift/kubeconfig\")\n .writeOnly(false)\n .build());\n\n var module_kubeconfig = new EnvironmentVariable(\"module-kubeconfig\", EnvironmentVariableArgs.builder() \n .moduleId(\"k8s-module\")\n .value(\"/project/spacelift/kubeconfig\")\n .writeOnly(false)\n .build());\n\n var core_kubeconfig = new EnvironmentVariable(\"core-kubeconfig\", EnvironmentVariableArgs.builder() \n .stackId(\"k8s-core\")\n .value(\"/project/spacelift/kubeconfig\")\n .writeOnly(false)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # For a context\n ireland-kubeconfig:\n type: spacelift:EnvironmentVariable\n properties:\n contextId: prod-k8s-ie\n value: /project/spacelift/kubeconfig\n writeOnly: false\n # For a module\n module-kubeconfig:\n type: spacelift:EnvironmentVariable\n properties:\n moduleId: k8s-module\n value: /project/spacelift/kubeconfig\n writeOnly: false\n # For a stack\n core-kubeconfig:\n type: spacelift:EnvironmentVariable\n properties:\n stackId: k8s-core\n value: /project/spacelift/kubeconfig\n writeOnly: false\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\n\n\n```sh\n $ pulumi import spacelift:index/environmentVariable:EnvironmentVariable ireland-kubeconfig context/$CONTEXT_ID/$ENVIRONMENT_VARIABLE_NAME\n```\n\n\n\n```sh\n $ pulumi import spacelift:index/environmentVariable:EnvironmentVariable module-kubeconfig module/$MODULE_ID/$ENVIRONMENT_VARIABLE_NAME\n```\n\n\n\n```sh\n $ pulumi import spacelift:index/environmentVariable:EnvironmentVariable core-kubeconfig stack/$STACK_ID/$ENVIRONMENT_VARIABLE_NAME\n```\n\n ", "properties": { "checksum": { "type": "string", @@ -3324,7 +3473,7 @@ } }, "spacelift:index/module:Module": { - "description": "{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as spacelift from \"@spacelift-io/pulumi-spacelift\";\n\n// Explicit module name and provider:\nconst k8s_module = new spacelift.Module(\"k8s-module\", {\n administrative: true,\n branch: \"master\",\n description: \"Infra terraform module\",\n repository: \"terraform-super-module\",\n terraformProvider: \"aws\",\n});\n// Unspecified module name and provider (repository naming scheme terraform-${provider}-${name})\nconst example_module = new spacelift.Module(\"example-module\", {\n administrative: true,\n branch: \"master\",\n description: \"Example terraform module\",\n projectRoot: \"example\",\n repository: \"terraform-aws-example\",\n});\n```\n```python\nimport pulumi\nimport pulumi_spacelift as spacelift\n\n# Explicit module name and provider:\nk8s_module = spacelift.Module(\"k8s-module\",\n administrative=True,\n branch=\"master\",\n description=\"Infra terraform module\",\n repository=\"terraform-super-module\",\n terraform_provider=\"aws\")\n# Unspecified module name and provider (repository naming scheme terraform-${provider}-${name})\nexample_module = spacelift.Module(\"example-module\",\n administrative=True,\n branch=\"master\",\n description=\"Example terraform module\",\n project_root=\"example\",\n repository=\"terraform-aws-example\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Spacelift = Pulumi.Spacelift;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Explicit module name and provider:\n var k8s_module = new Spacelift.Module(\"k8s-module\", new()\n {\n Administrative = true,\n Branch = \"master\",\n Description = \"Infra terraform module\",\n Repository = \"terraform-super-module\",\n TerraformProvider = \"aws\",\n });\n\n // Unspecified module name and provider (repository naming scheme terraform-${provider}-${name})\n var example_module = new Spacelift.Module(\"example-module\", new()\n {\n Administrative = true,\n Branch = \"master\",\n Description = \"Example terraform module\",\n ProjectRoot = \"example\",\n Repository = \"terraform-aws-example\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := spacelift.NewModule(ctx, \"k8s-module\", \u0026spacelift.ModuleArgs{\n\t\t\tAdministrative: pulumi.Bool(true),\n\t\t\tBranch: pulumi.String(\"master\"),\n\t\t\tDescription: pulumi.String(\"Infra terraform module\"),\n\t\t\tRepository: pulumi.String(\"terraform-super-module\"),\n\t\t\tTerraformProvider: pulumi.String(\"aws\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = spacelift.NewModule(ctx, \"example-module\", \u0026spacelift.ModuleArgs{\n\t\t\tAdministrative: pulumi.Bool(true),\n\t\t\tBranch: pulumi.String(\"master\"),\n\t\t\tDescription: pulumi.String(\"Example terraform module\"),\n\t\t\tProjectRoot: pulumi.String(\"example\"),\n\t\t\tRepository: pulumi.String(\"terraform-aws-example\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.spacelift.Module;\nimport com.pulumi.spacelift.ModuleArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var k8s_module = new Module(\"k8s-module\", ModuleArgs.builder() \n .administrative(true)\n .branch(\"master\")\n .description(\"Infra terraform module\")\n .repository(\"terraform-super-module\")\n .terraformProvider(\"aws\")\n .build());\n\n var example_module = new Module(\"example-module\", ModuleArgs.builder() \n .administrative(true)\n .branch(\"master\")\n .description(\"Example terraform module\")\n .projectRoot(\"example\")\n .repository(\"terraform-aws-example\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Explicit module name and provider:\n k8s-module:\n type: spacelift:Module\n properties:\n administrative: true\n branch: master\n description: Infra terraform module\n repository: terraform-super-module\n terraformProvider: aws\n # Unspecified module name and provider (repository naming scheme terraform-${provider}-${name})\n example-module:\n type: spacelift:Module\n properties:\n administrative: true\n branch: master\n description: Example terraform module\n projectRoot: example\n repository: terraform-aws-example\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\n\n\n```sh\n $ pulumi import spacelift:index/module:Module k8s-module $MODULE_ID\n```\n\n ", + "description": "{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as spacelift from \"@spacelift-io/pulumi-spacelift\";\n\n// Explicit module name and provider:\nconst k8s_module = new spacelift.Module(\"k8s-module\", {\n administrative: true,\n branch: \"master\",\n description: \"Infra terraform module\",\n repository: \"terraform-super-module\",\n terraformProvider: \"aws\",\n});\n// Unspecified module name and provider (repository naming scheme terraform-${provider}-${name})\nconst example_module = new spacelift.Module(\"example-module\", {\n administrative: true,\n branch: \"master\",\n description: \"Example terraform module\",\n projectRoot: \"example\",\n repository: \"terraform-aws-example\",\n});\n```\n```python\nimport pulumi\nimport pulumi_spacelift as spacelift\n\n# Explicit module name and provider:\nk8s_module = spacelift.Module(\"k8s-module\",\n administrative=True,\n branch=\"master\",\n description=\"Infra terraform module\",\n repository=\"terraform-super-module\",\n terraform_provider=\"aws\")\n# Unspecified module name and provider (repository naming scheme terraform-${provider}-${name})\nexample_module = spacelift.Module(\"example-module\",\n administrative=True,\n branch=\"master\",\n description=\"Example terraform module\",\n project_root=\"example\",\n repository=\"terraform-aws-example\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Spacelift = Pulumi.Spacelift;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Explicit module name and provider:\n var k8s_module = new Spacelift.Module(\"k8s-module\", new()\n {\n Administrative = true,\n Branch = \"master\",\n Description = \"Infra terraform module\",\n Repository = \"terraform-super-module\",\n TerraformProvider = \"aws\",\n });\n\n // Unspecified module name and provider (repository naming scheme terraform-${provider}-${name})\n var example_module = new Spacelift.Module(\"example-module\", new()\n {\n Administrative = true,\n Branch = \"master\",\n Description = \"Example terraform module\",\n ProjectRoot = \"example\",\n Repository = \"terraform-aws-example\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t// Explicit module name and provider:\n\t\t_, err := spacelift.NewModule(ctx, \"k8s-module\", \u0026spacelift.ModuleArgs{\n\t\t\tAdministrative: pulumi.Bool(true),\n\t\t\tBranch: pulumi.String(\"master\"),\n\t\t\tDescription: pulumi.String(\"Infra terraform module\"),\n\t\t\tRepository: pulumi.String(\"terraform-super-module\"),\n\t\t\tTerraformProvider: pulumi.String(\"aws\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t// Unspecified module name and provider (repository naming scheme terraform-${provider}-${name})\n\t\t_, err = spacelift.NewModule(ctx, \"example-module\", \u0026spacelift.ModuleArgs{\n\t\t\tAdministrative: pulumi.Bool(true),\n\t\t\tBranch: pulumi.String(\"master\"),\n\t\t\tDescription: pulumi.String(\"Example terraform module\"),\n\t\t\tProjectRoot: pulumi.String(\"example\"),\n\t\t\tRepository: pulumi.String(\"terraform-aws-example\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.spacelift.Module;\nimport com.pulumi.spacelift.ModuleArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var k8s_module = new Module(\"k8s-module\", ModuleArgs.builder() \n .administrative(true)\n .branch(\"master\")\n .description(\"Infra terraform module\")\n .repository(\"terraform-super-module\")\n .terraformProvider(\"aws\")\n .build());\n\n var example_module = new Module(\"example-module\", ModuleArgs.builder() \n .administrative(true)\n .branch(\"master\")\n .description(\"Example terraform module\")\n .projectRoot(\"example\")\n .repository(\"terraform-aws-example\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Explicit module name and provider:\n k8s-module:\n type: spacelift:Module\n properties:\n administrative: true\n branch: master\n description: Infra terraform module\n repository: terraform-super-module\n terraformProvider: aws\n # Unspecified module name and provider (repository naming scheme terraform-${provider}-${name})\n example-module:\n type: spacelift:Module\n properties:\n administrative: true\n branch: master\n description: Example terraform module\n projectRoot: example\n repository: terraform-aws-example\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\n\n\n```sh\n $ pulumi import spacelift:index/module:Module k8s-module $MODULE_ID\n```\n\n ", "properties": { "administrative": { "type": "boolean", @@ -3605,7 +3754,7 @@ } }, "spacelift:index/mountedfile:Mountedfile": { - "description": "`spacelift.Mountedfile` represents a file mounted in each Run's workspace that is part of a configuration of a context (`spacelift.Context`), stack (`spacelift.Stack`) or a module (`spacelift.Module`). In principle, it's very similar to an environment variable (`spacelift.EnvironmentVariable`) except that the value is written to the filesystem rather than passed to the environment.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as fs from \"fs\";\nimport * as spacelift from \"@spacelift-io/pulumi-spacelift\";\n\n// For a context\nconst ireland_kubeconfig = new spacelift.Mountedfile(\"ireland-kubeconfig\", {\n contextId: \"prod-k8s-ie\",\n relativePath: \"kubeconfig\",\n content: Buffer.from(fs.readFileSync(`${path.module}/kubeconfig.json`), 'binary').toString('base64'),\n});\n// For a module\nconst module_kubeconfig = new spacelift.Mountedfile(\"module-kubeconfig\", {\n moduleId: \"k8s-module\",\n relativePath: \"kubeconfig\",\n content: Buffer.from(fs.readFileSync(`${path.module}/kubeconfig.json`), 'binary').toString('base64'),\n});\n// For a stack\nconst core_kubeconfig = new spacelift.Mountedfile(\"core-kubeconfig\", {\n stackId: \"k8s-core\",\n relativePath: \"kubeconfig\",\n content: Buffer.from(fs.readFileSync(`${path.module}/kubeconfig.json`), 'binary').toString('base64'),\n});\n```\n```python\nimport pulumi\nimport base64\nimport pulumi_spacelift as spacelift\n\n# For a context\nireland_kubeconfig = spacelift.Mountedfile(\"ireland-kubeconfig\",\n context_id=\"prod-k8s-ie\",\n relative_path=\"kubeconfig\",\n content=(lambda path: base64.b64encode(open(path).read().encode()).decode())(f\"{path['module']}/kubeconfig.json\"))\n# For a module\nmodule_kubeconfig = spacelift.Mountedfile(\"module-kubeconfig\",\n module_id=\"k8s-module\",\n relative_path=\"kubeconfig\",\n content=(lambda path: base64.b64encode(open(path).read().encode()).decode())(f\"{path['module']}/kubeconfig.json\"))\n# For a stack\ncore_kubeconfig = spacelift.Mountedfile(\"core-kubeconfig\",\n stack_id=\"k8s-core\",\n relative_path=\"kubeconfig\",\n content=(lambda path: base64.b64encode(open(path).read().encode()).decode())(f\"{path['module']}/kubeconfig.json\"))\n```\n```csharp\nusing System;\nusing System.Collections.Generic;\nusing System.IO;\nusing System.Linq;\nusing Pulumi;\nusing Spacelift = Pulumi.Spacelift;\n\n\tprivate static string ReadFileBase64(string path) {\n\t\treturn Convert.ToBase64String(System.Text.Encoding.UTF8.GetBytes(File.ReadAllText(path)));\n\t}\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // For a context\n var ireland_kubeconfig = new Spacelift.Mountedfile(\"ireland-kubeconfig\", new()\n {\n ContextId = \"prod-k8s-ie\",\n RelativePath = \"kubeconfig\",\n Content = ReadFileBase64($\"{path.Module}/kubeconfig.json\"),\n });\n\n // For a module\n var module_kubeconfig = new Spacelift.Mountedfile(\"module-kubeconfig\", new()\n {\n ModuleId = \"k8s-module\",\n RelativePath = \"kubeconfig\",\n Content = ReadFileBase64($\"{path.Module}/kubeconfig.json\"),\n });\n\n // For a stack\n var core_kubeconfig = new Spacelift.Mountedfile(\"core-kubeconfig\", new()\n {\n StackId = \"k8s-core\",\n RelativePath = \"kubeconfig\",\n Content = ReadFileBase64($\"{path.Module}/kubeconfig.json\"),\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"encoding/base64\"\n\t\"fmt\"\n\t\"os\"\n\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift\"\n)\n\nfunc filebase64OrPanic(path string) pulumi.StringPtrInput {\n\tif fileData, err := os.ReadFile(path); err == nil {\n\t\treturn pulumi.String(base64.StdEncoding.EncodeToString(fileData[:]))\n\t} else {\n\t\tpanic(err.Error())\n\t}\n}\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := spacelift.NewMountedfile(ctx, \"ireland-kubeconfig\", \u0026spacelift.MountedfileArgs{\n\t\t\tContextId: pulumi.String(\"prod-k8s-ie\"),\n\t\t\tRelativePath: pulumi.String(\"kubeconfig\"),\n\t\t\tContent: filebase64OrPanic(fmt.Sprintf(\"%v/kubeconfig.json\", path.Module)),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = spacelift.NewMountedfile(ctx, \"module-kubeconfig\", \u0026spacelift.MountedfileArgs{\n\t\t\tModuleId: pulumi.String(\"k8s-module\"),\n\t\t\tRelativePath: pulumi.String(\"kubeconfig\"),\n\t\t\tContent: filebase64OrPanic(fmt.Sprintf(\"%v/kubeconfig.json\", path.Module)),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = spacelift.NewMountedfile(ctx, \"core-kubeconfig\", \u0026spacelift.MountedfileArgs{\n\t\t\tStackId: pulumi.String(\"k8s-core\"),\n\t\t\tRelativePath: pulumi.String(\"kubeconfig\"),\n\t\t\tContent: filebase64OrPanic(fmt.Sprintf(\"%v/kubeconfig.json\", path.Module)),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.spacelift.Mountedfile;\nimport com.pulumi.spacelift.MountedfileArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var ireland_kubeconfig = new Mountedfile(\"ireland-kubeconfig\", MountedfileArgs.builder() \n .contextId(\"prod-k8s-ie\")\n .relativePath(\"kubeconfig\")\n .content(Base64.getEncoder().encodeToString(Files.readAllBytes(Paths.get(String.format(\"%s/kubeconfig.json\", path.module())))))\n .build());\n\n var module_kubeconfig = new Mountedfile(\"module-kubeconfig\", MountedfileArgs.builder() \n .moduleId(\"k8s-module\")\n .relativePath(\"kubeconfig\")\n .content(Base64.getEncoder().encodeToString(Files.readAllBytes(Paths.get(String.format(\"%s/kubeconfig.json\", path.module())))))\n .build());\n\n var core_kubeconfig = new Mountedfile(\"core-kubeconfig\", MountedfileArgs.builder() \n .stackId(\"k8s-core\")\n .relativePath(\"kubeconfig\")\n .content(Base64.getEncoder().encodeToString(Files.readAllBytes(Paths.get(String.format(\"%s/kubeconfig.json\", path.module())))))\n .build());\n\n }\n}\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\n\n\n```sh\n $ pulumi import spacelift:index/mountedfile:Mountedfile ireland-kubeconfig context/$CONTEXT_ID/$MOUNTED_FILE_ID\n```\n\n\n\n```sh\n $ pulumi import spacelift:index/mountedfile:Mountedfile module-kubeconfig module/$MODULE_ID/$MOUNTED_FILE_ID\n```\n\n\n\n```sh\n $ pulumi import spacelift:index/mountedfile:Mountedfile core-kubeconfig stack/$STACK_ID/$MOUNTED_FILE_ID\n```\n\n ", + "description": "`spacelift.Mountedfile` represents a file mounted in each Run's workspace that is part of a configuration of a context (`spacelift.Context`), stack (`spacelift.Stack`) or a module (`spacelift.Module`). In principle, it's very similar to an environment variable (`spacelift.EnvironmentVariable`) except that the value is written to the filesystem rather than passed to the environment.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as fs from \"fs\";\nimport * as spacelift from \"@spacelift-io/pulumi-spacelift\";\n\n// For a context\nconst ireland_kubeconfig = new spacelift.Mountedfile(\"ireland-kubeconfig\", {\n contextId: \"prod-k8s-ie\",\n relativePath: \"kubeconfig\",\n content: fs.readFileSync(`${path.module}/kubeconfig.json`, { encoding: \"base64\" }),\n});\n// For a module\nconst module_kubeconfig = new spacelift.Mountedfile(\"module-kubeconfig\", {\n moduleId: \"k8s-module\",\n relativePath: \"kubeconfig\",\n content: fs.readFileSync(`${path.module}/kubeconfig.json`, { encoding: \"base64\" }),\n});\n// For a stack\nconst core_kubeconfig = new spacelift.Mountedfile(\"core-kubeconfig\", {\n stackId: \"k8s-core\",\n relativePath: \"kubeconfig\",\n content: fs.readFileSync(`${path.module}/kubeconfig.json`, { encoding: \"base64\" }),\n});\n```\n```python\nimport pulumi\nimport base64\nimport pulumi_spacelift as spacelift\n\n# For a context\nireland_kubeconfig = spacelift.Mountedfile(\"ireland-kubeconfig\",\n context_id=\"prod-k8s-ie\",\n relative_path=\"kubeconfig\",\n content=(lambda path: base64.b64encode(open(path).read().encode()).decode())(f\"{path['module']}/kubeconfig.json\"))\n# For a module\nmodule_kubeconfig = spacelift.Mountedfile(\"module-kubeconfig\",\n module_id=\"k8s-module\",\n relative_path=\"kubeconfig\",\n content=(lambda path: base64.b64encode(open(path).read().encode()).decode())(f\"{path['module']}/kubeconfig.json\"))\n# For a stack\ncore_kubeconfig = spacelift.Mountedfile(\"core-kubeconfig\",\n stack_id=\"k8s-core\",\n relative_path=\"kubeconfig\",\n content=(lambda path: base64.b64encode(open(path).read().encode()).decode())(f\"{path['module']}/kubeconfig.json\"))\n```\n```csharp\nusing System;\nusing System.Collections.Generic;\nusing System.IO;\nusing System.Linq;\nusing Pulumi;\nusing Spacelift = Pulumi.Spacelift;\n\n\t\nstring ReadFileBase64(string path) \n{\n return Convert.ToBase64String(Encoding.UTF8.GetBytes(File.ReadAllText(path)));\n}\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // For a context\n var ireland_kubeconfig = new Spacelift.Mountedfile(\"ireland-kubeconfig\", new()\n {\n ContextId = \"prod-k8s-ie\",\n RelativePath = \"kubeconfig\",\n Content = ReadFileBase64($\"{path.Module}/kubeconfig.json\"),\n });\n\n // For a module\n var module_kubeconfig = new Spacelift.Mountedfile(\"module-kubeconfig\", new()\n {\n ModuleId = \"k8s-module\",\n RelativePath = \"kubeconfig\",\n Content = ReadFileBase64($\"{path.Module}/kubeconfig.json\"),\n });\n\n // For a stack\n var core_kubeconfig = new Spacelift.Mountedfile(\"core-kubeconfig\", new()\n {\n StackId = \"k8s-core\",\n RelativePath = \"kubeconfig\",\n Content = ReadFileBase64($\"{path.Module}/kubeconfig.json\"),\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"encoding/base64\"\n\t\"fmt\"\n\t\"os\"\n\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift\"\n)\n\nfunc filebase64OrPanic(path string) string {\n\tif fileData, err := os.ReadFile(path); err == nil {\n\t\treturn base64.StdEncoding.EncodeToString(fileData[:])\n\t} else {\n\t\tpanic(err.Error())\n\t}\n}\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t// For a context\n\t\t_, err := spacelift.NewMountedfile(ctx, \"ireland-kubeconfig\", \u0026spacelift.MountedfileArgs{\n\t\t\tContextId: pulumi.String(\"prod-k8s-ie\"),\n\t\t\tRelativePath: pulumi.String(\"kubeconfig\"),\n\t\t\tContent: filebase64OrPanic(fmt.Sprintf(\"%v/kubeconfig.json\", path.Module)),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t// For a module\n\t\t_, err = spacelift.NewMountedfile(ctx, \"module-kubeconfig\", \u0026spacelift.MountedfileArgs{\n\t\t\tModuleId: pulumi.String(\"k8s-module\"),\n\t\t\tRelativePath: pulumi.String(\"kubeconfig\"),\n\t\t\tContent: filebase64OrPanic(fmt.Sprintf(\"%v/kubeconfig.json\", path.Module)),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t// For a stack\n\t\t_, err = spacelift.NewMountedfile(ctx, \"core-kubeconfig\", \u0026spacelift.MountedfileArgs{\n\t\t\tStackId: pulumi.String(\"k8s-core\"),\n\t\t\tRelativePath: pulumi.String(\"kubeconfig\"),\n\t\t\tContent: filebase64OrPanic(fmt.Sprintf(\"%v/kubeconfig.json\", path.Module)),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.spacelift.Mountedfile;\nimport com.pulumi.spacelift.MountedfileArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var ireland_kubeconfig = new Mountedfile(\"ireland-kubeconfig\", MountedfileArgs.builder() \n .contextId(\"prod-k8s-ie\")\n .relativePath(\"kubeconfig\")\n .content(Base64.getEncoder().encodeToString(Files.readAllBytes(Paths.get(String.format(\"%s/kubeconfig.json\", path.module())))))\n .build());\n\n var module_kubeconfig = new Mountedfile(\"module-kubeconfig\", MountedfileArgs.builder() \n .moduleId(\"k8s-module\")\n .relativePath(\"kubeconfig\")\n .content(Base64.getEncoder().encodeToString(Files.readAllBytes(Paths.get(String.format(\"%s/kubeconfig.json\", path.module())))))\n .build());\n\n var core_kubeconfig = new Mountedfile(\"core-kubeconfig\", MountedfileArgs.builder() \n .stackId(\"k8s-core\")\n .relativePath(\"kubeconfig\")\n .content(Base64.getEncoder().encodeToString(Files.readAllBytes(Paths.get(String.format(\"%s/kubeconfig.json\", path.module())))))\n .build());\n\n }\n}\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\n\n\n```sh\n $ pulumi import spacelift:index/mountedfile:Mountedfile ireland-kubeconfig context/$CONTEXT_ID/$MOUNTED_FILE_ID\n```\n\n\n\n```sh\n $ pulumi import spacelift:index/mountedfile:Mountedfile module-kubeconfig module/$MODULE_ID/$MOUNTED_FILE_ID\n```\n\n\n\n```sh\n $ pulumi import spacelift:index/mountedfile:Mountedfile core-kubeconfig stack/$STACK_ID/$MOUNTED_FILE_ID\n```\n\n ", "properties": { "checksum": { "type": "string", @@ -3898,7 +4047,7 @@ } }, "spacelift:index/policy:Policy": { - "description": "`spacelift.Policy` represents a Spacelift **policy** - a collection of customer-defined rules that are applied by Spacelift at one of the decision points within the application.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as fs from \"fs\";\nimport * as spacelift from \"@spacelift-io/pulumi-spacelift\";\n\nconst no_weekend_deploysPolicy = new spacelift.Policy(\"no-weekend-deploysPolicy\", {\n body: fs.readFileSync(`${path.module}/policies/no-weekend-deploys.rego`),\n type: \"PLAN\",\n});\nconst core_infra_production = new spacelift.Stack(\"core-infra-production\", {\n branch: \"master\",\n repository: \"core-infra\",\n});\nconst no_weekend_deploysPolicyAttachment = new spacelift.PolicyAttachment(\"no-weekend-deploysPolicyAttachment\", {\n policyId: no_weekend_deploysPolicy.id,\n stackId: core_infra_production.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_spacelift as spacelift\n\nno_weekend_deploys_policy = spacelift.Policy(\"no-weekend-deploysPolicy\",\n body=(lambda path: open(path).read())(f\"{path['module']}/policies/no-weekend-deploys.rego\"),\n type=\"PLAN\")\ncore_infra_production = spacelift.Stack(\"core-infra-production\",\n branch=\"master\",\n repository=\"core-infra\")\nno_weekend_deploys_policy_attachment = spacelift.PolicyAttachment(\"no-weekend-deploysPolicyAttachment\",\n policy_id=no_weekend_deploys_policy.id,\n stack_id=core_infra_production.id)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.IO;\nusing System.Linq;\nusing Pulumi;\nusing Spacelift = Pulumi.Spacelift;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var no_weekend_deploysPolicy = new Spacelift.Policy(\"no-weekend-deploysPolicy\", new()\n {\n Body = File.ReadAllText($\"{path.Module}/policies/no-weekend-deploys.rego\"),\n Type = \"PLAN\",\n });\n\n var core_infra_production = new Spacelift.Stack(\"core-infra-production\", new()\n {\n Branch = \"master\",\n Repository = \"core-infra\",\n });\n\n var no_weekend_deploysPolicyAttachment = new Spacelift.PolicyAttachment(\"no-weekend-deploysPolicyAttachment\", new()\n {\n PolicyId = no_weekend_deploysPolicy.Id,\n StackId = core_infra_production.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\t\"os\"\n\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift\"\n)\n\nfunc readFileOrPanic(path string) pulumi.StringPtrInput {\n\tdata, err := os.ReadFile(path)\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\treturn pulumi.String(string(data))\n}\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := spacelift.NewPolicy(ctx, \"no-weekend-deploysPolicy\", \u0026spacelift.PolicyArgs{\n\t\t\tBody: readFileOrPanic(fmt.Sprintf(\"%v/policies/no-weekend-deploys.rego\", path.Module)),\n\t\t\tType: pulumi.String(\"PLAN\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = spacelift.NewStack(ctx, \"core-infra-production\", \u0026spacelift.StackArgs{\n\t\t\tBranch: pulumi.String(\"master\"),\n\t\t\tRepository: pulumi.String(\"core-infra\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = spacelift.NewPolicyAttachment(ctx, \"no-weekend-deploysPolicyAttachment\", \u0026spacelift.PolicyAttachmentArgs{\n\t\t\tPolicyId: no_weekend_deploysPolicy.ID(),\n\t\t\tStackId: core_infra_production.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.spacelift.Policy;\nimport com.pulumi.spacelift.PolicyArgs;\nimport com.pulumi.spacelift.Stack;\nimport com.pulumi.spacelift.StackArgs;\nimport com.pulumi.spacelift.PolicyAttachment;\nimport com.pulumi.spacelift.PolicyAttachmentArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var no_weekend_deploysPolicy = new Policy(\"no-weekend-deploysPolicy\", PolicyArgs.builder() \n .body(Files.readString(Paths.get(String.format(\"%s/policies/no-weekend-deploys.rego\", path.module()))))\n .type(\"PLAN\")\n .build());\n\n var core_infra_production = new Stack(\"core-infra-production\", StackArgs.builder() \n .branch(\"master\")\n .repository(\"core-infra\")\n .build());\n\n var no_weekend_deploysPolicyAttachment = new PolicyAttachment(\"no-weekend-deploysPolicyAttachment\", PolicyAttachmentArgs.builder() \n .policyId(no_weekend_deploysPolicy.id())\n .stackId(core_infra_production.id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n no-weekend-deploysPolicy:\n type: spacelift:Policy\n properties:\n body:\n fn::readFile: ${path.module}/policies/no-weekend-deploys.rego\n type: PLAN\n core-infra-production:\n type: spacelift:Stack\n properties:\n branch: master\n repository: core-infra\n no-weekend-deploysPolicyAttachment:\n type: spacelift:PolicyAttachment\n properties:\n policyId: ${[\"no-weekend-deploysPolicy\"].id}\n stackId: ${[\"core-infra-production\"].id}\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\n\n\n```sh\n $ pulumi import spacelift:index/policy:Policy no-weekend-deploys $POLICY_ID\n```\n\n ", + "description": "`spacelift.Policy` represents a Spacelift **policy** - a collection of customer-defined rules that are applied by Spacelift at one of the decision points within the application.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as fs from \"fs\";\nimport * as spacelift from \"@spacelift-io/pulumi-spacelift\";\n\nconst no_weekend_deploysPolicy = new spacelift.Policy(\"no-weekend-deploysPolicy\", {\n body: fs.readFileSync(`${path.module}/policies/no-weekend-deploys.rego`, \"utf8\"),\n type: \"PLAN\",\n});\nconst core_infra_production = new spacelift.Stack(\"core-infra-production\", {\n branch: \"master\",\n repository: \"core-infra\",\n});\nconst no_weekend_deploysPolicyAttachment = new spacelift.PolicyAttachment(\"no-weekend-deploysPolicyAttachment\", {\n policyId: no_weekend_deploysPolicy.id,\n stackId: core_infra_production.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_spacelift as spacelift\n\nno_weekend_deploys_policy = spacelift.Policy(\"no-weekend-deploysPolicy\",\n body=(lambda path: open(path).read())(f\"{path['module']}/policies/no-weekend-deploys.rego\"),\n type=\"PLAN\")\ncore_infra_production = spacelift.Stack(\"core-infra-production\",\n branch=\"master\",\n repository=\"core-infra\")\nno_weekend_deploys_policy_attachment = spacelift.PolicyAttachment(\"no-weekend-deploysPolicyAttachment\",\n policy_id=no_weekend_deploys_policy.id,\n stack_id=core_infra_production.id)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.IO;\nusing System.Linq;\nusing Pulumi;\nusing Spacelift = Pulumi.Spacelift;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var no_weekend_deploysPolicy = new Spacelift.Policy(\"no-weekend-deploysPolicy\", new()\n {\n Body = File.ReadAllText($\"{path.Module}/policies/no-weekend-deploys.rego\"),\n Type = \"PLAN\",\n });\n\n var core_infra_production = new Spacelift.Stack(\"core-infra-production\", new()\n {\n Branch = \"master\",\n Repository = \"core-infra\",\n });\n\n var no_weekend_deploysPolicyAttachment = new Spacelift.PolicyAttachment(\"no-weekend-deploysPolicyAttachment\", new()\n {\n PolicyId = no_weekend_deploysPolicy.Id,\n StackId = core_infra_production.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\t\"os\"\n\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift\"\n)\n\nfunc readFileOrPanic(path string) pulumi.StringPtrInput {\n\tdata, err := os.ReadFile(path)\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\treturn pulumi.String(string(data))\n}\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := spacelift.NewPolicy(ctx, \"no-weekend-deploysPolicy\", \u0026spacelift.PolicyArgs{\n\t\t\tBody: readFileOrPanic(fmt.Sprintf(\"%v/policies/no-weekend-deploys.rego\", path.Module)),\n\t\t\tType: pulumi.String(\"PLAN\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = spacelift.NewStack(ctx, \"core-infra-production\", \u0026spacelift.StackArgs{\n\t\t\tBranch: pulumi.String(\"master\"),\n\t\t\tRepository: pulumi.String(\"core-infra\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = spacelift.NewPolicyAttachment(ctx, \"no-weekend-deploysPolicyAttachment\", \u0026spacelift.PolicyAttachmentArgs{\n\t\t\tPolicyId: no_weekend_deploysPolicy.ID(),\n\t\t\tStackId: core_infra_production.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.spacelift.Policy;\nimport com.pulumi.spacelift.PolicyArgs;\nimport com.pulumi.spacelift.Stack;\nimport com.pulumi.spacelift.StackArgs;\nimport com.pulumi.spacelift.PolicyAttachment;\nimport com.pulumi.spacelift.PolicyAttachmentArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var no_weekend_deploysPolicy = new Policy(\"no-weekend-deploysPolicy\", PolicyArgs.builder() \n .body(Files.readString(Paths.get(String.format(\"%s/policies/no-weekend-deploys.rego\", path.module()))))\n .type(\"PLAN\")\n .build());\n\n var core_infra_production = new Stack(\"core-infra-production\", StackArgs.builder() \n .branch(\"master\")\n .repository(\"core-infra\")\n .build());\n\n var no_weekend_deploysPolicyAttachment = new PolicyAttachment(\"no-weekend-deploysPolicyAttachment\", PolicyAttachmentArgs.builder() \n .policyId(no_weekend_deploysPolicy.id())\n .stackId(core_infra_production.id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n no-weekend-deploysPolicy:\n type: spacelift:Policy\n properties:\n body:\n fn::readFile: ${path.module}/policies/no-weekend-deploys.rego\n type: PLAN\n core-infra-production:\n type: spacelift:Stack\n properties:\n branch: master\n repository: core-infra\n no-weekend-deploysPolicyAttachment:\n type: spacelift:PolicyAttachment\n properties:\n policyId: ${[\"no-weekend-deploysPolicy\"].id}\n stackId: ${[\"core-infra-production\"].id}\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\n\n\n```sh\n $ pulumi import spacelift:index/policy:Policy no-weekend-deploys $POLICY_ID\n```\n\n ", "properties": { "body": { "type": "string", @@ -3989,7 +4138,7 @@ } }, "spacelift:index/policyAttachment:PolicyAttachment": { - "description": "`spacelift.PolicyAttachment` represents a relationship between a policy (`spacelift.Policy`) and a stack (`spacelift.Stack`) or module (`spacelift.Module`). Each policy can only be attached to a stack/module once. `LOGIN` policies are the exception because they apply globally and not to individual stacks/modules. An attempt to attach one will fail.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as fs from \"fs\";\nimport * as spacelift from \"@spacelift-io/pulumi-spacelift\";\n\nconst no_weekend_deploysPolicy = new spacelift.Policy(\"no-weekend-deploysPolicy\", {\n body: fs.readFileSync(\"policies/no-weekend-deploys.rego\"),\n type: \"PLAN\",\n});\nconst core_infra_production = new spacelift.Stack(\"core-infra-production\", {\n branch: \"master\",\n repository: \"core-infra\",\n});\nconst no_weekend_deploysPolicyAttachment = new spacelift.PolicyAttachment(\"no-weekend-deploysPolicyAttachment\", {\n policyId: no_weekend_deploysPolicy.id,\n stackId: core_infra_production.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_spacelift as spacelift\n\nno_weekend_deploys_policy = spacelift.Policy(\"no-weekend-deploysPolicy\",\n body=(lambda path: open(path).read())(\"policies/no-weekend-deploys.rego\"),\n type=\"PLAN\")\ncore_infra_production = spacelift.Stack(\"core-infra-production\",\n branch=\"master\",\n repository=\"core-infra\")\nno_weekend_deploys_policy_attachment = spacelift.PolicyAttachment(\"no-weekend-deploysPolicyAttachment\",\n policy_id=no_weekend_deploys_policy.id,\n stack_id=core_infra_production.id)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.IO;\nusing System.Linq;\nusing Pulumi;\nusing Spacelift = Pulumi.Spacelift;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var no_weekend_deploysPolicy = new Spacelift.Policy(\"no-weekend-deploysPolicy\", new()\n {\n Body = File.ReadAllText(\"policies/no-weekend-deploys.rego\"),\n Type = \"PLAN\",\n });\n\n var core_infra_production = new Spacelift.Stack(\"core-infra-production\", new()\n {\n Branch = \"master\",\n Repository = \"core-infra\",\n });\n\n var no_weekend_deploysPolicyAttachment = new Spacelift.PolicyAttachment(\"no-weekend-deploysPolicyAttachment\", new()\n {\n PolicyId = no_weekend_deploysPolicy.Id,\n StackId = core_infra_production.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"os\"\n\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift\"\n)\n\nfunc readFileOrPanic(path string) pulumi.StringPtrInput {\n\tdata, err := os.ReadFile(path)\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\treturn pulumi.String(string(data))\n}\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := spacelift.NewPolicy(ctx, \"no-weekend-deploysPolicy\", \u0026spacelift.PolicyArgs{\n\t\t\tBody: readFileOrPanic(\"policies/no-weekend-deploys.rego\"),\n\t\t\tType: pulumi.String(\"PLAN\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = spacelift.NewStack(ctx, \"core-infra-production\", \u0026spacelift.StackArgs{\n\t\t\tBranch: pulumi.String(\"master\"),\n\t\t\tRepository: pulumi.String(\"core-infra\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = spacelift.NewPolicyAttachment(ctx, \"no-weekend-deploysPolicyAttachment\", \u0026spacelift.PolicyAttachmentArgs{\n\t\t\tPolicyId: no_weekend_deploysPolicy.ID(),\n\t\t\tStackId: core_infra_production.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.spacelift.Policy;\nimport com.pulumi.spacelift.PolicyArgs;\nimport com.pulumi.spacelift.Stack;\nimport com.pulumi.spacelift.StackArgs;\nimport com.pulumi.spacelift.PolicyAttachment;\nimport com.pulumi.spacelift.PolicyAttachmentArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var no_weekend_deploysPolicy = new Policy(\"no-weekend-deploysPolicy\", PolicyArgs.builder() \n .body(Files.readString(Paths.get(\"policies/no-weekend-deploys.rego\")))\n .type(\"PLAN\")\n .build());\n\n var core_infra_production = new Stack(\"core-infra-production\", StackArgs.builder() \n .branch(\"master\")\n .repository(\"core-infra\")\n .build());\n\n var no_weekend_deploysPolicyAttachment = new PolicyAttachment(\"no-weekend-deploysPolicyAttachment\", PolicyAttachmentArgs.builder() \n .policyId(no_weekend_deploysPolicy.id())\n .stackId(core_infra_production.id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n no-weekend-deploysPolicy:\n type: spacelift:Policy\n properties:\n body:\n fn::readFile: policies/no-weekend-deploys.rego\n type: PLAN\n core-infra-production:\n type: spacelift:Stack\n properties:\n branch: master\n repository: core-infra\n no-weekend-deploysPolicyAttachment:\n type: spacelift:PolicyAttachment\n properties:\n policyId: ${[\"no-weekend-deploysPolicy\"].id}\n stackId: ${[\"core-infra-production\"].id}\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\n\n\n```sh\n $ pulumi import spacelift:index/policyAttachment:PolicyAttachment no-weekend-deploys $POLICY_ID/$STACK_ID\n```\n\n ", + "description": "`spacelift.PolicyAttachment` represents a relationship between a policy (`spacelift.Policy`) and a stack (`spacelift.Stack`) or module (`spacelift.Module`). Each policy can only be attached to a stack/module once. `LOGIN` policies are the exception because they apply globally and not to individual stacks/modules. An attempt to attach one will fail.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as fs from \"fs\";\nimport * as spacelift from \"@spacelift-io/pulumi-spacelift\";\n\nconst no_weekend_deploysPolicy = new spacelift.Policy(\"no-weekend-deploysPolicy\", {\n body: fs.readFileSync(\"policies/no-weekend-deploys.rego\", \"utf8\"),\n type: \"PLAN\",\n});\nconst core_infra_production = new spacelift.Stack(\"core-infra-production\", {\n branch: \"master\",\n repository: \"core-infra\",\n});\nconst no_weekend_deploysPolicyAttachment = new spacelift.PolicyAttachment(\"no-weekend-deploysPolicyAttachment\", {\n policyId: no_weekend_deploysPolicy.id,\n stackId: core_infra_production.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_spacelift as spacelift\n\nno_weekend_deploys_policy = spacelift.Policy(\"no-weekend-deploysPolicy\",\n body=(lambda path: open(path).read())(\"policies/no-weekend-deploys.rego\"),\n type=\"PLAN\")\ncore_infra_production = spacelift.Stack(\"core-infra-production\",\n branch=\"master\",\n repository=\"core-infra\")\nno_weekend_deploys_policy_attachment = spacelift.PolicyAttachment(\"no-weekend-deploysPolicyAttachment\",\n policy_id=no_weekend_deploys_policy.id,\n stack_id=core_infra_production.id)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.IO;\nusing System.Linq;\nusing Pulumi;\nusing Spacelift = Pulumi.Spacelift;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var no_weekend_deploysPolicy = new Spacelift.Policy(\"no-weekend-deploysPolicy\", new()\n {\n Body = File.ReadAllText(\"policies/no-weekend-deploys.rego\"),\n Type = \"PLAN\",\n });\n\n var core_infra_production = new Spacelift.Stack(\"core-infra-production\", new()\n {\n Branch = \"master\",\n Repository = \"core-infra\",\n });\n\n var no_weekend_deploysPolicyAttachment = new Spacelift.PolicyAttachment(\"no-weekend-deploysPolicyAttachment\", new()\n {\n PolicyId = no_weekend_deploysPolicy.Id,\n StackId = core_infra_production.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"os\"\n\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift\"\n)\n\nfunc readFileOrPanic(path string) pulumi.StringPtrInput {\n\tdata, err := os.ReadFile(path)\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\treturn pulumi.String(string(data))\n}\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := spacelift.NewPolicy(ctx, \"no-weekend-deploysPolicy\", \u0026spacelift.PolicyArgs{\n\t\t\tBody: readFileOrPanic(\"policies/no-weekend-deploys.rego\"),\n\t\t\tType: pulumi.String(\"PLAN\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = spacelift.NewStack(ctx, \"core-infra-production\", \u0026spacelift.StackArgs{\n\t\t\tBranch: pulumi.String(\"master\"),\n\t\t\tRepository: pulumi.String(\"core-infra\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = spacelift.NewPolicyAttachment(ctx, \"no-weekend-deploysPolicyAttachment\", \u0026spacelift.PolicyAttachmentArgs{\n\t\t\tPolicyId: no_weekend_deploysPolicy.ID(),\n\t\t\tStackId: core_infra_production.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.spacelift.Policy;\nimport com.pulumi.spacelift.PolicyArgs;\nimport com.pulumi.spacelift.Stack;\nimport com.pulumi.spacelift.StackArgs;\nimport com.pulumi.spacelift.PolicyAttachment;\nimport com.pulumi.spacelift.PolicyAttachmentArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var no_weekend_deploysPolicy = new Policy(\"no-weekend-deploysPolicy\", PolicyArgs.builder() \n .body(Files.readString(Paths.get(\"policies/no-weekend-deploys.rego\")))\n .type(\"PLAN\")\n .build());\n\n var core_infra_production = new Stack(\"core-infra-production\", StackArgs.builder() \n .branch(\"master\")\n .repository(\"core-infra\")\n .build());\n\n var no_weekend_deploysPolicyAttachment = new PolicyAttachment(\"no-weekend-deploysPolicyAttachment\", PolicyAttachmentArgs.builder() \n .policyId(no_weekend_deploysPolicy.id())\n .stackId(core_infra_production.id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n no-weekend-deploysPolicy:\n type: spacelift:Policy\n properties:\n body:\n fn::readFile: policies/no-weekend-deploys.rego\n type: PLAN\n core-infra-production:\n type: spacelift:Stack\n properties:\n branch: master\n repository: core-infra\n no-weekend-deploysPolicyAttachment:\n type: spacelift:PolicyAttachment\n properties:\n policyId: ${[\"no-weekend-deploysPolicy\"].id}\n stackId: ${[\"core-infra-production\"].id}\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\n\n\n```sh\n $ pulumi import spacelift:index/policyAttachment:PolicyAttachment no-weekend-deploys $POLICY_ID/$STACK_ID\n```\n\n ", "properties": { "moduleId": { "type": "string", @@ -4134,7 +4283,7 @@ } }, "spacelift:index/scheduledDeleteTask:ScheduledDeleteTask": { - "description": "`spacelift.ScheduledDeleteTask` represents a scheduling configuration for a Stack. It will trigger a stack deletion task at the given timestamp.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as spacelift from \"@spacelift-io/pulumi-spacelift\";\n\nconst k8s_core = new spacelift.Stack(\"k8s-core\", {});\n// ...\n// at a given timestamp (unix)\nconst k8s_core_delete = new spacelift.ScheduledDeleteTask(\"k8s-core-delete\", {\n stackId: k8s_core.id,\n at: 1663336895,\n deleteResources: true,\n});\n```\n```python\nimport pulumi\nimport pulumi_spacelift as spacelift\n\nk8s_core = spacelift.Stack(\"k8s-core\")\n# ...\n# at a given timestamp (unix)\nk8s_core_delete = spacelift.ScheduledDeleteTask(\"k8s-core-delete\",\n stack_id=k8s_core.id,\n at=1663336895,\n delete_resources=True)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Spacelift = Pulumi.Spacelift;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var k8s_core = new Spacelift.Stack(\"k8s-core\");\n\n // ...\n // at a given timestamp (unix)\n var k8s_core_delete = new Spacelift.ScheduledDeleteTask(\"k8s-core-delete\", new()\n {\n StackId = k8s_core.Id,\n At = 1663336895,\n DeleteResources = true,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := spacelift.NewStack(ctx, \"k8s-core\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = spacelift.NewScheduledDeleteTask(ctx, \"k8s-core-delete\", \u0026spacelift.ScheduledDeleteTaskArgs{\n\t\t\tStackId: k8s_core.ID(),\n\t\t\tAt: pulumi.Int(1663336895),\n\t\t\tDeleteResources: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.spacelift.Stack;\nimport com.pulumi.spacelift.ScheduledDeleteTask;\nimport com.pulumi.spacelift.ScheduledDeleteTaskArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var k8s_core = new Stack(\"k8s-core\");\n\n var k8s_core_delete = new ScheduledDeleteTask(\"k8s-core-delete\", ScheduledDeleteTaskArgs.builder() \n .stackId(k8s_core.id())\n .at(\"1663336895\")\n .deleteResources(true)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n k8s-core:\n type: spacelift:Stack\n # at a given timestamp (unix)\n k8s-core-delete:\n type: spacelift:ScheduledDeleteTask\n properties:\n stackId: ${[\"k8s-core\"].id}\n at: '1663336895'\n deleteResources: true\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\n\n\n```sh\n $ pulumi import spacelift:index/scheduledDeleteTask:ScheduledDeleteTask ireland-kubeconfig $STACK_ID/$SCHEDULED_DELETE_STACK_ID\n```\n\n ", + "description": "`spacelift.ScheduledDeleteTask` represents a scheduling configuration for a Stack. It will trigger a stack deletion task at the given timestamp.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as spacelift from \"@spacelift-io/pulumi-spacelift\";\n\nconst k8s_core = new spacelift.Stack(\"k8s-core\", {});\n// ...\n// at a given timestamp (unix)\nconst k8s_core_delete = new spacelift.ScheduledDeleteTask(\"k8s-core-delete\", {\n stackId: k8s_core.id,\n at: 1663336895,\n deleteResources: true,\n});\n```\n```python\nimport pulumi\nimport pulumi_spacelift as spacelift\n\nk8s_core = spacelift.Stack(\"k8s-core\")\n# ...\n# at a given timestamp (unix)\nk8s_core_delete = spacelift.ScheduledDeleteTask(\"k8s-core-delete\",\n stack_id=k8s_core.id,\n at=1663336895,\n delete_resources=True)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Spacelift = Pulumi.Spacelift;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var k8s_core = new Spacelift.Stack(\"k8s-core\");\n\n // ...\n // at a given timestamp (unix)\n var k8s_core_delete = new Spacelift.ScheduledDeleteTask(\"k8s-core-delete\", new()\n {\n StackId = k8s_core.Id,\n At = 1663336895,\n DeleteResources = true,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := spacelift.NewStack(ctx, \"k8s-core\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t// at a given timestamp (unix)\n\t\t_, err = spacelift.NewScheduledDeleteTask(ctx, \"k8s-core-delete\", \u0026spacelift.ScheduledDeleteTaskArgs{\n\t\t\tStackId: k8s_core.ID(),\n\t\t\tAt: pulumi.Int(1663336895),\n\t\t\tDeleteResources: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.spacelift.Stack;\nimport com.pulumi.spacelift.ScheduledDeleteTask;\nimport com.pulumi.spacelift.ScheduledDeleteTaskArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var k8s_core = new Stack(\"k8s-core\");\n\n var k8s_core_delete = new ScheduledDeleteTask(\"k8s-core-delete\", ScheduledDeleteTaskArgs.builder() \n .stackId(k8s_core.id())\n .at(\"1663336895\")\n .deleteResources(true)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n k8s-core:\n type: spacelift:Stack\n # at a given timestamp (unix)\n k8s-core-delete:\n type: spacelift:ScheduledDeleteTask\n properties:\n stackId: ${[\"k8s-core\"].id}\n at: '1663336895'\n deleteResources: true\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\n\n\n```sh\n $ pulumi import spacelift:index/scheduledDeleteTask:ScheduledDeleteTask ireland-kubeconfig $STACK_ID/$SCHEDULED_DELETE_STACK_ID\n```\n\n ", "properties": { "at": { "type": "integer", @@ -4206,7 +4355,7 @@ } }, "spacelift:index/scheduledTask:ScheduledTask": { - "description": "`spacelift.ScheduledTask` represents a scheduling configuration for a Stack. It will trigger task on the given schedule or timestamp\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as spacelift from \"@spacelift-io/pulumi-spacelift\";\n\nconst k8s_core = new spacelift.Stack(\"k8s-core\", {});\n// ...\n// create the resources of a stack on a given schedule\nconst k8s_core_create = new spacelift.ScheduledTask(\"k8s-core-create\", {\n stackId: k8s_core.id,\n command: \"pulumi up -auto-approve\",\n everies: [\"0 7 * * 1-5\"],\n timezone: \"CET\",\n});\n// destroy the resources of a stack on a given schedule\nconst k8s_core_destroyScheduledTask = new spacelift.ScheduledTask(\"k8s-core-destroyScheduledTask\", {\n stackId: k8s_core.id,\n command: \"terraform destroy -auto-approve\",\n everies: [\"0 21 * * 1-5\"],\n timezone: \"CET\",\n});\n// at a given timestamp (unix)\nconst k8s_core_destroyIndex_scheduledTaskScheduledTask = new spacelift.ScheduledTask(\"k8s-core-destroyIndex/scheduledTaskScheduledTask\", {\n stackId: k8s_core.id,\n command: \"terraform destroy -auto-approve\",\n at: 1663336895,\n});\n```\n```python\nimport pulumi\nimport pulumi_spacelift as spacelift\n\nk8s_core = spacelift.Stack(\"k8s-core\")\n# ...\n# create the resources of a stack on a given schedule\nk8s_core_create = spacelift.ScheduledTask(\"k8s-core-create\",\n stack_id=k8s_core.id,\n command=\"pulumi up -auto-approve\",\n everies=[\"0 7 * * 1-5\"],\n timezone=\"CET\")\n# destroy the resources of a stack on a given schedule\nk8s_core_destroy_scheduled_task = spacelift.ScheduledTask(\"k8s-core-destroyScheduledTask\",\n stack_id=k8s_core.id,\n command=\"terraform destroy -auto-approve\",\n everies=[\"0 21 * * 1-5\"],\n timezone=\"CET\")\n# at a given timestamp (unix)\nk8s_core_destroy_index_scheduled_task_scheduled_task = spacelift.ScheduledTask(\"k8s-core-destroyIndex/scheduledTaskScheduledTask\",\n stack_id=k8s_core.id,\n command=\"terraform destroy -auto-approve\",\n at=1663336895)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Spacelift = Pulumi.Spacelift;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var k8s_core = new Spacelift.Stack(\"k8s-core\");\n\n // ...\n // create the resources of a stack on a given schedule\n var k8s_core_create = new Spacelift.ScheduledTask(\"k8s-core-create\", new()\n {\n StackId = k8s_core.Id,\n Command = \"pulumi up -auto-approve\",\n Everies = new[]\n {\n \"0 7 * * 1-5\",\n },\n Timezone = \"CET\",\n });\n\n // destroy the resources of a stack on a given schedule\n var k8s_core_destroyScheduledTask = new Spacelift.ScheduledTask(\"k8s-core-destroyScheduledTask\", new()\n {\n StackId = k8s_core.Id,\n Command = \"terraform destroy -auto-approve\",\n Everies = new[]\n {\n \"0 21 * * 1-5\",\n },\n Timezone = \"CET\",\n });\n\n // at a given timestamp (unix)\n var k8s_core_destroyIndex_scheduledTaskScheduledTask = new Spacelift.ScheduledTask(\"k8s-core-destroyIndex/scheduledTaskScheduledTask\", new()\n {\n StackId = k8s_core.Id,\n Command = \"terraform destroy -auto-approve\",\n At = 1663336895,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := spacelift.NewStack(ctx, \"k8s-core\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = spacelift.NewScheduledTask(ctx, \"k8s-core-create\", \u0026spacelift.ScheduledTaskArgs{\n\t\t\tStackId: k8s_core.ID(),\n\t\t\tCommand: pulumi.String(\"pulumi up -auto-approve\"),\n\t\t\tEveries: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"0 7 * * 1-5\"),\n\t\t\t},\n\t\t\tTimezone: pulumi.String(\"CET\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = spacelift.NewScheduledTask(ctx, \"k8s-core-destroyScheduledTask\", \u0026spacelift.ScheduledTaskArgs{\n\t\t\tStackId: k8s_core.ID(),\n\t\t\tCommand: pulumi.String(\"terraform destroy -auto-approve\"),\n\t\t\tEveries: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"0 21 * * 1-5\"),\n\t\t\t},\n\t\t\tTimezone: pulumi.String(\"CET\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = spacelift.NewScheduledTask(ctx, \"k8s-core-destroyIndex/scheduledTaskScheduledTask\", \u0026spacelift.ScheduledTaskArgs{\n\t\t\tStackId: k8s_core.ID(),\n\t\t\tCommand: pulumi.String(\"terraform destroy -auto-approve\"),\n\t\t\tAt: pulumi.Int(1663336895),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.spacelift.Stack;\nimport com.pulumi.spacelift.ScheduledTask;\nimport com.pulumi.spacelift.ScheduledTaskArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var k8s_core = new Stack(\"k8s-core\");\n\n var k8s_core_create = new ScheduledTask(\"k8s-core-create\", ScheduledTaskArgs.builder() \n .stackId(k8s_core.id())\n .command(\"pulumi up -auto-approve\")\n .everies(\"0 7 * * 1-5\")\n .timezone(\"CET\")\n .build());\n\n var k8s_core_destroyScheduledTask = new ScheduledTask(\"k8s-core-destroyScheduledTask\", ScheduledTaskArgs.builder() \n .stackId(k8s_core.id())\n .command(\"terraform destroy -auto-approve\")\n .everies(\"0 21 * * 1-5\")\n .timezone(\"CET\")\n .build());\n\n var k8s_core_destroyIndex_scheduledTaskScheduledTask = new ScheduledTask(\"k8s-core-destroyIndex/scheduledTaskScheduledTask\", ScheduledTaskArgs.builder() \n .stackId(k8s_core.id())\n .command(\"terraform destroy -auto-approve\")\n .at(\"1663336895\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n k8s-core:\n type: spacelift:Stack\n # create the resources of a stack on a given schedule\n k8s-core-create:\n type: spacelift:ScheduledTask\n properties:\n stackId: ${[\"k8s-core\"].id}\n command: pulumi up -auto-approve\n everies:\n - 0 7 * * 1-5\n timezone: CET\n # destroy the resources of a stack on a given schedule\n k8s-core-destroyScheduledTask:\n type: spacelift:ScheduledTask\n properties:\n stackId: ${[\"k8s-core\"].id}\n command: terraform destroy -auto-approve\n everies:\n - 0 21 * * 1-5\n timezone: CET\n # at a given timestamp (unix)\n k8s-core-destroyIndex/scheduledTaskScheduledTask:\n type: spacelift:ScheduledTask\n properties:\n stackId: ${[\"k8s-core\"].id}\n command: terraform destroy -auto-approve\n at: '1663336895'\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\n\n\n```sh\n $ pulumi import spacelift:index/scheduledTask:ScheduledTask ireland-kubeconfig $STACK_ID/$SCHEDULED_TASK_ID\n```\n\n ", + "description": "`spacelift.ScheduledTask` represents a scheduling configuration for a Stack. It will trigger task on the given schedule or timestamp\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as spacelift from \"@spacelift-io/pulumi-spacelift\";\n\nconst k8s_core = new spacelift.Stack(\"k8s-core\", {});\n// ...\n// create the resources of a stack on a given schedule\nconst k8s_core_create = new spacelift.ScheduledTask(\"k8s-core-create\", {\n stackId: k8s_core.id,\n command: \"pulumi up -auto-approve\",\n everies: [\"0 7 * * 1-5\"],\n timezone: \"CET\",\n});\n// destroy the resources of a stack on a given schedule\nconst k8s_core_destroyScheduledTask = new spacelift.ScheduledTask(\"k8s-core-destroyScheduledTask\", {\n stackId: k8s_core.id,\n command: \"terraform destroy -auto-approve\",\n everies: [\"0 21 * * 1-5\"],\n timezone: \"CET\",\n});\n// at a given timestamp (unix)\nconst k8s_core_destroyIndex_scheduledTaskScheduledTask = new spacelift.ScheduledTask(\"k8s-core-destroyIndex/scheduledTaskScheduledTask\", {\n stackId: k8s_core.id,\n command: \"terraform destroy -auto-approve\",\n at: 1663336895,\n});\n```\n```python\nimport pulumi\nimport pulumi_spacelift as spacelift\n\nk8s_core = spacelift.Stack(\"k8s-core\")\n# ...\n# create the resources of a stack on a given schedule\nk8s_core_create = spacelift.ScheduledTask(\"k8s-core-create\",\n stack_id=k8s_core.id,\n command=\"pulumi up -auto-approve\",\n everies=[\"0 7 * * 1-5\"],\n timezone=\"CET\")\n# destroy the resources of a stack on a given schedule\nk8s_core_destroy_scheduled_task = spacelift.ScheduledTask(\"k8s-core-destroyScheduledTask\",\n stack_id=k8s_core.id,\n command=\"terraform destroy -auto-approve\",\n everies=[\"0 21 * * 1-5\"],\n timezone=\"CET\")\n# at a given timestamp (unix)\nk8s_core_destroy_index_scheduled_task_scheduled_task = spacelift.ScheduledTask(\"k8s-core-destroyIndex/scheduledTaskScheduledTask\",\n stack_id=k8s_core.id,\n command=\"terraform destroy -auto-approve\",\n at=1663336895)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Spacelift = Pulumi.Spacelift;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var k8s_core = new Spacelift.Stack(\"k8s-core\");\n\n // ...\n // create the resources of a stack on a given schedule\n var k8s_core_create = new Spacelift.ScheduledTask(\"k8s-core-create\", new()\n {\n StackId = k8s_core.Id,\n Command = \"pulumi up -auto-approve\",\n Everies = new[]\n {\n \"0 7 * * 1-5\",\n },\n Timezone = \"CET\",\n });\n\n // destroy the resources of a stack on a given schedule\n var k8s_core_destroyScheduledTask = new Spacelift.ScheduledTask(\"k8s-core-destroyScheduledTask\", new()\n {\n StackId = k8s_core.Id,\n Command = \"terraform destroy -auto-approve\",\n Everies = new[]\n {\n \"0 21 * * 1-5\",\n },\n Timezone = \"CET\",\n });\n\n // at a given timestamp (unix)\n var k8s_core_destroyIndex_scheduledTaskScheduledTask = new Spacelift.ScheduledTask(\"k8s-core-destroyIndex/scheduledTaskScheduledTask\", new()\n {\n StackId = k8s_core.Id,\n Command = \"terraform destroy -auto-approve\",\n At = 1663336895,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := spacelift.NewStack(ctx, \"k8s-core\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t// create the resources of a stack on a given schedule\n\t\t_, err = spacelift.NewScheduledTask(ctx, \"k8s-core-create\", \u0026spacelift.ScheduledTaskArgs{\n\t\t\tStackId: k8s_core.ID(),\n\t\t\tCommand: pulumi.String(\"pulumi up -auto-approve\"),\n\t\t\tEveries: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"0 7 * * 1-5\"),\n\t\t\t},\n\t\t\tTimezone: pulumi.String(\"CET\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t// destroy the resources of a stack on a given schedule\n\t\t_, err = spacelift.NewScheduledTask(ctx, \"k8s-core-destroyScheduledTask\", \u0026spacelift.ScheduledTaskArgs{\n\t\t\tStackId: k8s_core.ID(),\n\t\t\tCommand: pulumi.String(\"terraform destroy -auto-approve\"),\n\t\t\tEveries: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"0 21 * * 1-5\"),\n\t\t\t},\n\t\t\tTimezone: pulumi.String(\"CET\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t// at a given timestamp (unix)\n\t\t_, err = spacelift.NewScheduledTask(ctx, \"k8s-core-destroyIndex/scheduledTaskScheduledTask\", \u0026spacelift.ScheduledTaskArgs{\n\t\t\tStackId: k8s_core.ID(),\n\t\t\tCommand: pulumi.String(\"terraform destroy -auto-approve\"),\n\t\t\tAt: pulumi.Int(1663336895),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.spacelift.Stack;\nimport com.pulumi.spacelift.ScheduledTask;\nimport com.pulumi.spacelift.ScheduledTaskArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var k8s_core = new Stack(\"k8s-core\");\n\n var k8s_core_create = new ScheduledTask(\"k8s-core-create\", ScheduledTaskArgs.builder() \n .stackId(k8s_core.id())\n .command(\"pulumi up -auto-approve\")\n .everies(\"0 7 * * 1-5\")\n .timezone(\"CET\")\n .build());\n\n var k8s_core_destroyScheduledTask = new ScheduledTask(\"k8s-core-destroyScheduledTask\", ScheduledTaskArgs.builder() \n .stackId(k8s_core.id())\n .command(\"terraform destroy -auto-approve\")\n .everies(\"0 21 * * 1-5\")\n .timezone(\"CET\")\n .build());\n\n var k8s_core_destroyIndex_scheduledTaskScheduledTask = new ScheduledTask(\"k8s-core-destroyIndex/scheduledTaskScheduledTask\", ScheduledTaskArgs.builder() \n .stackId(k8s_core.id())\n .command(\"terraform destroy -auto-approve\")\n .at(\"1663336895\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n k8s-core:\n type: spacelift:Stack\n # create the resources of a stack on a given schedule\n k8s-core-create:\n type: spacelift:ScheduledTask\n properties:\n stackId: ${[\"k8s-core\"].id}\n command: pulumi up -auto-approve\n everies:\n - 0 7 * * 1-5\n timezone: CET\n # destroy the resources of a stack on a given schedule\n k8s-core-destroyScheduledTask:\n type: spacelift:ScheduledTask\n properties:\n stackId: ${[\"k8s-core\"].id}\n command: terraform destroy -auto-approve\n everies:\n - 0 21 * * 1-5\n timezone: CET\n # at a given timestamp (unix)\n k8s-core-destroyIndex/scheduledTaskScheduledTask:\n type: spacelift:ScheduledTask\n properties:\n stackId: ${[\"k8s-core\"].id}\n command: terraform destroy -auto-approve\n at: '1663336895'\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\n\n\n```sh\n $ pulumi import spacelift:index/scheduledTask:ScheduledTask ireland-kubeconfig $STACK_ID/$SCHEDULED_TASK_ID\n```\n\n ", "properties": { "at": { "type": "integer", @@ -4427,7 +4576,7 @@ } }, "spacelift:index/stack:Stack": { - "description": "`spacelift.Stack` combines source code and configuration to create a runtime environment where resources are managed. In this way it's similar to a stack in AWS CloudFormation, or a project on generic CI/CD platforms.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as spacelift from \"@spacelift-io/pulumi-spacelift\";\n\n// Terraform stack using Bitbucket Cloud as VCS\nconst k8s_cluster_bitbucket_cloud = new spacelift.Stack(\"k8s-cluster-bitbucket-cloud\", {\n administrative: true,\n autodeploy: true,\n bitbucketCloud: {\n namespace: \"SPACELIFT\",\n },\n branch: \"master\",\n description: \"Provisions a Kubernetes cluster\",\n projectRoot: \"cluster\",\n repository: \"core-infra\",\n terraformVersion: \"1.3.0\",\n});\n// Terraform stack using Bitbucket Data Center as VCS\nconst k8s_cluster_bitbucket_datacenter = new spacelift.Stack(\"k8s-cluster-bitbucket-datacenter\", {\n administrative: true,\n autodeploy: true,\n bitbucketDatacenter: {\n namespace: \"SPACELIFT\",\n },\n branch: \"master\",\n description: \"Provisions a Kubernetes cluster\",\n projectRoot: \"cluster\",\n repository: \"core-infra\",\n terraformVersion: \"1.3.0\",\n});\n// Terraform stack using a GitHub Custom Application. See the following page for more info: https://docs.spacelift.io/integrations/source-control/github#setting-up-the-custom-application\nconst k8s_cluster_github_enterprise = new spacelift.Stack(\"k8s-cluster-github-enterprise\", {\n administrative: true,\n autodeploy: true,\n branch: \"master\",\n description: \"Provisions a Kubernetes cluster\",\n githubEnterprise: {\n namespace: \"spacelift\",\n },\n projectRoot: \"cluster\",\n repository: \"core-infra\",\n terraformVersion: \"1.3.0\",\n});\n// Terraform stack using GitLab as VCS\nconst k8s_cluster_gitlab = new spacelift.Stack(\"k8s-cluster-gitlab\", {\n administrative: true,\n autodeploy: true,\n branch: \"master\",\n description: \"Provisions a Kubernetes cluster\",\n gitlab: {\n namespace: \"spacelift\",\n },\n projectRoot: \"cluster\",\n repository: \"core-infra\",\n terraformVersion: \"1.3.0\",\n});\n// Terraform stack using github.com as VCS and enabling external state access\nconst k8s_cluster = new spacelift.Stack(\"k8s-cluster\", {\n administrative: true,\n autodeploy: true,\n branch: \"master\",\n description: \"Provisions a Kubernetes cluster\",\n projectRoot: \"cluster\",\n repository: \"core-infra\",\n terraformExternalStateAccess: true,\n terraformVersion: \"1.3.0\",\n});\n// CloudFormation stack using github.com as VCS\nconst k8s_cluster_cloudformation = new spacelift.Stack(\"k8s-cluster-cloudformation\", {\n autodeploy: true,\n branch: \"master\",\n cloudformation: {\n entryTemplateFile: \"main.yaml\",\n region: \"eu-central-1\",\n stackName: \"k8s-cluster\",\n templateBucket: \"s3://bucket\",\n },\n description: \"Provisions a Kubernetes cluster\",\n projectRoot: \"cluster\",\n repository: \"core-infra\",\n});\n// Pulumi stack using github.com as VCS\nconst k8s_cluster_pulumi = new spacelift.Stack(\"k8s-cluster-pulumi\", {\n autodeploy: true,\n branch: \"master\",\n description: \"Provisions a Kubernetes cluster\",\n projectRoot: \"cluster\",\n pulumi: {\n loginUrl: \"s3://pulumi-state-bucket\",\n stackName: \"kubernetes-core-services\",\n },\n repository: \"core-infra\",\n runnerImage: \"public.ecr.aws/t0p9w2l5/runner-pulumi-javascript:latest\",\n});\n// Kubernetes stack using github.com as VCS\nconst k8s_core_kubernetes = new spacelift.Stack(\"k8s-core-kubernetes\", {\n autodeploy: true,\n beforeInits: [\"aws eks update-kubeconfig --region us-east-2 --name k8s-cluster\"],\n branch: \"master\",\n description: \"Shared cluster services (Datadog, Istio etc.)\",\n kubernetes: {\n kubectlVersion: \"1.26.1\",\n namespace: \"core\",\n },\n projectRoot: \"core-services\",\n repository: \"core-infra\",\n});\n// Ansible stack using github.com as VCS\nconst ansible_stack = new spacelift.Stack(\"ansible-stack\", {\n ansible: {\n playbook: \"main.yml\",\n },\n autodeploy: true,\n branch: \"master\",\n description: \"Provisioning EC2 machines\",\n repository: \"ansible-playbooks\",\n runnerImage: \"public.ecr.aws/spacelift/runner-ansible:latest\",\n});\n```\n```python\nimport pulumi\nimport pulumi_spacelift as spacelift\n\n# Terraform stack using Bitbucket Cloud as VCS\nk8s_cluster_bitbucket_cloud = spacelift.Stack(\"k8s-cluster-bitbucket-cloud\",\n administrative=True,\n autodeploy=True,\n bitbucket_cloud=spacelift.StackBitbucketCloudArgs(\n namespace=\"SPACELIFT\",\n ),\n branch=\"master\",\n description=\"Provisions a Kubernetes cluster\",\n project_root=\"cluster\",\n repository=\"core-infra\",\n terraform_version=\"1.3.0\")\n# Terraform stack using Bitbucket Data Center as VCS\nk8s_cluster_bitbucket_datacenter = spacelift.Stack(\"k8s-cluster-bitbucket-datacenter\",\n administrative=True,\n autodeploy=True,\n bitbucket_datacenter=spacelift.StackBitbucketDatacenterArgs(\n namespace=\"SPACELIFT\",\n ),\n branch=\"master\",\n description=\"Provisions a Kubernetes cluster\",\n project_root=\"cluster\",\n repository=\"core-infra\",\n terraform_version=\"1.3.0\")\n# Terraform stack using a GitHub Custom Application. See the following page for more info: https://docs.spacelift.io/integrations/source-control/github#setting-up-the-custom-application\nk8s_cluster_github_enterprise = spacelift.Stack(\"k8s-cluster-github-enterprise\",\n administrative=True,\n autodeploy=True,\n branch=\"master\",\n description=\"Provisions a Kubernetes cluster\",\n github_enterprise=spacelift.StackGithubEnterpriseArgs(\n namespace=\"spacelift\",\n ),\n project_root=\"cluster\",\n repository=\"core-infra\",\n terraform_version=\"1.3.0\")\n# Terraform stack using GitLab as VCS\nk8s_cluster_gitlab = spacelift.Stack(\"k8s-cluster-gitlab\",\n administrative=True,\n autodeploy=True,\n branch=\"master\",\n description=\"Provisions a Kubernetes cluster\",\n gitlab=spacelift.StackGitlabArgs(\n namespace=\"spacelift\",\n ),\n project_root=\"cluster\",\n repository=\"core-infra\",\n terraform_version=\"1.3.0\")\n# Terraform stack using github.com as VCS and enabling external state access\nk8s_cluster = spacelift.Stack(\"k8s-cluster\",\n administrative=True,\n autodeploy=True,\n branch=\"master\",\n description=\"Provisions a Kubernetes cluster\",\n project_root=\"cluster\",\n repository=\"core-infra\",\n terraform_external_state_access=True,\n terraform_version=\"1.3.0\")\n# CloudFormation stack using github.com as VCS\nk8s_cluster_cloudformation = spacelift.Stack(\"k8s-cluster-cloudformation\",\n autodeploy=True,\n branch=\"master\",\n cloudformation=spacelift.StackCloudformationArgs(\n entry_template_file=\"main.yaml\",\n region=\"eu-central-1\",\n stack_name=\"k8s-cluster\",\n template_bucket=\"s3://bucket\",\n ),\n description=\"Provisions a Kubernetes cluster\",\n project_root=\"cluster\",\n repository=\"core-infra\")\n# Pulumi stack using github.com as VCS\nk8s_cluster_pulumi = spacelift.Stack(\"k8s-cluster-pulumi\",\n autodeploy=True,\n branch=\"master\",\n description=\"Provisions a Kubernetes cluster\",\n project_root=\"cluster\",\n pulumi=spacelift.StackPulumiArgs(\n login_url=\"s3://pulumi-state-bucket\",\n stack_name=\"kubernetes-core-services\",\n ),\n repository=\"core-infra\",\n runner_image=\"public.ecr.aws/t0p9w2l5/runner-pulumi-javascript:latest\")\n# Kubernetes stack using github.com as VCS\nk8s_core_kubernetes = spacelift.Stack(\"k8s-core-kubernetes\",\n autodeploy=True,\n before_inits=[\"aws eks update-kubeconfig --region us-east-2 --name k8s-cluster\"],\n branch=\"master\",\n description=\"Shared cluster services (Datadog, Istio etc.)\",\n kubernetes=spacelift.StackKubernetesArgs(\n kubectl_version=\"1.26.1\",\n namespace=\"core\",\n ),\n project_root=\"core-services\",\n repository=\"core-infra\")\n# Ansible stack using github.com as VCS\nansible_stack = spacelift.Stack(\"ansible-stack\",\n ansible=spacelift.StackAnsibleArgs(\n playbook=\"main.yml\",\n ),\n autodeploy=True,\n branch=\"master\",\n description=\"Provisioning EC2 machines\",\n repository=\"ansible-playbooks\",\n runner_image=\"public.ecr.aws/spacelift/runner-ansible:latest\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Spacelift = Pulumi.Spacelift;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Terraform stack using Bitbucket Cloud as VCS\n var k8s_cluster_bitbucket_cloud = new Spacelift.Stack(\"k8s-cluster-bitbucket-cloud\", new()\n {\n Administrative = true,\n Autodeploy = true,\n BitbucketCloud = new Spacelift.Inputs.StackBitbucketCloudArgs\n {\n Namespace = \"SPACELIFT\",\n },\n Branch = \"master\",\n Description = \"Provisions a Kubernetes cluster\",\n ProjectRoot = \"cluster\",\n Repository = \"core-infra\",\n TerraformVersion = \"1.3.0\",\n });\n\n // Terraform stack using Bitbucket Data Center as VCS\n var k8s_cluster_bitbucket_datacenter = new Spacelift.Stack(\"k8s-cluster-bitbucket-datacenter\", new()\n {\n Administrative = true,\n Autodeploy = true,\n BitbucketDatacenter = new Spacelift.Inputs.StackBitbucketDatacenterArgs\n {\n Namespace = \"SPACELIFT\",\n },\n Branch = \"master\",\n Description = \"Provisions a Kubernetes cluster\",\n ProjectRoot = \"cluster\",\n Repository = \"core-infra\",\n TerraformVersion = \"1.3.0\",\n });\n\n // Terraform stack using a GitHub Custom Application. See the following page for more info: https://docs.spacelift.io/integrations/source-control/github#setting-up-the-custom-application\n var k8s_cluster_github_enterprise = new Spacelift.Stack(\"k8s-cluster-github-enterprise\", new()\n {\n Administrative = true,\n Autodeploy = true,\n Branch = \"master\",\n Description = \"Provisions a Kubernetes cluster\",\n GithubEnterprise = new Spacelift.Inputs.StackGithubEnterpriseArgs\n {\n Namespace = \"spacelift\",\n },\n ProjectRoot = \"cluster\",\n Repository = \"core-infra\",\n TerraformVersion = \"1.3.0\",\n });\n\n // Terraform stack using GitLab as VCS\n var k8s_cluster_gitlab = new Spacelift.Stack(\"k8s-cluster-gitlab\", new()\n {\n Administrative = true,\n Autodeploy = true,\n Branch = \"master\",\n Description = \"Provisions a Kubernetes cluster\",\n Gitlab = new Spacelift.Inputs.StackGitlabArgs\n {\n Namespace = \"spacelift\",\n },\n ProjectRoot = \"cluster\",\n Repository = \"core-infra\",\n TerraformVersion = \"1.3.0\",\n });\n\n // Terraform stack using github.com as VCS and enabling external state access\n var k8s_cluster = new Spacelift.Stack(\"k8s-cluster\", new()\n {\n Administrative = true,\n Autodeploy = true,\n Branch = \"master\",\n Description = \"Provisions a Kubernetes cluster\",\n ProjectRoot = \"cluster\",\n Repository = \"core-infra\",\n TerraformExternalStateAccess = true,\n TerraformVersion = \"1.3.0\",\n });\n\n // CloudFormation stack using github.com as VCS\n var k8s_cluster_cloudformation = new Spacelift.Stack(\"k8s-cluster-cloudformation\", new()\n {\n Autodeploy = true,\n Branch = \"master\",\n Cloudformation = new Spacelift.Inputs.StackCloudformationArgs\n {\n EntryTemplateFile = \"main.yaml\",\n Region = \"eu-central-1\",\n StackName = \"k8s-cluster\",\n TemplateBucket = \"s3://bucket\",\n },\n Description = \"Provisions a Kubernetes cluster\",\n ProjectRoot = \"cluster\",\n Repository = \"core-infra\",\n });\n\n // Pulumi stack using github.com as VCS\n var k8s_cluster_pulumi = new Spacelift.Stack(\"k8s-cluster-pulumi\", new()\n {\n Autodeploy = true,\n Branch = \"master\",\n Description = \"Provisions a Kubernetes cluster\",\n ProjectRoot = \"cluster\",\n Pulumi_backend = new Spacelift.Inputs.StackPulumiArgs\n {\n LoginUrl = \"s3://pulumi-state-bucket\",\n StackName = \"kubernetes-core-services\",\n },\n Repository = \"core-infra\",\n RunnerImage = \"public.ecr.aws/t0p9w2l5/runner-pulumi-javascript:latest\",\n });\n\n // Kubernetes stack using github.com as VCS\n var k8s_core_kubernetes = new Spacelift.Stack(\"k8s-core-kubernetes\", new()\n {\n Autodeploy = true,\n BeforeInits = new[]\n {\n \"aws eks update-kubeconfig --region us-east-2 --name k8s-cluster\",\n },\n Branch = \"master\",\n Description = \"Shared cluster services (Datadog, Istio etc.)\",\n Kubernetes = new Spacelift.Inputs.StackKubernetesArgs\n {\n KubectlVersion = \"1.26.1\",\n Namespace = \"core\",\n },\n ProjectRoot = \"core-services\",\n Repository = \"core-infra\",\n });\n\n // Ansible stack using github.com as VCS\n var ansible_stack = new Spacelift.Stack(\"ansible-stack\", new()\n {\n Ansible = new Spacelift.Inputs.StackAnsibleArgs\n {\n Playbook = \"main.yml\",\n },\n Autodeploy = true,\n Branch = \"master\",\n Description = \"Provisioning EC2 machines\",\n Repository = \"ansible-playbooks\",\n RunnerImage = \"public.ecr.aws/spacelift/runner-ansible:latest\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := spacelift.NewStack(ctx, \"k8s-cluster-bitbucket-cloud\", \u0026spacelift.StackArgs{\n\t\t\tAdministrative: pulumi.Bool(true),\n\t\t\tAutodeploy: pulumi.Bool(true),\n\t\t\tBitbucketCloud: \u0026spacelift.StackBitbucketCloudArgs{\n\t\t\t\tNamespace: pulumi.String(\"SPACELIFT\"),\n\t\t\t},\n\t\t\tBranch: pulumi.String(\"master\"),\n\t\t\tDescription: pulumi.String(\"Provisions a Kubernetes cluster\"),\n\t\t\tProjectRoot: pulumi.String(\"cluster\"),\n\t\t\tRepository: pulumi.String(\"core-infra\"),\n\t\t\tTerraformVersion: pulumi.String(\"1.3.0\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = spacelift.NewStack(ctx, \"k8s-cluster-bitbucket-datacenter\", \u0026spacelift.StackArgs{\n\t\t\tAdministrative: pulumi.Bool(true),\n\t\t\tAutodeploy: pulumi.Bool(true),\n\t\t\tBitbucketDatacenter: \u0026spacelift.StackBitbucketDatacenterArgs{\n\t\t\t\tNamespace: pulumi.String(\"SPACELIFT\"),\n\t\t\t},\n\t\t\tBranch: pulumi.String(\"master\"),\n\t\t\tDescription: pulumi.String(\"Provisions a Kubernetes cluster\"),\n\t\t\tProjectRoot: pulumi.String(\"cluster\"),\n\t\t\tRepository: pulumi.String(\"core-infra\"),\n\t\t\tTerraformVersion: pulumi.String(\"1.3.0\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = spacelift.NewStack(ctx, \"k8s-cluster-github-enterprise\", \u0026spacelift.StackArgs{\n\t\t\tAdministrative: pulumi.Bool(true),\n\t\t\tAutodeploy: pulumi.Bool(true),\n\t\t\tBranch: pulumi.String(\"master\"),\n\t\t\tDescription: pulumi.String(\"Provisions a Kubernetes cluster\"),\n\t\t\tGithubEnterprise: \u0026spacelift.StackGithubEnterpriseArgs{\n\t\t\t\tNamespace: pulumi.String(\"spacelift\"),\n\t\t\t},\n\t\t\tProjectRoot: pulumi.String(\"cluster\"),\n\t\t\tRepository: pulumi.String(\"core-infra\"),\n\t\t\tTerraformVersion: pulumi.String(\"1.3.0\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = spacelift.NewStack(ctx, \"k8s-cluster-gitlab\", \u0026spacelift.StackArgs{\n\t\t\tAdministrative: pulumi.Bool(true),\n\t\t\tAutodeploy: pulumi.Bool(true),\n\t\t\tBranch: pulumi.String(\"master\"),\n\t\t\tDescription: pulumi.String(\"Provisions a Kubernetes cluster\"),\n\t\t\tGitlab: \u0026spacelift.StackGitlabArgs{\n\t\t\t\tNamespace: pulumi.String(\"spacelift\"),\n\t\t\t},\n\t\t\tProjectRoot: pulumi.String(\"cluster\"),\n\t\t\tRepository: pulumi.String(\"core-infra\"),\n\t\t\tTerraformVersion: pulumi.String(\"1.3.0\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = spacelift.NewStack(ctx, \"k8s-cluster\", \u0026spacelift.StackArgs{\n\t\t\tAdministrative: pulumi.Bool(true),\n\t\t\tAutodeploy: pulumi.Bool(true),\n\t\t\tBranch: pulumi.String(\"master\"),\n\t\t\tDescription: pulumi.String(\"Provisions a Kubernetes cluster\"),\n\t\t\tProjectRoot: pulumi.String(\"cluster\"),\n\t\t\tRepository: pulumi.String(\"core-infra\"),\n\t\t\tTerraformExternalStateAccess: pulumi.Bool(true),\n\t\t\tTerraformVersion: pulumi.String(\"1.3.0\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = spacelift.NewStack(ctx, \"k8s-cluster-cloudformation\", \u0026spacelift.StackArgs{\n\t\t\tAutodeploy: pulumi.Bool(true),\n\t\t\tBranch: pulumi.String(\"master\"),\n\t\t\tCloudformation: \u0026spacelift.StackCloudformationArgs{\n\t\t\t\tEntryTemplateFile: pulumi.String(\"main.yaml\"),\n\t\t\t\tRegion: pulumi.String(\"eu-central-1\"),\n\t\t\t\tStackName: pulumi.String(\"k8s-cluster\"),\n\t\t\t\tTemplateBucket: pulumi.String(\"s3://bucket\"),\n\t\t\t},\n\t\t\tDescription: pulumi.String(\"Provisions a Kubernetes cluster\"),\n\t\t\tProjectRoot: pulumi.String(\"cluster\"),\n\t\t\tRepository: pulumi.String(\"core-infra\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = spacelift.NewStack(ctx, \"k8s-cluster-pulumi\", \u0026spacelift.StackArgs{\n\t\t\tAutodeploy: pulumi.Bool(true),\n\t\t\tBranch: pulumi.String(\"master\"),\n\t\t\tDescription: pulumi.String(\"Provisions a Kubernetes cluster\"),\n\t\t\tProjectRoot: pulumi.String(\"cluster\"),\n\t\t\tPulumi: \u0026spacelift.StackPulumiArgs{\n\t\t\t\tLoginUrl: pulumi.String(\"s3://pulumi-state-bucket\"),\n\t\t\t\tStackName: pulumi.String(\"kubernetes-core-services\"),\n\t\t\t},\n\t\t\tRepository: pulumi.String(\"core-infra\"),\n\t\t\tRunnerImage: pulumi.String(\"public.ecr.aws/t0p9w2l5/runner-pulumi-javascript:latest\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = spacelift.NewStack(ctx, \"k8s-core-kubernetes\", \u0026spacelift.StackArgs{\n\t\t\tAutodeploy: pulumi.Bool(true),\n\t\t\tBeforeInits: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"aws eks update-kubeconfig --region us-east-2 --name k8s-cluster\"),\n\t\t\t},\n\t\t\tBranch: pulumi.String(\"master\"),\n\t\t\tDescription: pulumi.String(\"Shared cluster services (Datadog, Istio etc.)\"),\n\t\t\tKubernetes: \u0026spacelift.StackKubernetesArgs{\n\t\t\t\tKubectlVersion: pulumi.String(\"1.26.1\"),\n\t\t\t\tNamespace: pulumi.String(\"core\"),\n\t\t\t},\n\t\t\tProjectRoot: pulumi.String(\"core-services\"),\n\t\t\tRepository: pulumi.String(\"core-infra\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = spacelift.NewStack(ctx, \"ansible-stack\", \u0026spacelift.StackArgs{\n\t\t\tAnsible: \u0026spacelift.StackAnsibleArgs{\n\t\t\t\tPlaybook: pulumi.String(\"main.yml\"),\n\t\t\t},\n\t\t\tAutodeploy: pulumi.Bool(true),\n\t\t\tBranch: pulumi.String(\"master\"),\n\t\t\tDescription: pulumi.String(\"Provisioning EC2 machines\"),\n\t\t\tRepository: pulumi.String(\"ansible-playbooks\"),\n\t\t\tRunnerImage: pulumi.String(\"public.ecr.aws/spacelift/runner-ansible:latest\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.spacelift.Stack;\nimport com.pulumi.spacelift.StackArgs;\nimport com.pulumi.spacelift.inputs.StackBitbucketCloudArgs;\nimport com.pulumi.spacelift.inputs.StackBitbucketDatacenterArgs;\nimport com.pulumi.spacelift.inputs.StackGithubEnterpriseArgs;\nimport com.pulumi.spacelift.inputs.StackGitlabArgs;\nimport com.pulumi.spacelift.inputs.StackCloudformationArgs;\nimport com.pulumi.spacelift.inputs.StackPulumiArgs;\nimport com.pulumi.spacelift.inputs.StackKubernetesArgs;\nimport com.pulumi.spacelift.inputs.StackAnsibleArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var k8s_cluster_bitbucket_cloud = new Stack(\"k8s-cluster-bitbucket-cloud\", StackArgs.builder() \n .administrative(true)\n .autodeploy(true)\n .bitbucketCloud(StackBitbucketCloudArgs.builder()\n .namespace(\"SPACELIFT\")\n .build())\n .branch(\"master\")\n .description(\"Provisions a Kubernetes cluster\")\n .projectRoot(\"cluster\")\n .repository(\"core-infra\")\n .terraformVersion(\"1.3.0\")\n .build());\n\n var k8s_cluster_bitbucket_datacenter = new Stack(\"k8s-cluster-bitbucket-datacenter\", StackArgs.builder() \n .administrative(true)\n .autodeploy(true)\n .bitbucketDatacenter(StackBitbucketDatacenterArgs.builder()\n .namespace(\"SPACELIFT\")\n .build())\n .branch(\"master\")\n .description(\"Provisions a Kubernetes cluster\")\n .projectRoot(\"cluster\")\n .repository(\"core-infra\")\n .terraformVersion(\"1.3.0\")\n .build());\n\n var k8s_cluster_github_enterprise = new Stack(\"k8s-cluster-github-enterprise\", StackArgs.builder() \n .administrative(true)\n .autodeploy(true)\n .branch(\"master\")\n .description(\"Provisions a Kubernetes cluster\")\n .githubEnterprise(StackGithubEnterpriseArgs.builder()\n .namespace(\"spacelift\")\n .build())\n .projectRoot(\"cluster\")\n .repository(\"core-infra\")\n .terraformVersion(\"1.3.0\")\n .build());\n\n var k8s_cluster_gitlab = new Stack(\"k8s-cluster-gitlab\", StackArgs.builder() \n .administrative(true)\n .autodeploy(true)\n .branch(\"master\")\n .description(\"Provisions a Kubernetes cluster\")\n .gitlab(StackGitlabArgs.builder()\n .namespace(\"spacelift\")\n .build())\n .projectRoot(\"cluster\")\n .repository(\"core-infra\")\n .terraformVersion(\"1.3.0\")\n .build());\n\n var k8s_cluster = new Stack(\"k8s-cluster\", StackArgs.builder() \n .administrative(true)\n .autodeploy(true)\n .branch(\"master\")\n .description(\"Provisions a Kubernetes cluster\")\n .projectRoot(\"cluster\")\n .repository(\"core-infra\")\n .terraformExternalStateAccess(true)\n .terraformVersion(\"1.3.0\")\n .build());\n\n var k8s_cluster_cloudformation = new Stack(\"k8s-cluster-cloudformation\", StackArgs.builder() \n .autodeploy(true)\n .branch(\"master\")\n .cloudformation(StackCloudformationArgs.builder()\n .entryTemplateFile(\"main.yaml\")\n .region(\"eu-central-1\")\n .stackName(\"k8s-cluster\")\n .templateBucket(\"s3://bucket\")\n .build())\n .description(\"Provisions a Kubernetes cluster\")\n .projectRoot(\"cluster\")\n .repository(\"core-infra\")\n .build());\n\n var k8s_cluster_pulumi = new Stack(\"k8s-cluster-pulumi\", StackArgs.builder() \n .autodeploy(true)\n .branch(\"master\")\n .description(\"Provisions a Kubernetes cluster\")\n .projectRoot(\"cluster\")\n .pulumi(StackPulumiArgs.builder()\n .loginUrl(\"s3://pulumi-state-bucket\")\n .stackName(\"kubernetes-core-services\")\n .build())\n .repository(\"core-infra\")\n .runnerImage(\"public.ecr.aws/t0p9w2l5/runner-pulumi-javascript:latest\")\n .build());\n\n var k8s_core_kubernetes = new Stack(\"k8s-core-kubernetes\", StackArgs.builder() \n .autodeploy(true)\n .beforeInits(\"aws eks update-kubeconfig --region us-east-2 --name k8s-cluster\")\n .branch(\"master\")\n .description(\"Shared cluster services (Datadog, Istio etc.)\")\n .kubernetes(StackKubernetesArgs.builder()\n .kubectlVersion(\"1.26.1\")\n .namespace(\"core\")\n .build())\n .projectRoot(\"core-services\")\n .repository(\"core-infra\")\n .build());\n\n var ansible_stack = new Stack(\"ansible-stack\", StackArgs.builder() \n .ansible(StackAnsibleArgs.builder()\n .playbook(\"main.yml\")\n .build())\n .autodeploy(true)\n .branch(\"master\")\n .description(\"Provisioning EC2 machines\")\n .repository(\"ansible-playbooks\")\n .runnerImage(\"public.ecr.aws/spacelift/runner-ansible:latest\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Terraform stack using Bitbucket Cloud as VCS\n k8s-cluster-bitbucket-cloud:\n type: spacelift:Stack\n properties:\n administrative: true\n autodeploy: true\n bitbucketCloud:\n namespace: SPACELIFT\n branch: master\n description: Provisions a Kubernetes cluster\n projectRoot: cluster\n repository: core-infra\n terraformVersion: 1.3.0\n # Terraform stack using Bitbucket Data Center as VCS\n k8s-cluster-bitbucket-datacenter:\n type: spacelift:Stack\n properties:\n administrative: true\n autodeploy: true\n bitbucketDatacenter:\n namespace: SPACELIFT\n branch: master\n description: Provisions a Kubernetes cluster\n projectRoot: cluster\n repository: core-infra\n terraformVersion: 1.3.0\n # Terraform stack using a GitHub Custom Application. See the following page for more info: https://docs.spacelift.io/integrations/source-control/github#setting-up-the-custom-application\n k8s-cluster-github-enterprise:\n type: spacelift:Stack\n properties:\n administrative: true\n autodeploy: true\n branch: master\n description: Provisions a Kubernetes cluster\n githubEnterprise:\n namespace: spacelift\n projectRoot: cluster\n repository: core-infra\n terraformVersion: 1.3.0\n # Terraform stack using GitLab as VCS\n k8s-cluster-gitlab:\n type: spacelift:Stack\n properties:\n administrative: true\n autodeploy: true\n branch: master\n description: Provisions a Kubernetes cluster\n gitlab:\n namespace: spacelift\n projectRoot: cluster\n repository: core-infra\n terraformVersion: 1.3.0\n # Terraform stack using github.com as VCS and enabling external state access\n k8s-cluster:\n type: spacelift:Stack\n properties:\n administrative: true\n autodeploy: true\n branch: master\n description: Provisions a Kubernetes cluster\n projectRoot: cluster\n repository: core-infra\n terraformExternalStateAccess: true\n terraformVersion: 1.3.0\n # CloudFormation stack using github.com as VCS\n k8s-cluster-cloudformation:\n type: spacelift:Stack\n properties:\n autodeploy: true\n branch: master\n cloudformation:\n entryTemplateFile: main.yaml\n region: eu-central-1\n stackName: k8s-cluster\n templateBucket: s3://bucket\n description: Provisions a Kubernetes cluster\n projectRoot: cluster\n repository: core-infra\n # Pulumi stack using github.com as VCS\n k8s-cluster-pulumi:\n type: spacelift:Stack\n properties:\n autodeploy: true\n branch: master\n description: Provisions a Kubernetes cluster\n projectRoot: cluster\n pulumi:\n loginUrl: s3://pulumi-state-bucket\n stackName: kubernetes-core-services\n repository: core-infra\n runnerImage: public.ecr.aws/t0p9w2l5/runner-pulumi-javascript:latest\n # Kubernetes stack using github.com as VCS\n k8s-core-kubernetes:\n type: spacelift:Stack\n properties:\n autodeploy: true\n # You can use hooks to authenticate with your cluster\n beforeInits:\n - aws eks update-kubeconfig --region us-east-2 --name k8s-cluster\n branch: master\n description: Shared cluster services (Datadog, Istio etc.)\n kubernetes:\n kubectlVersion: 1.26.1\n namespace: core\n projectRoot: core-services\n repository: core-infra\n # Ansible stack using github.com as VCS\n ansible-stack:\n type: spacelift:Stack\n properties:\n ansible:\n playbook: main.yml\n autodeploy: true\n branch: master\n description: Provisioning EC2 machines\n repository: ansible-playbooks\n runnerImage: public.ecr.aws/spacelift/runner-ansible:latest\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\n\n\n```sh\n $ pulumi import spacelift:index/stack:Stack k8s_core $STACK_ID\n```\n\n ", + "description": "`spacelift.Stack` combines source code and configuration to create a runtime environment where resources are managed. In this way it's similar to a stack in AWS CloudFormation, or a project on generic CI/CD platforms.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as spacelift from \"@spacelift-io/pulumi-spacelift\";\n\n// Terraform stack using Bitbucket Cloud as VCS\nconst k8s_cluster_bitbucket_cloud = new spacelift.Stack(\"k8s-cluster-bitbucket-cloud\", {\n administrative: true,\n autodeploy: true,\n bitbucketCloud: {\n namespace: \"SPACELIFT\",\n },\n branch: \"master\",\n description: \"Provisions a Kubernetes cluster\",\n projectRoot: \"cluster\",\n repository: \"core-infra\",\n terraformVersion: \"1.3.0\",\n});\n// Terraform stack using Bitbucket Data Center as VCS\nconst k8s_cluster_bitbucket_datacenter = new spacelift.Stack(\"k8s-cluster-bitbucket-datacenter\", {\n administrative: true,\n autodeploy: true,\n bitbucketDatacenter: {\n namespace: \"SPACELIFT\",\n },\n branch: \"master\",\n description: \"Provisions a Kubernetes cluster\",\n projectRoot: \"cluster\",\n repository: \"core-infra\",\n terraformVersion: \"1.3.0\",\n});\n// Terraform stack using a GitHub Custom Application. See the following page for more info: https://docs.spacelift.io/integrations/source-control/github#setting-up-the-custom-application\nconst k8s_cluster_github_enterprise = new spacelift.Stack(\"k8s-cluster-github-enterprise\", {\n administrative: true,\n autodeploy: true,\n branch: \"master\",\n description: \"Provisions a Kubernetes cluster\",\n githubEnterprise: {\n namespace: \"spacelift\",\n },\n projectRoot: \"cluster\",\n repository: \"core-infra\",\n terraformVersion: \"1.3.0\",\n});\n// Terraform stack using GitLab as VCS\nconst k8s_cluster_gitlab = new spacelift.Stack(\"k8s-cluster-gitlab\", {\n administrative: true,\n autodeploy: true,\n branch: \"master\",\n description: \"Provisions a Kubernetes cluster\",\n gitlab: {\n namespace: \"spacelift\",\n },\n projectRoot: \"cluster\",\n repository: \"core-infra\",\n terraformVersion: \"1.3.0\",\n});\n// Terraform stack using github.com as VCS and enabling external state access\nconst k8s_cluster = new spacelift.Stack(\"k8s-cluster\", {\n administrative: true,\n autodeploy: true,\n branch: \"master\",\n description: \"Provisions a Kubernetes cluster\",\n projectRoot: \"cluster\",\n repository: \"core-infra\",\n terraformExternalStateAccess: true,\n terraformVersion: \"1.3.0\",\n});\n// CloudFormation stack using github.com as VCS\nconst k8s_cluster_cloudformation = new spacelift.Stack(\"k8s-cluster-cloudformation\", {\n autodeploy: true,\n branch: \"master\",\n cloudformation: {\n entryTemplateFile: \"main.yaml\",\n region: \"eu-central-1\",\n stackName: \"k8s-cluster\",\n templateBucket: \"s3://bucket\",\n },\n description: \"Provisions a Kubernetes cluster\",\n projectRoot: \"cluster\",\n repository: \"core-infra\",\n});\n// Pulumi stack using github.com as VCS\nconst k8s_cluster_pulumi = new spacelift.Stack(\"k8s-cluster-pulumi\", {\n autodeploy: true,\n branch: \"master\",\n description: \"Provisions a Kubernetes cluster\",\n projectRoot: \"cluster\",\n pulumi: {\n loginUrl: \"s3://pulumi-state-bucket\",\n stackName: \"kubernetes-core-services\",\n },\n repository: \"core-infra\",\n runnerImage: \"public.ecr.aws/t0p9w2l5/runner-pulumi-javascript:latest\",\n});\n// Kubernetes stack using github.com as VCS\nconst k8s_core_kubernetes = new spacelift.Stack(\"k8s-core-kubernetes\", {\n autodeploy: true,\n beforeInits: [\"aws eks update-kubeconfig --region us-east-2 --name k8s-cluster\"],\n branch: \"master\",\n description: \"Shared cluster services (Datadog, Istio etc.)\",\n kubernetes: {\n kubectlVersion: \"1.26.1\",\n namespace: \"core\",\n },\n projectRoot: \"core-services\",\n repository: \"core-infra\",\n});\n// Ansible stack using github.com as VCS\nconst ansible_stack = new spacelift.Stack(\"ansible-stack\", {\n ansible: {\n playbook: \"main.yml\",\n },\n autodeploy: true,\n branch: \"master\",\n description: \"Provisioning EC2 machines\",\n repository: \"ansible-playbooks\",\n runnerImage: \"public.ecr.aws/spacelift/runner-ansible:latest\",\n});\n```\n```python\nimport pulumi\nimport pulumi_spacelift as spacelift\n\n# Terraform stack using Bitbucket Cloud as VCS\nk8s_cluster_bitbucket_cloud = spacelift.Stack(\"k8s-cluster-bitbucket-cloud\",\n administrative=True,\n autodeploy=True,\n bitbucket_cloud=spacelift.StackBitbucketCloudArgs(\n namespace=\"SPACELIFT\",\n ),\n branch=\"master\",\n description=\"Provisions a Kubernetes cluster\",\n project_root=\"cluster\",\n repository=\"core-infra\",\n terraform_version=\"1.3.0\")\n# Terraform stack using Bitbucket Data Center as VCS\nk8s_cluster_bitbucket_datacenter = spacelift.Stack(\"k8s-cluster-bitbucket-datacenter\",\n administrative=True,\n autodeploy=True,\n bitbucket_datacenter=spacelift.StackBitbucketDatacenterArgs(\n namespace=\"SPACELIFT\",\n ),\n branch=\"master\",\n description=\"Provisions a Kubernetes cluster\",\n project_root=\"cluster\",\n repository=\"core-infra\",\n terraform_version=\"1.3.0\")\n# Terraform stack using a GitHub Custom Application. See the following page for more info: https://docs.spacelift.io/integrations/source-control/github#setting-up-the-custom-application\nk8s_cluster_github_enterprise = spacelift.Stack(\"k8s-cluster-github-enterprise\",\n administrative=True,\n autodeploy=True,\n branch=\"master\",\n description=\"Provisions a Kubernetes cluster\",\n github_enterprise=spacelift.StackGithubEnterpriseArgs(\n namespace=\"spacelift\",\n ),\n project_root=\"cluster\",\n repository=\"core-infra\",\n terraform_version=\"1.3.0\")\n# Terraform stack using GitLab as VCS\nk8s_cluster_gitlab = spacelift.Stack(\"k8s-cluster-gitlab\",\n administrative=True,\n autodeploy=True,\n branch=\"master\",\n description=\"Provisions a Kubernetes cluster\",\n gitlab=spacelift.StackGitlabArgs(\n namespace=\"spacelift\",\n ),\n project_root=\"cluster\",\n repository=\"core-infra\",\n terraform_version=\"1.3.0\")\n# Terraform stack using github.com as VCS and enabling external state access\nk8s_cluster = spacelift.Stack(\"k8s-cluster\",\n administrative=True,\n autodeploy=True,\n branch=\"master\",\n description=\"Provisions a Kubernetes cluster\",\n project_root=\"cluster\",\n repository=\"core-infra\",\n terraform_external_state_access=True,\n terraform_version=\"1.3.0\")\n# CloudFormation stack using github.com as VCS\nk8s_cluster_cloudformation = spacelift.Stack(\"k8s-cluster-cloudformation\",\n autodeploy=True,\n branch=\"master\",\n cloudformation=spacelift.StackCloudformationArgs(\n entry_template_file=\"main.yaml\",\n region=\"eu-central-1\",\n stack_name=\"k8s-cluster\",\n template_bucket=\"s3://bucket\",\n ),\n description=\"Provisions a Kubernetes cluster\",\n project_root=\"cluster\",\n repository=\"core-infra\")\n# Pulumi stack using github.com as VCS\nk8s_cluster_pulumi = spacelift.Stack(\"k8s-cluster-pulumi\",\n autodeploy=True,\n branch=\"master\",\n description=\"Provisions a Kubernetes cluster\",\n project_root=\"cluster\",\n pulumi=spacelift.StackPulumiArgs(\n login_url=\"s3://pulumi-state-bucket\",\n stack_name=\"kubernetes-core-services\",\n ),\n repository=\"core-infra\",\n runner_image=\"public.ecr.aws/t0p9w2l5/runner-pulumi-javascript:latest\")\n# Kubernetes stack using github.com as VCS\nk8s_core_kubernetes = spacelift.Stack(\"k8s-core-kubernetes\",\n autodeploy=True,\n before_inits=[\"aws eks update-kubeconfig --region us-east-2 --name k8s-cluster\"],\n branch=\"master\",\n description=\"Shared cluster services (Datadog, Istio etc.)\",\n kubernetes=spacelift.StackKubernetesArgs(\n kubectl_version=\"1.26.1\",\n namespace=\"core\",\n ),\n project_root=\"core-services\",\n repository=\"core-infra\")\n# Ansible stack using github.com as VCS\nansible_stack = spacelift.Stack(\"ansible-stack\",\n ansible=spacelift.StackAnsibleArgs(\n playbook=\"main.yml\",\n ),\n autodeploy=True,\n branch=\"master\",\n description=\"Provisioning EC2 machines\",\n repository=\"ansible-playbooks\",\n runner_image=\"public.ecr.aws/spacelift/runner-ansible:latest\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Spacelift = Pulumi.Spacelift;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Terraform stack using Bitbucket Cloud as VCS\n var k8s_cluster_bitbucket_cloud = new Spacelift.Stack(\"k8s-cluster-bitbucket-cloud\", new()\n {\n Administrative = true,\n Autodeploy = true,\n BitbucketCloud = new Spacelift.Inputs.StackBitbucketCloudArgs\n {\n Namespace = \"SPACELIFT\",\n },\n Branch = \"master\",\n Description = \"Provisions a Kubernetes cluster\",\n ProjectRoot = \"cluster\",\n Repository = \"core-infra\",\n TerraformVersion = \"1.3.0\",\n });\n\n // Terraform stack using Bitbucket Data Center as VCS\n var k8s_cluster_bitbucket_datacenter = new Spacelift.Stack(\"k8s-cluster-bitbucket-datacenter\", new()\n {\n Administrative = true,\n Autodeploy = true,\n BitbucketDatacenter = new Spacelift.Inputs.StackBitbucketDatacenterArgs\n {\n Namespace = \"SPACELIFT\",\n },\n Branch = \"master\",\n Description = \"Provisions a Kubernetes cluster\",\n ProjectRoot = \"cluster\",\n Repository = \"core-infra\",\n TerraformVersion = \"1.3.0\",\n });\n\n // Terraform stack using a GitHub Custom Application. See the following page for more info: https://docs.spacelift.io/integrations/source-control/github#setting-up-the-custom-application\n var k8s_cluster_github_enterprise = new Spacelift.Stack(\"k8s-cluster-github-enterprise\", new()\n {\n Administrative = true,\n Autodeploy = true,\n Branch = \"master\",\n Description = \"Provisions a Kubernetes cluster\",\n GithubEnterprise = new Spacelift.Inputs.StackGithubEnterpriseArgs\n {\n Namespace = \"spacelift\",\n },\n ProjectRoot = \"cluster\",\n Repository = \"core-infra\",\n TerraformVersion = \"1.3.0\",\n });\n\n // Terraform stack using GitLab as VCS\n var k8s_cluster_gitlab = new Spacelift.Stack(\"k8s-cluster-gitlab\", new()\n {\n Administrative = true,\n Autodeploy = true,\n Branch = \"master\",\n Description = \"Provisions a Kubernetes cluster\",\n Gitlab = new Spacelift.Inputs.StackGitlabArgs\n {\n Namespace = \"spacelift\",\n },\n ProjectRoot = \"cluster\",\n Repository = \"core-infra\",\n TerraformVersion = \"1.3.0\",\n });\n\n // Terraform stack using github.com as VCS and enabling external state access\n var k8s_cluster = new Spacelift.Stack(\"k8s-cluster\", new()\n {\n Administrative = true,\n Autodeploy = true,\n Branch = \"master\",\n Description = \"Provisions a Kubernetes cluster\",\n ProjectRoot = \"cluster\",\n Repository = \"core-infra\",\n TerraformExternalStateAccess = true,\n TerraformVersion = \"1.3.0\",\n });\n\n // CloudFormation stack using github.com as VCS\n var k8s_cluster_cloudformation = new Spacelift.Stack(\"k8s-cluster-cloudformation\", new()\n {\n Autodeploy = true,\n Branch = \"master\",\n Cloudformation = new Spacelift.Inputs.StackCloudformationArgs\n {\n EntryTemplateFile = \"main.yaml\",\n Region = \"eu-central-1\",\n StackName = \"k8s-cluster\",\n TemplateBucket = \"s3://bucket\",\n },\n Description = \"Provisions a Kubernetes cluster\",\n ProjectRoot = \"cluster\",\n Repository = \"core-infra\",\n });\n\n // Pulumi stack using github.com as VCS\n var k8s_cluster_pulumi = new Spacelift.Stack(\"k8s-cluster-pulumi\", new()\n {\n Autodeploy = true,\n Branch = \"master\",\n Description = \"Provisions a Kubernetes cluster\",\n ProjectRoot = \"cluster\",\n Pulumi_backend = new Spacelift.Inputs.StackPulumiArgs\n {\n LoginUrl = \"s3://pulumi-state-bucket\",\n StackName = \"kubernetes-core-services\",\n },\n Repository = \"core-infra\",\n RunnerImage = \"public.ecr.aws/t0p9w2l5/runner-pulumi-javascript:latest\",\n });\n\n // Kubernetes stack using github.com as VCS\n var k8s_core_kubernetes = new Spacelift.Stack(\"k8s-core-kubernetes\", new()\n {\n Autodeploy = true,\n BeforeInits = new[]\n {\n \"aws eks update-kubeconfig --region us-east-2 --name k8s-cluster\",\n },\n Branch = \"master\",\n Description = \"Shared cluster services (Datadog, Istio etc.)\",\n Kubernetes = new Spacelift.Inputs.StackKubernetesArgs\n {\n KubectlVersion = \"1.26.1\",\n Namespace = \"core\",\n },\n ProjectRoot = \"core-services\",\n Repository = \"core-infra\",\n });\n\n // Ansible stack using github.com as VCS\n var ansible_stack = new Spacelift.Stack(\"ansible-stack\", new()\n {\n Ansible = new Spacelift.Inputs.StackAnsibleArgs\n {\n Playbook = \"main.yml\",\n },\n Autodeploy = true,\n Branch = \"master\",\n Description = \"Provisioning EC2 machines\",\n Repository = \"ansible-playbooks\",\n RunnerImage = \"public.ecr.aws/spacelift/runner-ansible:latest\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t// Terraform stack using Bitbucket Cloud as VCS\n\t\t_, err := spacelift.NewStack(ctx, \"k8s-cluster-bitbucket-cloud\", \u0026spacelift.StackArgs{\n\t\t\tAdministrative: pulumi.Bool(true),\n\t\t\tAutodeploy: pulumi.Bool(true),\n\t\t\tBitbucketCloud: \u0026spacelift.StackBitbucketCloudArgs{\n\t\t\t\tNamespace: pulumi.String(\"SPACELIFT\"),\n\t\t\t},\n\t\t\tBranch: pulumi.String(\"master\"),\n\t\t\tDescription: pulumi.String(\"Provisions a Kubernetes cluster\"),\n\t\t\tProjectRoot: pulumi.String(\"cluster\"),\n\t\t\tRepository: pulumi.String(\"core-infra\"),\n\t\t\tTerraformVersion: pulumi.String(\"1.3.0\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t// Terraform stack using Bitbucket Data Center as VCS\n\t\t_, err = spacelift.NewStack(ctx, \"k8s-cluster-bitbucket-datacenter\", \u0026spacelift.StackArgs{\n\t\t\tAdministrative: pulumi.Bool(true),\n\t\t\tAutodeploy: pulumi.Bool(true),\n\t\t\tBitbucketDatacenter: \u0026spacelift.StackBitbucketDatacenterArgs{\n\t\t\t\tNamespace: pulumi.String(\"SPACELIFT\"),\n\t\t\t},\n\t\t\tBranch: pulumi.String(\"master\"),\n\t\t\tDescription: pulumi.String(\"Provisions a Kubernetes cluster\"),\n\t\t\tProjectRoot: pulumi.String(\"cluster\"),\n\t\t\tRepository: pulumi.String(\"core-infra\"),\n\t\t\tTerraformVersion: pulumi.String(\"1.3.0\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t// Terraform stack using a GitHub Custom Application. See the following page for more info: https://docs.spacelift.io/integrations/source-control/github#setting-up-the-custom-application\n\t\t_, err = spacelift.NewStack(ctx, \"k8s-cluster-github-enterprise\", \u0026spacelift.StackArgs{\n\t\t\tAdministrative: pulumi.Bool(true),\n\t\t\tAutodeploy: pulumi.Bool(true),\n\t\t\tBranch: pulumi.String(\"master\"),\n\t\t\tDescription: pulumi.String(\"Provisions a Kubernetes cluster\"),\n\t\t\tGithubEnterprise: \u0026spacelift.StackGithubEnterpriseArgs{\n\t\t\t\tNamespace: pulumi.String(\"spacelift\"),\n\t\t\t},\n\t\t\tProjectRoot: pulumi.String(\"cluster\"),\n\t\t\tRepository: pulumi.String(\"core-infra\"),\n\t\t\tTerraformVersion: pulumi.String(\"1.3.0\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t// Terraform stack using GitLab as VCS\n\t\t_, err = spacelift.NewStack(ctx, \"k8s-cluster-gitlab\", \u0026spacelift.StackArgs{\n\t\t\tAdministrative: pulumi.Bool(true),\n\t\t\tAutodeploy: pulumi.Bool(true),\n\t\t\tBranch: pulumi.String(\"master\"),\n\t\t\tDescription: pulumi.String(\"Provisions a Kubernetes cluster\"),\n\t\t\tGitlab: \u0026spacelift.StackGitlabArgs{\n\t\t\t\tNamespace: pulumi.String(\"spacelift\"),\n\t\t\t},\n\t\t\tProjectRoot: pulumi.String(\"cluster\"),\n\t\t\tRepository: pulumi.String(\"core-infra\"),\n\t\t\tTerraformVersion: pulumi.String(\"1.3.0\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t// Terraform stack using github.com as VCS and enabling external state access\n\t\t_, err = spacelift.NewStack(ctx, \"k8s-cluster\", \u0026spacelift.StackArgs{\n\t\t\tAdministrative: pulumi.Bool(true),\n\t\t\tAutodeploy: pulumi.Bool(true),\n\t\t\tBranch: pulumi.String(\"master\"),\n\t\t\tDescription: pulumi.String(\"Provisions a Kubernetes cluster\"),\n\t\t\tProjectRoot: pulumi.String(\"cluster\"),\n\t\t\tRepository: pulumi.String(\"core-infra\"),\n\t\t\tTerraformExternalStateAccess: pulumi.Bool(true),\n\t\t\tTerraformVersion: pulumi.String(\"1.3.0\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t// CloudFormation stack using github.com as VCS\n\t\t_, err = spacelift.NewStack(ctx, \"k8s-cluster-cloudformation\", \u0026spacelift.StackArgs{\n\t\t\tAutodeploy: pulumi.Bool(true),\n\t\t\tBranch: pulumi.String(\"master\"),\n\t\t\tCloudformation: \u0026spacelift.StackCloudformationArgs{\n\t\t\t\tEntryTemplateFile: pulumi.String(\"main.yaml\"),\n\t\t\t\tRegion: pulumi.String(\"eu-central-1\"),\n\t\t\t\tStackName: pulumi.String(\"k8s-cluster\"),\n\t\t\t\tTemplateBucket: pulumi.String(\"s3://bucket\"),\n\t\t\t},\n\t\t\tDescription: pulumi.String(\"Provisions a Kubernetes cluster\"),\n\t\t\tProjectRoot: pulumi.String(\"cluster\"),\n\t\t\tRepository: pulumi.String(\"core-infra\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t// Pulumi stack using github.com as VCS\n\t\t_, err = spacelift.NewStack(ctx, \"k8s-cluster-pulumi\", \u0026spacelift.StackArgs{\n\t\t\tAutodeploy: pulumi.Bool(true),\n\t\t\tBranch: pulumi.String(\"master\"),\n\t\t\tDescription: pulumi.String(\"Provisions a Kubernetes cluster\"),\n\t\t\tProjectRoot: pulumi.String(\"cluster\"),\n\t\t\tPulumi: \u0026spacelift.StackPulumiArgs{\n\t\t\t\tLoginUrl: pulumi.String(\"s3://pulumi-state-bucket\"),\n\t\t\t\tStackName: pulumi.String(\"kubernetes-core-services\"),\n\t\t\t},\n\t\t\tRepository: pulumi.String(\"core-infra\"),\n\t\t\tRunnerImage: pulumi.String(\"public.ecr.aws/t0p9w2l5/runner-pulumi-javascript:latest\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t// Kubernetes stack using github.com as VCS\n\t\t_, err = spacelift.NewStack(ctx, \"k8s-core-kubernetes\", \u0026spacelift.StackArgs{\n\t\t\tAutodeploy: pulumi.Bool(true),\n\t\t\tBeforeInits: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"aws eks update-kubeconfig --region us-east-2 --name k8s-cluster\"),\n\t\t\t},\n\t\t\tBranch: pulumi.String(\"master\"),\n\t\t\tDescription: pulumi.String(\"Shared cluster services (Datadog, Istio etc.)\"),\n\t\t\tKubernetes: \u0026spacelift.StackKubernetesArgs{\n\t\t\t\tKubectlVersion: pulumi.String(\"1.26.1\"),\n\t\t\t\tNamespace: pulumi.String(\"core\"),\n\t\t\t},\n\t\t\tProjectRoot: pulumi.String(\"core-services\"),\n\t\t\tRepository: pulumi.String(\"core-infra\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t// Ansible stack using github.com as VCS\n\t\t_, err = spacelift.NewStack(ctx, \"ansible-stack\", \u0026spacelift.StackArgs{\n\t\t\tAnsible: \u0026spacelift.StackAnsibleArgs{\n\t\t\t\tPlaybook: pulumi.String(\"main.yml\"),\n\t\t\t},\n\t\t\tAutodeploy: pulumi.Bool(true),\n\t\t\tBranch: pulumi.String(\"master\"),\n\t\t\tDescription: pulumi.String(\"Provisioning EC2 machines\"),\n\t\t\tRepository: pulumi.String(\"ansible-playbooks\"),\n\t\t\tRunnerImage: pulumi.String(\"public.ecr.aws/spacelift/runner-ansible:latest\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.spacelift.Stack;\nimport com.pulumi.spacelift.StackArgs;\nimport com.pulumi.spacelift.inputs.StackBitbucketCloudArgs;\nimport com.pulumi.spacelift.inputs.StackBitbucketDatacenterArgs;\nimport com.pulumi.spacelift.inputs.StackGithubEnterpriseArgs;\nimport com.pulumi.spacelift.inputs.StackGitlabArgs;\nimport com.pulumi.spacelift.inputs.StackCloudformationArgs;\nimport com.pulumi.spacelift.inputs.StackPulumiArgs;\nimport com.pulumi.spacelift.inputs.StackKubernetesArgs;\nimport com.pulumi.spacelift.inputs.StackAnsibleArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var k8s_cluster_bitbucket_cloud = new Stack(\"k8s-cluster-bitbucket-cloud\", StackArgs.builder() \n .administrative(true)\n .autodeploy(true)\n .bitbucketCloud(StackBitbucketCloudArgs.builder()\n .namespace(\"SPACELIFT\")\n .build())\n .branch(\"master\")\n .description(\"Provisions a Kubernetes cluster\")\n .projectRoot(\"cluster\")\n .repository(\"core-infra\")\n .terraformVersion(\"1.3.0\")\n .build());\n\n var k8s_cluster_bitbucket_datacenter = new Stack(\"k8s-cluster-bitbucket-datacenter\", StackArgs.builder() \n .administrative(true)\n .autodeploy(true)\n .bitbucketDatacenter(StackBitbucketDatacenterArgs.builder()\n .namespace(\"SPACELIFT\")\n .build())\n .branch(\"master\")\n .description(\"Provisions a Kubernetes cluster\")\n .projectRoot(\"cluster\")\n .repository(\"core-infra\")\n .terraformVersion(\"1.3.0\")\n .build());\n\n var k8s_cluster_github_enterprise = new Stack(\"k8s-cluster-github-enterprise\", StackArgs.builder() \n .administrative(true)\n .autodeploy(true)\n .branch(\"master\")\n .description(\"Provisions a Kubernetes cluster\")\n .githubEnterprise(StackGithubEnterpriseArgs.builder()\n .namespace(\"spacelift\")\n .build())\n .projectRoot(\"cluster\")\n .repository(\"core-infra\")\n .terraformVersion(\"1.3.0\")\n .build());\n\n var k8s_cluster_gitlab = new Stack(\"k8s-cluster-gitlab\", StackArgs.builder() \n .administrative(true)\n .autodeploy(true)\n .branch(\"master\")\n .description(\"Provisions a Kubernetes cluster\")\n .gitlab(StackGitlabArgs.builder()\n .namespace(\"spacelift\")\n .build())\n .projectRoot(\"cluster\")\n .repository(\"core-infra\")\n .terraformVersion(\"1.3.0\")\n .build());\n\n var k8s_cluster = new Stack(\"k8s-cluster\", StackArgs.builder() \n .administrative(true)\n .autodeploy(true)\n .branch(\"master\")\n .description(\"Provisions a Kubernetes cluster\")\n .projectRoot(\"cluster\")\n .repository(\"core-infra\")\n .terraformExternalStateAccess(true)\n .terraformVersion(\"1.3.0\")\n .build());\n\n var k8s_cluster_cloudformation = new Stack(\"k8s-cluster-cloudformation\", StackArgs.builder() \n .autodeploy(true)\n .branch(\"master\")\n .cloudformation(StackCloudformationArgs.builder()\n .entryTemplateFile(\"main.yaml\")\n .region(\"eu-central-1\")\n .stackName(\"k8s-cluster\")\n .templateBucket(\"s3://bucket\")\n .build())\n .description(\"Provisions a Kubernetes cluster\")\n .projectRoot(\"cluster\")\n .repository(\"core-infra\")\n .build());\n\n var k8s_cluster_pulumi = new Stack(\"k8s-cluster-pulumi\", StackArgs.builder() \n .autodeploy(true)\n .branch(\"master\")\n .description(\"Provisions a Kubernetes cluster\")\n .projectRoot(\"cluster\")\n .pulumi(StackPulumiArgs.builder()\n .loginUrl(\"s3://pulumi-state-bucket\")\n .stackName(\"kubernetes-core-services\")\n .build())\n .repository(\"core-infra\")\n .runnerImage(\"public.ecr.aws/t0p9w2l5/runner-pulumi-javascript:latest\")\n .build());\n\n var k8s_core_kubernetes = new Stack(\"k8s-core-kubernetes\", StackArgs.builder() \n .autodeploy(true)\n .beforeInits(\"aws eks update-kubeconfig --region us-east-2 --name k8s-cluster\")\n .branch(\"master\")\n .description(\"Shared cluster services (Datadog, Istio etc.)\")\n .kubernetes(StackKubernetesArgs.builder()\n .kubectlVersion(\"1.26.1\")\n .namespace(\"core\")\n .build())\n .projectRoot(\"core-services\")\n .repository(\"core-infra\")\n .build());\n\n var ansible_stack = new Stack(\"ansible-stack\", StackArgs.builder() \n .ansible(StackAnsibleArgs.builder()\n .playbook(\"main.yml\")\n .build())\n .autodeploy(true)\n .branch(\"master\")\n .description(\"Provisioning EC2 machines\")\n .repository(\"ansible-playbooks\")\n .runnerImage(\"public.ecr.aws/spacelift/runner-ansible:latest\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Terraform stack using Bitbucket Cloud as VCS\n k8s-cluster-bitbucket-cloud:\n type: spacelift:Stack\n properties:\n administrative: true\n autodeploy: true\n bitbucketCloud:\n namespace: SPACELIFT\n branch: master\n description: Provisions a Kubernetes cluster\n projectRoot: cluster\n repository: core-infra\n terraformVersion: 1.3.0\n # Terraform stack using Bitbucket Data Center as VCS\n k8s-cluster-bitbucket-datacenter:\n type: spacelift:Stack\n properties:\n administrative: true\n autodeploy: true\n bitbucketDatacenter:\n namespace: SPACELIFT\n branch: master\n description: Provisions a Kubernetes cluster\n projectRoot: cluster\n repository: core-infra\n terraformVersion: 1.3.0\n # Terraform stack using a GitHub Custom Application. See the following page for more info: https://docs.spacelift.io/integrations/source-control/github#setting-up-the-custom-application\n k8s-cluster-github-enterprise:\n type: spacelift:Stack\n properties:\n administrative: true\n autodeploy: true\n branch: master\n description: Provisions a Kubernetes cluster\n githubEnterprise:\n namespace: spacelift\n projectRoot: cluster\n repository: core-infra\n terraformVersion: 1.3.0\n # Terraform stack using GitLab as VCS\n k8s-cluster-gitlab:\n type: spacelift:Stack\n properties:\n administrative: true\n autodeploy: true\n branch: master\n description: Provisions a Kubernetes cluster\n gitlab:\n namespace: spacelift\n projectRoot: cluster\n repository: core-infra\n terraformVersion: 1.3.0\n # Terraform stack using github.com as VCS and enabling external state access\n k8s-cluster:\n type: spacelift:Stack\n properties:\n administrative: true\n autodeploy: true\n branch: master\n description: Provisions a Kubernetes cluster\n projectRoot: cluster\n repository: core-infra\n terraformExternalStateAccess: true\n terraformVersion: 1.3.0\n # CloudFormation stack using github.com as VCS\n k8s-cluster-cloudformation:\n type: spacelift:Stack\n properties:\n autodeploy: true\n branch: master\n cloudformation:\n entryTemplateFile: main.yaml\n region: eu-central-1\n stackName: k8s-cluster\n templateBucket: s3://bucket\n description: Provisions a Kubernetes cluster\n projectRoot: cluster\n repository: core-infra\n # Pulumi stack using github.com as VCS\n k8s-cluster-pulumi:\n type: spacelift:Stack\n properties:\n autodeploy: true\n branch: master\n description: Provisions a Kubernetes cluster\n projectRoot: cluster\n pulumi:\n loginUrl: s3://pulumi-state-bucket\n stackName: kubernetes-core-services\n repository: core-infra\n runnerImage: public.ecr.aws/t0p9w2l5/runner-pulumi-javascript:latest\n # Kubernetes stack using github.com as VCS\n k8s-core-kubernetes:\n type: spacelift:Stack\n properties:\n autodeploy: true\n # You can use hooks to authenticate with your cluster\n beforeInits:\n - aws eks update-kubeconfig --region us-east-2 --name k8s-cluster\n branch: master\n description: Shared cluster services (Datadog, Istio etc.)\n kubernetes:\n kubectlVersion: 1.26.1\n namespace: core\n projectRoot: core-services\n repository: core-infra\n # Ansible stack using github.com as VCS\n ansible-stack:\n type: spacelift:Stack\n properties:\n ansible:\n playbook: main.yml\n autodeploy: true\n branch: master\n description: Provisioning EC2 machines\n repository: ansible-playbooks\n runnerImage: public.ecr.aws/spacelift/runner-ansible:latest\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\n\n\n```sh\n $ pulumi import spacelift:index/stack:Stack k8s_core $STACK_ID\n```\n\n ", "properties": { "additionalProjectGlobs": { "type": "array", @@ -5912,7 +6061,7 @@ } }, "spacelift:index/workerPool:WorkerPool": { - "description": "`spacelift.WorkerPool` represents a worker pool assigned to the Spacelift account.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as fs from \"fs\";\nimport * as spacelift from \"@spacelift-io/pulumi-spacelift\";\n\nconst k8s_core = new spacelift.WorkerPool(\"k8s-core\", {\n csr: Buffer.from(fs.readFileSync(\"/path/to/csr\"), 'binary').toString('base64'),\n description: \"Used for all type jobs\",\n});\n```\n```python\nimport pulumi\nimport base64\nimport pulumi_spacelift as spacelift\n\nk8s_core = spacelift.WorkerPool(\"k8s-core\",\n csr=(lambda path: base64.b64encode(open(path).read().encode()).decode())(\"/path/to/csr\"),\n description=\"Used for all type jobs\")\n```\n```csharp\nusing System;\nusing System.Collections.Generic;\nusing System.IO;\nusing System.Linq;\nusing Pulumi;\nusing Spacelift = Pulumi.Spacelift;\n\n\tprivate static string ReadFileBase64(string path) {\n\t\treturn Convert.ToBase64String(System.Text.Encoding.UTF8.GetBytes(File.ReadAllText(path)));\n\t}\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var k8s_core = new Spacelift.WorkerPool(\"k8s-core\", new()\n {\n Csr = ReadFileBase64(\"/path/to/csr\"),\n Description = \"Used for all type jobs\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"encoding/base64\"\n\t\"os\"\n\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift\"\n)\n\nfunc filebase64OrPanic(path string) pulumi.StringPtrInput {\n\tif fileData, err := os.ReadFile(path); err == nil {\n\t\treturn pulumi.String(base64.StdEncoding.EncodeToString(fileData[:]))\n\t} else {\n\t\tpanic(err.Error())\n\t}\n}\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := spacelift.NewWorkerPool(ctx, \"k8s-core\", \u0026spacelift.WorkerPoolArgs{\n\t\t\tCsr: filebase64OrPanic(\"/path/to/csr\"),\n\t\t\tDescription: pulumi.String(\"Used for all type jobs\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.spacelift.WorkerPool;\nimport com.pulumi.spacelift.WorkerPoolArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var k8s_core = new WorkerPool(\"k8s-core\", WorkerPoolArgs.builder() \n .csr(Base64.getEncoder().encodeToString(Files.readAllBytes(Paths.get(\"/path/to/csr\"))))\n .description(\"Used for all type jobs\")\n .build());\n\n }\n}\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\n\n\n```sh\n $ pulumi import spacelift:index/workerPool:WorkerPool k8s-core $WORKER_POOL_ID\n```\n\n ", + "description": "`spacelift.WorkerPool` represents a worker pool assigned to the Spacelift account.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as fs from \"fs\";\nimport * as spacelift from \"@spacelift-io/pulumi-spacelift\";\n\nconst k8s_core = new spacelift.WorkerPool(\"k8s-core\", {\n csr: fs.readFileSync(\"/path/to/csr\", { encoding: \"base64\" }),\n description: \"Used for all type jobs\",\n});\n```\n```python\nimport pulumi\nimport base64\nimport pulumi_spacelift as spacelift\n\nk8s_core = spacelift.WorkerPool(\"k8s-core\",\n csr=(lambda path: base64.b64encode(open(path).read().encode()).decode())(\"/path/to/csr\"),\n description=\"Used for all type jobs\")\n```\n```csharp\nusing System;\nusing System.Collections.Generic;\nusing System.IO;\nusing System.Linq;\nusing Pulumi;\nusing Spacelift = Pulumi.Spacelift;\n\n\t\nstring ReadFileBase64(string path) \n{\n return Convert.ToBase64String(Encoding.UTF8.GetBytes(File.ReadAllText(path)));\n}\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var k8s_core = new Spacelift.WorkerPool(\"k8s-core\", new()\n {\n Csr = ReadFileBase64(\"/path/to/csr\"),\n Description = \"Used for all type jobs\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"encoding/base64\"\n\t\"os\"\n\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift\"\n)\n\nfunc filebase64OrPanic(path string) string {\n\tif fileData, err := os.ReadFile(path); err == nil {\n\t\treturn base64.StdEncoding.EncodeToString(fileData[:])\n\t} else {\n\t\tpanic(err.Error())\n\t}\n}\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := spacelift.NewWorkerPool(ctx, \"k8s-core\", \u0026spacelift.WorkerPoolArgs{\n\t\t\tCsr: filebase64OrPanic(\"/path/to/csr\"),\n\t\t\tDescription: pulumi.String(\"Used for all type jobs\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.spacelift.WorkerPool;\nimport com.pulumi.spacelift.WorkerPoolArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var k8s_core = new WorkerPool(\"k8s-core\", WorkerPoolArgs.builder() \n .csr(Base64.getEncoder().encodeToString(Files.readAllBytes(Paths.get(\"/path/to/csr\"))))\n .description(\"Used for all type jobs\")\n .build());\n\n }\n}\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\n\n\n```sh\n $ pulumi import spacelift:index/workerPool:WorkerPool k8s-core $WORKER_POOL_ID\n```\n\n ", "properties": { "config": { "type": "string", diff --git a/provider/go.mod b/provider/go.mod index 76a94fd..d5dbe9f 100644 --- a/provider/go.mod +++ b/provider/go.mod @@ -3,45 +3,39 @@ module github.com/spacelift-io/pulumi-spacelift/provider go 1.21 replace ( - github.com/hashicorp/terraform-plugin-sdk/v2 => github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20230912190043-e6d96b3b8f7e - github.com/shurcooL/graphql => github.com/spacelift-io/graphql v1.1.0 + github.com/hashicorp/terraform-plugin-sdk/v2 => github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20240129205329-74776a5cd5f9 + github.com/shurcooL/graphql => github.com/spacelift-io/graphql v1.2.0 ) require ( - github.com/pulumi/pulumi-terraform-bridge/v3 v3.63.1 - github.com/pulumi/pulumi/sdk/v3 v3.91.0 + github.com/pulumi/pulumi-terraform-bridge/v3 v3.73.0 + github.com/pulumi/pulumi/sdk/v3 v3.107.0 github.com/spacelift-io/terraform-provider-spacelift v1.9.3 ) require ( - cloud.google.com/go v0.110.4 // indirect - cloud.google.com/go/compute v1.20.1 // indirect + cloud.google.com/go v0.110.10 // indirect + cloud.google.com/go/compute v1.23.3 // indirect cloud.google.com/go/compute/metadata v0.2.3 // indirect - cloud.google.com/go/iam v1.1.1 // indirect - cloud.google.com/go/kms v1.12.1 // indirect - cloud.google.com/go/logging v1.7.0 // indirect - cloud.google.com/go/longrunning v0.5.1 // indirect - cloud.google.com/go/storage v1.30.1 // indirect + cloud.google.com/go/iam v1.1.5 // indirect + cloud.google.com/go/kms v1.15.5 // indirect + cloud.google.com/go/logging v1.8.1 // indirect + cloud.google.com/go/longrunning v0.5.4 // indirect + cloud.google.com/go/storage v1.35.1 // indirect dario.cat/mergo v1.0.0 // indirect - github.com/Azure/azure-sdk-for-go v66.0.0+incompatible // indirect - github.com/Azure/go-autorest v14.2.0+incompatible // indirect - github.com/Azure/go-autorest/autorest v0.11.28 // indirect - github.com/Azure/go-autorest/autorest/adal v0.9.21 // indirect - github.com/Azure/go-autorest/autorest/azure/auth v0.5.11 // indirect - github.com/Azure/go-autorest/autorest/azure/cli v0.4.6 // indirect - github.com/Azure/go-autorest/autorest/date v0.3.0 // indirect - github.com/Azure/go-autorest/autorest/to v0.4.0 // indirect - github.com/Azure/go-autorest/autorest/validation v0.3.1 // indirect - github.com/Azure/go-autorest/logger v0.2.1 // indirect - github.com/Azure/go-autorest/tracing v0.6.0 // indirect + github.com/Azure/azure-sdk-for-go/sdk/azcore v1.9.0 // indirect + github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.4.0 // indirect + github.com/Azure/azure-sdk-for-go/sdk/internal v1.5.0 // indirect + github.com/Azure/azure-sdk-for-go/sdk/keyvault/azkeys v0.10.0 // indirect + github.com/Azure/azure-sdk-for-go/sdk/keyvault/internal v0.7.1 // indirect + github.com/AzureAD/microsoft-authentication-library-for-go v1.2.0 // indirect github.com/BurntSushi/toml v1.2.1 // indirect github.com/Masterminds/goutils v1.1.1 // indirect github.com/Masterminds/semver v1.5.0 // indirect github.com/Masterminds/semver/v3 v3.1.1 // indirect github.com/Masterminds/sprig/v3 v3.2.2 // indirect github.com/Microsoft/go-winio v0.6.1 // indirect - github.com/ProtonMail/go-crypto v0.0.0-20230717121422-5aa5874ade95 // indirect - github.com/acomagu/bufpipe v1.0.4 // indirect + github.com/ProtonMail/go-crypto v0.0.0-20230828082145-3c4c8a2d2371 // indirect github.com/aead/chacha20 v0.0.0-20180709150244-8b13a72661da // indirect github.com/agext/levenshtein v1.2.3 // indirect github.com/apparentlymart/go-cidr v1.1.0 // indirect @@ -49,19 +43,21 @@ require ( github.com/armon/go-metrics v0.4.0 // indirect github.com/armon/go-radix v1.0.0 // indirect github.com/atotto/clipboard v0.1.4 // indirect - github.com/aws/aws-sdk-go v1.44.298 // indirect - github.com/aws/aws-sdk-go-v2 v1.17.3 // indirect - github.com/aws/aws-sdk-go-v2/config v1.15.15 // indirect - github.com/aws/aws-sdk-go-v2/credentials v1.12.10 // indirect - github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.12.9 // indirect - github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.27 // indirect - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.21 // indirect - github.com/aws/aws-sdk-go-v2/internal/ini v1.3.16 // indirect - github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.9 // indirect - github.com/aws/aws-sdk-go-v2/service/kms v1.18.1 // indirect - github.com/aws/aws-sdk-go-v2/service/sso v1.11.13 // indirect - github.com/aws/aws-sdk-go-v2/service/sts v1.16.10 // indirect - github.com/aws/smithy-go v1.13.5 // indirect + github.com/aws/aws-sdk-go v1.49.0 // indirect + github.com/aws/aws-sdk-go-v2 v1.24.0 // indirect + github.com/aws/aws-sdk-go-v2/config v1.26.1 // indirect + github.com/aws/aws-sdk-go-v2/credentials v1.16.12 // indirect + github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.14.10 // indirect + github.com/aws/aws-sdk-go-v2/internal/configsources v1.2.9 // indirect + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.5.9 // indirect + github.com/aws/aws-sdk-go-v2/internal/ini v1.7.2 // indirect + github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.10.4 // indirect + github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.10.9 // indirect + github.com/aws/aws-sdk-go-v2/service/kms v1.27.5 // indirect + github.com/aws/aws-sdk-go-v2/service/sso v1.18.5 // indirect + github.com/aws/aws-sdk-go-v2/service/ssooidc v1.21.5 // indirect + github.com/aws/aws-sdk-go-v2/service/sts v1.26.5 // indirect + github.com/aws/smithy-go v1.19.0 // indirect github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d // indirect github.com/bgentry/speakeasy v0.1.0 // indirect @@ -71,35 +67,36 @@ require ( github.com/charmbracelet/bubbletea v0.24.2 // indirect github.com/charmbracelet/lipgloss v0.7.1 // indirect github.com/cheggaaa/pb v1.0.29 // indirect - github.com/cloudflare/circl v1.3.3 // indirect + github.com/cloudflare/circl v1.3.7 // indirect github.com/containerd/console v1.0.4-0.20230313162750-1ae8d489ac81 // indirect + github.com/cyphar/filepath-securejoin v0.2.4 // indirect github.com/davecgh/go-spew v1.1.1 // indirect + github.com/deckarep/golang-set/v2 v2.5.0 // indirect github.com/dgrijalva/jwt-go/v4 v4.0.0-preview1 // indirect - github.com/dimchansky/utfbom v1.1.1 // indirect github.com/djherbis/times v1.5.0 // indirect github.com/edsrzf/mmap-go v1.1.0 // indirect github.com/emirpasic/gods v1.18.1 // indirect github.com/ettle/strcase v0.1.1 // indirect - github.com/fatih/color v1.13.0 // indirect + github.com/fatih/color v1.15.0 // indirect github.com/gedex/inflector v0.0.0-20170307190818-16278e9db813 // indirect github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect - github.com/go-git/go-billy/v5 v5.4.1 // indirect - github.com/go-git/go-git/v5 v5.8.1 // indirect + github.com/go-git/go-billy/v5 v5.5.0 // indirect + github.com/go-git/go-git/v5 v5.11.0 // indirect github.com/gofrs/uuid v4.2.0+incompatible // indirect github.com/gogo/protobuf v1.3.2 // indirect - github.com/golang-jwt/jwt/v4 v4.4.2 // indirect - github.com/golang/glog v1.1.0 // indirect + github.com/golang-jwt/jwt/v5 v5.1.0 // indirect + github.com/golang/glog v1.1.2 // indirect github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect github.com/golang/protobuf v1.5.3 // indirect github.com/golang/snappy v0.0.4 // indirect - github.com/google/go-cmp v0.5.9 // indirect + github.com/google/go-cmp v0.6.0 // indirect github.com/google/go-querystring v1.1.0 // indirect - github.com/google/s2a-go v0.1.4 // indirect + github.com/google/s2a-go v0.1.7 // indirect github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect - github.com/google/uuid v1.3.0 // indirect + github.com/google/uuid v1.4.0 // indirect github.com/google/wire v0.5.0 // indirect - github.com/googleapis/enterprise-certificate-proxy v0.2.3 // indirect - github.com/googleapis/gax-go/v2 v2.11.0 // indirect + github.com/googleapis/enterprise-certificate-proxy v0.3.2 // indirect + github.com/googleapis/gax-go/v2 v2.12.0 // indirect github.com/gorilla/mux v1.8.0 // indirect github.com/grpc-ecosystem/grpc-opentracing v0.0.0-20180507213350-8e809c8a8645 // indirect github.com/hashicorp/errwrap v1.1.0 // indirect @@ -145,11 +142,12 @@ require ( github.com/json-iterator/go v1.1.12 // indirect github.com/kevinburke/ssh_config v1.2.0 // indirect github.com/klauspost/compress v1.15.11 // indirect + github.com/kylelemons/godebug v1.1.0 // indirect github.com/lucasb-eyer/go-colorful v1.2.0 // indirect github.com/mattn/go-colorable v0.1.13 // indirect - github.com/mattn/go-isatty v0.0.18 // indirect + github.com/mattn/go-isatty v0.0.19 // indirect github.com/mattn/go-localereader v0.0.1 // indirect - github.com/mattn/go-runewidth v0.0.14 // indirect + github.com/mattn/go-runewidth v0.0.15 // indirect github.com/mitchellh/cli v1.1.5 // indirect github.com/mitchellh/copystructure v1.2.0 // indirect github.com/mitchellh/go-homedir v1.1.0 // indirect @@ -161,26 +159,29 @@ require ( github.com/mitchellh/reflectwalk v1.0.2 // indirect github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect github.com/modern-go/reflect2 v1.0.2 // indirect - github.com/muesli/ansi v0.0.0-20211018074035-2e021307bc4b // indirect + github.com/muesli/ansi v0.0.0-20230316100256-276c6243b2f6 // indirect github.com/muesli/cancelreader v0.2.2 // indirect github.com/muesli/reflow v0.3.0 // indirect - github.com/muesli/termenv v0.15.1 // indirect + github.com/muesli/termenv v0.15.2 // indirect github.com/natefinch/atomic v1.0.1 // indirect github.com/oklog/run v1.1.0 // indirect github.com/opentracing/basictracer-go v1.1.0 // indirect github.com/opentracing/opentracing-go v1.2.0 // indirect + github.com/pgavlin/fx v0.1.6 // indirect github.com/pgavlin/goldmark v1.1.33-0.20200616210433-b5eb04559386 // indirect github.com/pierrec/lz4 v2.6.1+incompatible // indirect github.com/pjbgf/sha1cd v0.3.0 // indirect + github.com/pkg/browser v0.0.0-20210911075715-681adbf594b8 // indirect github.com/pkg/errors v0.9.1 // indirect github.com/pkg/term v1.1.0 // indirect github.com/pmezard/go-difflib v1.0.0 // indirect github.com/posener/complete v1.2.3 // indirect - github.com/pulumi/esc v0.5.6 // indirect - github.com/pulumi/pulumi-java/pkg v0.9.8 // indirect - github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.4 // indirect - github.com/pulumi/pulumi-yaml v1.2.2 // indirect - github.com/pulumi/pulumi/pkg/v3 v3.90.1 // indirect + github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231 // indirect + github.com/pulumi/esc v0.6.2 // indirect + github.com/pulumi/pulumi-java/pkg v0.9.9 // indirect + github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.8 // indirect + github.com/pulumi/pulumi-yaml v1.5.0 // indirect + github.com/pulumi/pulumi/pkg/v3 v3.107.0 // indirect github.com/pulumi/schema-tools v0.1.2 // indirect github.com/pulumi/terraform-diff-reader v0.0.2 // indirect github.com/rivo/uniseg v0.4.4 // indirect @@ -194,7 +195,7 @@ require ( github.com/sergi/go-diff v1.3.1 // indirect github.com/shopspring/decimal v1.3.1 // indirect github.com/shurcooL/graphql v0.0.0-20200928012149-18c5c3165e3a // indirect - github.com/skeema/knownhosts v1.2.0 // indirect + github.com/skeema/knownhosts v1.2.1 // indirect github.com/spf13/afero v1.9.5 // indirect github.com/spf13/cast v1.5.0 // indirect github.com/spf13/cobra v1.7.0 // indirect @@ -215,30 +216,29 @@ require ( github.com/zclconf/go-cty v1.14.0 // indirect go.opencensus.io v0.24.0 // indirect go.uber.org/atomic v1.9.0 // indirect - gocloud.dev v0.27.0 // indirect + gocloud.dev v0.36.0 // indirect gocloud.dev/secrets/hashivault v0.27.0 // indirect - golang.org/x/crypto v0.17.0 // indirect - golang.org/x/exp v0.0.0-20231006140011-7918f672742d // indirect - golang.org/x/mod v0.13.0 // indirect - golang.org/x/net v0.17.0 // indirect - golang.org/x/oauth2 v0.13.0 // indirect - golang.org/x/sync v0.4.0 // indirect - golang.org/x/sys v0.15.0 // indirect - golang.org/x/term v0.15.0 // indirect + golang.org/x/crypto v0.18.0 // indirect + golang.org/x/exp v0.0.0-20231110203233-9a3e6036ecaa // indirect + golang.org/x/mod v0.14.0 // indirect + golang.org/x/net v0.19.0 // indirect + golang.org/x/oauth2 v0.14.0 // indirect + golang.org/x/sync v0.5.0 // indirect + golang.org/x/sys v0.16.0 // indirect + golang.org/x/term v0.16.0 // indirect golang.org/x/text v0.14.0 // indirect - golang.org/x/time v0.3.0 // indirect - golang.org/x/tools v0.14.0 // indirect - golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect - google.golang.org/api v0.126.0 // indirect - google.golang.org/appengine v1.6.7 // indirect - google.golang.org/genproto v0.0.0-20230726155614-23370e0ffb3e // indirect - google.golang.org/genproto/googleapis/api v0.0.0-20230706204954-ccb25ca9f130 // indirect - google.golang.org/genproto/googleapis/rpc v0.0.0-20230706204954-ccb25ca9f130 // indirect - google.golang.org/grpc v1.57.0 // indirect + golang.org/x/time v0.4.0 // indirect + golang.org/x/tools v0.15.0 // indirect + golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028 // indirect + google.golang.org/api v0.151.0 // indirect + google.golang.org/appengine v1.6.8 // indirect + google.golang.org/genproto v0.0.0-20231120223509-83a465c0220f // indirect + google.golang.org/genproto/googleapis/api v0.0.0-20231120223509-83a465c0220f // indirect + google.golang.org/genproto/googleapis/rpc v0.0.0-20231120223509-83a465c0220f // indirect + google.golang.org/grpc v1.59.0 // indirect google.golang.org/protobuf v1.31.0 // indirect gopkg.in/square/go-jose.v2 v2.6.0 // indirect gopkg.in/warnings.v0 v0.1.2 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect lukechampine.com/frand v1.4.2 // indirect - sourcegraph.com/sourcegraph/appdash v0.0.0-20211028080628-e2786a622600 // indirect ) diff --git a/provider/go.sum b/provider/go.sum index 2267f02..2f27c66 100644 --- a/provider/go.sum +++ b/provider/go.sum @@ -40,8 +40,8 @@ cloud.google.com/go v0.104.0/go.mod h1:OO6xxXdJyvuJPcEPBLN9BJPD+jep5G1+2U5B5gkRY cloud.google.com/go v0.105.0/go.mod h1:PrLgOJNe5nfE9UMxKxgXj4mD3voiP+YQ6gdt6KMFOKM= cloud.google.com/go v0.107.0/go.mod h1:wpc2eNrD7hXUTy8EKS10jkxpZBjASrORK7goS+3YX2I= cloud.google.com/go v0.110.0/go.mod h1:SJnCLqQ0FCFGSZMUNUf84MV3Aia54kn7pi8st7tMzaY= -cloud.google.com/go v0.110.4 h1:1JYyxKMN9hd5dR2MYTPWkGUgcoxVVhg0LKNKEo0qvmk= -cloud.google.com/go v0.110.4/go.mod h1:+EYjdK8e5RME/VY/qLCAtuyALQ9q67dvuum8i+H5xsI= +cloud.google.com/go v0.110.10 h1:LXy9GEO+timppncPIAZoOj3l58LIU9k+kn48AN7IO3Y= +cloud.google.com/go v0.110.10/go.mod h1:v1OoFqYxiBkUrruItNM3eT4lLByNjxmJSV/xDKJNnic= cloud.google.com/go/accessapproval v1.4.0/go.mod h1:zybIuC3KpDOvotz59lFe5qxRZx6C75OtwbisN56xYB4= cloud.google.com/go/accessapproval v1.5.0/go.mod h1:HFy3tuiGvMdcd/u+Cu5b9NkO1pEICJ46IR82PoUdplw= cloud.google.com/go/accessapproval v1.6.0/go.mod h1:R0EiYnwV5fsRFiKZkPHr6mwyk2wxUJ30nL4j2pcFY2E= @@ -178,8 +178,8 @@ cloud.google.com/go/compute v1.15.1/go.mod h1:bjjoF/NtFUrkD/urWfdHaKuOPDR5nWIs63 cloud.google.com/go/compute v1.18.0/go.mod h1:1X7yHxec2Ga+Ss6jPyjxRxpu2uu7PLgsOVXvgU0yacs= cloud.google.com/go/compute v1.19.0/go.mod h1:rikpw2y+UMidAe9tISo04EHNOIf42RLYF/q8Bs93scU= cloud.google.com/go/compute v1.19.1/go.mod h1:6ylj3a05WF8leseCdIf77NK0g1ey+nj5IKd5/kvShxE= -cloud.google.com/go/compute v1.20.1 h1:6aKEtlUiwEpJzM001l0yFkpXmUVXaN8W+fbkb2AZNbg= -cloud.google.com/go/compute v1.20.1/go.mod h1:4tCnrn48xsqlwSAiLf1HXMQk8CONslYbdiEZc9FEIbM= +cloud.google.com/go/compute v1.23.3 h1:6sVlXXBmbd7jNX0Ipq0trII3e4n1/MsADLK6a+aiVlk= +cloud.google.com/go/compute v1.23.3/go.mod h1:VCgBUoMnIVIR0CscqQiPJLAG25E3ZRZMzcFZeQ+h8CI= cloud.google.com/go/compute/metadata v0.1.0/go.mod h1:Z1VN+bulIf6bt4P/C37K4DyZYZEXYonfTBHHFPO/4UU= cloud.google.com/go/compute/metadata v0.2.0/go.mod h1:zFmK7XCadkQkj6TtorcaGlCW1hT1fIilQDwofLpJ20k= cloud.google.com/go/compute/metadata v0.2.1/go.mod h1:jgHgmJd2RKBGzXqF5LR2EZMGxBkeanZ9wwa75XHJgOM= @@ -320,8 +320,8 @@ cloud.google.com/go/iam v0.8.0/go.mod h1:lga0/y3iH6CX7sYqypWJ33hf7kkfXJag67naqGE cloud.google.com/go/iam v0.11.0/go.mod h1:9PiLDanza5D+oWFZiH1uG+RnRCfEGKoyl6yo4cgWZGY= cloud.google.com/go/iam v0.12.0/go.mod h1:knyHGviacl11zrtZUoDuYpDgLjvr28sLQaG0YB2GYAY= cloud.google.com/go/iam v0.13.0/go.mod h1:ljOg+rcNfzZ5d6f1nAUJ8ZIxOaZUVoS14bKCtaLZ/D0= -cloud.google.com/go/iam v1.1.1 h1:lW7fzj15aVIXYHREOqjRBV9PsH0Z6u8Y46a1YGvQP4Y= -cloud.google.com/go/iam v1.1.1/go.mod h1:A5avdyVL2tCppe4unb0951eI9jreack+RJ0/d+KUZOU= +cloud.google.com/go/iam v1.1.5 h1:1jTsCu4bcsNsE4iiqNT5SHwrDRCfRmIaaaVFhRveTJI= +cloud.google.com/go/iam v1.1.5/go.mod h1:rB6P/Ic3mykPbFio+vo7403drjlgvoWfYpJhMXEbzv8= cloud.google.com/go/iap v1.4.0/go.mod h1:RGFwRJdihTINIe4wZ2iCP0zF/qu18ZwyKxrhMhygBEc= cloud.google.com/go/iap v1.5.0/go.mod h1:UH/CGgKd4KyohZL5Pt0jSKE4m3FR51qg6FKQ/z/Ix9A= cloud.google.com/go/iap v1.6.0/go.mod h1:NSuvI9C/j7UdjGjIde7t7HBz+QTwBcapPE07+sSRcLk= @@ -341,8 +341,8 @@ cloud.google.com/go/kms v1.8.0/go.mod h1:4xFEhYFqvW+4VMELtZyxomGSYtSQKzM178ylFW4 cloud.google.com/go/kms v1.9.0/go.mod h1:qb1tPTgfF9RQP8e1wq4cLFErVuTJv7UsSC915J8dh3w= cloud.google.com/go/kms v1.10.0/go.mod h1:ng3KTUtQQU9bPX3+QGLsflZIHlkbn8amFAMY63m8d24= cloud.google.com/go/kms v1.10.1/go.mod h1:rIWk/TryCkR59GMC3YtHtXeLzd634lBbKenvyySAyYI= -cloud.google.com/go/kms v1.12.1 h1:xZmZuwy2cwzsocmKDOPu4BL7umg8QXagQx6fKVmf45U= -cloud.google.com/go/kms v1.12.1/go.mod h1:c9J991h5DTl+kg7gi3MYomh12YEENGrf48ee/N/2CDM= +cloud.google.com/go/kms v1.15.5 h1:pj1sRfut2eRbD9pFRjNnPNg/CzJPuQAzUujMIM1vVeM= +cloud.google.com/go/kms v1.15.5/go.mod h1:cU2H5jnp6G2TDpUGZyqTCoy1n16fbubHZjmVXSMtwDI= cloud.google.com/go/language v1.4.0/go.mod h1:F9dRpNFQmJbkaop6g0JhSBXCNlO90e1KWx5iDdxbWic= cloud.google.com/go/language v1.6.0/go.mod h1:6dJ8t3B+lUYfStgls25GusK04NLh3eDLQnWM3mdEbhI= cloud.google.com/go/language v1.7.0/go.mod h1:DJ6dYN/W+SQOjF8e1hLQXMF21AkH2w9wiPzPCJa2MIE= @@ -352,13 +352,14 @@ cloud.google.com/go/lifesciences v0.5.0/go.mod h1:3oIKy8ycWGPUyZDR/8RNnTOYevhaML cloud.google.com/go/lifesciences v0.6.0/go.mod h1:ddj6tSX/7BOnhxCSd3ZcETvtNr8NZ6t/iPhY2Tyfu08= cloud.google.com/go/lifesciences v0.8.0/go.mod h1:lFxiEOMqII6XggGbOnKiyZ7IBwoIqA84ClvoezaA/bo= cloud.google.com/go/logging v1.6.1/go.mod h1:5ZO0mHHbvm8gEmeEUHrmDlTDSu5imF6MUP9OfilNXBw= -cloud.google.com/go/logging v1.7.0 h1:CJYxlNNNNAMkHp9em/YEXcfJg+rPDg7YfwoRpMU+t5I= cloud.google.com/go/logging v1.7.0/go.mod h1:3xjP2CjkM3ZkO73aj4ASA5wRPGGCRrPIAeNqVNkzY8M= +cloud.google.com/go/logging v1.8.1 h1:26skQWPeYhvIasWKm48+Eq7oUqdcdbwsCVwz5Ys0FvU= +cloud.google.com/go/logging v1.8.1/go.mod h1:TJjR+SimHwuC8MZ9cjByQulAMgni+RkXeI3wwctHJEI= cloud.google.com/go/longrunning v0.1.1/go.mod h1:UUFxuDWkv22EuY93jjmDMFT5GPQKeFVJBIF6QlTqdsE= cloud.google.com/go/longrunning v0.3.0/go.mod h1:qth9Y41RRSUE69rDcOn6DdK3HfQfsUI0YSmW3iIlLJc= cloud.google.com/go/longrunning v0.4.1/go.mod h1:4iWDqhBZ70CvZ6BfETbvam3T8FMvLK+eFj0E6AaRQTo= -cloud.google.com/go/longrunning v0.5.1 h1:Fr7TXftcqTudoyRJa113hyaqlGdiBQkp0Gq7tErFDWI= -cloud.google.com/go/longrunning v0.5.1/go.mod h1:spvimkwdz6SPWKEt/XBij79E9fiTkHSQl/fRUUQJYJc= +cloud.google.com/go/longrunning v0.5.4 h1:w8xEcbZodnA2BbW6sVirkkoC+1gP8wS57EUUgGS0GVg= +cloud.google.com/go/longrunning v0.5.4/go.mod h1:zqNVncI0BOP8ST6XQD1+VcvuShMmq7+xFSzOL++V0dI= cloud.google.com/go/managedidentities v1.3.0/go.mod h1:UzlW3cBOiPrzucO5qWkNkh0w33KFtBJU281hacNvsdE= cloud.google.com/go/managedidentities v1.4.0/go.mod h1:NWSBYbEMgqmbZsLIyKvxrYbtqOsxY1ZrGM+9RgDqInM= cloud.google.com/go/managedidentities v1.5.0/go.mod h1:+dWcZ0JlUmpuxpIDfyP5pP5y0bLdRwOS4Lp7gMni/LA= @@ -550,8 +551,8 @@ cloud.google.com/go/storage v1.24.0/go.mod h1:3xrJEFMXBsQLgxwThyjuD3aYlroL0TMRec cloud.google.com/go/storage v1.27.0/go.mod h1:x9DOL8TK/ygDUMieqwfhdpQryTeEkhGKMi80i/iqR2s= cloud.google.com/go/storage v1.28.1/go.mod h1:Qnisd4CqDdo6BGs2AD5LLnEsmSQ80wQ5ogcBBKhU86Y= cloud.google.com/go/storage v1.29.0/go.mod h1:4puEjyTKnku6gfKoTfNOU/W+a9JyuVNxjpS5GBrB8h4= -cloud.google.com/go/storage v1.30.1 h1:uOdMxAs8HExqBlnLtnQyP0YkvbiDpdGShGKtx6U/oNM= -cloud.google.com/go/storage v1.30.1/go.mod h1:NfxhC0UJE1aXSx7CIIbCf7y9HKT7BiccwkR7+P7gN8E= +cloud.google.com/go/storage v1.35.1 h1:B59ahL//eDfx2IIKFBeT5Atm9wnNmj3+8xG/W4WB//w= +cloud.google.com/go/storage v1.35.1/go.mod h1:M6M/3V/D3KpzMTJyPOR/HU6n2Si5QdaXYEsng2xgOs8= cloud.google.com/go/storagetransfer v1.5.0/go.mod h1:dxNzUopWy7RQevYFHewchb29POFv3/AaBgnhqzqiK0w= cloud.google.com/go/storagetransfer v1.6.0/go.mod h1:y77xm4CQV/ZhFZH75PLEXY0ROiS7Gh6pSKrM8dJyg6I= cloud.google.com/go/storagetransfer v1.7.0/go.mod h1:8Giuj1QNb1kfLAiWM1bN6dHzfdlDAVC9rv9abHot2W4= @@ -633,15 +634,24 @@ github.com/Azure/azure-amqp-common-go/v3 v3.2.3/go.mod h1:7rPmbSfszeovxGfc5fSAXE github.com/Azure/azure-sdk-for-go v16.2.1+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= github.com/Azure/azure-sdk-for-go v63.0.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= github.com/Azure/azure-sdk-for-go v65.0.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= -github.com/Azure/azure-sdk-for-go v66.0.0+incompatible h1:bmmC38SlE8/E81nNADlgmVGurPWMHDX2YNXVQMrBpEE= github.com/Azure/azure-sdk-for-go v66.0.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= github.com/Azure/azure-sdk-for-go/sdk/azcore v0.19.0/go.mod h1:h6H6c8enJmmocHUbLiiGY6sx7f9i+X3m1CHdd5c6Rdw= github.com/Azure/azure-sdk-for-go/sdk/azcore v1.0.0/go.mod h1:uGG2W01BaETf0Ozp+QxxKJdMBNRWPdstHG0Fmdwn1/U= github.com/Azure/azure-sdk-for-go/sdk/azcore v1.1.1/go.mod h1:uGG2W01BaETf0Ozp+QxxKJdMBNRWPdstHG0Fmdwn1/U= +github.com/Azure/azure-sdk-for-go/sdk/azcore v1.9.0 h1:fb8kj/Dh4CSwgsOzHeZY4Xh68cFVbzXx+ONXGMY//4w= +github.com/Azure/azure-sdk-for-go/sdk/azcore v1.9.0/go.mod h1:uReU2sSxZExRPBAg3qKzmAucSi51+SP1OhohieR821Q= github.com/Azure/azure-sdk-for-go/sdk/azidentity v0.11.0/go.mod h1:HcM1YX14R7CJcghJGOYCgdezslRSVzqwLf/q+4Y2r/0= github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.0.0/go.mod h1:+6sju8gk8FRmSajX3Oz4G5Gm7P+mbqE9FVaXXFYTkCM= +github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.4.0 h1:BMAjVKJM0U/CYF27gA0ZMmXGkOcvfFtD0oHVZ1TIPRI= +github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.4.0/go.mod h1:1fXstnBMas5kzG+S3q8UoJcmyU6nUeunJcMDHcRYHhs= github.com/Azure/azure-sdk-for-go/sdk/internal v0.7.0/go.mod h1:yqy467j36fJxcRV2TzfVZ1pCb5vxm4BtZPUdYWe/Xo8= github.com/Azure/azure-sdk-for-go/sdk/internal v1.0.0/go.mod h1:eWRD7oawr1Mu1sLCawqVc0CUiF43ia3qQMxLscsKQ9w= +github.com/Azure/azure-sdk-for-go/sdk/internal v1.5.0 h1:d81/ng9rET2YqdVkVwkb6EXeRrLJIwyGnJcAlAWKwhs= +github.com/Azure/azure-sdk-for-go/sdk/internal v1.5.0/go.mod h1:s4kgfzA0covAXNicZHDMN58jExvcng2mC/DepXiF1EI= +github.com/Azure/azure-sdk-for-go/sdk/keyvault/azkeys v0.10.0 h1:m/sWOGCREuSBqg2htVQTBY8nOZpyajYztF0vUvSZTuM= +github.com/Azure/azure-sdk-for-go/sdk/keyvault/azkeys v0.10.0/go.mod h1:Pu5Zksi2KrU7LPbZbNINx6fuVrUp/ffvpxdDj+i8LeE= +github.com/Azure/azure-sdk-for-go/sdk/keyvault/internal v0.7.1 h1:FbH3BbSb4bvGluTesZZ+ttN/MDsnMmQP36OSnDuSXqw= +github.com/Azure/azure-sdk-for-go/sdk/keyvault/internal v0.7.1/go.mod h1:9V2j0jn9jDEkCkv8w/bKTNppX/d0FVA1ud77xCIP4KA= github.com/Azure/azure-sdk-for-go/sdk/messaging/azservicebus v1.0.2/go.mod h1:LH9XQnMr2ZYxQdVdCrzLO9mxeDyrDFa6wbSI3x5zCZk= github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v0.4.1/go.mod h1:eZ4g6GUvXiGulfIbbhh1Xr4XwUYaYaWMqzGD/284wCA= github.com/Azure/go-amqp v0.17.0/go.mod h1:9YJ3RhxRT1gquYnzpZO1vcYMMpAdJT+QEg6fwmw9Zlg= @@ -650,43 +660,34 @@ github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78/go.mod h1:LmzpDX github.com/Azure/go-ansiterm v0.0.0-20210608223527-2377c96fe795/go.mod h1:LmzpDX56iTiv29bbRTIsUNlaFfuhWRQBWjQdVyAevI8= github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1/go.mod h1:xomTg63KZ2rFqZQzSB4Vz2SUXa1BpHTVz9L5PTmPC4E= github.com/Azure/go-autorest v10.8.1+incompatible/go.mod h1:r+4oMnoxhatjLLJ6zxSWATqVooLgysK6ZNox3g/xq24= -github.com/Azure/go-autorest v14.2.0+incompatible h1:V5VMDjClD3GiElqLWO7mz2MxNAK/vTfRHdAubSIPRgs= github.com/Azure/go-autorest v14.2.0+incompatible/go.mod h1:r+4oMnoxhatjLLJ6zxSWATqVooLgysK6ZNox3g/xq24= github.com/Azure/go-autorest/autorest v0.11.1/go.mod h1:JFgpikqFJ/MleTTxwepExTKnFUKKszPS8UavbQYUMuw= github.com/Azure/go-autorest/autorest v0.11.18/go.mod h1:dSiJPy22c3u0OtOKDNttNgqpNFY/GeWa7GH/Pz56QRA= github.com/Azure/go-autorest/autorest v0.11.24/go.mod h1:G6kyRlFnTuSbEYkQGawPfsCswgme4iYf6rfSKUDzbCc= github.com/Azure/go-autorest/autorest v0.11.25/go.mod h1:7l8ybrIdUmGqZMTD0sRtAr8NvbHjfofbf8RSP2q7w7U= github.com/Azure/go-autorest/autorest v0.11.27/go.mod h1:7l8ybrIdUmGqZMTD0sRtAr8NvbHjfofbf8RSP2q7w7U= -github.com/Azure/go-autorest/autorest v0.11.28 h1:ndAExarwr5Y+GaHE6VCaY1kyS/HwwGGyuimVhWsHOEM= github.com/Azure/go-autorest/autorest v0.11.28/go.mod h1:MrkzG3Y3AH668QyF9KRk5neJnGgmhQ6krbhR8Q5eMvA= github.com/Azure/go-autorest/autorest/adal v0.9.0/go.mod h1:/c022QCutn2P7uY+/oQWWNcK9YU+MH96NgK+jErpbcg= github.com/Azure/go-autorest/autorest/adal v0.9.5/go.mod h1:B7KF7jKIeC9Mct5spmyCB/A8CG/sEz1vwIRGv/bbw7A= github.com/Azure/go-autorest/autorest/adal v0.9.13/go.mod h1:W/MM4U6nLxnIskrw4UwWzlHfGjwUS50aOsc/I3yuU8M= github.com/Azure/go-autorest/autorest/adal v0.9.18/go.mod h1:XVVeme+LZwABT8K5Lc3hA4nAe8LDBVle26gTrguhhPQ= github.com/Azure/go-autorest/autorest/adal v0.9.20/go.mod h1:XVVeme+LZwABT8K5Lc3hA4nAe8LDBVle26gTrguhhPQ= -github.com/Azure/go-autorest/autorest/adal v0.9.21 h1:jjQnVFXPfekaqb8vIsv2G1lxshoW+oGv4MDlhRtnYZk= github.com/Azure/go-autorest/autorest/adal v0.9.21/go.mod h1:zua7mBUaCc5YnSLKYgGJR/w5ePdMDA6H56upLsHzA9U= -github.com/Azure/go-autorest/autorest/azure/auth v0.5.11 h1:P6bYXFoao05z5uhOQzbC3Qd8JqF3jUoocoTeIxkp2cA= github.com/Azure/go-autorest/autorest/azure/auth v0.5.11/go.mod h1:84w/uV8E37feW2NCJ08uT9VBfjfUHpgLVnG2InYD6cg= github.com/Azure/go-autorest/autorest/azure/cli v0.4.5/go.mod h1:ADQAXrkgm7acgWVUNamOgh8YNrv4p27l3Wc55oVfpzg= -github.com/Azure/go-autorest/autorest/azure/cli v0.4.6 h1:w77/uPk80ZET2F+AfQExZyEWtn+0Rk/uw17m9fv5Ajc= github.com/Azure/go-autorest/autorest/azure/cli v0.4.6/go.mod h1:piCfgPho7BiIDdEQ1+g4VmKyD5y+p/XtSNqE6Hc4QD0= -github.com/Azure/go-autorest/autorest/date v0.3.0 h1:7gUk1U5M/CQbp9WoqinNzJar+8KY+LPI6wiWrP/myHw= github.com/Azure/go-autorest/autorest/date v0.3.0/go.mod h1:BI0uouVdmngYNUzGWeSYnokU+TrmwEsOqdt8Y6sso74= github.com/Azure/go-autorest/autorest/mocks v0.4.0/go.mod h1:LTp+uSrOhSkaKrUy935gNZuuIPPVsHlr9DSOxSayd+k= github.com/Azure/go-autorest/autorest/mocks v0.4.1/go.mod h1:LTp+uSrOhSkaKrUy935gNZuuIPPVsHlr9DSOxSayd+k= -github.com/Azure/go-autorest/autorest/mocks v0.4.2 h1:PGN4EDXnuQbojHbU0UWoNvmu9AGVwYHG9/fkDYhtAfw= github.com/Azure/go-autorest/autorest/mocks v0.4.2/go.mod h1:Vy7OitM9Kei0i1Oj+LvyAWMXJHeKH1MVlzFugfVrmyU= -github.com/Azure/go-autorest/autorest/to v0.4.0 h1:oXVqrxakqqV1UZdSazDOPOLvOIz+XA683u8EctwboHk= github.com/Azure/go-autorest/autorest/to v0.4.0/go.mod h1:fE8iZBn7LQR7zH/9XU2NcPR4o9jEImooCeWJcYV/zLE= -github.com/Azure/go-autorest/autorest/validation v0.3.1 h1:AgyqjAd94fwNAoTjl/WQXg4VvFeRFpO+UhNyRXqF1ac= github.com/Azure/go-autorest/autorest/validation v0.3.1/go.mod h1:yhLgjC0Wda5DYXl6JAsWyUe4KVNffhoDhG0zVzUMo3E= github.com/Azure/go-autorest/logger v0.2.0/go.mod h1:T9E3cAhj2VqvPOtCYAvby9aBXkZmbF5NWuPV8+WeEW8= -github.com/Azure/go-autorest/logger v0.2.1 h1:IG7i4p/mDa2Ce4TRyAO8IHnVhAVF3RFU+ZtXWSmf4Tg= github.com/Azure/go-autorest/logger v0.2.1/go.mod h1:T9E3cAhj2VqvPOtCYAvby9aBXkZmbF5NWuPV8+WeEW8= -github.com/Azure/go-autorest/tracing v0.6.0 h1:TYi4+3m5t6K48TGI9AUdb+IzbnSxvnvUMfuitfgcfuo= github.com/Azure/go-autorest/tracing v0.6.0/go.mod h1:+vhtPC754Xsa23ID7GlGsrdKBpUA79WCAKPPZVC2DeU= github.com/AzureAD/microsoft-authentication-library-for-go v0.4.0/go.mod h1:Vt9sXTKwMyGcOxSmLDMnGPgqsUg7m8pe215qMLrDXw4= +github.com/AzureAD/microsoft-authentication-library-for-go v1.2.0 h1:hVeq+yCyUi+MsoO/CU95yqCIcdzra5ovzk8Q2BBpV2M= +github.com/AzureAD/microsoft-authentication-library-for-go v1.2.0/go.mod h1:wP83P5OoQ5p6ip3ScPr0BAq0BvuPAvacpEuSzyouqAI= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/BurntSushi/toml v1.2.1 h1:9F2/+DoOYIOksmaJFPw1tGFy1eDnIJXg+UHjuD8lTak= github.com/BurntSushi/toml v1.2.1/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ= @@ -734,8 +735,9 @@ github.com/Microsoft/hcsshim/test v0.0.0-20210227013316-43a75bb4edd3/go.mod h1:m github.com/NYTimes/gziphandler v0.0.0-20170623195520-56545f4a5d46/go.mod h1:3wb06e3pkSAbeQ52E9H9iFoQsEEwGN64994WTCIhntQ= github.com/NYTimes/gziphandler v1.1.1/go.mod h1:n/CVRwUEOgIxrgPvAQhUUr9oeUtvrhMomdKFjzJNB0c= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= -github.com/ProtonMail/go-crypto v0.0.0-20230717121422-5aa5874ade95 h1:KLq8BE0KwCL+mmXnjLWEAOYO+2l2AE4YMmqG1ZpZHBs= github.com/ProtonMail/go-crypto v0.0.0-20230717121422-5aa5874ade95/go.mod h1:EjAoLdwvbIOoOQr3ihjnSoLZRtE8azugULFRteWMNc0= +github.com/ProtonMail/go-crypto v0.0.0-20230828082145-3c4c8a2d2371 h1:kkhsdkhsCvIsutKu5zLMgWtgh9YxGCNAw8Ad8hjwfYg= +github.com/ProtonMail/go-crypto v0.0.0-20230828082145-3c4c8a2d2371/go.mod h1:EjAoLdwvbIOoOQr3ihjnSoLZRtE8azugULFRteWMNc0= github.com/PuerkitoBio/purell v1.0.0/go.mod h1:c11w/QuzBsJSee3cPx9rAFu61PvFxuPbtSwDGJws/X0= github.com/PuerkitoBio/purell v1.1.1/go.mod h1:c11w/QuzBsJSee3cPx9rAFu61PvFxuPbtSwDGJws/X0= github.com/PuerkitoBio/urlesc v0.0.0-20160726150825-5bd2802263f2/go.mod h1:uGdkoq3SwY9Y+13GIhn11/XLaGBb4BfwItxLd5jeuXE= @@ -744,7 +746,6 @@ github.com/Shopify/logrus-bugsnag v0.0.0-20171204204709-577dee27f20d/go.mod h1:H github.com/Shopify/sarama v1.19.0/go.mod h1:FVkBWblsNy7DGZRfXLU0O9RCGt5g3g3yEuWXgklEdEo= github.com/Shopify/toxiproxy v2.1.4+incompatible/go.mod h1:OXgGpZ6Cli1/URJOF1DMxUHB2q5Ap20/P/eIdh4G0pI= github.com/VividCortex/gohistogram v1.0.0/go.mod h1:Pf5mBqqDxYaXu3hDrrU+w6nw50o/4+TcAqDqk/vUH7g= -github.com/acomagu/bufpipe v1.0.4 h1:e3H4WUzM3npvo5uv95QuJM3cQspFNtFBzvJ2oNjKIDQ= github.com/acomagu/bufpipe v1.0.4/go.mod h1:mxdxdup/WdsKVreO5GpW4+M/1CE2sMG4jeGJ2sYmHc4= github.com/aead/chacha20 v0.0.0-20180709150244-8b13a72661da h1:KjTM2ks9d14ZYCvmHS9iAKVt9AyzRSqNU1qabPih5BY= github.com/aead/chacha20 v0.0.0-20180709150244-8b13a72661da/go.mod h1:eHEWzANqSiWQsof+nXEI9bUVUyV6F53Fp89EuCh2EAA= @@ -816,57 +817,74 @@ github.com/aws/aws-sdk-go v1.43.31/go.mod h1:y4AeaBuwd2Lk+GepC1E9v0qOiTws0MIWAX4 github.com/aws/aws-sdk-go v1.44.45/go.mod h1:y4AeaBuwd2Lk+GepC1E9v0qOiTws0MIWAX4oIKwKHZo= github.com/aws/aws-sdk-go v1.44.68/go.mod h1:y4AeaBuwd2Lk+GepC1E9v0qOiTws0MIWAX4oIKwKHZo= github.com/aws/aws-sdk-go v1.44.122/go.mod h1:y4AeaBuwd2Lk+GepC1E9v0qOiTws0MIWAX4oIKwKHZo= -github.com/aws/aws-sdk-go v1.44.298 h1:5qTxdubgV7PptZJmp/2qDwD2JL187ePL7VOxsSh1i3g= -github.com/aws/aws-sdk-go v1.44.298/go.mod h1:aVsgQcEevwlmQ7qHE9I3h+dtQgpqhFB+i8Phjh7fkwI= +github.com/aws/aws-sdk-go v1.49.0 h1:g9BkW1fo9GqKfwg2+zCD+TW/D36Ux+vtfJ8guF4AYmY= +github.com/aws/aws-sdk-go v1.49.0/go.mod h1:LF8svs817+Nz+DmiMQKTO3ubZ/6IaTpq3TjupRn3Eqk= github.com/aws/aws-sdk-go-v2 v0.18.0/go.mod h1:JWVYvqSMppoMJC0x5wdwiImzgXTI9FuZwxzkQq9wy+g= github.com/aws/aws-sdk-go-v2 v1.16.8/go.mod h1:6CpKuLXg2w7If3ABZCl/qZ6rEgwtjZTn4eAf4RcEyuw= -github.com/aws/aws-sdk-go-v2 v1.17.3 h1:shN7NlnVzvDUgPQ+1rLMSxY8OWRNDRYtiqe0p/PgrhY= -github.com/aws/aws-sdk-go-v2 v1.17.3/go.mod h1:uzbQtefpm44goOPmdKyAlXSNcwlRgF3ePWVW6EtJvvw= -github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.4.3 h1:S/ZBwevQkr7gv5YxONYpGQxlMFFYSRfz3RMcjsC9Qhk= +github.com/aws/aws-sdk-go-v2 v1.24.0 h1:890+mqQ+hTpNuw0gGP6/4akolQkSToDJgHfQE7AwGuk= +github.com/aws/aws-sdk-go-v2 v1.24.0/go.mod h1:LNh45Br1YAkEKaAqvmE1m8FUx6a5b/V0oAKV7of29b4= github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.4.3/go.mod h1:gNsR5CaXKmQSSzrmGxmwmct/r+ZBfbxorAuXYsj/M5Y= -github.com/aws/aws-sdk-go-v2/config v1.15.15 h1:yBV+J7Au5KZwOIrIYhYkTGJbifZPCkAnCFSvGsF3ui8= +github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.5.4 h1:OCs21ST2LrepDfD3lwlQiOqIGp6JiEUqG84GzTDoyJs= +github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.5.4/go.mod h1:usURWEKSNNAcAZuzRn/9ZYPT8aZQkR7xcCtunK/LkJo= github.com/aws/aws-sdk-go-v2/config v1.15.15/go.mod h1:A1Lzyy/o21I5/s2FbyX5AevQfSVXpvvIDCoVFD0BC4E= -github.com/aws/aws-sdk-go-v2/credentials v1.12.10 h1:7gGcMQePejwiKoDWjB9cWnpfVdnz/e5JwJFuT6OrroI= +github.com/aws/aws-sdk-go-v2/config v1.26.1 h1:z6DqMxclFGL3Zfo+4Q0rLnAZ6yVkzCRxhRMsiRQnD1o= +github.com/aws/aws-sdk-go-v2/config v1.26.1/go.mod h1:ZB+CuKHRbb5v5F0oJtGdhFTelmrxd4iWO1lf0rQwSAg= github.com/aws/aws-sdk-go-v2/credentials v1.12.10/go.mod h1:g5eIM5XRs/OzIIK81QMBl+dAuDyoLN0VYaLP+tBqEOk= -github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.12.9 h1:hz8tc+OW17YqxyFFPSkvfSikbqWcyyHRyPVSTzC0+aI= +github.com/aws/aws-sdk-go-v2/credentials v1.16.12 h1:v/WgB8NxprNvr5inKIiVVrXPuuTegM+K8nncFkr1usU= +github.com/aws/aws-sdk-go-v2/credentials v1.16.12/go.mod h1:X21k0FjEJe+/pauud82HYiQbEr9jRKY3kXEIQ4hXeTQ= github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.12.9/go.mod h1:KDCCm4ONIdHtUloDcFvK2+vshZvx4Zmj7UMDfusuz5s= -github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.11.21 h1:bpiKFJ9aC0xTVpygSRRRL/YHC1JZ+pHQHENATHuoiwo= +github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.14.10 h1:w98BT5w+ao1/r5sUuiH6JkVzjowOKeOJRHERyy1vh58= +github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.14.10/go.mod h1:K2WGI7vUvkIv1HoNbfBA1bvIZ+9kL3YVmWxeKuLQsiw= github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.11.21/go.mod h1:iIYPrQ2rYfZiB/iADYlhj9HHZ9TTi6PqKQPAqygohbE= +github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.15.7 h1:FnLf60PtjXp8ZOzQfhJVsqF0OtYKQZWQfqOLshh8YXg= +github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.15.7/go.mod h1:tDVvl8hyU6E9B8TrnNrZQEVkQlB8hjJwcgpPhgtlnNg= github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.15/go.mod h1:pWrr2OoHlT7M/Pd2y4HV3gJyPb3qj5qMmnPkKSNPYK4= -github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.27 h1:I3cakv2Uy1vNmmhRQmFptYDxOvBnwCdNwyw63N0RaRU= -github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.27/go.mod h1:a1/UpzeyBBerajpnP5nGZa9mGzsBn5cOKxm6NWQsvoI= +github.com/aws/aws-sdk-go-v2/internal/configsources v1.2.9 h1:v+HbZaCGmOwnTTVS86Fleq0vPzOd7tnJGbFhP0stNLs= +github.com/aws/aws-sdk-go-v2/internal/configsources v1.2.9/go.mod h1:Xjqy+Nyj7VDLBtCMkQYOw1QYfAEZCVLrfI0ezve8wd4= github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.9/go.mod h1:08tUpeSGN33QKSO7fwxXczNfiwCpbj+GxK6XKwqWVv0= -github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.21 h1:5NbbMrIzmUn/TXFqAle6mgrH5m9cOvMLRGL7pnG8tRE= -github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.21/go.mod h1:+Gxn8jYn5k9ebfHEqlhrMirFjSW0v0C9fI+KN5vk2kE= -github.com/aws/aws-sdk-go-v2/internal/ini v1.3.16 h1:f0ySVcmQhwmzn7zQozd8wBM3yuGBfzdpsOaKQ0/Epzw= +github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.5.9 h1:N94sVhRACtXyVcjXxrwK1SKFIJrA9pOJ5yu2eSHnmls= +github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.5.9/go.mod h1:hqamLz7g1/4EJP+GH5NBhcUMLjW+gKLQabgyz6/7WAU= github.com/aws/aws-sdk-go-v2/internal/ini v1.3.16/go.mod h1:CYmI+7x03jjJih8kBEEFKRQc40UjUokT0k7GbvrhhTc= -github.com/aws/aws-sdk-go-v2/internal/v4a v1.0.6 h1:3L8pcjvgaSOs0zzZcMKzxDSkYKEpwJ2dNVDdxm68jAY= +github.com/aws/aws-sdk-go-v2/internal/ini v1.7.2 h1:GrSw8s0Gs/5zZ0SX+gX4zQjRnRsMJDJ2sLur1gRBhEM= +github.com/aws/aws-sdk-go-v2/internal/ini v1.7.2/go.mod h1:6fQQgfuGmw8Al/3M2IgIllycxV7ZW7WCdVSqfBeUiCY= github.com/aws/aws-sdk-go-v2/internal/v4a v1.0.6/go.mod h1:O7Oc4peGZDEKlddivslfYFvAbgzvl/GH3J8j3JIGBXc= +github.com/aws/aws-sdk-go-v2/internal/v4a v1.2.9 h1:ugD6qzjYtB7zM5PN/ZIeaAIyefPaD82G8+SJopgvUpw= +github.com/aws/aws-sdk-go-v2/internal/v4a v1.2.9/go.mod h1:YD0aYBWCrPENpHolhKw2XDlTIWae2GKXT1T4o6N6hiM= github.com/aws/aws-sdk-go-v2/service/iam v1.19.0 h1:9vCynoqC+dgxZKrsjvAniyIopsv3RZFsZ6wkQ+yxtj8= github.com/aws/aws-sdk-go-v2/service/iam v1.19.0/go.mod h1:OyAuvpFeSVNppcSsp1hFOVQcaTRc1LE24YIR7pMbbAA= -github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.9.3 h1:4n4KCtv5SUoT5Er5XV41huuzrCqepxlW3SDI9qHQebc= github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.9.3/go.mod h1:gkb2qADY+OHaGLKNTYxMaQNacfeyQpZ4csDTQMeFmcw= -github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.1.10 h1:7LJcuRalaLw+GYQTMGmVUl4opg2HrDZkvn/L3KvIQfw= +github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.10.4 h1:/b31bi3YVNlkzkBrm9LfpaKoaYZUxIAj4sHfOTmLfqw= +github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.10.4/go.mod h1:2aGXHFmbInwgP9ZfpmdIfOELL79zhdNYNmReK8qDfdQ= github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.1.10/go.mod h1:Qks+dxK3O+Z2deAhNo6cJ8ls1bam3tUGUAcgxQP1c70= -github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.9 h1:sHfDuhbOuuWSIAEDd3pma6p0JgUcR2iePxtCE8gfCxQ= +github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.2.9 h1:/90OR2XbSYfXucBMJ4U14wrjlfleq/0SB6dZDPncgmo= +github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.2.9/go.mod h1:dN/Of9/fNZet7UrQQ6kTDo/VSwKPIq94vjlU16bRARc= github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.9/go.mod h1:yQowTpvdZkFVuHrLBXmczat4W+WJKg/PafBZnGBLga0= -github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.13.9 h1:sJdKvydGYDML9LTFcp6qq6Z5fIjN0Rdq2Gvw1hUg8tc= +github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.10.9 h1:Nf2sHxjMJR8CSImIVCONRi4g0Su3J+TSTbS7G0pUeMU= +github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.10.9/go.mod h1:idky4TER38YIjr2cADF1/ugFMKvZV7p//pVeV5LZbF0= github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.13.9/go.mod h1:Rc5+wn2k8gFSi3V1Ch4mhxOzjMh+bYSXVFfVaqowQOY= -github.com/aws/aws-sdk-go-v2/service/kms v1.18.1 h1:y07kzPdcjuuyDVYWf1CCsQQ6kcAWMbFy+yIJ71xQBS0= +github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.16.9 h1:iEAeF6YC3l4FzlJPP9H3Ko1TXpdjdqWffxXjp8SY6uk= +github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.16.9/go.mod h1:kjsXoK23q9Z/tLBrckZLLyvjhZoS+AGrzqzUfEClvMM= github.com/aws/aws-sdk-go-v2/service/kms v1.18.1/go.mod h1:4PZMUkc9rXHWGVB5J9vKaZy3D7Nai79ORworQ3ASMiM= -github.com/aws/aws-sdk-go-v2/service/s3 v1.27.2 h1:NvzGue25jKnuAsh6yQ+TZ4ResMcnp49AWgWGm2L4b5o= +github.com/aws/aws-sdk-go-v2/service/kms v1.27.5 h1:7lKTr8zJ2nVaVgyII+7hUayTi7xWedMuANiNVXiD2S8= +github.com/aws/aws-sdk-go-v2/service/kms v1.27.5/go.mod h1:D9FVDkZjkZnnFHymJ3fPVz0zOUlNSd0xcIIVmmrAac8= github.com/aws/aws-sdk-go-v2/service/s3 v1.27.2/go.mod h1:u+566cosFI+d+motIz3USXEh6sN8Nq4GrNXSg2RXVMo= +github.com/aws/aws-sdk-go-v2/service/s3 v1.47.5 h1:Keso8lIOS+IzI2MkPZyK6G0LYcK3My2LQ+T5bxghEAY= +github.com/aws/aws-sdk-go-v2/service/s3 v1.47.5/go.mod h1:vADO6Jn+Rq4nDtfwNjhgR84qkZwiC6FqCaXdw/kYwjA= github.com/aws/aws-sdk-go-v2/service/secretsmanager v1.15.14/go.mod h1:xakbH8KMsQQKqzX87uyyzTHshc/0/Df8bsTneTS5pFU= github.com/aws/aws-sdk-go-v2/service/sns v1.17.10/go.mod h1:uITsRNVMeCB3MkWpXxXw0eDz8pW4TYLzj+eyQtbhSxM= github.com/aws/aws-sdk-go-v2/service/sqs v1.19.1/go.mod h1:A94o564Gj+Yn+7QO1eLFeI7UVv3riy/YBFOfICVqFvU= github.com/aws/aws-sdk-go-v2/service/ssm v1.27.6/go.mod h1:fiFzQgj4xNOg4/wqmAiPvzgDMXPD+cUEplX/CYn+0j0= -github.com/aws/aws-sdk-go-v2/service/sso v1.11.13 h1:DQpf+al+aWozOEmVEdml67qkVZ6vdtGUi71BZZWw40k= github.com/aws/aws-sdk-go-v2/service/sso v1.11.13/go.mod h1:d7ptRksDDgvXaUvxyHZ9SYh+iMDymm94JbVcgvSYSzU= -github.com/aws/aws-sdk-go-v2/service/sts v1.16.10 h1:7tquJrhjYz2EsCBvA9VTl+sBAAh1bv7h/sGASdZOGGo= +github.com/aws/aws-sdk-go-v2/service/sso v1.18.5 h1:ldSFWz9tEHAwHNmjx2Cvy1MjP5/L9kNoR0skc6wyOOM= +github.com/aws/aws-sdk-go-v2/service/sso v1.18.5/go.mod h1:CaFfXLYL376jgbP7VKC96uFcU8Rlavak0UlAwk1Dlhc= +github.com/aws/aws-sdk-go-v2/service/ssooidc v1.21.5 h1:2k9KmFawS63euAkY4/ixVNsYYwrwnd5fIvgEKkfZFNM= +github.com/aws/aws-sdk-go-v2/service/ssooidc v1.21.5/go.mod h1:W+nd4wWDVkSUIox9bacmkBP5NMFQeTJ/xqNabpzSR38= github.com/aws/aws-sdk-go-v2/service/sts v1.16.10/go.mod h1:cftkHYN6tCDNfkSasAmclSfl4l7cySoay8vz7p/ce0E= +github.com/aws/aws-sdk-go-v2/service/sts v1.26.5 h1:5UYvv8JUvllZsRnfrcMQ+hJ9jNICmcgKPAO1CER25Wg= +github.com/aws/aws-sdk-go-v2/service/sts v1.26.5/go.mod h1:XX5gh4CB7wAs4KhcF46G6C8a2i7eupU19dcAAE+EydU= github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= -github.com/aws/smithy-go v1.13.5 h1:hgz0X/DX0dGqTYpGALqXJoRKRj5oQ7150i5FdTePzO8= -github.com/aws/smithy-go v1.13.5/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.19.0 h1:KWFKQV80DpP3vJrrA9sVAHQ5gc2z8i4EzrLhLlWXcBM= +github.com/aws/smithy-go v1.19.0/go.mod h1:NukqUGpCZIILqqiV0NIjeFh24kd/FAa4beRb6nbIUPE= github.com/aymanbagabas/go-osc52/v2 v2.0.1 h1:HwpRHbFMcZLEVr42D4p7XBqjyuxQH5SMiErDT4WkJ2k= github.com/aymanbagabas/go-osc52/v2 v2.0.1/go.mod h1:uYgXzlJ7ZpABp8OJ+exZzJJhRNQ2ASbcXHWsFqH8hp8= github.com/benbjohnson/clock v1.0.3/go.mod h1:bGMdMPoPVvcYyt1gHDf4J2KE153Yf9BuiUKYMaxlTDM= @@ -942,8 +960,9 @@ github.com/circonus-labs/circonus-gometrics v2.3.1+incompatible/go.mod h1:nmEj6D github.com/circonus-labs/circonusllhist v0.1.3/go.mod h1:kMXHVDlOchFAehlya5ePtbp5jckzBHf4XRpQvBOLI+I= github.com/clbanning/x2j v0.0.0-20191024224557-825249438eec/go.mod h1:jMjuTZXRI4dUb/I5gc9Hdhagfvm9+RyrPryS/auMzxE= github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= -github.com/cloudflare/circl v1.3.3 h1:fE/Qz0QdIGqeWfnwq0RE0R7MI51s0M2E4Ga9kq5AEMs= github.com/cloudflare/circl v1.3.3/go.mod h1:5XYMA4rFBvNIrhs50XuiBJ15vF2pZn4nnUKZrLbUZFA= +github.com/cloudflare/circl v1.3.7 h1:qlCDlTPz2n9fu58M0Nh1J/JzcFpfgkFHHX3O35r5vcU= +github.com/cloudflare/circl v1.3.7/go.mod h1:sRTcRWXGLrKw6yIGJ+l7amYJFfAXbZG0kBSc8r4zxgA= github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc= github.com/cncf/udpa/go v0.0.0-20200629203442-efcf912fb354/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= github.com/cncf/udpa/go v0.0.0-20201120205902-5459f2c99403/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= @@ -1087,6 +1106,8 @@ github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ3 github.com/creack/pty v1.1.11/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= github.com/cyphar/filepath-securejoin v0.2.2/go.mod h1:FpkQEhXnPnOthhzymB7CGsFk2G9VLXONKD9G7QGMM+4= github.com/cyphar/filepath-securejoin v0.2.3/go.mod h1:aPGpWjXOXUn2NCNjFvBE6aRxGGx79pTxQpKOJNYHHl4= +github.com/cyphar/filepath-securejoin v0.2.4 h1:Ugdm7cg7i6ZK6x3xDF1oEu1nfkyfH53EtKeQYTC3kyg= +github.com/cyphar/filepath-securejoin v0.2.4/go.mod h1:aPGpWjXOXUn2NCNjFvBE6aRxGGx79pTxQpKOJNYHHl4= github.com/d2g/dhcp4 v0.0.0-20170904100407-a1d1b6c41b1c/go.mod h1:Ct2BUK8SB0YC1SMSibvLzxjeJLnrYEVLULFNiHY9YfQ= github.com/d2g/dhcp4client v1.0.0/go.mod h1:j0hNfjhrt2SxUOw55nL0ATM/z4Yt3t2Kd1mW34z5W5s= github.com/d2g/dhcp4server v0.0.0-20181031114812-7d4a0a7f59a5/go.mod h1:Eo87+Kg/IX2hfWJfwxMzLyuSZyxSoAug2nGa1G2QAi8= @@ -1094,6 +1115,8 @@ github.com/d2g/hardwareaddr v0.0.0-20190221164911-e7d9fbe030e4/go.mod h1:bMl4RjI github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/deckarep/golang-set/v2 v2.5.0 h1:hn6cEZtQ0h3J8kFrHR/NrzyOoTnjgW1+FmNJzQ7y/sA= +github.com/deckarep/golang-set/v2 v2.5.0/go.mod h1:VAky9rY/yGXJOLEDv3OMci+7wtDpOF4IN+y82NBOac4= github.com/denisenkom/go-mssqldb v0.12.2/go.mod h1:lnIw1mZukFRZDJYQ0Pb833QS2IaC3l5HkEfra2LJ+sk= github.com/dennwc/varint v1.0.0/go.mod h1:hnItb35rvZvJrbTALZtY/iQfDs48JKRG1RPpgziApxA= github.com/denverdino/aliyungo v0.0.0-20190125010748-a747050bb1ba/go.mod h1:dV8lFg6daOBZbT6/BDGIz6Y3WFGn8juu6G+CQ6LHtl0= @@ -1106,12 +1129,12 @@ github.com/dgryski/go-sip13 v0.0.0-20181026042036-e10d5fee7954/go.mod h1:vAd38F8 github.com/dgryski/go-sip13 v0.0.0-20200911182023-62edffca9245/go.mod h1:vAd38F8PWV+bWy6jNmig1y/TA+kYO4g3RSRF0IAv0no= github.com/digitalocean/godo v1.78.0/go.mod h1:GBmu8MkjZmNARE7IXRPmkbbnocNN8+uBm0xbEVw2LCs= github.com/digitalocean/godo v1.81.0/go.mod h1:BPCqvwbjbGqxuUnIKB4EvS/AX7IDnNmt5fwvIkWo+ew= -github.com/dimchansky/utfbom v1.1.1 h1:vV6w1AhK4VMnhBno/TPVCoK9U/LP0PkLCS9tbxHdi/U= github.com/dimchansky/utfbom v1.1.1/go.mod h1:SxdoEBH5qIqFocHMyGOXVAybYJdr71b1Q/j0mACtrfE= github.com/djherbis/times v1.5.0 h1:79myA211VwPhFTqUk8xehWrsEO+zcIZj0zT8mXPVARU= github.com/djherbis/times v1.5.0/go.mod h1:5q7FDLvbNg1L/KaBmPcWlVR9NmoKo3+ucqUA3ijQhA0= github.com/dnaeon/go-vcr v1.0.1/go.mod h1:aBB1+wY4s93YsC3HHjMBMrwTj2R9FHDzUr9KyGc8n1E= github.com/dnaeon/go-vcr v1.1.0/go.mod h1:M7tiix8f0r6mKKJ3Yq/kqU1OYf3MnfmBWVbPx/yU9ko= +github.com/dnaeon/go-vcr v1.2.0 h1:zHCHvJYTMh1N7xnV7zf1m1GPBF9Ad0Jk/whtQ1663qI= github.com/dnaeon/go-vcr v1.2.0/go.mod h1:R4UdLID7HZT3taECzJs4YgbbH6PIGXB6W/sc5OLb6RQ= github.com/docker/cli v0.0.0-20191017083524-a8ff7f821017/go.mod h1:JLrzqnKDaYBop7H2jaqPtU4hHvMKP+vjCwu2uszcLI8= github.com/docker/distribution v0.0.0-20190905152932-14b96e55d84c/go.mod h1:0+TTO4EOBfRPhZXAeF1Vu+W3hHZ8eLp8PgKVZlcvtFY= @@ -1140,8 +1163,9 @@ github.com/edsrzf/mmap-go v1.0.0/go.mod h1:YO35OhQPt3KJa3ryjFM5Bs14WD66h8eGKpfaB github.com/edsrzf/mmap-go v1.1.0 h1:6EUwBLQ/Mcr1EYLE4Tn1VdW1A4ckqCQWZBw8Hr0kjpQ= github.com/edsrzf/mmap-go v1.1.0/go.mod h1:19H/e8pUPLicwkyNgOykDXkJ9F0MHE+Z52B8EIth78Q= github.com/elazarl/goproxy v0.0.0-20180725130230-947c36da3153/go.mod h1:/Zj4wYkgs4iZTTu3o/KG3Itv/qCCa8VVMlb3i9OVuzc= -github.com/elazarl/goproxy v0.0.0-20221015165544-a0805db90819 h1:RIB4cRk+lBqKK3Oy0r2gRX4ui7tuhiZq2SuTtTCi0/0= github.com/elazarl/goproxy v0.0.0-20221015165544-a0805db90819/go.mod h1:Ro8st/ElPeALwNFlcTpWmkr6IoMFfkjXAvTHpevnDsM= +github.com/elazarl/goproxy v0.0.0-20230808193330-2592e75ae04a h1:mATvB/9r/3gvcejNsXKSkQ6lcIaNec2nyfOdlTBR2lU= +github.com/elazarl/goproxy v0.0.0-20230808193330-2592e75ae04a/go.mod h1:Ro8st/ElPeALwNFlcTpWmkr6IoMFfkjXAvTHpevnDsM= github.com/elazarl/goproxy/ext v0.0.0-20190711103511-473e67f1d7d2/go.mod h1:gNh8nYJoAm43RfaxurUnxr+N1PwuFV3ZMl/efxlIlY8= github.com/emicklei/go-restful v0.0.0-20170410110728-ff4f55a20633/go.mod h1:otzb+WCGbkyDHkqmQmT5YD2WR4BBwUdeQoFo8l/7tVs= github.com/emicklei/go-restful v2.9.5+incompatible/go.mod h1:otzb+WCGbkyDHkqmQmT5YD2WR4BBwUdeQoFo8l/7tVs= @@ -1173,8 +1197,9 @@ github.com/evanphx/json-patch/v5 v5.5.0/go.mod h1:G79N1coSVB93tBe7j6PhzjmR3/2Vvl github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4= github.com/fatih/color v1.9.0/go.mod h1:eQcE1qtQxscV5RaZvpXrrb8Drkc3/DdQ+uUYCNjL+zU= github.com/fatih/color v1.10.0/go.mod h1:ELkj/draVOlAH/xkhN6mQ50Qd0MPOk5AAr3maGEBuJM= -github.com/fatih/color v1.13.0 h1:8LOYc1KYPPmyKMuN8QV2DNRWNbLo6LZ0iLs8+mlH53w= github.com/fatih/color v1.13.0/go.mod h1:kLAiJbzzSOZDVNGyDpeOxJ47H46qBXwg5ILebYFFOfk= +github.com/fatih/color v1.15.0 h1:kOqh6YHBtK8aywxGerMG2Eq3H6Qgoqeo13Bk2Mv/nBs= +github.com/fatih/color v1.15.0/go.mod h1:0h5ZqXfHYED7Bhv2ZJamyIOUej9KtShiJESRwBDUSsw= github.com/fatih/structs v1.1.0 h1:Q7juDM0QtcnhCpeyLGQKyg4TOIghuNXrkL32pHAUMxo= github.com/fatih/structs v1.1.0/go.mod h1:9NiDSp5zOcgEDl+j00MP/WkGVPOlPRLejGD8Ga6PJ7M= github.com/felixge/httpsnoop v1.0.1/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U= @@ -1218,12 +1243,15 @@ github.com/go-fonts/stix v0.1.0/go.mod h1:w/c1f0ldAUlJmLBvlbkvVXLAD+tAMqobIIQpmn github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 h1:+zs/tPmkDkHx3U66DAb0lQFJrpS6731Oaa12ikc+DiI= github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376/go.mod h1:an3vInlBmSxCcxctByoQdvwPiA7DTK7jaaFDBTtu0ic= github.com/go-git/go-billy/v5 v5.3.1/go.mod h1:pmpqyWchKfYfrkb/UVH4otLvyi/5gJlGI4Hb3ZqZ3W0= -github.com/go-git/go-billy/v5 v5.4.1 h1:Uwp5tDRkPr+l/TnbHOQzp+tmJfLceOlbVucgpTz8ix4= github.com/go-git/go-billy/v5 v5.4.1/go.mod h1:vjbugF6Fz7JIflbVpl1hJsGjSHNltrSw45YK/ukIvQg= -github.com/go-git/go-git-fixtures/v4 v4.3.2-0.20230305113008-0c11038e723f h1:Pz0DHeFij3XFhoBRGUDPzSJ+w2UcK5/0JvF8DRI58r8= +github.com/go-git/go-billy/v5 v5.5.0 h1:yEY4yhzCDuMGSv83oGxiBotRzhwhNr8VZyphhiu+mTU= +github.com/go-git/go-billy/v5 v5.5.0/go.mod h1:hmexnoNsr2SJU1Ju67OaNz5ASJY3+sHgFRpCtpDCKow= github.com/go-git/go-git-fixtures/v4 v4.3.2-0.20230305113008-0c11038e723f/go.mod h1:8LHG1a3SRW71ettAD/jW13h8c6AqjVSeL11RAdgaqpo= -github.com/go-git/go-git/v5 v5.8.1 h1:Zo79E4p7TRk0xoRgMq0RShiTHGKcKI4+DI6BfJc/Q+A= +github.com/go-git/go-git-fixtures/v4 v4.3.2-0.20231010084843-55a94097c399 h1:eMje31YglSBqCdIqdhKBW8lokaMrL3uTkpGYlE2OOT4= +github.com/go-git/go-git-fixtures/v4 v4.3.2-0.20231010084843-55a94097c399/go.mod h1:1OCfN199q1Jm3HZlxleg+Dw/mwps2Wbk9frAWm+4FII= github.com/go-git/go-git/v5 v5.8.1/go.mod h1:FHFuoD6yGz5OSKEBK+aWN9Oah0q54Jxl0abmj6GnqAo= +github.com/go-git/go-git/v5 v5.11.0 h1:XIZc1p+8YzypNr34itUfSvYJcv+eYdTnTvOZ2vD3cA4= +github.com/go-git/go-git/v5 v5.11.0/go.mod h1:6GFcX2P3NM7FPBfpePbpLd21XxsgdAt+lKqXmCUiUCY= github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU= github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= @@ -1348,15 +1376,17 @@ github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69 github.com/golang-jwt/jwt v3.2.1+incompatible/go.mod h1:8pz2t5EyA70fFQQSrl6XZXzqecmYZeUEB8OUGHkxJ+I= github.com/golang-jwt/jwt/v4 v4.0.0/go.mod h1:/xlHOz8bRuivTWchD4jCa+NbatV+wEUSzwAxVc6locg= github.com/golang-jwt/jwt/v4 v4.2.0/go.mod h1:/xlHOz8bRuivTWchD4jCa+NbatV+wEUSzwAxVc6locg= -github.com/golang-jwt/jwt/v4 v4.4.2 h1:rcc4lwaZgFMCZ5jxF9ABolDcIHdBytAFgqFPbSJQAYs= github.com/golang-jwt/jwt/v4 v4.4.2/go.mod h1:m21LjoU+eqJr34lmDMbreY2eSTRJ1cv77w39/MY0Ch0= +github.com/golang-jwt/jwt/v5 v5.1.0 h1:UGKbA/IPjtS6zLcdB7i5TyACMgSbOTiR8qzXgw8HWQU= +github.com/golang-jwt/jwt/v5 v5.1.0/go.mod h1:pqrtFR0X4osieyHYxtmOUWsAWrfe1Q5UVIyoH402zdk= github.com/golang-sql/civil v0.0.0-20190719163853-cb61b32ac6fe/go.mod h1:8vg3r2VgvsThLBIFL93Qb5yWzgyZWhEmBwUJWevAkK0= github.com/golang-sql/sqlexp v0.1.0/go.mod h1:J4ad9Vo8ZCWQ2GMrC4UCQy1JpCbwU9m3EOqtpKwwwHI= github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0/go.mod h1:E/TSTwGwJL78qG/PmXZO1EjYhfJinVAhrmmHX6Z8B9k= github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= github.com/golang/glog v1.0.0/go.mod h1:EWib/APOK0SL3dFbYqvxE3UYd8E6s1ouQ7iEp/0LWV4= -github.com/golang/glog v1.1.0 h1:/d3pCKDPWNnvIWe0vVUpNP32qc8U3PDVxySP/y360qE= github.com/golang/glog v1.1.0/go.mod h1:pfYeQZ3JWZoXTV5sFc986z3HTpwQs9At6P4ImfuP3NQ= +github.com/golang/glog v1.1.2 h1:DVjP2PbBOzHyzA+dn3WhHIq4NdVu3Q+pvivFICf/7fo= +github.com/golang/glog v1.1.2/go.mod h1:zR+okUeTbrL6EL3xHUDxZuEtGv04p5shwip1+mL/rLQ= github.com/golang/groupcache v0.0.0-20160516000752-02826c3e7903/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/groupcache v0.0.0-20190129154638-5b532d6fd5ef/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= @@ -1417,16 +1447,18 @@ github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/ github.com/google/go-cmp v0.5.6/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= -github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38= github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= +github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= +github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/go-containerregistry v0.5.1/go.mod h1:Ct15B4yir3PLOP5jsy0GNeYVaIZs/MK/Jz5any1wFW0= github.com/google/go-querystring v1.0.0/go.mod h1:odCYkC5MyYFN7vkCjXpyrEuKhc/BUO6wN/zVPAxq5ck= github.com/google/go-querystring v1.1.0 h1:AnCroh3fv4ZBgVIf1Iwtovgjaw/GiKJo8M8yD/fhyJ8= github.com/google/go-querystring v1.1.0/go.mod h1:Kcdr2DB4koayq7X8pmAG4sNG59So17icRSOU623lUBU= github.com/google/go-replayers/grpcreplay v1.1.0 h1:S5+I3zYyZ+GQz68OfbURDdt/+cSMqCK1wrvNx7WBzTE= github.com/google/go-replayers/grpcreplay v1.1.0/go.mod h1:qzAvJ8/wi57zq7gWqaE6AwLM6miiXUQwP1S+I9icmhk= -github.com/google/go-replayers/httpreplay v1.1.1 h1:H91sIMlt1NZzN7R+/ASswyouLJfW0WLW7fhyUFvDEkY= github.com/google/go-replayers/httpreplay v1.1.1/go.mod h1:gN9GeLIs7l6NUoVaSSnv2RiqK1NiwAmD0MrKeC9IIks= +github.com/google/go-replayers/httpreplay v1.2.0 h1:VM1wEyyjaoU53BwrOnaf9VhAyQQEEioJvFYxYcLRKzk= +github.com/google/go-replayers/httpreplay v1.2.0/go.mod h1:WahEFFZZ7a1P4VM1qEeHy+tME4bwyqPcwWbNlUI1Mcg= github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= github.com/google/gofuzz v1.1.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= github.com/google/gofuzz v1.2.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= @@ -1457,8 +1489,8 @@ github.com/google/pprof v0.0.0-20210720184732-4bb14d4b1be1/go.mod h1:kpwsk12EmLe github.com/google/pprof v0.0.0-20220318212150-b2ab0324ddda/go.mod h1:KgnwoLYCZ8IQu3XUZ8Nc/bM9CCZFOyjUNOSygVozoDg= github.com/google/pprof v0.0.0-20220608213341-c488b8fa1db3/go.mod h1:gSuNB+gJaOiQKLEZ+q+PK9Mq3SOzhRcw2GsGS/FhYDk= github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= -github.com/google/s2a-go v0.1.4 h1:1kZ/sQM3srePvKs3tXAvQzo66XfcReoqFpIpIccE7Oc= -github.com/google/s2a-go v0.1.4/go.mod h1:Ej+mSEMGRnqRzjc7VtF+jdBwYG5fuJfiZ8ELkjEwM0A= +github.com/google/s2a-go v0.1.7 h1:60BLSyTrOV4/haCDW4zb1guZItoSq8foHCXrAnjBo/o= +github.com/google/s2a-go v0.1.7/go.mod h1:50CgR4k1jNlWBu4UfS4AcfhVe1r6pdZPygJ3R8F0Qdw= github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 h1:El6M4kTTCOh6aBiKaUGG7oYTSPP8MxqL4YI3kZKwcP4= github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510/go.mod h1:pupxD2MaaD3pAXIBCelhxNneeOaAeabZDe5s4K6zSpQ= github.com/google/subcommands v1.0.1/go.mod h1:ZjhPrFU+Olkh9WazFPsl27BQ4UPiG37m3yTrtFlrHVk= @@ -1466,16 +1498,18 @@ github.com/google/uuid v1.0.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+ github.com/google/uuid v1.1.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.2.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/google/uuid v1.3.0 h1:t6JiXgmwXMjEs8VusXIJk2BXHsn+wx8BZdTaoZ5fu7I= github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= +github.com/google/uuid v1.4.0 h1:MtMxsa51/r9yyhkyLsVeVt0B+BGQZzpQiTQ4eHZ8bc4= +github.com/google/uuid v1.4.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/wire v0.5.0 h1:I7ELFeVBr3yfPIcc8+MWvrjk+3VjbcSzoXm3JVa+jD8= github.com/google/wire v0.5.0/go.mod h1:ngWDr9Qvq3yZA10YrxfyGELY/AFWGVpy9c1LTRi1EoU= github.com/googleapis/enterprise-certificate-proxy v0.0.0-20220520183353-fd19c99a87aa/go.mod h1:17drOmN3MwGY7t0e+Ei9b45FFGA3fBs3x36SsCg1hq8= github.com/googleapis/enterprise-certificate-proxy v0.1.0/go.mod h1:17drOmN3MwGY7t0e+Ei9b45FFGA3fBs3x36SsCg1hq8= github.com/googleapis/enterprise-certificate-proxy v0.2.0/go.mod h1:8C0jb7/mgJe/9KK8Lm7X9ctZC2t60YyIpYEI16jx0Qg= github.com/googleapis/enterprise-certificate-proxy v0.2.1/go.mod h1:AwSRAtLfXpU5Nm3pW+v7rGDHp09LsPtGY9MduiEsR9k= -github.com/googleapis/enterprise-certificate-proxy v0.2.3 h1:yk9/cqRKtT9wXZSsRH9aurXEpJX+U6FLtpYTdC3R06k= github.com/googleapis/enterprise-certificate-proxy v0.2.3/go.mod h1:AwSRAtLfXpU5Nm3pW+v7rGDHp09LsPtGY9MduiEsR9k= +github.com/googleapis/enterprise-certificate-proxy v0.3.2 h1:Vie5ybvEvT75RniqhfFxPRy3Bf7vr3h0cechB90XaQs= +github.com/googleapis/enterprise-certificate-proxy v0.3.2/go.mod h1:VLSiSSBs/ksPL8kq3OBOQ6WRI2QnaFynd1DCjZ62+V0= github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg= github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk= github.com/googleapis/gax-go/v2 v2.1.0/go.mod h1:Q3nei7sK6ybPYH7twZdmQpAd1MKb7pfu6SK+H1/DsU0= @@ -1487,8 +1521,8 @@ github.com/googleapis/gax-go/v2 v2.5.1/go.mod h1:h6B0KMMFNtI2ddbGJn3T3ZbwkeT6yqE github.com/googleapis/gax-go/v2 v2.6.0/go.mod h1:1mjbznJAPHFpesgE5ucqfYEscaz5kMdcIDwU/6+DDoY= github.com/googleapis/gax-go/v2 v2.7.0/go.mod h1:TEop28CZZQ2y+c0VxMUmu1lV+fQx57QpBWsYpwqHJx8= github.com/googleapis/gax-go/v2 v2.7.1/go.mod h1:4orTrqY6hXxxaUL4LHIPl6lGo8vAE38/qKbhSAKP6QI= -github.com/googleapis/gax-go/v2 v2.11.0 h1:9V9PWXEsWnPpQhu/PeQIkS4eGzMlTLGgt80cUUI8Ki4= -github.com/googleapis/gax-go/v2 v2.11.0/go.mod h1:DxmR61SGKkGLa2xigwuZIQpkCI2S5iydzRfb3peWZJI= +github.com/googleapis/gax-go/v2 v2.12.0 h1:A+gCJKdRfqXkr+BIRGtZLibNXf0m1f9E4HG56etFpas= +github.com/googleapis/gax-go/v2 v2.12.0/go.mod h1:y+aIqrI5eb1YGMVJfuV3185Ts/D7qKpsEkdD5+I6QGU= github.com/googleapis/gnostic v0.4.1/go.mod h1:LRhVm6pbyptWbWbuZ38d1eyptfvIytN3ir6b65WBswg= github.com/googleapis/gnostic v0.5.1/go.mod h1:6U4PtQXGIEt/Z3h5MAT7FNofLnw9vXk2cUuW7uA/OeU= github.com/googleapis/gnostic v0.5.5/go.mod h1:7+EbHbldMins07ALC74bsA81Ovc97DwqyJO1AENw9kA= @@ -1665,10 +1699,12 @@ github.com/hetznercloud/hcloud-go v1.33.1/go.mod h1:XX/TQub3ge0yWR2yHWmnDVIrB+MQ github.com/hetznercloud/hcloud-go v1.35.0/go.mod h1:mepQwR6va27S3UQthaEPGS86jtzSY9xWL1e9dyxXpgA= github.com/hexops/autogold v1.3.0 h1:IEtGNPxBeBu8RMn8eKWh/Ll9dVNgSnJ7bp/qHgMQ14o= github.com/hexops/autogold v1.3.0/go.mod h1:d4hwi2rid66Sag+BVuHgwakW/EmaFr8vdTSbWDbrDRI= +github.com/hexops/autogold/v2 v2.2.1 h1:JPUXuZQGkcQMv7eeDXuNMovjfoRYaa0yVcm+F3voaGY= +github.com/hexops/autogold/v2 v2.2.1/go.mod h1:IJwxtUfj1BGLm0YsR/k+dIxYi6xbeLjqGke2bzcOTMI= github.com/hexops/gotextdiff v1.0.3 h1:gitA9+qJrrTCsiCl7+kh75nPqQt1cx4ZkudSTLoUqJM= github.com/hexops/gotextdiff v1.0.3/go.mod h1:pSWU5MAI3yDq+fZBTazCSJysOMbxWL1BSow5/V2vxeg= -github.com/hexops/valast v1.4.0 h1:sFzyxPDP0riFQUzSBXTCCrAbbIndHPWMndxuEjXdZlc= -github.com/hexops/valast v1.4.0/go.mod h1:uVjKZ0smVuYlgCSPz9NRi5A04sl7lp6GtFWsROKDgEs= +github.com/hexops/valast v1.4.4 h1:rETyycw+/L2ZVJHHNxEBgh8KUn+87WugH9MxcEv9PGs= +github.com/hexops/valast v1.4.4/go.mod h1:Jcy1pNH7LNraVaAZDLyv21hHg2WBv9Nf9FL6fGxU7o4= github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU= github.com/huandu/xstrings v1.3.1/go.mod h1:y5/lhBue+AyNmUVz9RLU9xbLR0o4KIIExikq4ovT0aE= github.com/huandu/xstrings v1.3.2 h1:L18LIDzqlW6xN2rEkpdV8+oL/IXWJ1APd+vsdYy4Wdw= @@ -1841,7 +1877,6 @@ github.com/mailru/easyjson v0.7.7/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJ github.com/markbates/oncer v0.0.0-20181203154359-bf2de49a0be2/go.mod h1:Ld9puTsIW75CHf65OeIOkyKbteujpZVXDpWK6YGZbxE= github.com/markbates/safe v1.0.1/go.mod h1:nAqgmRi7cY2nqMc92/bSEeQA+R4OheNU2T1kNSCBdG0= github.com/marstr/guid v1.1.0/go.mod h1:74gB1z2wpxxInTG6yaqA7KrtM0NZ+RbrcqDvYHefzho= -github.com/matryer/is v1.2.0 h1:92UTHpy8CDwaJ08GqLDzhhuixiBUUD1p3AU6PHddz4A= github.com/matryer/is v1.2.0/go.mod h1:2fLPjFQM9rhQ15aVEtbuwhJinnOqrmgXPNdZsdwlWXA= github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU= github.com/mattn/go-colorable v0.1.1/go.mod h1:FuOcm+DKB9mbwrcAfNl7/TZVBZ6rcnceauSikq3lYCQ= @@ -1862,15 +1897,15 @@ github.com/mattn/go-isatty v0.0.11/go.mod h1:PhnuNfih5lzO57/f3n+odYbM4JtupLOxQOA github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU= github.com/mattn/go-isatty v0.0.14/go.mod h1:7GGIvUiUoEMVVmxf/4nioHXj79iQHKdU27kJ6hsGG94= github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM= -github.com/mattn/go-isatty v0.0.18 h1:DOKFKCQ7FNG2L1rbrmstDN4QVRdS89Nkh85u68Uwp98= -github.com/mattn/go-isatty v0.0.18/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= +github.com/mattn/go-isatty v0.0.19 h1:JITubQf0MOLdlGRuRq+jtsDlekdYPia9ZFsB8h/APPA= +github.com/mattn/go-isatty v0.0.19/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= github.com/mattn/go-localereader v0.0.1 h1:ygSAOl7ZXTx4RdPYinUpg6W99U8jWvWi9Ye2JC/oIi4= github.com/mattn/go-localereader v0.0.1/go.mod h1:8fBrzywKY7BI3czFoHkuzRoWE9C+EiG4R1k4Cjx5p88= github.com/mattn/go-runewidth v0.0.2/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU= github.com/mattn/go-runewidth v0.0.4/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU= github.com/mattn/go-runewidth v0.0.12/go.mod h1:RAqKPSqVFrSLVXbA8x7dzmKdmGzieGRCM46jaSJTDAk= -github.com/mattn/go-runewidth v0.0.14 h1:+xnbZSEeDbOIg5/mE6JF0w6n9duR1l3/WmbinWVwUuU= -github.com/mattn/go-runewidth v0.0.14/go.mod h1:Jdepj2loyihRzMpdS35Xk/zdY8IAYHsh153qUoGf23w= +github.com/mattn/go-runewidth v0.0.15 h1:UNAjwbU9l54TA3KzvqLGxwWjHmMgBUVhBiTjelZgg3U= +github.com/mattn/go-runewidth v0.0.15/go.mod h1:Jdepj2loyihRzMpdS35Xk/zdY8IAYHsh153qUoGf23w= github.com/mattn/go-shellwords v1.0.3/go.mod h1:3xCvwCdWdlDJUrvuMn7Wuy9eWs4pE8vqg+NOMyg4B2o= github.com/mattn/go-shellwords v1.0.6/go.mod h1:3xCvwCdWdlDJUrvuMn7Wuy9eWs4pE8vqg+NOMyg4B2o= github.com/mattn/go-shellwords v1.0.12/go.mod h1:EZzvwXDESEeg03EKmM+RmDnNOPKG4lLtQsUlTZDWQ8Y= @@ -1950,14 +1985,14 @@ github.com/montanaflynn/stats v0.0.0-20171201202039-1bf9dbcd8cbe/go.mod h1:wL8QJ github.com/montanaflynn/stats v0.6.6/go.mod h1:etXPPgVO6n31NxCd9KQUMvCM+ve0ruNzt6R8Bnaayow= github.com/morikuni/aec v1.0.0/go.mod h1:BbKIizmSmc5MMPqRYbxO4ZU0S0+P200+tUnFx7PXmsc= github.com/mrunalp/fileutils v0.5.0/go.mod h1:M1WthSahJixYnrXQl/DFQuteStB1weuxD2QJNHXfbSQ= -github.com/muesli/ansi v0.0.0-20211018074035-2e021307bc4b h1:1XF24mVaiu7u+CFywTdcDo2ie1pzzhwjt6RHqzpMU34= -github.com/muesli/ansi v0.0.0-20211018074035-2e021307bc4b/go.mod h1:fQuZ0gauxyBcmsdE3ZT4NasjaRdxmbCS0jRHsrWu3Ho= +github.com/muesli/ansi v0.0.0-20230316100256-276c6243b2f6 h1:ZK8zHtRHOkbHy6Mmr5D264iyp3TiX5OmNcI5cIARiQI= +github.com/muesli/ansi v0.0.0-20230316100256-276c6243b2f6/go.mod h1:CJlz5H+gyd6CUWT45Oy4q24RdLyn7Md9Vj2/ldJBSIo= github.com/muesli/cancelreader v0.2.2 h1:3I4Kt4BQjOR54NavqnDogx/MIoWBFa0StPA8ELUXHmA= github.com/muesli/cancelreader v0.2.2/go.mod h1:3XuTXfFS2VjM+HTLZY9Ak0l6eUKfijIfMUZ4EgX0QYo= github.com/muesli/reflow v0.3.0 h1:IFsN6K9NfGtjeggFP+68I4chLZV2yIKsXJFNZ+eWh6s= github.com/muesli/reflow v0.3.0/go.mod h1:pbwTDkVPibjO2kyvBQRBxTWEEGDGq0FlB1BIKtnHY/8= -github.com/muesli/termenv v0.15.1 h1:UzuTb/+hhlBugQz28rpzey4ZuKcZ03MeKsoG7IJZIxs= -github.com/muesli/termenv v0.15.1/go.mod h1:HeAQPTzpfs016yGtA4g00CsdYnVLJvxsS4ANqrZs2sQ= +github.com/muesli/termenv v0.15.2 h1:GohcuySI0QmI3wN8Ok9PtKGkgkFIk7y6Vpb5PvrY+Wo= +github.com/muesli/termenv v0.15.2/go.mod h1:Epx+iuz8sNs7mNKhxzH4fWXGNpZwUaJKRS1noLXviQ8= github.com/munnerz/goautoneg v0.0.0-20120707110453-a547fc61f48d/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ= github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ= github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= @@ -2007,6 +2042,8 @@ github.com/onsi/gomega v1.9.0/go.mod h1:Ho0h+IUsWyvy1OpqCwxlQ/21gkhVunqlU8fDGcoT github.com/onsi/gomega v1.10.1/go.mod h1:iN09h71vgCQne3DLsj+A5owkum+a2tYe+TOCB1ybHNo= github.com/onsi/gomega v1.10.3/go.mod h1:V9xEwhxec5O8UDM77eCW8vLymOMltsqPVYWrpDsH8xc= github.com/onsi/gomega v1.15.0/go.mod h1:cIuvLEne0aoVhAgh/O6ac0Op8WWw9H6eYCriF+tEHG0= +github.com/onsi/gomega v1.27.10 h1:naR28SdDFlqrG6kScpT8VWpu1xWY5nJRCF3XaYyBjhI= +github.com/onsi/gomega v1.27.10/go.mod h1:RsS8tutOdbdgzbPtzzATp12yT7kM5I5aElG3evPbQ0M= github.com/op/go-logging v0.0.0-20160315200505-970db520ece7/go.mod h1:HzydrMdWErDVzsI23lYNej1Htcns9BCg93Dk0bBINWk= github.com/opencontainers/go-digest v0.0.0-20170106003457-a6d0ee40d420/go.mod h1:cMLVZDEM3+U2I4VmLI6N8jQYUd2OVphdqWwCJHrFt2s= github.com/opencontainers/go-digest v0.0.0-20180430190053-c9281466c8b2/go.mod h1:cMLVZDEM3+U2I4VmLI6N8jQYUd2OVphdqWwCJHrFt2s= @@ -2058,6 +2095,8 @@ github.com/pelletier/go-toml v1.8.1/go.mod h1:T2/BmBdy8dvIRq1a/8aqjN41wvWlN4lrap github.com/pelletier/go-toml v1.9.3/go.mod h1:u1nR/EPcESfeI/szUZKdtJ0xRNbUoANCkoOuaOx1Y+c= github.com/performancecopilot/speed v3.0.0+incompatible/go.mod h1:/CLtqpZ5gBg1M9iaPbIdPPGyKcA8hKdoy6hAWba7Yac= github.com/peterbourgon/diskv v2.0.1+incompatible/go.mod h1:uqqh8zWWbv1HBMNONnaR/tNboyR3/BZd58JJSHlUSCU= +github.com/pgavlin/fx v0.1.6 h1:r9jEg69DhNoCd3Xh0+5mIbdbS3PqWrVWujkY76MFRTU= +github.com/pgavlin/fx v0.1.6/go.mod h1:KWZJ6fqBBSh8GxHYqwYCf3rYE7Gp2p0N8tJp8xv9u9M= github.com/pgavlin/goldmark v1.1.33-0.20200616210433-b5eb04559386 h1:LoCV5cscNVWyK5ChN/uCoIFJz8jZD63VQiGJIRgr6uo= github.com/pgavlin/goldmark v1.1.33-0.20200616210433-b5eb04559386/go.mod h1:MRxHTJrf9FhdfNQ8Hdeh9gmHevC9RJE/fu8M3JIGjoE= github.com/phpdave11/gofpdf v1.4.2/go.mod h1:zpO6xFn9yxo3YLyMvW8HcKWVdbNqgIfOOp2dXMnm1mY= @@ -2073,6 +2112,8 @@ github.com/pjbgf/sha1cd v0.3.0 h1:4D5XXmUUBUl/xQ6IjCkEAbqXskkq/4O7LmGn0AqMDs4= github.com/pjbgf/sha1cd v0.3.0/go.mod h1:nZ1rrWOcGJ5uZgEEVL1VUM9iRQiZvWdbZjkKyFzPPsI= github.com/pkg/browser v0.0.0-20180916011732-0a3d74bf9ce4/go.mod h1:4OwLy04Bl9Ef3GJJCoec+30X3LQs/0/m4HFRt/2LUSA= github.com/pkg/browser v0.0.0-20210115035449-ce105d075bb4/go.mod h1:N6UoU20jOqggOuDwUaBQpluzLNDqif3kq9z2wpdYEfQ= +github.com/pkg/browser v0.0.0-20210911075715-681adbf594b8 h1:KoWmjvw+nsYOo29YJK9vDA65RGE3NrOnUtO7a+RF9HU= +github.com/pkg/browser v0.0.0-20210911075715-681adbf594b8/go.mod h1:HKlIX3XHQyzLZPlr7++PzdhaXEj94dEiJgZDTsxEqUI= github.com/pkg/diff v0.0.0-20210226163009-20ebb0f2a09e/go.mod h1:pJLUxLENpZxwdsKMEsNbx1VGcRFpLqf3715MtcvvzbA= github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/errors v0.8.1-0.20171018195549-f15c970de5b7/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= @@ -2148,28 +2189,30 @@ github.com/prometheus/procfs v0.7.3/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1 github.com/prometheus/prometheus v0.35.0/go.mod h1:7HaLx5kEPKJ0GDgbODG0fZgXbQ8K/XjZNJXQmbmgQlY= github.com/prometheus/prometheus v0.37.0/go.mod h1:egARUgz+K93zwqsVIAneFlLZefyGOON44WyAp4Xqbbk= github.com/prometheus/tsdb v0.7.1/go.mod h1:qhTCs0VvXwvX/y3TZrWD7rabWM+ijKTux40TwIPHuXU= -github.com/pulumi/esc v0.5.6 h1:4WV3X7OEVcChIwbSG+JxhZDdmq/q7lFPaSjHRYlPwmI= -github.com/pulumi/esc v0.5.6/go.mod h1:wpwNfVS5fV7Kd51j4dJ6FWYlKfxdqyppgp0gtkzqH04= -github.com/pulumi/pulumi-java/pkg v0.9.8 h1:c8mYsalnRXA2Ibgvv6scefOn6mW1Vb0UT0mcDqjsivQ= -github.com/pulumi/pulumi-java/pkg v0.9.8/go.mod h1:c6rSw/+q4O0IImgJ9axxoC6QesbPYWBaG5gimbHouUQ= -github.com/pulumi/pulumi-terraform-bridge/testing v0.0.1 h1:SCg1gjfY9N4yn8U8peIUYATifjoDABkyR7H9lmefsfc= -github.com/pulumi/pulumi-terraform-bridge/testing v0.0.1/go.mod h1:7OeUPH8rpt5ipyj9EFcnXpuzQ8SHL0dyqdfa8nOacdk= -github.com/pulumi/pulumi-terraform-bridge/v3 v3.63.1 h1:hBgediyT2LdS5yfD5AMiCmBJ/TYP94Xxv6a4TcAfV0g= -github.com/pulumi/pulumi-terraform-bridge/v3 v3.63.1/go.mod h1:6YVbDo019OeHkQWo9MnUbBy6cCgCQeoXZDjmR9SYmUA= -github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.4 h1:rIzMmtcVpPX8ynaz6/nW5AHNY63DiNfCohqmxWvMpM4= -github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.4/go.mod h1:Kt8RIZWa/N8rW3+0g6NrqCBmF3o+HuIhFaZpssEkG6w= -github.com/pulumi/pulumi-yaml v1.2.2 h1:W6BeUBLhDrJ2GSU0em1AUVelG9PBI4ABY61DdhJOO3E= -github.com/pulumi/pulumi-yaml v1.2.2/go.mod h1:EgakC7b/4+VBNnlgM1RZIea2gUstV8s/7bdFJZt0P64= -github.com/pulumi/pulumi/pkg/v3 v3.90.1 h1:RFC/eqTbDfIvfeVQL8WaPmyQr1KzZhAGIIDGr9jj9y8= -github.com/pulumi/pulumi/pkg/v3 v3.90.1/go.mod h1:J+WbfN30g3FfQifpLjQPI0UhPsC9ASEePLK8Nix06A8= -github.com/pulumi/pulumi/sdk/v3 v3.91.0 h1:zhoua60JWhxvGBAhEakVper+oBMd9dhXODSEx2XR9X0= -github.com/pulumi/pulumi/sdk/v3 v3.91.0/go.mod h1:zYaQQibB2pYKy/uG4c4YkX7lQIBpZ0KsuMaq/3HsIBQ= +github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231 h1:vkHw5I/plNdTr435cARxCW6q9gc0S/Yxz7Mkd38pOb0= +github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231/go.mod h1:murToZ2N9hNJzewjHBgfFdXhZKjY3z5cYC1VXk+lbFE= +github.com/pulumi/esc v0.6.2 h1:+z+l8cuwIauLSwXQS0uoI3rqB+YG4SzsZYtHfNoXBvw= +github.com/pulumi/esc v0.6.2/go.mod h1:jNnYNjzsOgVTjCp0LL24NsCk8ZJxq4IoLQdCT0X7l8k= +github.com/pulumi/providertest v0.0.10 h1:bx77G0JYPO2Alf/SHRP05XpAYMrboKJkMIVkbFclVhI= +github.com/pulumi/providertest v0.0.10/go.mod h1:HsxjVsytcMIuNj19w1lT2W0QXY0oReXl1+h6eD2JXP8= +github.com/pulumi/pulumi-java/pkg v0.9.9 h1:F3xJUtMFDVrTGCxb7Rh2Q8s6tj7gMfM5pcoUthz7vFY= +github.com/pulumi/pulumi-java/pkg v0.9.9/go.mod h1:LVF1zeg3UkToHWxb67V+zEIxQc3EdMnlot5NWSt+FpA= +github.com/pulumi/pulumi-terraform-bridge/v3 v3.73.0 h1:8EVPKIISUQe/iABfvPa6pe9sOCz6jQViAHx5/cK02LQ= +github.com/pulumi/pulumi-terraform-bridge/v3 v3.73.0/go.mod h1:gdaUiZPVbL5NyfANwaO4Bi87ds822JOm8BHJxr69OXU= +github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.8 h1:mav2tSitA9BPJPLLahKgepHyYsMzwaTm4cvp0dcTMYw= +github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.8/go.mod h1:qUYk2c9i/yqMGNj9/bQyXpS39BxNDSXYjVN1njnq0zY= +github.com/pulumi/pulumi-yaml v1.5.0 h1:HfXu+WSFNpycref9CK935cViYJzXwSgHGWM/RepyrW0= +github.com/pulumi/pulumi-yaml v1.5.0/go.mod h1:AvKSmEQv2EkPbpvAQroR1eP1LkJGC8z5NDM34rVWOtg= +github.com/pulumi/pulumi/pkg/v3 v3.107.0 h1:HRyIl1c9ur0PVQW+GuFL1APBEuGa/fQQMp3F+WluxW8= +github.com/pulumi/pulumi/pkg/v3 v3.107.0/go.mod h1:7edfZu4FlrXdIn4339tJ+SQX5VKGqbFntmpc8cai0Zg= +github.com/pulumi/pulumi/sdk/v3 v3.107.0 h1:bef+ayh9+4KkAqXih4EjlHfQXRY24NWPwWBIQhBxTjg= +github.com/pulumi/pulumi/sdk/v3 v3.107.0/go.mod h1:Ml3rpGfyZlI4zQCG7LN2XDSmH4XUNYdyBwJ3yEr/OpI= github.com/pulumi/schema-tools v0.1.2 h1:Fd9xvUjgck4NA+7/jSk7InqCUT4Kj940+EcnbQKpfZo= github.com/pulumi/schema-tools v0.1.2/go.mod h1:62lgj52Tzq11eqWTIaKd+EVyYAu5dEcDJxMhTjvMO/k= github.com/pulumi/terraform-diff-reader v0.0.2 h1:kTE4nEXU3/SYXESvAIem+wyHMI3abqkI3OhJ0G04LLI= github.com/pulumi/terraform-diff-reader v0.0.2/go.mod h1:sZ9FUzGO+yM41hsQHs/yIcj/Y993qMdBxBU5mpDmAfQ= -github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20230912190043-e6d96b3b8f7e h1:blSirnXqvm8JXLxwxelsBroUNRhOHakDO7cgJUYTdpQ= -github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20230912190043-e6d96b3b8f7e/go.mod h1:qH/34G25Ugdj5FcM95cSoXzUgIbgfhVLXCcEcYaMwq8= +github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20240129205329-74776a5cd5f9 h1:p8vtMw4abpcmwE0v8b6x2GKZQKisrmdjojkoP3oelak= +github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20240129205329-74776a5cd5f9/go.mod h1:qH/34G25Ugdj5FcM95cSoXzUgIbgfhVLXCcEcYaMwq8= github.com/rakyll/embedmd v0.0.0-20171029212350-c8060a0752a2/go.mod h1:7jOTMgqac46PZcF54q6l2hkLEG8op93fZu61KmxWDV4= github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4= github.com/remyoudompheng/bigfft v0.0.0-20200410134404-eec4a21b6bb0/go.mod h1:qqbHyh8v60DhA7CoWK5oRCqLrMHRGoxYCSS9EjAz6Eo= @@ -2228,8 +2271,6 @@ github.com/shopspring/decimal v0.0.0-20180709203117-cd690d0c9e24/go.mod h1:M+9Nz github.com/shopspring/decimal v1.2.0/go.mod h1:DKyhrW/HYNuLGql+MJL6WCR6knT2jwCFRcu2hWCYk4o= github.com/shopspring/decimal v1.3.1 h1:2Usl1nmF/WZucqkFZhnfFYxxxu8LG21F6nPQBE5gKV8= github.com/shopspring/decimal v1.3.1/go.mod h1:DKyhrW/HYNuLGql+MJL6WCR6knT2jwCFRcu2hWCYk4o= -github.com/shurcooL/go-goon v0.0.0-20210110234559-7585751d9a17 h1:lRAUE0dIvigSSFAmaM2dfg7OH8T+a8zJ5smEh09a/GI= -github.com/shurcooL/go-goon v0.0.0-20210110234559-7585751d9a17/go.mod h1:N5mDOmsrJOB+vfqUK+7DmDyjhSLIIBnXo9lvZJj3MWQ= github.com/shurcooL/httpfs v0.0.0-20190707220628-8d4bc4ba7749/go.mod h1:ZY1cvUeJuFPAdZ/B6v7RHavJWZn2YPVFQ1OSXhCGOkg= github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc= github.com/shurcooL/vfsgen v0.0.0-20200824052919-0d455de96546/go.mod h1:TrYk7fJVaAttu97ZZKrO9UbRa8izdowaMIZcxYMbVaw= @@ -2243,16 +2284,17 @@ github.com/sirupsen/logrus v1.6.0/go.mod h1:7uNnSEd1DgxDLC74fIahvMZmmYsHGZGEOFrf github.com/sirupsen/logrus v1.7.0/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0= github.com/sirupsen/logrus v1.8.1/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0= github.com/sirupsen/logrus v1.9.0/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ= -github.com/skeema/knownhosts v1.2.0 h1:h9r9cf0+u7wSE+M183ZtMGgOJKiL96brpaz5ekfJCpM= github.com/skeema/knownhosts v1.2.0/go.mod h1:g4fPeYpque7P0xefxtGzV81ihjC8sX2IqpAoNkjxbMo= +github.com/skeema/knownhosts v1.2.1 h1:SHWdIUa82uGZz+F+47k8SY4QhhI291cXCpopT1lK2AQ= +github.com/skeema/knownhosts v1.2.1/go.mod h1:xYbVRSPxqBZFrdmDyMmsOs+uX1UZC3nTN3ThzgDxUwo= github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d/go.mod h1:OnSkiWE9lh6wB0YB77sQom3nweQdgAjqCqsofrRNTgc= github.com/smartystreets/goconvey v0.0.0-20190330032615-68dc04aab96a/go.mod h1:syvi0/a8iFYH4r/RixwvyeAJjdLS9QV7WQ/tjFTllLA= github.com/smartystreets/goconvey v1.6.4/go.mod h1:syvi0/a8iFYH4r/RixwvyeAJjdLS9QV7WQ/tjFTllLA= github.com/soheilhy/cmux v0.1.4/go.mod h1:IM3LyeVVIOuxMH7sFAkER9+bJ4dT7Ms6E4xg4kGIyLM= github.com/soheilhy/cmux v0.1.5/go.mod h1:T7TcVDs9LWfQgPlPsdngu6I6QIoyIFZDDC6sNE1GqG0= github.com/sony/gobreaker v0.4.1/go.mod h1:ZKptC7FHNvhBz7dN2LGjPVBz2sZJmc0/PkyDJOjmxWY= -github.com/spacelift-io/graphql v1.1.0 h1:LHVbHHPev1xCBAgJqVoo2t8XPgck4plq7TxlumVR+3Y= -github.com/spacelift-io/graphql v1.1.0/go.mod h1:38Gellz6DbdwPcYHLHByFDScgORYU7pVCOE7rFCg3bg= +github.com/spacelift-io/graphql v1.2.0 h1:oUS1fyO4cqMGOcydu26BVbZkTf/pdDnLWVal6lYv49Q= +github.com/spacelift-io/graphql v1.2.0/go.mod h1:Q/JMkvFWF8uXZQkDn8i9Nc3aXucbgTFeuFZ6WQMt0Wg= github.com/spacelift-io/terraform-provider-spacelift v1.9.3 h1:jneOBNVWvd9wr6GmsB9/WUUwxTUMgI+j5PKF5t9lJgU= github.com/spacelift-io/terraform-provider-spacelift v1.9.3/go.mod h1:DfjA8XAXSDn1q9a2e3WGn6Uqv0R23/frf99TL12ZpkE= github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72/go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA= @@ -2497,8 +2539,9 @@ go.uber.org/zap v1.10.0/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q= go.uber.org/zap v1.13.0/go.mod h1:zwrFLgMcdUuIBviXEYEH1YKNaOBnKXsx2IPda5bBwHM= go.uber.org/zap v1.17.0/go.mod h1:MXVU+bhUf/A7Xi2HNOnopQOrmycQ5Ih87HtOu4q5SSo= go.uber.org/zap v1.21.0/go.mod h1:wjWOCqI0f2ZZrJF/UufIOkiC8ii6tm1iqIsLo76RfJw= -gocloud.dev v0.27.0 h1:j0WTUsnKTxCsWO7y8T+YCiBZUmLl9w/WIowqAY3yo0g= gocloud.dev v0.27.0/go.mod h1:YlYKhYsY5/1JdHGWQDkAuqkezVKowu7qbe9aIeUF6p0= +gocloud.dev v0.36.0 h1:q5zoXux4xkOZP473e1EZbG8Gq9f0vlg1VNH5Du/ybus= +gocloud.dev v0.36.0/go.mod h1:bLxah6JQVKBaIxzsr5BQLYB4IYdWHkMZdzCXlo6F0gg= gocloud.dev/secrets/hashivault v0.27.0 h1:AAeGJXr0tiHHJgg5tL8atOGktB4eK9EJAqkZbPKAcOo= gocloud.dev/secrets/hashivault v0.27.0/go.mod h1:offqsI5oj0B0bVHZdfk/88uIb3NnN93ia8py0yvRlHY= golang.org/x/arch v0.1.0/go.mod h1:5om86z9Hs0C8fWVUuoMHwpExlXzs5Tkyp9hOrfG7pp8= @@ -2537,7 +2580,6 @@ golang.org/x/crypto v0.0.0-20211108221036-ceb1ce70b4fa/go.mod h1:GvvjBRRGRdwPK5y golang.org/x/crypto v0.0.0-20211202192323-5770296d904e/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/crypto v0.0.0-20220214200702-86341886e292/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= -golang.org/x/crypto v0.0.0-20220314234659-1baeb1ce4c0b/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/crypto v0.0.0-20220511200225-c6db032c6c88/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/crypto v0.0.0-20220517005047-85d78b3ac167/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/crypto v0.0.0-20220622213112-05595931fe9d/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= @@ -2549,8 +2591,8 @@ golang.org/x/crypto v0.7.0/go.mod h1:pYwdfH91IfpZVANVyUOhSIPZaFoJGxTFbZhFTx+dXZU golang.org/x/crypto v0.8.0/go.mod h1:mRqEX+O9/h5TFCrQhkgjo2yKi0yYA+9ecGkdQoHrywE= golang.org/x/crypto v0.11.0/go.mod h1:xgJhtzW8F9jGdVFWZESrid1U1bjeNy4zgy5cRr/CIio= golang.org/x/crypto v0.13.0/go.mod h1:y6Z2r+Rw4iayiXXAIxJIDAJ1zMW4yaTpebo8fPOliYc= -golang.org/x/crypto v0.17.0 h1:r8bRNjWL3GshPW3gkd+RpvzWrZAwPS49OmTGZ/uhM4k= -golang.org/x/crypto v0.17.0/go.mod h1:gCAAfMLgwOJRpTjQ2zCCt2OcSfYMTeZVSRtQlPC7Nq4= +golang.org/x/crypto v0.18.0 h1:PGVlW0xEltQnzFZ55hkuX5+KLyrMYhHld1YHO4AKcdc= +golang.org/x/crypto v0.18.0/go.mod h1:R0j02AL6hcrfOiy9T4ZYp/rcWeMxM3L6QYxlOuEG1mg= golang.org/x/exp v0.0.0-20180321215751-8460e604b9de/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20180807140117-3d87b88a115f/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= @@ -2566,8 +2608,8 @@ golang.org/x/exp v0.0.0-20200119233911-0405dc783f0a/go.mod h1:2RIsYlXP63K8oxa1u0 golang.org/x/exp v0.0.0-20200207192155-f17229e696bd/go.mod h1:J/WKrq2StrnmMY6+EHIKF9dgMWnmCNThgcyBT1FY9mM= golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6/go.mod h1:3jZMyOhIsHpP37uCMkUooju7aAi5cS1Q23tOzKc+0MU= golang.org/x/exp v0.0.0-20220827204233-334a2380cb91/go.mod h1:cyybsKvd6eL0RnXn6p/Grxp8F5bW7iYuBgsNCOHpMYE= -golang.org/x/exp v0.0.0-20231006140011-7918f672742d h1:jtJma62tbqLibJ5sFQz8bKtEM8rJBtfilJ2qTU199MI= -golang.org/x/exp v0.0.0-20231006140011-7918f672742d/go.mod h1:ldy0pHrwJyGW56pPQzzkH36rKxoZW1tw7ZJpeKx+hdo= +golang.org/x/exp v0.0.0-20231110203233-9a3e6036ecaa h1:FRnLl4eNAQl8hwxVVC17teOw8kdjVDVAiFMtgUdTSRQ= +golang.org/x/exp v0.0.0-20231110203233-9a3e6036ecaa/go.mod h1:zk2irFbV9DP96SEBUUAy67IdHUaZuSnrz1n472HUCLE= golang.org/x/image v0.0.0-20180708004352-c73c2afc3b81/go.mod h1:ux5Hcp/YLpHSI86hEcLt0YII63i6oz57MZXIpbrjZUs= golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js= golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= @@ -2613,8 +2655,8 @@ golang.org/x/mod v0.7.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= golang.org/x/mod v0.9.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= golang.org/x/mod v0.12.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= -golang.org/x/mod v0.13.0 h1:I/DsJXRlw/8l/0c24sM9yb0T4z9liZTduXvdAWYiysY= -golang.org/x/mod v0.13.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= +golang.org/x/mod v0.14.0 h1:dGoOF9QVLYng8IHTm7BAyWqCqSheQ5pYWGhzW00YJr0= +golang.org/x/mod v0.14.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= golang.org/x/net v0.0.0-20180530234432-1e491301e022/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180811021610-c39426892332/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= @@ -2711,8 +2753,8 @@ golang.org/x/net v0.9.0/go.mod h1:d48xBJpPfHeWQsugry2m+kC02ZBRGRgulfHnEXEuWns= golang.org/x/net v0.10.0/go.mod h1:0qNGK6F8kojg2nk9dLZ2mShWaEBan6FAoqfSigmmuDg= golang.org/x/net v0.12.0/go.mod h1:zEVYFnQC7m/vmpQFELhcD1EWkZlX69l4oqgmer6hfKA= golang.org/x/net v0.13.0/go.mod h1:zEVYFnQC7m/vmpQFELhcD1EWkZlX69l4oqgmer6hfKA= -golang.org/x/net v0.17.0 h1:pVaXccu2ozPjCXewfr1S7xza/zcXTity9cCdXQYSjIM= -golang.org/x/net v0.17.0/go.mod h1:NxSsAGuq816PNPmqtQdLE42eU2Fs7NoRIZrHJAlaCOE= +golang.org/x/net v0.19.0 h1:zTwKpTd2XuCqf8huc7Fo2iSy+4RHPd10s4KzeTnVr1c= +golang.org/x/net v0.19.0/go.mod h1:CfAk/cbD4CthTvqiEl8NpboMuiuOYsAr/7NOjZJtv1U= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= @@ -2747,8 +2789,8 @@ golang.org/x/oauth2 v0.4.0/go.mod h1:RznEsdpjGAINPTOF0UH/t+xJ75L18YO3Ho6Pyn+uRec golang.org/x/oauth2 v0.5.0/go.mod h1:9/XBHVqLaWO3/BRHs5jbpYCnOZVjj5V0ndyaAM7KB4I= golang.org/x/oauth2 v0.6.0/go.mod h1:ycmewcwgD4Rpr3eZJLSB4Kyyljb3qDh40vJ8STE5HKw= golang.org/x/oauth2 v0.7.0/go.mod h1:hPLQkd9LyjfXTiRohC/41GhcFqxisoUQ99sCUOHO9x4= -golang.org/x/oauth2 v0.13.0 h1:jDDenyj+WgFtmV3zYVoi8aE2BwtXFLWOA67ZfNWftiY= -golang.org/x/oauth2 v0.13.0/go.mod h1:/JMhi4ZRXAf4HG9LiNmxvk+45+96RUlVThiH8FzNBn0= +golang.org/x/oauth2 v0.14.0 h1:P0Vrf/2538nmC0H+pEQ3MNFRRnVR7RlqyVw+bvm26z0= +golang.org/x/oauth2 v0.14.0/go.mod h1:lAtNWgaWfL4cm7j2OV8TxGi9Qb7ECORx8DktCY74OwM= golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= @@ -2766,8 +2808,8 @@ golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJ golang.org/x/sync v0.0.0-20220819030929-7fc1605a5dde/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20220929204114-8fcdb60fdcc0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.4.0 h1:zxkM55ReGkDlKSM+Fu41A+zmbZuaPVbGMzvvdUPznYQ= -golang.org/x/sync v0.4.0/go.mod h1:FU7BRWz2tNW+3quACPkgCx/L+uEAv1htQ0V83Z9Rj+Y= +golang.org/x/sync v0.5.0 h1:60k92dhOjHxJkrqnwsfl8KuaHbn/5dl0lUPUklKo3qE= +golang.org/x/sync v0.5.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= golang.org/x/sys v0.0.0-20180823144017-11551d06cbcc/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= @@ -2877,6 +2919,7 @@ golang.org/x/sys v0.0.0-20210514084401-e8d321eab015/go.mod h1:oPkhp1MJrh7nUepCBc golang.org/x/sys v0.0.0-20210603081109-ebe580a85c40/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210603125802-9665404d3644/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210616045830-e2b7044e8c71/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210616094352-59db8d763f22/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= @@ -2928,8 +2971,8 @@ golang.org/x/sys v0.7.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.10.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.12.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.15.0 h1:h48lPFYpsTvQJZF4EKyI4aLHaev3CxivZmv7yZig9pc= -golang.org/x/sys v0.15.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/sys v0.16.0 h1:xWw16ngr6ZMtmxDyKyIgsE93KNKz5HKmMa3b8ALHidU= +golang.org/x/sys v0.16.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210220032956-6a3ed077a48d/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= @@ -2946,8 +2989,8 @@ golang.org/x/term v0.7.0/go.mod h1:P32HKFT3hSsZrRxla30E9HqToFYAQPCMs/zFMBUFqPY= golang.org/x/term v0.8.0/go.mod h1:xPskH00ivmX89bAKVGSKKtLOWNx2+17Eiy94tnKShWo= golang.org/x/term v0.10.0/go.mod h1:lpqdcUyK/oCiQxvxVrppt5ggO2KCZ5QblwqPnfZ6d5o= golang.org/x/term v0.12.0/go.mod h1:owVbMEjm3cBLCHdkQu9b1opXd4ETQWc3BhuQGKgXgvU= -golang.org/x/term v0.15.0 h1:y/Oo/a/q3IXu26lQgl04j/gjuBDOBlx7X6Om1j2CPW4= -golang.org/x/term v0.15.0/go.mod h1:BDl952bC7+uMoWR75FIrCDx79TPU9oHkTZ9yRbYOrX0= +golang.org/x/term v0.16.0 h1:m+B6fahuftsE9qjo0VWp2FW0mB3MTJvR0BaMQrq0pmE= +golang.org/x/term v0.16.0/go.mod h1:yn7UURbUtPyrVJPGPq404EukNFxcm/foM+bV/bfcDsY= golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= @@ -2982,8 +3025,9 @@ golang.org/x/time v0.0.0-20220609170525-579cf78fd858/go.mod h1:tRJNPiyCQ0inRvYxb golang.org/x/time v0.0.0-20220722155302-e5dcc9cfc0b9/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20220922220347-f3bd1da661af/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.1.0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/time v0.3.0 h1:rg5rLMjNzMS1RkNLzCG38eapWhnYLFYXDXj2gOlr8j4= golang.org/x/time v0.3.0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/time v0.4.0 h1:Z81tqI5ddIoXDPvVQ7/7CC9TnLM7ubaFG2qXYd5BbYY= +golang.org/x/time v0.4.0/go.mod h1:3BpzKBy/shNhVucY/MWOyx10tF3SFh9QdLuxbVysPQM= golang.org/x/tools v0.0.0-20180221164845-07fd8470d635/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20180525024113-a5b4c53f6e8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20180828015842-6cd1fcedba52/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= @@ -3076,8 +3120,8 @@ golang.org/x/tools v0.2.0/go.mod h1:y4OqIKeOV/fWJetJ8bXPU1sEVniLMIyDAZWeHdV+NTA= golang.org/x/tools v0.3.0/go.mod h1:/rWhSS2+zyEVwoJf8YAX6L2f0ntZ7Kn/mGgAWcipA5k= golang.org/x/tools v0.6.0/go.mod h1:Xwgl3UAJ/d3gWutnCtw505GrjyAbvKui8lOU390QaIU= golang.org/x/tools v0.7.0/go.mod h1:4pg6aUX35JBAogB10C9AtvVL+qowtN4pT3CGSQex14s= -golang.org/x/tools v0.14.0 h1:jvNa2pY0M4r62jkRQ6RwEZZyPcymeL9XZMLBbV7U2nc= -golang.org/x/tools v0.14.0/go.mod h1:uYBEerGOWcJyEORxN+Ek8+TT266gXkNlHdJBwexUsBg= +golang.org/x/tools v0.15.0 h1:zdAyfUGbYmuVokhzVmghFl2ZJh5QhcfebBgmVPFYA+8= +golang.org/x/tools v0.15.0/go.mod h1:hpksKq4dtpQWS1uQ61JkdqWM3LscIS6Slf+VVkm+wQk= golang.org/x/xerrors v0.0.0-20190410155217-1f06c39b4373/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20190513163551-3ee3066db522/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= @@ -3087,8 +3131,9 @@ golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8T golang.org/x/xerrors v0.0.0-20220411194840-2f41105eb62f/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20220517211312-f3a8303e98df/go.mod h1:K8+ghG5WaK9qNqU5K3HdILfMLy1f3aNYFI/wnl100a8= golang.org/x/xerrors v0.0.0-20220609144429-65e65417b02f/go.mod h1:K8+ghG5WaK9qNqU5K3HdILfMLy1f3aNYFI/wnl100a8= -golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 h1:H2TDz8ibqkAF6YGhCdN3jS9O0/s90v0rJh3X/OLHEUk= golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2/go.mod h1:K8+ghG5WaK9qNqU5K3HdILfMLy1f3aNYFI/wnl100a8= +golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028 h1:+cNy6SZtPcJQH3LJVLOSmiC7MMxXNOb3PU/VUEz+EhU= +golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028/go.mod h1:NDW/Ps6MPRej6fsCIbMTohpP40sJ/P/vI1MoTEGwX90= gonum.org/v1/gonum v0.0.0-20180816165407-929014505bf4/go.mod h1:Y+Yx5eoAFn32cQvJDxZx5Dpnq+c3wtXuadVZAcxbbBo= gonum.org/v1/gonum v0.8.2/go.mod h1:oe/vMfY3deqTw+1EZJhuvEW2iwGF1bW9wwu7XCu0+v0= gonum.org/v1/gonum v0.9.3/go.mod h1:TZumC3NeyVQskjXqmyWt4S3bINhy7B4eYwW69EbyX+0= @@ -3161,8 +3206,8 @@ google.golang.org/api v0.108.0/go.mod h1:2Ts0XTHNVWxypznxWOYUeI4g3WdP9Pk2Qk58+a/ google.golang.org/api v0.110.0/go.mod h1:7FC4Vvx1Mooxh8C5HWjzZHcavuS2f6pmJpZx60ca7iI= google.golang.org/api v0.111.0/go.mod h1:qtFHvU9mhgTJegR31csQ+rwxyUTHOKFqCKWp1J0fdw0= google.golang.org/api v0.114.0/go.mod h1:ifYI2ZsFK6/uGddGfAD5BMxlnkBqCmqHSDUVi45N5Yg= -google.golang.org/api v0.126.0 h1:q4GJq+cAdMAC7XP7njvQ4tvohGLiSlytuL4BQxbIZ+o= -google.golang.org/api v0.126.0/go.mod h1:mBwVAtz+87bEN6CbA1GtZPDOqY2R5ONPqJeIlvyo4Aw= +google.golang.org/api v0.151.0 h1:FhfXLO/NFdJIzQtCqjpysWwqKk8AzGWBUhMIx67cVDU= +google.golang.org/api v0.151.0/go.mod h1:ccy+MJ6nrYFgE3WgRx/AMXOxOmU8Q4hSa+jjibzhxcg= google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= google.golang.org/appengine v1.2.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= @@ -3170,8 +3215,9 @@ google.golang.org/appengine v1.5.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7 google.golang.org/appengine v1.6.1/go.mod h1:i06prIuMbXzDqacNJfV5OdTW448YApPu5ww/cMBSeb0= google.golang.org/appengine v1.6.5/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= google.golang.org/appengine v1.6.6/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= -google.golang.org/appengine v1.6.7 h1:FZR1q0exgwxzPzp/aF+VccGrSfxfPpkBqjIIEq3ru6c= google.golang.org/appengine v1.6.7/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= +google.golang.org/appengine v1.6.8 h1:IhEN5q69dyKagZPYMSdIjS2HqprW324FRQZJcGqPAsM= +google.golang.org/appengine v1.6.8/go.mod h1:1jJ3jBArFh5pcgW8gCtRJnepW8FzD1V44FJffLiz/Ds= google.golang.org/cloud v0.0.0-20151119220103-975617b05ea8/go.mod h1:0H1ncTHf11KCFhTc/+EFRbzSCOZx+VUbRMk55Yv5MYk= google.golang.org/genproto v0.0.0-20170818010345-ee236bd376b0/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= @@ -3324,16 +3370,16 @@ google.golang.org/genproto v0.0.0-20230330154414-c0448cd141ea/go.mod h1:UUQDJDOl google.golang.org/genproto v0.0.0-20230331144136-dcfb400f0633/go.mod h1:UUQDJDOlWu4KYeJZffbWgBkS1YFobzKbLVfK69pe0Ak= google.golang.org/genproto v0.0.0-20230525234025-438c736192d0/go.mod h1:9ExIQyXL5hZrHzQceCwuSYwZZ5QZBazOcprJ5rgs3lY= google.golang.org/genproto v0.0.0-20230526161137-0005af68ea54/go.mod h1:zqTuNwFlFRsw5zIts5VnzLQxSRqh+CGOTVMlYbY0Eyk= -google.golang.org/genproto v0.0.0-20230726155614-23370e0ffb3e h1:xIXmWJ303kJCuogpj0bHq+dcjcZHU+XFyc1I0Yl9cRg= -google.golang.org/genproto v0.0.0-20230726155614-23370e0ffb3e/go.mod h1:0ggbjUrZYpy1q+ANUS30SEoGZ53cdfwtbuG7Ptgy108= +google.golang.org/genproto v0.0.0-20231120223509-83a465c0220f h1:Vn+VyHU5guc9KjB5KrjI2q0wCOWEOIh0OEsleqakHJg= +google.golang.org/genproto v0.0.0-20231120223509-83a465c0220f/go.mod h1:nWSwAFPb+qfNJXsoeO3Io7zf4tMSfN8EA8RlDA04GhY= google.golang.org/genproto/googleapis/api v0.0.0-20230525234020-1aefcd67740a/go.mod h1:ts19tUU+Z0ZShN1y3aPyq2+O3d5FUNNgT6FtOzmrNn8= google.golang.org/genproto/googleapis/api v0.0.0-20230525234035-dd9d682886f9/go.mod h1:vHYtlOoi6TsQ3Uk2yxR7NI5z8uoV+3pZtR4jmHIkRig= -google.golang.org/genproto/googleapis/api v0.0.0-20230706204954-ccb25ca9f130 h1:XVeBY8d/FaK4848myy41HBqnDwvxeV3zMZhwN1TvAMU= -google.golang.org/genproto/googleapis/api v0.0.0-20230706204954-ccb25ca9f130/go.mod h1:mPBs5jNgx2GuQGvFwUvVKqtn6HsUw9nP64BedgvqEsQ= +google.golang.org/genproto/googleapis/api v0.0.0-20231120223509-83a465c0220f h1:2yNACc1O40tTnrsbk9Cv6oxiW8pxI/pXj0wRtdlYmgY= +google.golang.org/genproto/googleapis/api v0.0.0-20231120223509-83a465c0220f/go.mod h1:Uy9bTZJqmfrw2rIBxgGLnamc78euZULUBrLZ9XTITKI= google.golang.org/genproto/googleapis/rpc v0.0.0-20230525234015-3fc162c6f38a/go.mod h1:xURIpW9ES5+/GZhnV6beoEtxQrnkRGIfP5VQG2tCBLc= google.golang.org/genproto/googleapis/rpc v0.0.0-20230525234030-28d5490b6b19/go.mod h1:66JfowdXAEgad5O9NnYcsNPLCPZJD++2L9X0PCMODrA= -google.golang.org/genproto/googleapis/rpc v0.0.0-20230706204954-ccb25ca9f130 h1:2FZP5XuJY9zQyGM5N0rtovnoXjiMUEIUMvw0m9wlpLc= -google.golang.org/genproto/googleapis/rpc v0.0.0-20230706204954-ccb25ca9f130/go.mod h1:8mL13HKkDa+IuJ8yruA3ci0q+0vsUz4m//+ottjwS5o= +google.golang.org/genproto/googleapis/rpc v0.0.0-20231120223509-83a465c0220f h1:ultW7fxlIvee4HYrtnaRPon9HpEgFk5zYpmfMgtKB5I= +google.golang.org/genproto/googleapis/rpc v0.0.0-20231120223509-83a465c0220f/go.mod h1:L9KNLi232K1/xB6f7AlSX692koaRnKaWSR0stBki0Yc= google.golang.org/grpc v0.0.0-20160317175043-d3ddb4469d5a/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw= google.golang.org/grpc v1.8.0/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw= google.golang.org/grpc v1.14.0/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw= @@ -3385,8 +3431,9 @@ google.golang.org/grpc v1.51.0/go.mod h1:wgNDFcnuBGmxLKI/qn4T+m5BtEBYXJPvibbUPsA google.golang.org/grpc v1.52.3/go.mod h1:pu6fVzoFb+NBYNAvQL08ic+lvB2IojljRYuun5vorUY= google.golang.org/grpc v1.53.0/go.mod h1:OnIrk0ipVdj4N5d9IUoFUx72/VlD7+jUsHwZgwSMQpw= google.golang.org/grpc v1.54.0/go.mod h1:PUSEXI6iWghWaB6lXM4knEgpJNu2qUcKfDtNci3EC2g= -google.golang.org/grpc v1.57.0 h1:kfzNeI/klCGD2YPMUlaGNT3pxvYfga7smW3Vth8Zsiw= google.golang.org/grpc v1.57.0/go.mod h1:Sd+9RMTACXwmub0zcNY2c4arhtrbBYD1AUHI/dt16Mo= +google.golang.org/grpc v1.59.0 h1:Z5Iec2pjwb+LEOqzpB2MR12/eKFhDPhuqW91O+4bwUk= +google.golang.org/grpc v1.59.0/go.mod h1:aUPDwccQo6OTjy7Hct4AfBPD1GptF4fyUjIkQ9YtF98= google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.1.0/go.mod h1:6Kw0yEErY5E/yWrBtf03jp27GLLJujG4z/JK95pnjjw= google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= @@ -3454,8 +3501,10 @@ gopkg.in/yaml.v3 v3.0.0-20200615113413-eeeca48fe776/go.mod h1:K4uyk7z7BCEPqu6E+C gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= +gotest.tools v2.2.0+incompatible h1:VsBPFP1AI068pPrMxtb/S8Zkgf9xEmTLJjfM+P5UIEo= gotest.tools v2.2.0+incompatible/go.mod h1:DsYFclhRJ6vuDpmuTbkuFWG+y2sxOXAzmJt81HFBacw= gotest.tools/v3 v3.0.2/go.mod h1:3SzNCllyD9/Y+b5r9JIKQ474KzkZyqLqEfYqMsX94Bk= +gotest.tools/v3 v3.0.3 h1:4AuOwCGf4lLR9u3YOe2awrHygurzhO/HeQ6laiA6Sx0= gotest.tools/v3 v3.0.3/go.mod h1:Z7Lb0S5l+klDB31fvDQX8ss/FlKDxtlFlw3Oa8Ymbl8= honnef.co/go/tools v0.0.0-20180728063816-88497007e858/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= @@ -3561,8 +3610,8 @@ modernc.org/strutil v1.1.3/go.mod h1:MEHNA7PdEnEwLvspRMtWTNnp2nnyvMfkimT1NKNAGbw modernc.org/tcl v1.13.1/go.mod h1:XOLfOwzhkljL4itZkK6T72ckMgvj0BDsnKNdZVUOecw= modernc.org/token v1.0.0/go.mod h1:UGzOrNV1mAFSEB63lOFHIpNRUVMvYTc6yu1SMY/XTDM= modernc.org/z v1.5.1/go.mod h1:eWFB510QWW5Th9YGZT81s+LwvaAs3Q2yr4sP0rmLkv8= -mvdan.cc/gofumpt v0.1.0 h1:hsVv+Y9UsZ/mFZTxJZuHVI6shSQCtzZ11h1JEFPAZLw= -mvdan.cc/gofumpt v0.1.0/go.mod h1:yXG1r1WqZVKWbVRtBWKWX9+CxGYfA51nSomhM0woR48= +mvdan.cc/gofumpt v0.5.0 h1:0EQ+Z56k8tXjj/6TQD25BFNKQXpCvT0rnansIc7Ug5E= +mvdan.cc/gofumpt v0.5.0/go.mod h1:HBeVDtMKRZpXyxFciAirzdKklDlGu8aAy1wEbH5Y9js= nhooyr.io/websocket v1.8.6/go.mod h1:B70DZP8IakI65RVQ51MsWP/8jndNma26DVA/nFSCgW0= pgregory.net/rapid v0.6.1 h1:4eyrDxyht86tT4Ztm+kvlyNBLIk071gR+ZQdhphc9dQ= pgregory.net/rapid v0.6.1/go.mod h1:PY5XlDGj0+V1FCq0o192FdRhpKHGTRIWBgqjDBTrq04= @@ -3584,5 +3633,3 @@ sigs.k8s.io/yaml v1.1.0/go.mod h1:UJmg0vDUVViEyp3mgSv9WPwZCDxu4rQW1olrI1uml+o= sigs.k8s.io/yaml v1.2.0/go.mod h1:yfXDCHCao9+ENCvLSE62v9VSji2MKu5jeNfTrofGhJc= sigs.k8s.io/yaml v1.3.0/go.mod h1:GeOyir5tyXNByN85N/dRIT9es5UQNerPYEKK56eTBm8= sourcegraph.com/sourcegraph/appdash v0.0.0-20190731080439-ebfcffb1b5c0/go.mod h1:hI742Nqp5OhwiqlzhgfbWU4mW4yO10fP+LoT9WOswdU= -sourcegraph.com/sourcegraph/appdash v0.0.0-20211028080628-e2786a622600 h1:hfyJ5ku9yFtLVOiSxa3IN+dx5eBQT9mPmKFypAmg8XM= -sourcegraph.com/sourcegraph/appdash v0.0.0-20211028080628-e2786a622600/go.mod h1:hI742Nqp5OhwiqlzhgfbWU4mW4yO10fP+LoT9WOswdU= diff --git a/sdk/dotnet/Mountedfile.cs b/sdk/dotnet/Mountedfile.cs index 7f67584..ce7c892 100644 --- a/sdk/dotnet/Mountedfile.cs +++ b/sdk/dotnet/Mountedfile.cs @@ -22,9 +22,11 @@ namespace Pulumi.Spacelift /// using Pulumi; /// using Spacelift = Pulumi.Spacelift; /// - /// private static string ReadFileBase64(string path) { - /// return Convert.ToBase64String(System.Text.Encoding.UTF8.GetBytes(File.ReadAllText(path))); - /// } + /// + /// string ReadFileBase64(string path) + /// { + /// return Convert.ToBase64String(Encoding.UTF8.GetBytes(File.ReadAllText(path))); + /// } /// /// return await Deployment.RunAsync(() => /// { diff --git a/sdk/dotnet/Outputs/GetAwsIntegrationsIntegrationResult.cs b/sdk/dotnet/Outputs/GetAwsIntegrationsIntegrationResult.cs index 57df016..7aec371 100644 --- a/sdk/dotnet/Outputs/GetAwsIntegrationsIntegrationResult.cs +++ b/sdk/dotnet/Outputs/GetAwsIntegrationsIntegrationResult.cs @@ -13,13 +13,34 @@ namespace Pulumi.Spacelift.Outputs [OutputType] public sealed class GetAwsIntegrationsIntegrationResult { + /// + /// Duration in seconds for which the assumed role credentials should be valid + /// public readonly int DurationSeconds; + /// + /// Custom external ID (works only for private workers). + /// public readonly string ExternalId; + /// + /// Generate AWS credentials in the private worker + /// public readonly bool GenerateCredentialsInWorker; + /// + /// Immutable ID of the integration. + /// public readonly string IntegrationId; public readonly ImmutableArray Labels; + /// + /// Name of the AWS integration. + /// public readonly string Name; + /// + /// ARN of the AWS IAM role to attach + /// public readonly string RoleArn; + /// + /// ID (slug) of the space the integration is in + /// public readonly string SpaceId; [OutputConstructor] diff --git a/sdk/dotnet/Outputs/GetAzureIntegrationsIntegrationResult.cs b/sdk/dotnet/Outputs/GetAzureIntegrationsIntegrationResult.cs index 9f0427d..9dc2659 100644 --- a/sdk/dotnet/Outputs/GetAzureIntegrationsIntegrationResult.cs +++ b/sdk/dotnet/Outputs/GetAzureIntegrationsIntegrationResult.cs @@ -13,15 +13,45 @@ namespace Pulumi.Spacelift.Outputs [OutputType] public sealed class GetAzureIntegrationsIntegrationResult { + /// + /// Indicates whether admin consent has been performed for the AAD Application. + /// public readonly bool AdminConsentProvided; + /// + /// The URL to use to provide admin consent to the application in the customer's tenant + /// public readonly string AdminConsentUrl; + /// + /// The applicationId of the Azure AD application used by the integration. + /// public readonly string ApplicationId; + /// + /// The default subscription ID to use, if one isn't specified at the stack/module level + /// public readonly string DefaultSubscriptionId; + /// + /// The display name for the application in Azure. This is automatically generated when the integration is created, and cannot be changed without deleting and recreating the integration. + /// public readonly string DisplayName; + /// + /// Immutable ID of the integration. + /// public readonly string IntegrationId; + /// + /// Labels to set on the integration + /// public readonly ImmutableArray Labels; + /// + /// The friendly name of the integration. + /// public readonly string Name; + /// + /// ID (slug) of the space the integration is in + /// public readonly string SpaceId; + /// + /// The Azure AD tenant ID + /// public readonly string TenantId; [OutputConstructor] diff --git a/sdk/dotnet/Outputs/GetContextsContextResult.cs b/sdk/dotnet/Outputs/GetContextsContextResult.cs index ce53d13..e0e7435 100644 --- a/sdk/dotnet/Outputs/GetContextsContextResult.cs +++ b/sdk/dotnet/Outputs/GetContextsContextResult.cs @@ -13,10 +13,22 @@ namespace Pulumi.Spacelift.Outputs [OutputType] public sealed class GetContextsContextResult { + /// + /// immutable ID (slug) of the context + /// public readonly string ContextId; + /// + /// free-form context description for users + /// public readonly string Description; public readonly ImmutableArray Labels; + /// + /// name of the context + /// public readonly string Name; + /// + /// ID (slug) of the space the context is in + /// public readonly string SpaceId; [OutputConstructor] diff --git a/sdk/dotnet/Outputs/GetModuleAzureDevopResult.cs b/sdk/dotnet/Outputs/GetModuleAzureDevopResult.cs index e80ceee..def6080 100644 --- a/sdk/dotnet/Outputs/GetModuleAzureDevopResult.cs +++ b/sdk/dotnet/Outputs/GetModuleAzureDevopResult.cs @@ -13,8 +13,17 @@ namespace Pulumi.Spacelift.Outputs [OutputType] public sealed class GetModuleAzureDevopResult { + /// + /// ID of the Azure Devops integration + /// public readonly string Id; + /// + /// Indicates whether this is the default Azure Devops integration + /// public readonly bool IsDefault; + /// + /// The name of the Azure DevOps project + /// public readonly string Project; [OutputConstructor] diff --git a/sdk/dotnet/Outputs/GetModuleBitbucketCloudResult.cs b/sdk/dotnet/Outputs/GetModuleBitbucketCloudResult.cs index bb61763..9739970 100644 --- a/sdk/dotnet/Outputs/GetModuleBitbucketCloudResult.cs +++ b/sdk/dotnet/Outputs/GetModuleBitbucketCloudResult.cs @@ -13,8 +13,17 @@ namespace Pulumi.Spacelift.Outputs [OutputType] public sealed class GetModuleBitbucketCloudResult { + /// + /// ID of the Bitbucket Cloud integration + /// public readonly string Id; + /// + /// Indicates whether this is the default Bitbucket Cloud integration + /// public readonly bool IsDefault; + /// + /// Bitbucket Cloud namespace of the stack's repository + /// public readonly string Namespace; [OutputConstructor] diff --git a/sdk/dotnet/Outputs/GetModuleBitbucketDatacenterResult.cs b/sdk/dotnet/Outputs/GetModuleBitbucketDatacenterResult.cs index ded1487..d35c79f 100644 --- a/sdk/dotnet/Outputs/GetModuleBitbucketDatacenterResult.cs +++ b/sdk/dotnet/Outputs/GetModuleBitbucketDatacenterResult.cs @@ -13,8 +13,17 @@ namespace Pulumi.Spacelift.Outputs [OutputType] public sealed class GetModuleBitbucketDatacenterResult { + /// + /// ID of the Bitbucket Datacenter integration + /// public readonly string Id; + /// + /// Indicates whether this is the default Bitbucket Datacenter integration + /// public readonly bool IsDefault; + /// + /// Bitbucket Datacenter namespace of the stack's repository + /// public readonly string Namespace; [OutputConstructor] diff --git a/sdk/dotnet/Outputs/GetModuleGithubEnterpriseResult.cs b/sdk/dotnet/Outputs/GetModuleGithubEnterpriseResult.cs index ee10027..cb37730 100644 --- a/sdk/dotnet/Outputs/GetModuleGithubEnterpriseResult.cs +++ b/sdk/dotnet/Outputs/GetModuleGithubEnterpriseResult.cs @@ -13,8 +13,17 @@ namespace Pulumi.Spacelift.Outputs [OutputType] public sealed class GetModuleGithubEnterpriseResult { + /// + /// ID of the GitHub Enterprise integration + /// public readonly string Id; + /// + /// Indicates whether this is the default GitHub Enterprise integration + /// public readonly bool IsDefault; + /// + /// GitHub Enterprise namespace of the stack's repository + /// public readonly string Namespace; [OutputConstructor] diff --git a/sdk/dotnet/Outputs/GetModuleGitlabResult.cs b/sdk/dotnet/Outputs/GetModuleGitlabResult.cs index 68d7bdf..67ac32d 100644 --- a/sdk/dotnet/Outputs/GetModuleGitlabResult.cs +++ b/sdk/dotnet/Outputs/GetModuleGitlabResult.cs @@ -13,8 +13,17 @@ namespace Pulumi.Spacelift.Outputs [OutputType] public sealed class GetModuleGitlabResult { + /// + /// ID of the Gitlab integration + /// public readonly string Id; + /// + /// Indicates whether this is the default Gitlab integration + /// public readonly bool IsDefault; + /// + /// GitLab namespace of the repository + /// public readonly string Namespace; [OutputConstructor] diff --git a/sdk/dotnet/Outputs/GetPoliciesPolicyResult.cs b/sdk/dotnet/Outputs/GetPoliciesPolicyResult.cs index 012eca3..209d49f 100644 --- a/sdk/dotnet/Outputs/GetPoliciesPolicyResult.cs +++ b/sdk/dotnet/Outputs/GetPoliciesPolicyResult.cs @@ -13,10 +13,22 @@ namespace Pulumi.Spacelift.Outputs [OutputType] public sealed class GetPoliciesPolicyResult { + /// + /// ID of the policy + /// public readonly string Id; public readonly ImmutableArray Labels; + /// + /// Name of the policy + /// public readonly string Name; + /// + /// ID (slug) of the space the policy is in + /// public readonly string SpaceId; + /// + /// Type of the policy + /// public readonly string Type; [OutputConstructor] diff --git a/sdk/dotnet/Outputs/GetSpacesSpaceResult.cs b/sdk/dotnet/Outputs/GetSpacesSpaceResult.cs index 3fe4c67..e0cb166 100644 --- a/sdk/dotnet/Outputs/GetSpacesSpaceResult.cs +++ b/sdk/dotnet/Outputs/GetSpacesSpaceResult.cs @@ -13,11 +13,29 @@ namespace Pulumi.Spacelift.Outputs [OutputType] public sealed class GetSpacesSpaceResult { + /// + /// free-form space description for users + /// public readonly string Description; + /// + /// 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; + /// + /// immutable ID (slug) of the space + /// public readonly string SpaceId; [OutputConstructor] diff --git a/sdk/dotnet/Outputs/GetStackAnsibleResult.cs b/sdk/dotnet/Outputs/GetStackAnsibleResult.cs index c4f6ae5..b1bce7b 100644 --- a/sdk/dotnet/Outputs/GetStackAnsibleResult.cs +++ b/sdk/dotnet/Outputs/GetStackAnsibleResult.cs @@ -13,6 +13,9 @@ namespace Pulumi.Spacelift.Outputs [OutputType] public sealed class GetStackAnsibleResult { + /// + /// The playbook the Ansible stack should run. + /// public readonly string Playbook; [OutputConstructor] diff --git a/sdk/dotnet/Outputs/GetStackAzureDevopResult.cs b/sdk/dotnet/Outputs/GetStackAzureDevopResult.cs index b1e7741..4fea68e 100644 --- a/sdk/dotnet/Outputs/GetStackAzureDevopResult.cs +++ b/sdk/dotnet/Outputs/GetStackAzureDevopResult.cs @@ -13,8 +13,17 @@ namespace Pulumi.Spacelift.Outputs [OutputType] public sealed class GetStackAzureDevopResult { + /// + /// ID of the Azure Devops VCS integration + /// public readonly string Id; + /// + /// Indicates whether this is the default Azure Devops VCS integration + /// public readonly bool IsDefault; + /// + /// The name of the Azure DevOps project + /// public readonly string Project; [OutputConstructor] diff --git a/sdk/dotnet/Outputs/GetStackBitbucketCloudResult.cs b/sdk/dotnet/Outputs/GetStackBitbucketCloudResult.cs index 1e8d42b..586d7a8 100644 --- a/sdk/dotnet/Outputs/GetStackBitbucketCloudResult.cs +++ b/sdk/dotnet/Outputs/GetStackBitbucketCloudResult.cs @@ -13,8 +13,17 @@ namespace Pulumi.Spacelift.Outputs [OutputType] public sealed class GetStackBitbucketCloudResult { + /// + /// ID of the Bitbucket Cloud integration + /// public readonly string Id; + /// + /// Indicates whether this is the default Bitbucket Cloud integration + /// public readonly bool IsDefault; + /// + /// Bitbucket Cloud namespace of the stack's repository + /// public readonly string Namespace; [OutputConstructor] diff --git a/sdk/dotnet/Outputs/GetStackBitbucketDatacenterResult.cs b/sdk/dotnet/Outputs/GetStackBitbucketDatacenterResult.cs index fa8b005..45b0bc9 100644 --- a/sdk/dotnet/Outputs/GetStackBitbucketDatacenterResult.cs +++ b/sdk/dotnet/Outputs/GetStackBitbucketDatacenterResult.cs @@ -13,8 +13,17 @@ namespace Pulumi.Spacelift.Outputs [OutputType] public sealed class GetStackBitbucketDatacenterResult { + /// + /// ID of the Bitbucket Datacenter integration + /// public readonly string Id; + /// + /// Indicates whether this is the default Bitbucket Datacenter integration + /// public readonly bool IsDefault; + /// + /// Bitbucket Datacenter namespace of the stack's repository + /// public readonly string Namespace; [OutputConstructor] diff --git a/sdk/dotnet/Outputs/GetStackCloudformationResult.cs b/sdk/dotnet/Outputs/GetStackCloudformationResult.cs index 3ad6d78..5af0a38 100644 --- a/sdk/dotnet/Outputs/GetStackCloudformationResult.cs +++ b/sdk/dotnet/Outputs/GetStackCloudformationResult.cs @@ -13,9 +13,21 @@ namespace Pulumi.Spacelift.Outputs [OutputType] public sealed class GetStackCloudformationResult { + /// + /// Template file `cloudformation package` will be called on + /// public readonly string EntryTemplateFile; + /// + /// AWS region to use + /// public readonly string Region; + /// + /// CloudFormation stack name + /// public readonly string StackName; + /// + /// S3 bucket to save CloudFormation templates to + /// public readonly string TemplateBucket; [OutputConstructor] diff --git a/sdk/dotnet/Outputs/GetStackGithubEnterpriseResult.cs b/sdk/dotnet/Outputs/GetStackGithubEnterpriseResult.cs index 797a878..8528f39 100644 --- a/sdk/dotnet/Outputs/GetStackGithubEnterpriseResult.cs +++ b/sdk/dotnet/Outputs/GetStackGithubEnterpriseResult.cs @@ -13,8 +13,17 @@ namespace Pulumi.Spacelift.Outputs [OutputType] public sealed class GetStackGithubEnterpriseResult { + /// + /// ID of the GitHub Enterprise integration + /// public readonly string Id; + /// + /// Indicates whether this is the default GitHub Enterprise integration + /// public readonly bool IsDefault; + /// + /// GitHub Enterprise namespace of the stack's repository + /// public readonly string Namespace; [OutputConstructor] diff --git a/sdk/dotnet/Outputs/GetStackGitlabResult.cs b/sdk/dotnet/Outputs/GetStackGitlabResult.cs index 13a7725..0981861 100644 --- a/sdk/dotnet/Outputs/GetStackGitlabResult.cs +++ b/sdk/dotnet/Outputs/GetStackGitlabResult.cs @@ -13,8 +13,17 @@ namespace Pulumi.Spacelift.Outputs [OutputType] public sealed class GetStackGitlabResult { + /// + /// ID of the Gitlab integration + /// public readonly string Id; + /// + /// Indicates whether this is the default Gitlab integration + /// public readonly bool IsDefault; + /// + /// GitLab namespace of the stack's repository + /// public readonly string Namespace; [OutputConstructor] diff --git a/sdk/dotnet/Outputs/GetStackKuberneteResult.cs b/sdk/dotnet/Outputs/GetStackKuberneteResult.cs index dbb6812..d470b4c 100644 --- a/sdk/dotnet/Outputs/GetStackKuberneteResult.cs +++ b/sdk/dotnet/Outputs/GetStackKuberneteResult.cs @@ -13,7 +13,13 @@ namespace Pulumi.Spacelift.Outputs [OutputType] public sealed class GetStackKuberneteResult { + /// + /// Kubectl version. + /// public readonly string KubectlVersion; + /// + /// Namespace of the Kubernetes cluster to run commands on. Leave empty for multi-namespace Stacks. + /// public readonly string Namespace; [OutputConstructor] diff --git a/sdk/dotnet/Outputs/GetStackPulumiResult.cs b/sdk/dotnet/Outputs/GetStackPulumiResult.cs index 118b977..15431b7 100644 --- a/sdk/dotnet/Outputs/GetStackPulumiResult.cs +++ b/sdk/dotnet/Outputs/GetStackPulumiResult.cs @@ -13,7 +13,13 @@ namespace Pulumi.Spacelift.Outputs [OutputType] public sealed class GetStackPulumiResult { + /// + /// State backend to log into on Run initialize. + /// public readonly string LoginUrl; + /// + /// Pulumi stack name to use with the state backend. + /// public readonly string StackName; [OutputConstructor] diff --git a/sdk/dotnet/Outputs/GetStackRawGitResult.cs b/sdk/dotnet/Outputs/GetStackRawGitResult.cs index a71b06a..e98d315 100644 --- a/sdk/dotnet/Outputs/GetStackRawGitResult.cs +++ b/sdk/dotnet/Outputs/GetStackRawGitResult.cs @@ -13,7 +13,13 @@ namespace Pulumi.Spacelift.Outputs [OutputType] public sealed class GetStackRawGitResult { + /// + /// User-friendly namespace for the repository, this is for cosmetic purposes only + /// public readonly string Namespace; + /// + /// HTTPS URL of the Git repository + /// public readonly string Url; [OutputConstructor] diff --git a/sdk/dotnet/Outputs/GetStackShowcaseResult.cs b/sdk/dotnet/Outputs/GetStackShowcaseResult.cs index 94831d1..809b188 100644 --- a/sdk/dotnet/Outputs/GetStackShowcaseResult.cs +++ b/sdk/dotnet/Outputs/GetStackShowcaseResult.cs @@ -13,6 +13,9 @@ namespace Pulumi.Spacelift.Outputs [OutputType] public sealed class GetStackShowcaseResult { + /// + /// GitHub namespace of the stack's repository + /// public readonly string Namespace; [OutputConstructor] diff --git a/sdk/dotnet/Outputs/GetStacksStackAnsibleResult.cs b/sdk/dotnet/Outputs/GetStacksStackAnsibleResult.cs index a175801..3346ac6 100644 --- a/sdk/dotnet/Outputs/GetStacksStackAnsibleResult.cs +++ b/sdk/dotnet/Outputs/GetStacksStackAnsibleResult.cs @@ -13,6 +13,9 @@ namespace Pulumi.Spacelift.Outputs [OutputType] public sealed class GetStacksStackAnsibleResult { + /// + /// The playbook the Ansible stack should run. + /// public readonly string Playbook; [OutputConstructor] diff --git a/sdk/dotnet/Outputs/GetStacksStackAzureDevopResult.cs b/sdk/dotnet/Outputs/GetStacksStackAzureDevopResult.cs index fbae615..c070e20 100644 --- a/sdk/dotnet/Outputs/GetStacksStackAzureDevopResult.cs +++ b/sdk/dotnet/Outputs/GetStacksStackAzureDevopResult.cs @@ -13,8 +13,17 @@ namespace Pulumi.Spacelift.Outputs [OutputType] public sealed class GetStacksStackAzureDevopResult { + /// + /// ID of the Azure Devops VCS integration + /// public readonly string Id; + /// + /// Indicates whether this is the default Azure Devops VCS integration + /// public readonly bool IsDefault; + /// + /// The name of the Azure DevOps project + /// public readonly string Project; [OutputConstructor] diff --git a/sdk/dotnet/Outputs/GetStacksStackBitbucketCloudResult.cs b/sdk/dotnet/Outputs/GetStacksStackBitbucketCloudResult.cs index 794369b..391ed9f 100644 --- a/sdk/dotnet/Outputs/GetStacksStackBitbucketCloudResult.cs +++ b/sdk/dotnet/Outputs/GetStacksStackBitbucketCloudResult.cs @@ -13,8 +13,17 @@ namespace Pulumi.Spacelift.Outputs [OutputType] public sealed class GetStacksStackBitbucketCloudResult { + /// + /// ID of the Bitbucket Cloud integration + /// public readonly string Id; + /// + /// Indicates whether this is the default Bitbucket Cloud integration + /// public readonly bool IsDefault; + /// + /// Bitbucket Cloud namespace of the stack's repository + /// public readonly string Namespace; [OutputConstructor] diff --git a/sdk/dotnet/Outputs/GetStacksStackBitbucketDatacenterResult.cs b/sdk/dotnet/Outputs/GetStacksStackBitbucketDatacenterResult.cs index fe2b64f..da15570 100644 --- a/sdk/dotnet/Outputs/GetStacksStackBitbucketDatacenterResult.cs +++ b/sdk/dotnet/Outputs/GetStacksStackBitbucketDatacenterResult.cs @@ -13,8 +13,17 @@ namespace Pulumi.Spacelift.Outputs [OutputType] public sealed class GetStacksStackBitbucketDatacenterResult { + /// + /// ID of the Bitbucket Datacenter integration + /// public readonly string Id; + /// + /// Indicates whether this is the default Bitbucket Datacenter integration + /// public readonly bool IsDefault; + /// + /// Bitbucket Datacenter namespace of the stack's repository + /// public readonly string Namespace; [OutputConstructor] diff --git a/sdk/dotnet/Outputs/GetStacksStackCloudformationResult.cs b/sdk/dotnet/Outputs/GetStacksStackCloudformationResult.cs index 15e1c39..c653834 100644 --- a/sdk/dotnet/Outputs/GetStacksStackCloudformationResult.cs +++ b/sdk/dotnet/Outputs/GetStacksStackCloudformationResult.cs @@ -13,9 +13,21 @@ namespace Pulumi.Spacelift.Outputs [OutputType] public sealed class GetStacksStackCloudformationResult { + /// + /// Template file `cloudformation package` will be called on + /// public readonly string EntryTemplateFile; + /// + /// AWS region to use + /// public readonly string Region; + /// + /// CloudFormation stack name + /// public readonly string StackName; + /// + /// S3 bucket to save CloudFormation templates to + /// public readonly string TemplateBucket; [OutputConstructor] diff --git a/sdk/dotnet/Outputs/GetStacksStackGithubEnterpriseResult.cs b/sdk/dotnet/Outputs/GetStacksStackGithubEnterpriseResult.cs index f2da3d1..1bca26b 100644 --- a/sdk/dotnet/Outputs/GetStacksStackGithubEnterpriseResult.cs +++ b/sdk/dotnet/Outputs/GetStacksStackGithubEnterpriseResult.cs @@ -13,8 +13,17 @@ namespace Pulumi.Spacelift.Outputs [OutputType] public sealed class GetStacksStackGithubEnterpriseResult { + /// + /// ID of the GitHub Enterprise integration + /// public readonly string Id; + /// + /// Indicates whether this is the default GitHub Enterprise integration + /// public readonly bool IsDefault; + /// + /// GitHub Enterprise namespace of the stack's repository + /// public readonly string Namespace; [OutputConstructor] diff --git a/sdk/dotnet/Outputs/GetStacksStackGitlabResult.cs b/sdk/dotnet/Outputs/GetStacksStackGitlabResult.cs index ecbf3d7..99a242a 100644 --- a/sdk/dotnet/Outputs/GetStacksStackGitlabResult.cs +++ b/sdk/dotnet/Outputs/GetStacksStackGitlabResult.cs @@ -13,8 +13,17 @@ namespace Pulumi.Spacelift.Outputs [OutputType] public sealed class GetStacksStackGitlabResult { + /// + /// ID of the Gitlab integration + /// public readonly string Id; + /// + /// Indicates whether this is the default Gitlab integration + /// public readonly bool IsDefault; + /// + /// GitLab namespace of the stack's repository + /// public readonly string Namespace; [OutputConstructor] diff --git a/sdk/dotnet/Outputs/GetStacksStackKuberneteResult.cs b/sdk/dotnet/Outputs/GetStacksStackKuberneteResult.cs index d8182d7..6e3d584 100644 --- a/sdk/dotnet/Outputs/GetStacksStackKuberneteResult.cs +++ b/sdk/dotnet/Outputs/GetStacksStackKuberneteResult.cs @@ -13,7 +13,13 @@ namespace Pulumi.Spacelift.Outputs [OutputType] public sealed class GetStacksStackKuberneteResult { + /// + /// Kubectl version. + /// public readonly string KubectlVersion; + /// + /// Namespace of the Kubernetes cluster to run commands on. Leave empty for multi-namespace Stacks. + /// public readonly string Namespace; [OutputConstructor] diff --git a/sdk/dotnet/Outputs/GetStacksStackPulumiResult.cs b/sdk/dotnet/Outputs/GetStacksStackPulumiResult.cs index 74c9044..ae26106 100644 --- a/sdk/dotnet/Outputs/GetStacksStackPulumiResult.cs +++ b/sdk/dotnet/Outputs/GetStacksStackPulumiResult.cs @@ -13,7 +13,13 @@ namespace Pulumi.Spacelift.Outputs [OutputType] public sealed class GetStacksStackPulumiResult { + /// + /// State backend to log into on Run initialize. + /// public readonly string LoginUrl; + /// + /// Pulumi stack name to use with the state backend. + /// public readonly string StackName; [OutputConstructor] diff --git a/sdk/dotnet/Outputs/GetStacksStackRawGitResult.cs b/sdk/dotnet/Outputs/GetStacksStackRawGitResult.cs index a372c00..c1d63f1 100644 --- a/sdk/dotnet/Outputs/GetStacksStackRawGitResult.cs +++ b/sdk/dotnet/Outputs/GetStacksStackRawGitResult.cs @@ -13,7 +13,13 @@ namespace Pulumi.Spacelift.Outputs [OutputType] public sealed class GetStacksStackRawGitResult { + /// + /// User-friendly namespace for the repository, this is for cosmetic purposes only + /// public readonly string Namespace; + /// + /// HTTPS URL of the Git repository + /// public readonly string Url; [OutputConstructor] diff --git a/sdk/dotnet/Outputs/GetStacksStackResult.cs b/sdk/dotnet/Outputs/GetStacksStackResult.cs index f9f39e2..90d530d 100644 --- a/sdk/dotnet/Outputs/GetStacksStackResult.cs +++ b/sdk/dotnet/Outputs/GetStacksStackResult.cs @@ -13,50 +13,173 @@ namespace Pulumi.Spacelift.Outputs [OutputType] public sealed class GetStacksStackResult { + /// + /// Project globs is an optional list of paths to track changes of in addition to the project root. + /// public readonly ImmutableArray AdditionalProjectGlobs; + /// + /// indicates whether this stack can administer others + /// public readonly bool Administrative; + /// + /// List of after-apply scripts + /// public readonly ImmutableArray AfterApplies; + /// + /// List of after-destroy scripts + /// public readonly ImmutableArray AfterDestroys; + /// + /// List of after-init scripts + /// public readonly ImmutableArray AfterInits; + /// + /// List of after-perform scripts + /// public readonly ImmutableArray AfterPerforms; + /// + /// List of after-plan scripts + /// 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; + /// + /// indicates whether changes to this stack can be automatically deployed + /// public readonly bool Autodeploy; + /// + /// indicates whether obsolete proposed changes should automatically be retried + /// public readonly bool Autoretry; + /// + /// AWS IAM assume role policy statement setting up trust relationship + /// public readonly string AwsAssumeRolePolicyStatement; + /// + /// Azure DevOps VCS settings + /// public readonly ImmutableArray AzureDevops; + /// + /// List of before-apply scripts + /// public readonly ImmutableArray BeforeApplies; + /// + /// List of before-destroy scripts + /// public readonly ImmutableArray BeforeDestroys; + /// + /// List of before-init scripts + /// public readonly ImmutableArray BeforeInits; + /// + /// List of before-perform scripts + /// public readonly ImmutableArray BeforePerforms; + /// + /// List of before-plan scripts + /// public readonly ImmutableArray BeforePlans; + /// + /// Bitbucket Cloud VCS settings + /// public readonly ImmutableArray BitbucketClouds; + /// + /// Bitbucket Datacenter VCS settings + /// public readonly ImmutableArray BitbucketDatacenters; + /// + /// Repository branch to treat as the default 'main' branch + /// public readonly string Branch; + /// + /// CloudFormation-specific configuration. Presence means this Stack is a CloudFormation Stack. + /// public readonly ImmutableArray Cloudformations; + /// + /// free-form stack description for users + /// public readonly string Description; + /// + /// Indicates whether local preview runs can be triggered on this Stack. + /// public readonly bool EnableLocalPreview; + /// + /// GitHub Enterprise (self-hosted) VCS settings + /// public readonly ImmutableArray GithubEnterprises; + /// + /// GitLab VCS settings + /// public readonly ImmutableArray Gitlabs; + /// + /// Kubernetes-specific configuration. Presence means this Stack is a Kubernetes Stack. + /// public readonly ImmutableArray Kubernetes; public readonly ImmutableArray Labels; + /// + /// Determines if Spacelift should manage state for this stack + /// public readonly bool ManageState; + /// + /// Name of the stack - should be unique in one account + /// public readonly string Name; + /// + /// Project root is the optional directory relative to the workspace root containing the entrypoint to the Stack. + /// public readonly string ProjectRoot; + /// + /// Protect this stack from accidental deletion. If set, attempts to delete this stack will fail. + /// public readonly bool ProtectFromDeletion; + /// + /// Pulumi-specific configuration. Presence means this Stack is a Pulumi Stack. + /// 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; + /// + /// Name of the Docker image used to process Runs + /// public readonly string RunnerImage; + /// + /// Showcase-related attributes + /// public readonly ImmutableArray Showcases; + /// + /// ID (slug) of the space the stack is in + /// public readonly string SpaceId; + /// + /// 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 + /// public readonly string WorkerPoolId; [OutputConstructor] diff --git a/sdk/dotnet/Outputs/GetStacksStackShowcaseResult.cs b/sdk/dotnet/Outputs/GetStacksStackShowcaseResult.cs index bb7895b..306a838 100644 --- a/sdk/dotnet/Outputs/GetStacksStackShowcaseResult.cs +++ b/sdk/dotnet/Outputs/GetStacksStackShowcaseResult.cs @@ -13,6 +13,9 @@ namespace Pulumi.Spacelift.Outputs [OutputType] public sealed class GetStacksStackShowcaseResult { + /// + /// GitHub namespace of the stack's repository + /// public readonly string Namespace; [OutputConstructor] diff --git a/sdk/dotnet/Outputs/GetVcsAgentPoolsVcsAgentPoolResult.cs b/sdk/dotnet/Outputs/GetVcsAgentPoolsVcsAgentPoolResult.cs index bafc981..756f224 100644 --- a/sdk/dotnet/Outputs/GetVcsAgentPoolsVcsAgentPoolResult.cs +++ b/sdk/dotnet/Outputs/GetVcsAgentPoolsVcsAgentPoolResult.cs @@ -13,8 +13,17 @@ namespace Pulumi.Spacelift.Outputs [OutputType] public sealed class GetVcsAgentPoolsVcsAgentPoolResult { + /// + /// Free-form VCS agent pool description for users + /// public readonly string Description; + /// + /// Name of the VCS agent pool + /// public readonly string Name; + /// + /// ID of the VCS agent pool to retrieve + /// public readonly string VcsAgentPoolId; [OutputConstructor] diff --git a/sdk/dotnet/Outputs/GetWorkerPoolsWorkerPoolResult.cs b/sdk/dotnet/Outputs/GetWorkerPoolsWorkerPoolResult.cs index f980993..35710d9 100644 --- a/sdk/dotnet/Outputs/GetWorkerPoolsWorkerPoolResult.cs +++ b/sdk/dotnet/Outputs/GetWorkerPoolsWorkerPoolResult.cs @@ -13,10 +13,25 @@ namespace Pulumi.Spacelift.Outputs [OutputType] public sealed class GetWorkerPoolsWorkerPoolResult { + /// + /// credentials necessary to connect WorkerPool's workers to the control plane + /// public readonly string Config; + /// + /// description of the worker pool + /// public readonly string Description; + /// + /// name of the worker pool + /// public readonly string Name; + /// + /// ID (slug) of the space the worker pool is in + /// public readonly string SpaceId; + /// + /// ID of the worker pool + /// public readonly string WorkerPoolId; [OutputConstructor] diff --git a/sdk/dotnet/WorkerPool.cs b/sdk/dotnet/WorkerPool.cs index 4af71f6..b819989 100644 --- a/sdk/dotnet/WorkerPool.cs +++ b/sdk/dotnet/WorkerPool.cs @@ -22,9 +22,11 @@ namespace Pulumi.Spacelift /// using Pulumi; /// using Spacelift = Pulumi.Spacelift; /// - /// private static string ReadFileBase64(string path) { - /// return Convert.ToBase64String(System.Text.Encoding.UTF8.GetBytes(File.ReadAllText(path))); - /// } + /// + /// string ReadFileBase64(string path) + /// { + /// return Convert.ToBase64String(Encoding.UTF8.GetBytes(File.ReadAllText(path))); + /// } /// /// return await Deployment.RunAsync(() => /// { diff --git a/sdk/go/spacelift/auditTrailWebhook.go b/sdk/go/spacelift/auditTrailWebhook.go index 7ff726c..984b916 100644 --- a/sdk/go/spacelift/auditTrailWebhook.go +++ b/sdk/go/spacelift/auditTrailWebhook.go @@ -9,7 +9,6 @@ import ( "errors" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" "github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift/internal" ) @@ -172,12 +171,6 @@ func (i *AuditTrailWebhook) ToAuditTrailWebhookOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(AuditTrailWebhookOutput) } -func (i *AuditTrailWebhook) ToOutput(ctx context.Context) pulumix.Output[*AuditTrailWebhook] { - return pulumix.Output[*AuditTrailWebhook]{ - OutputState: i.ToAuditTrailWebhookOutputWithContext(ctx).OutputState, - } -} - // AuditTrailWebhookArrayInput is an input type that accepts AuditTrailWebhookArray and AuditTrailWebhookArrayOutput values. // You can construct a concrete instance of `AuditTrailWebhookArrayInput` via: // @@ -203,12 +196,6 @@ func (i AuditTrailWebhookArray) ToAuditTrailWebhookArrayOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(AuditTrailWebhookArrayOutput) } -func (i AuditTrailWebhookArray) ToOutput(ctx context.Context) pulumix.Output[[]*AuditTrailWebhook] { - return pulumix.Output[[]*AuditTrailWebhook]{ - OutputState: i.ToAuditTrailWebhookArrayOutputWithContext(ctx).OutputState, - } -} - // AuditTrailWebhookMapInput is an input type that accepts AuditTrailWebhookMap and AuditTrailWebhookMapOutput values. // You can construct a concrete instance of `AuditTrailWebhookMapInput` via: // @@ -234,12 +221,6 @@ func (i AuditTrailWebhookMap) ToAuditTrailWebhookMapOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(AuditTrailWebhookMapOutput) } -func (i AuditTrailWebhookMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*AuditTrailWebhook] { - return pulumix.Output[map[string]*AuditTrailWebhook]{ - OutputState: i.ToAuditTrailWebhookMapOutputWithContext(ctx).OutputState, - } -} - type AuditTrailWebhookOutput struct{ *pulumi.OutputState } func (AuditTrailWebhookOutput) ElementType() reflect.Type { @@ -254,12 +235,6 @@ func (o AuditTrailWebhookOutput) ToAuditTrailWebhookOutputWithContext(ctx contex return o } -func (o AuditTrailWebhookOutput) ToOutput(ctx context.Context) pulumix.Output[*AuditTrailWebhook] { - return pulumix.Output[*AuditTrailWebhook]{ - OutputState: o.OutputState, - } -} - // `enabled` determines whether the webhook is enabled. If it is not, Spacelift will not send any requests to the endpoint. func (o AuditTrailWebhookOutput) Enabled() pulumi.BoolOutput { return o.ApplyT(func(v *AuditTrailWebhook) pulumi.BoolOutput { return v.Enabled }).(pulumi.BoolOutput) @@ -294,12 +269,6 @@ func (o AuditTrailWebhookArrayOutput) ToAuditTrailWebhookArrayOutputWithContext( return o } -func (o AuditTrailWebhookArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*AuditTrailWebhook] { - return pulumix.Output[[]*AuditTrailWebhook]{ - OutputState: o.OutputState, - } -} - func (o AuditTrailWebhookArrayOutput) Index(i pulumi.IntInput) AuditTrailWebhookOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *AuditTrailWebhook { return vs[0].([]*AuditTrailWebhook)[vs[1].(int)] @@ -320,12 +289,6 @@ func (o AuditTrailWebhookMapOutput) ToAuditTrailWebhookMapOutputWithContext(ctx return o } -func (o AuditTrailWebhookMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*AuditTrailWebhook] { - return pulumix.Output[map[string]*AuditTrailWebhook]{ - OutputState: o.OutputState, - } -} - func (o AuditTrailWebhookMapOutput) MapIndex(k pulumi.StringInput) AuditTrailWebhookOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *AuditTrailWebhook { return vs[0].(map[string]*AuditTrailWebhook)[vs[1].(string)] diff --git a/sdk/go/spacelift/awsIntegration.go b/sdk/go/spacelift/awsIntegration.go index d285c91..bdb6746 100644 --- a/sdk/go/spacelift/awsIntegration.go +++ b/sdk/go/spacelift/awsIntegration.go @@ -9,7 +9,6 @@ import ( "errors" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" "github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift/internal" ) @@ -171,12 +170,6 @@ func (i *AwsIntegration) ToAwsIntegrationOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(AwsIntegrationOutput) } -func (i *AwsIntegration) ToOutput(ctx context.Context) pulumix.Output[*AwsIntegration] { - return pulumix.Output[*AwsIntegration]{ - OutputState: i.ToAwsIntegrationOutputWithContext(ctx).OutputState, - } -} - // AwsIntegrationArrayInput is an input type that accepts AwsIntegrationArray and AwsIntegrationArrayOutput values. // You can construct a concrete instance of `AwsIntegrationArrayInput` via: // @@ -202,12 +195,6 @@ func (i AwsIntegrationArray) ToAwsIntegrationArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(AwsIntegrationArrayOutput) } -func (i AwsIntegrationArray) ToOutput(ctx context.Context) pulumix.Output[[]*AwsIntegration] { - return pulumix.Output[[]*AwsIntegration]{ - OutputState: i.ToAwsIntegrationArrayOutputWithContext(ctx).OutputState, - } -} - // AwsIntegrationMapInput is an input type that accepts AwsIntegrationMap and AwsIntegrationMapOutput values. // You can construct a concrete instance of `AwsIntegrationMapInput` via: // @@ -233,12 +220,6 @@ func (i AwsIntegrationMap) ToAwsIntegrationMapOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(AwsIntegrationMapOutput) } -func (i AwsIntegrationMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*AwsIntegration] { - return pulumix.Output[map[string]*AwsIntegration]{ - OutputState: i.ToAwsIntegrationMapOutputWithContext(ctx).OutputState, - } -} - type AwsIntegrationOutput struct{ *pulumi.OutputState } func (AwsIntegrationOutput) ElementType() reflect.Type { @@ -253,12 +234,6 @@ func (o AwsIntegrationOutput) ToAwsIntegrationOutputWithContext(ctx context.Cont return o } -func (o AwsIntegrationOutput) ToOutput(ctx context.Context) pulumix.Output[*AwsIntegration] { - return pulumix.Output[*AwsIntegration]{ - OutputState: o.OutputState, - } -} - // Duration in seconds for which the assumed role credentials should be valid. Defaults to `900`. func (o AwsIntegrationOutput) DurationSeconds() pulumi.IntPtrOutput { return o.ApplyT(func(v *AwsIntegration) pulumi.IntPtrOutput { return v.DurationSeconds }).(pulumi.IntPtrOutput) @@ -308,12 +283,6 @@ func (o AwsIntegrationArrayOutput) ToAwsIntegrationArrayOutputWithContext(ctx co return o } -func (o AwsIntegrationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*AwsIntegration] { - return pulumix.Output[[]*AwsIntegration]{ - OutputState: o.OutputState, - } -} - func (o AwsIntegrationArrayOutput) Index(i pulumi.IntInput) AwsIntegrationOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *AwsIntegration { return vs[0].([]*AwsIntegration)[vs[1].(int)] @@ -334,12 +303,6 @@ func (o AwsIntegrationMapOutput) ToAwsIntegrationMapOutputWithContext(ctx contex return o } -func (o AwsIntegrationMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*AwsIntegration] { - return pulumix.Output[map[string]*AwsIntegration]{ - OutputState: o.OutputState, - } -} - func (o AwsIntegrationMapOutput) MapIndex(k pulumi.StringInput) AwsIntegrationOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *AwsIntegration { return vs[0].(map[string]*AwsIntegration)[vs[1].(string)] diff --git a/sdk/go/spacelift/awsIntegrationAttachment.go b/sdk/go/spacelift/awsIntegrationAttachment.go index 045e05c..bcc8a7c 100644 --- a/sdk/go/spacelift/awsIntegrationAttachment.go +++ b/sdk/go/spacelift/awsIntegrationAttachment.go @@ -9,7 +9,6 @@ import ( "errors" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" "github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift/internal" ) @@ -29,6 +28,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { +// // For a stack // _, err := spacelift.NewAwsIntegrationAttachment(ctx, "thisAwsIntegrationAttachment", &spacelift.AwsIntegrationAttachmentArgs{ // IntegrationId: pulumi.Any(spacelift_aws_integration.This.Id), // StackId: pulumi.String("my-stack-id"), @@ -40,6 +40,7 @@ import ( // if err != nil { // return err // } +// // For a module // _, err = spacelift.NewAwsIntegrationAttachment(ctx, "thisIndex/awsIntegrationAttachmentAwsIntegrationAttachment", &spacelift.AwsIntegrationAttachmentArgs{ // IntegrationId: pulumi.Any(spacelift_aws_integration.This.Id), // ModuleId: pulumi.String("my-module-id"), @@ -197,12 +198,6 @@ func (i *AwsIntegrationAttachment) ToAwsIntegrationAttachmentOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(AwsIntegrationAttachmentOutput) } -func (i *AwsIntegrationAttachment) ToOutput(ctx context.Context) pulumix.Output[*AwsIntegrationAttachment] { - return pulumix.Output[*AwsIntegrationAttachment]{ - OutputState: i.ToAwsIntegrationAttachmentOutputWithContext(ctx).OutputState, - } -} - // AwsIntegrationAttachmentArrayInput is an input type that accepts AwsIntegrationAttachmentArray and AwsIntegrationAttachmentArrayOutput values. // You can construct a concrete instance of `AwsIntegrationAttachmentArrayInput` via: // @@ -228,12 +223,6 @@ func (i AwsIntegrationAttachmentArray) ToAwsIntegrationAttachmentArrayOutputWith return pulumi.ToOutputWithContext(ctx, i).(AwsIntegrationAttachmentArrayOutput) } -func (i AwsIntegrationAttachmentArray) ToOutput(ctx context.Context) pulumix.Output[[]*AwsIntegrationAttachment] { - return pulumix.Output[[]*AwsIntegrationAttachment]{ - OutputState: i.ToAwsIntegrationAttachmentArrayOutputWithContext(ctx).OutputState, - } -} - // AwsIntegrationAttachmentMapInput is an input type that accepts AwsIntegrationAttachmentMap and AwsIntegrationAttachmentMapOutput values. // You can construct a concrete instance of `AwsIntegrationAttachmentMapInput` via: // @@ -259,12 +248,6 @@ func (i AwsIntegrationAttachmentMap) ToAwsIntegrationAttachmentMapOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(AwsIntegrationAttachmentMapOutput) } -func (i AwsIntegrationAttachmentMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*AwsIntegrationAttachment] { - return pulumix.Output[map[string]*AwsIntegrationAttachment]{ - OutputState: i.ToAwsIntegrationAttachmentMapOutputWithContext(ctx).OutputState, - } -} - type AwsIntegrationAttachmentOutput struct{ *pulumi.OutputState } func (AwsIntegrationAttachmentOutput) ElementType() reflect.Type { @@ -279,12 +262,6 @@ func (o AwsIntegrationAttachmentOutput) ToAwsIntegrationAttachmentOutputWithCont return o } -func (o AwsIntegrationAttachmentOutput) ToOutput(ctx context.Context) pulumix.Output[*AwsIntegrationAttachment] { - return pulumix.Output[*AwsIntegrationAttachment]{ - OutputState: o.OutputState, - } -} - // Internal ID of the attachment entity func (o AwsIntegrationAttachmentOutput) AttachmentId() pulumi.StringOutput { return o.ApplyT(func(v *AwsIntegrationAttachment) pulumi.StringOutput { return v.AttachmentId }).(pulumi.StringOutput) @@ -329,12 +306,6 @@ func (o AwsIntegrationAttachmentArrayOutput) ToAwsIntegrationAttachmentArrayOutp return o } -func (o AwsIntegrationAttachmentArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*AwsIntegrationAttachment] { - return pulumix.Output[[]*AwsIntegrationAttachment]{ - OutputState: o.OutputState, - } -} - func (o AwsIntegrationAttachmentArrayOutput) Index(i pulumi.IntInput) AwsIntegrationAttachmentOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *AwsIntegrationAttachment { return vs[0].([]*AwsIntegrationAttachment)[vs[1].(int)] @@ -355,12 +326,6 @@ func (o AwsIntegrationAttachmentMapOutput) ToAwsIntegrationAttachmentMapOutputWi return o } -func (o AwsIntegrationAttachmentMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*AwsIntegrationAttachment] { - return pulumix.Output[map[string]*AwsIntegrationAttachment]{ - OutputState: o.OutputState, - } -} - func (o AwsIntegrationAttachmentMapOutput) MapIndex(k pulumi.StringInput) AwsIntegrationAttachmentOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *AwsIntegrationAttachment { return vs[0].(map[string]*AwsIntegrationAttachment)[vs[1].(string)] diff --git a/sdk/go/spacelift/awsRole.go b/sdk/go/spacelift/awsRole.go index 5c83edb..e191564 100644 --- a/sdk/go/spacelift/awsRole.go +++ b/sdk/go/spacelift/awsRole.go @@ -9,7 +9,6 @@ import ( "errors" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" "github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift/internal" ) @@ -171,12 +170,6 @@ func (i *AwsRole) ToAwsRoleOutputWithContext(ctx context.Context) AwsRoleOutput return pulumi.ToOutputWithContext(ctx, i).(AwsRoleOutput) } -func (i *AwsRole) ToOutput(ctx context.Context) pulumix.Output[*AwsRole] { - return pulumix.Output[*AwsRole]{ - OutputState: i.ToAwsRoleOutputWithContext(ctx).OutputState, - } -} - // AwsRoleArrayInput is an input type that accepts AwsRoleArray and AwsRoleArrayOutput values. // You can construct a concrete instance of `AwsRoleArrayInput` via: // @@ -202,12 +195,6 @@ func (i AwsRoleArray) ToAwsRoleArrayOutputWithContext(ctx context.Context) AwsRo return pulumi.ToOutputWithContext(ctx, i).(AwsRoleArrayOutput) } -func (i AwsRoleArray) ToOutput(ctx context.Context) pulumix.Output[[]*AwsRole] { - return pulumix.Output[[]*AwsRole]{ - OutputState: i.ToAwsRoleArrayOutputWithContext(ctx).OutputState, - } -} - // AwsRoleMapInput is an input type that accepts AwsRoleMap and AwsRoleMapOutput values. // You can construct a concrete instance of `AwsRoleMapInput` via: // @@ -233,12 +220,6 @@ func (i AwsRoleMap) ToAwsRoleMapOutputWithContext(ctx context.Context) AwsRoleMa return pulumi.ToOutputWithContext(ctx, i).(AwsRoleMapOutput) } -func (i AwsRoleMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*AwsRole] { - return pulumix.Output[map[string]*AwsRole]{ - OutputState: i.ToAwsRoleMapOutputWithContext(ctx).OutputState, - } -} - type AwsRoleOutput struct{ *pulumi.OutputState } func (AwsRoleOutput) ElementType() reflect.Type { @@ -253,12 +234,6 @@ func (o AwsRoleOutput) ToAwsRoleOutputWithContext(ctx context.Context) AwsRoleOu return o } -func (o AwsRoleOutput) ToOutput(ctx context.Context) pulumix.Output[*AwsRole] { - return pulumix.Output[*AwsRole]{ - OutputState: o.OutputState, - } -} - // AWS IAM role session duration in seconds func (o AwsRoleOutput) DurationSeconds() pulumi.IntOutput { return o.ApplyT(func(v *AwsRole) pulumi.IntOutput { return v.DurationSeconds }).(pulumi.IntOutput) @@ -303,12 +278,6 @@ func (o AwsRoleArrayOutput) ToAwsRoleArrayOutputWithContext(ctx context.Context) return o } -func (o AwsRoleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*AwsRole] { - return pulumix.Output[[]*AwsRole]{ - OutputState: o.OutputState, - } -} - func (o AwsRoleArrayOutput) Index(i pulumi.IntInput) AwsRoleOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *AwsRole { return vs[0].([]*AwsRole)[vs[1].(int)] @@ -329,12 +298,6 @@ func (o AwsRoleMapOutput) ToAwsRoleMapOutputWithContext(ctx context.Context) Aws return o } -func (o AwsRoleMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*AwsRole] { - return pulumix.Output[map[string]*AwsRole]{ - OutputState: o.OutputState, - } -} - func (o AwsRoleMapOutput) MapIndex(k pulumi.StringInput) AwsRoleOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *AwsRole { return vs[0].(map[string]*AwsRole)[vs[1].(string)] diff --git a/sdk/go/spacelift/azureIntegration.go b/sdk/go/spacelift/azureIntegration.go index ba0d19e..3686c75 100644 --- a/sdk/go/spacelift/azureIntegration.go +++ b/sdk/go/spacelift/azureIntegration.go @@ -9,7 +9,6 @@ import ( "errors" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" "github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift/internal" ) @@ -204,12 +203,6 @@ func (i *AzureIntegration) ToAzureIntegrationOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(AzureIntegrationOutput) } -func (i *AzureIntegration) ToOutput(ctx context.Context) pulumix.Output[*AzureIntegration] { - return pulumix.Output[*AzureIntegration]{ - OutputState: i.ToAzureIntegrationOutputWithContext(ctx).OutputState, - } -} - // AzureIntegrationArrayInput is an input type that accepts AzureIntegrationArray and AzureIntegrationArrayOutput values. // You can construct a concrete instance of `AzureIntegrationArrayInput` via: // @@ -235,12 +228,6 @@ func (i AzureIntegrationArray) ToAzureIntegrationArrayOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(AzureIntegrationArrayOutput) } -func (i AzureIntegrationArray) ToOutput(ctx context.Context) pulumix.Output[[]*AzureIntegration] { - return pulumix.Output[[]*AzureIntegration]{ - OutputState: i.ToAzureIntegrationArrayOutputWithContext(ctx).OutputState, - } -} - // AzureIntegrationMapInput is an input type that accepts AzureIntegrationMap and AzureIntegrationMapOutput values. // You can construct a concrete instance of `AzureIntegrationMapInput` via: // @@ -266,12 +253,6 @@ func (i AzureIntegrationMap) ToAzureIntegrationMapOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(AzureIntegrationMapOutput) } -func (i AzureIntegrationMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*AzureIntegration] { - return pulumix.Output[map[string]*AzureIntegration]{ - OutputState: i.ToAzureIntegrationMapOutputWithContext(ctx).OutputState, - } -} - type AzureIntegrationOutput struct{ *pulumi.OutputState } func (AzureIntegrationOutput) ElementType() reflect.Type { @@ -286,12 +267,6 @@ func (o AzureIntegrationOutput) ToAzureIntegrationOutputWithContext(ctx context. return o } -func (o AzureIntegrationOutput) ToOutput(ctx context.Context) pulumix.Output[*AzureIntegration] { - return pulumix.Output[*AzureIntegration]{ - OutputState: o.OutputState, - } -} - // Indicates whether admin consent has been performed for the AAD Application. func (o AzureIntegrationOutput) AdminConsentProvided() pulumi.BoolOutput { return o.ApplyT(func(v *AzureIntegration) pulumi.BoolOutput { return v.AdminConsentProvided }).(pulumi.BoolOutput) @@ -351,12 +326,6 @@ func (o AzureIntegrationArrayOutput) ToAzureIntegrationArrayOutputWithContext(ct return o } -func (o AzureIntegrationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*AzureIntegration] { - return pulumix.Output[[]*AzureIntegration]{ - OutputState: o.OutputState, - } -} - func (o AzureIntegrationArrayOutput) Index(i pulumi.IntInput) AzureIntegrationOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *AzureIntegration { return vs[0].([]*AzureIntegration)[vs[1].(int)] @@ -377,12 +346,6 @@ func (o AzureIntegrationMapOutput) ToAzureIntegrationMapOutputWithContext(ctx co return o } -func (o AzureIntegrationMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*AzureIntegration] { - return pulumix.Output[map[string]*AzureIntegration]{ - OutputState: o.OutputState, - } -} - func (o AzureIntegrationMapOutput) MapIndex(k pulumi.StringInput) AzureIntegrationOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *AzureIntegration { return vs[0].(map[string]*AzureIntegration)[vs[1].(string)] diff --git a/sdk/go/spacelift/azureIntegrationAttachment.go b/sdk/go/spacelift/azureIntegrationAttachment.go index ea07af4..c40b900 100644 --- a/sdk/go/spacelift/azureIntegrationAttachment.go +++ b/sdk/go/spacelift/azureIntegrationAttachment.go @@ -9,7 +9,6 @@ import ( "errors" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" "github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift/internal" ) @@ -29,6 +28,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { +// // For a stack // _, err := spacelift.NewAzureIntegrationAttachment(ctx, "readonly", &spacelift.AzureIntegrationAttachmentArgs{ // IntegrationId: pulumi.Any(spacelift_azure_integration.Example.Id), // StackId: pulumi.Any(spacelift_stack.Example.Id), @@ -38,6 +38,7 @@ import ( // if err != nil { // return err // } +// // For a module // _, err = spacelift.NewAzureIntegrationAttachment(ctx, "writeonly", &spacelift.AzureIntegrationAttachmentArgs{ // IntegrationId: pulumi.Any(spacelift_azure_integration.Example.Id), // StackId: pulumi.Any(spacelift_module.Example.Id), @@ -209,12 +210,6 @@ func (i *AzureIntegrationAttachment) ToAzureIntegrationAttachmentOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(AzureIntegrationAttachmentOutput) } -func (i *AzureIntegrationAttachment) ToOutput(ctx context.Context) pulumix.Output[*AzureIntegrationAttachment] { - return pulumix.Output[*AzureIntegrationAttachment]{ - OutputState: i.ToAzureIntegrationAttachmentOutputWithContext(ctx).OutputState, - } -} - // AzureIntegrationAttachmentArrayInput is an input type that accepts AzureIntegrationAttachmentArray and AzureIntegrationAttachmentArrayOutput values. // You can construct a concrete instance of `AzureIntegrationAttachmentArrayInput` via: // @@ -240,12 +235,6 @@ func (i AzureIntegrationAttachmentArray) ToAzureIntegrationAttachmentArrayOutput return pulumi.ToOutputWithContext(ctx, i).(AzureIntegrationAttachmentArrayOutput) } -func (i AzureIntegrationAttachmentArray) ToOutput(ctx context.Context) pulumix.Output[[]*AzureIntegrationAttachment] { - return pulumix.Output[[]*AzureIntegrationAttachment]{ - OutputState: i.ToAzureIntegrationAttachmentArrayOutputWithContext(ctx).OutputState, - } -} - // AzureIntegrationAttachmentMapInput is an input type that accepts AzureIntegrationAttachmentMap and AzureIntegrationAttachmentMapOutput values. // You can construct a concrete instance of `AzureIntegrationAttachmentMapInput` via: // @@ -271,12 +260,6 @@ func (i AzureIntegrationAttachmentMap) ToAzureIntegrationAttachmentMapOutputWith return pulumi.ToOutputWithContext(ctx, i).(AzureIntegrationAttachmentMapOutput) } -func (i AzureIntegrationAttachmentMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*AzureIntegrationAttachment] { - return pulumix.Output[map[string]*AzureIntegrationAttachment]{ - OutputState: i.ToAzureIntegrationAttachmentMapOutputWithContext(ctx).OutputState, - } -} - type AzureIntegrationAttachmentOutput struct{ *pulumi.OutputState } func (AzureIntegrationAttachmentOutput) ElementType() reflect.Type { @@ -291,12 +274,6 @@ func (o AzureIntegrationAttachmentOutput) ToAzureIntegrationAttachmentOutputWith return o } -func (o AzureIntegrationAttachmentOutput) ToOutput(ctx context.Context) pulumix.Output[*AzureIntegrationAttachment] { - return pulumix.Output[*AzureIntegrationAttachment]{ - OutputState: o.OutputState, - } -} - // Internal ID of the attachment entity func (o AzureIntegrationAttachmentOutput) AttachmentId() pulumi.StringOutput { return o.ApplyT(func(v *AzureIntegrationAttachment) pulumi.StringOutput { return v.AttachmentId }).(pulumi.StringOutput) @@ -346,12 +323,6 @@ func (o AzureIntegrationAttachmentArrayOutput) ToAzureIntegrationAttachmentArray return o } -func (o AzureIntegrationAttachmentArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*AzureIntegrationAttachment] { - return pulumix.Output[[]*AzureIntegrationAttachment]{ - OutputState: o.OutputState, - } -} - func (o AzureIntegrationAttachmentArrayOutput) Index(i pulumi.IntInput) AzureIntegrationAttachmentOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *AzureIntegrationAttachment { return vs[0].([]*AzureIntegrationAttachment)[vs[1].(int)] @@ -372,12 +343,6 @@ func (o AzureIntegrationAttachmentMapOutput) ToAzureIntegrationAttachmentMapOutp return o } -func (o AzureIntegrationAttachmentMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*AzureIntegrationAttachment] { - return pulumix.Output[map[string]*AzureIntegrationAttachment]{ - OutputState: o.OutputState, - } -} - func (o AzureIntegrationAttachmentMapOutput) MapIndex(k pulumi.StringInput) AzureIntegrationAttachmentOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *AzureIntegrationAttachment { return vs[0].(map[string]*AzureIntegrationAttachment)[vs[1].(string)] diff --git a/sdk/go/spacelift/blueprint.go b/sdk/go/spacelift/blueprint.go index 156e641..5e695a8 100644 --- a/sdk/go/spacelift/blueprint.go +++ b/sdk/go/spacelift/blueprint.go @@ -9,7 +9,6 @@ import ( "errors" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" "github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift/internal" ) @@ -153,12 +152,6 @@ func (i *Blueprint) ToBlueprintOutputWithContext(ctx context.Context) BlueprintO return pulumi.ToOutputWithContext(ctx, i).(BlueprintOutput) } -func (i *Blueprint) ToOutput(ctx context.Context) pulumix.Output[*Blueprint] { - return pulumix.Output[*Blueprint]{ - OutputState: i.ToBlueprintOutputWithContext(ctx).OutputState, - } -} - // BlueprintArrayInput is an input type that accepts BlueprintArray and BlueprintArrayOutput values. // You can construct a concrete instance of `BlueprintArrayInput` via: // @@ -184,12 +177,6 @@ func (i BlueprintArray) ToBlueprintArrayOutputWithContext(ctx context.Context) B return pulumi.ToOutputWithContext(ctx, i).(BlueprintArrayOutput) } -func (i BlueprintArray) ToOutput(ctx context.Context) pulumix.Output[[]*Blueprint] { - return pulumix.Output[[]*Blueprint]{ - OutputState: i.ToBlueprintArrayOutputWithContext(ctx).OutputState, - } -} - // BlueprintMapInput is an input type that accepts BlueprintMap and BlueprintMapOutput values. // You can construct a concrete instance of `BlueprintMapInput` via: // @@ -215,12 +202,6 @@ func (i BlueprintMap) ToBlueprintMapOutputWithContext(ctx context.Context) Bluep return pulumi.ToOutputWithContext(ctx, i).(BlueprintMapOutput) } -func (i BlueprintMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*Blueprint] { - return pulumix.Output[map[string]*Blueprint]{ - OutputState: i.ToBlueprintMapOutputWithContext(ctx).OutputState, - } -} - type BlueprintOutput struct{ *pulumi.OutputState } func (BlueprintOutput) ElementType() reflect.Type { @@ -235,12 +216,6 @@ func (o BlueprintOutput) ToBlueprintOutputWithContext(ctx context.Context) Bluep return o } -func (o BlueprintOutput) ToOutput(ctx context.Context) pulumix.Output[*Blueprint] { - return pulumix.Output[*Blueprint]{ - OutputState: o.OutputState, - } -} - // Description of the blueprint func (o BlueprintOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v *Blueprint) pulumi.StringPtrOutput { return v.Description }).(pulumi.StringPtrOutput) @@ -285,12 +260,6 @@ func (o BlueprintArrayOutput) ToBlueprintArrayOutputWithContext(ctx context.Cont return o } -func (o BlueprintArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*Blueprint] { - return pulumix.Output[[]*Blueprint]{ - OutputState: o.OutputState, - } -} - func (o BlueprintArrayOutput) Index(i pulumi.IntInput) BlueprintOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *Blueprint { return vs[0].([]*Blueprint)[vs[1].(int)] @@ -311,12 +280,6 @@ func (o BlueprintMapOutput) ToBlueprintMapOutputWithContext(ctx context.Context) return o } -func (o BlueprintMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*Blueprint] { - return pulumix.Output[map[string]*Blueprint]{ - OutputState: o.OutputState, - } -} - func (o BlueprintMapOutput) MapIndex(k pulumi.StringInput) BlueprintOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *Blueprint { return vs[0].(map[string]*Blueprint)[vs[1].(string)] diff --git a/sdk/go/spacelift/context.go b/sdk/go/spacelift/context.go index 2c96d9f..ae1e6f5 100644 --- a/sdk/go/spacelift/context.go +++ b/sdk/go/spacelift/context.go @@ -8,7 +8,6 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" "github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift/internal" ) @@ -266,12 +265,6 @@ func (i *Context) ToContextOutputWithContext(ctx context.Context) ContextOutput return pulumi.ToOutputWithContext(ctx, i).(ContextOutput) } -func (i *Context) ToOutput(ctx context.Context) pulumix.Output[*Context] { - return pulumix.Output[*Context]{ - OutputState: i.ToContextOutputWithContext(ctx).OutputState, - } -} - // ContextArrayInput is an input type that accepts ContextArray and ContextArrayOutput values. // You can construct a concrete instance of `ContextArrayInput` via: // @@ -297,12 +290,6 @@ func (i ContextArray) ToContextArrayOutputWithContext(ctx context.Context) Conte return pulumi.ToOutputWithContext(ctx, i).(ContextArrayOutput) } -func (i ContextArray) ToOutput(ctx context.Context) pulumix.Output[[]*Context] { - return pulumix.Output[[]*Context]{ - OutputState: i.ToContextArrayOutputWithContext(ctx).OutputState, - } -} - // ContextMapInput is an input type that accepts ContextMap and ContextMapOutput values. // You can construct a concrete instance of `ContextMapInput` via: // @@ -328,12 +315,6 @@ func (i ContextMap) ToContextMapOutputWithContext(ctx context.Context) ContextMa return pulumi.ToOutputWithContext(ctx, i).(ContextMapOutput) } -func (i ContextMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*Context] { - return pulumix.Output[map[string]*Context]{ - OutputState: i.ToContextMapOutputWithContext(ctx).OutputState, - } -} - type ContextOutput struct{ *pulumi.OutputState } func (ContextOutput) ElementType() reflect.Type { @@ -348,12 +329,6 @@ func (o ContextOutput) ToContextOutputWithContext(ctx context.Context) ContextOu return o } -func (o ContextOutput) ToOutput(ctx context.Context) pulumix.Output[*Context] { - return pulumix.Output[*Context]{ - OutputState: o.OutputState, - } -} - // List of after-apply scripts func (o ContextOutput) AfterApplies() pulumi.StringArrayOutput { return o.ApplyT(func(v *Context) pulumi.StringArrayOutput { return v.AfterApplies }).(pulumi.StringArrayOutput) @@ -442,12 +417,6 @@ func (o ContextArrayOutput) ToContextArrayOutputWithContext(ctx context.Context) return o } -func (o ContextArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*Context] { - return pulumix.Output[[]*Context]{ - OutputState: o.OutputState, - } -} - func (o ContextArrayOutput) Index(i pulumi.IntInput) ContextOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *Context { return vs[0].([]*Context)[vs[1].(int)] @@ -468,12 +437,6 @@ func (o ContextMapOutput) ToContextMapOutputWithContext(ctx context.Context) Con return o } -func (o ContextMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*Context] { - return pulumix.Output[map[string]*Context]{ - OutputState: o.OutputState, - } -} - func (o ContextMapOutput) MapIndex(k pulumi.StringInput) ContextOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *Context { return vs[0].(map[string]*Context)[vs[1].(string)] diff --git a/sdk/go/spacelift/contextAttachment.go b/sdk/go/spacelift/contextAttachment.go index ecb5562..d7c3a77 100644 --- a/sdk/go/spacelift/contextAttachment.go +++ b/sdk/go/spacelift/contextAttachment.go @@ -9,7 +9,6 @@ import ( "errors" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" "github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift/internal" ) @@ -29,6 +28,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { +// // For a module // _, err := spacelift.NewContextAttachment(ctx, "attachment", &spacelift.ContextAttachmentArgs{ // ContextId: pulumi.String("prod-k8s-ie"), // ModuleId: pulumi.String("k8s-module"), @@ -167,12 +167,6 @@ func (i *ContextAttachment) ToContextAttachmentOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(ContextAttachmentOutput) } -func (i *ContextAttachment) ToOutput(ctx context.Context) pulumix.Output[*ContextAttachment] { - return pulumix.Output[*ContextAttachment]{ - OutputState: i.ToContextAttachmentOutputWithContext(ctx).OutputState, - } -} - // ContextAttachmentArrayInput is an input type that accepts ContextAttachmentArray and ContextAttachmentArrayOutput values. // You can construct a concrete instance of `ContextAttachmentArrayInput` via: // @@ -198,12 +192,6 @@ func (i ContextAttachmentArray) ToContextAttachmentArrayOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(ContextAttachmentArrayOutput) } -func (i ContextAttachmentArray) ToOutput(ctx context.Context) pulumix.Output[[]*ContextAttachment] { - return pulumix.Output[[]*ContextAttachment]{ - OutputState: i.ToContextAttachmentArrayOutputWithContext(ctx).OutputState, - } -} - // ContextAttachmentMapInput is an input type that accepts ContextAttachmentMap and ContextAttachmentMapOutput values. // You can construct a concrete instance of `ContextAttachmentMapInput` via: // @@ -229,12 +217,6 @@ func (i ContextAttachmentMap) ToContextAttachmentMapOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(ContextAttachmentMapOutput) } -func (i ContextAttachmentMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*ContextAttachment] { - return pulumix.Output[map[string]*ContextAttachment]{ - OutputState: i.ToContextAttachmentMapOutputWithContext(ctx).OutputState, - } -} - type ContextAttachmentOutput struct{ *pulumi.OutputState } func (ContextAttachmentOutput) ElementType() reflect.Type { @@ -249,12 +231,6 @@ func (o ContextAttachmentOutput) ToContextAttachmentOutputWithContext(ctx contex return o } -func (o ContextAttachmentOutput) ToOutput(ctx context.Context) pulumix.Output[*ContextAttachment] { - return pulumix.Output[*ContextAttachment]{ - OutputState: o.OutputState, - } -} - // ID of the context to attach func (o ContextAttachmentOutput) ContextId() pulumi.StringOutput { return o.ApplyT(func(v *ContextAttachment) pulumi.StringOutput { return v.ContextId }).(pulumi.StringOutput) @@ -289,12 +265,6 @@ func (o ContextAttachmentArrayOutput) ToContextAttachmentArrayOutputWithContext( return o } -func (o ContextAttachmentArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*ContextAttachment] { - return pulumix.Output[[]*ContextAttachment]{ - OutputState: o.OutputState, - } -} - func (o ContextAttachmentArrayOutput) Index(i pulumi.IntInput) ContextAttachmentOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *ContextAttachment { return vs[0].([]*ContextAttachment)[vs[1].(int)] @@ -315,12 +285,6 @@ func (o ContextAttachmentMapOutput) ToContextAttachmentMapOutputWithContext(ctx return o } -func (o ContextAttachmentMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*ContextAttachment] { - return pulumix.Output[map[string]*ContextAttachment]{ - OutputState: o.OutputState, - } -} - func (o ContextAttachmentMapOutput) MapIndex(k pulumi.StringInput) ContextAttachmentOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *ContextAttachment { return vs[0].(map[string]*ContextAttachment)[vs[1].(string)] diff --git a/sdk/go/spacelift/driftDetection.go b/sdk/go/spacelift/driftDetection.go index 251888e..cb597bf 100644 --- a/sdk/go/spacelift/driftDetection.go +++ b/sdk/go/spacelift/driftDetection.go @@ -9,7 +9,6 @@ import ( "errors" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" "github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift/internal" ) @@ -195,12 +194,6 @@ func (i *DriftDetection) ToDriftDetectionOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(DriftDetectionOutput) } -func (i *DriftDetection) ToOutput(ctx context.Context) pulumix.Output[*DriftDetection] { - return pulumix.Output[*DriftDetection]{ - OutputState: i.ToDriftDetectionOutputWithContext(ctx).OutputState, - } -} - // DriftDetectionArrayInput is an input type that accepts DriftDetectionArray and DriftDetectionArrayOutput values. // You can construct a concrete instance of `DriftDetectionArrayInput` via: // @@ -226,12 +219,6 @@ func (i DriftDetectionArray) ToDriftDetectionArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(DriftDetectionArrayOutput) } -func (i DriftDetectionArray) ToOutput(ctx context.Context) pulumix.Output[[]*DriftDetection] { - return pulumix.Output[[]*DriftDetection]{ - OutputState: i.ToDriftDetectionArrayOutputWithContext(ctx).OutputState, - } -} - // DriftDetectionMapInput is an input type that accepts DriftDetectionMap and DriftDetectionMapOutput values. // You can construct a concrete instance of `DriftDetectionMapInput` via: // @@ -257,12 +244,6 @@ func (i DriftDetectionMap) ToDriftDetectionMapOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(DriftDetectionMapOutput) } -func (i DriftDetectionMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*DriftDetection] { - return pulumix.Output[map[string]*DriftDetection]{ - OutputState: i.ToDriftDetectionMapOutputWithContext(ctx).OutputState, - } -} - type DriftDetectionOutput struct{ *pulumi.OutputState } func (DriftDetectionOutput) ElementType() reflect.Type { @@ -277,12 +258,6 @@ func (o DriftDetectionOutput) ToDriftDetectionOutputWithContext(ctx context.Cont return o } -func (o DriftDetectionOutput) ToOutput(ctx context.Context) pulumix.Output[*DriftDetection] { - return pulumix.Output[*DriftDetection]{ - OutputState: o.OutputState, - } -} - // Controls whether drift detection should be performed on a stack in any final state instead of just 'Finished'. func (o DriftDetectionOutput) IgnoreState() pulumi.BoolPtrOutput { return o.ApplyT(func(v *DriftDetection) pulumi.BoolPtrOutput { return v.IgnoreState }).(pulumi.BoolPtrOutput) @@ -322,12 +297,6 @@ func (o DriftDetectionArrayOutput) ToDriftDetectionArrayOutputWithContext(ctx co return o } -func (o DriftDetectionArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*DriftDetection] { - return pulumix.Output[[]*DriftDetection]{ - OutputState: o.OutputState, - } -} - func (o DriftDetectionArrayOutput) Index(i pulumi.IntInput) DriftDetectionOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *DriftDetection { return vs[0].([]*DriftDetection)[vs[1].(int)] @@ -348,12 +317,6 @@ func (o DriftDetectionMapOutput) ToDriftDetectionMapOutputWithContext(ctx contex return o } -func (o DriftDetectionMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*DriftDetection] { - return pulumix.Output[map[string]*DriftDetection]{ - OutputState: o.OutputState, - } -} - func (o DriftDetectionMapOutput) MapIndex(k pulumi.StringInput) DriftDetectionOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *DriftDetection { return vs[0].(map[string]*DriftDetection)[vs[1].(string)] diff --git a/sdk/go/spacelift/environmentVariable.go b/sdk/go/spacelift/environmentVariable.go index 5f28866..f70b0b7 100644 --- a/sdk/go/spacelift/environmentVariable.go +++ b/sdk/go/spacelift/environmentVariable.go @@ -8,7 +8,6 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" "github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift/internal" ) @@ -28,6 +27,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { +// // For a context // _, err := spacelift.NewEnvironmentVariable(ctx, "ireland-kubeconfig", &spacelift.EnvironmentVariableArgs{ // ContextId: pulumi.String("prod-k8s-ie"), // Value: pulumi.String("/project/spacelift/kubeconfig"), @@ -36,6 +36,7 @@ import ( // if err != nil { // return err // } +// // For a module // _, err = spacelift.NewEnvironmentVariable(ctx, "module-kubeconfig", &spacelift.EnvironmentVariableArgs{ // ModuleId: pulumi.String("k8s-module"), // Value: pulumi.String("/project/spacelift/kubeconfig"), @@ -44,6 +45,7 @@ import ( // if err != nil { // return err // } +// // For a stack // _, err = spacelift.NewEnvironmentVariable(ctx, "core-kubeconfig", &spacelift.EnvironmentVariableArgs{ // StackId: pulumi.String("k8s-core"), // Value: pulumi.String("/project/spacelift/kubeconfig"), @@ -224,12 +226,6 @@ func (i *EnvironmentVariable) ToEnvironmentVariableOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(EnvironmentVariableOutput) } -func (i *EnvironmentVariable) ToOutput(ctx context.Context) pulumix.Output[*EnvironmentVariable] { - return pulumix.Output[*EnvironmentVariable]{ - OutputState: i.ToEnvironmentVariableOutputWithContext(ctx).OutputState, - } -} - // EnvironmentVariableArrayInput is an input type that accepts EnvironmentVariableArray and EnvironmentVariableArrayOutput values. // You can construct a concrete instance of `EnvironmentVariableArrayInput` via: // @@ -255,12 +251,6 @@ func (i EnvironmentVariableArray) ToEnvironmentVariableArrayOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(EnvironmentVariableArrayOutput) } -func (i EnvironmentVariableArray) ToOutput(ctx context.Context) pulumix.Output[[]*EnvironmentVariable] { - return pulumix.Output[[]*EnvironmentVariable]{ - OutputState: i.ToEnvironmentVariableArrayOutputWithContext(ctx).OutputState, - } -} - // EnvironmentVariableMapInput is an input type that accepts EnvironmentVariableMap and EnvironmentVariableMapOutput values. // You can construct a concrete instance of `EnvironmentVariableMapInput` via: // @@ -286,12 +276,6 @@ func (i EnvironmentVariableMap) ToEnvironmentVariableMapOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(EnvironmentVariableMapOutput) } -func (i EnvironmentVariableMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*EnvironmentVariable] { - return pulumix.Output[map[string]*EnvironmentVariable]{ - OutputState: i.ToEnvironmentVariableMapOutputWithContext(ctx).OutputState, - } -} - type EnvironmentVariableOutput struct{ *pulumi.OutputState } func (EnvironmentVariableOutput) ElementType() reflect.Type { @@ -306,12 +290,6 @@ func (o EnvironmentVariableOutput) ToEnvironmentVariableOutputWithContext(ctx co return o } -func (o EnvironmentVariableOutput) ToOutput(ctx context.Context) pulumix.Output[*EnvironmentVariable] { - return pulumix.Output[*EnvironmentVariable]{ - OutputState: o.OutputState, - } -} - // SHA-256 checksum of the value func (o EnvironmentVariableOutput) Checksum() pulumi.StringOutput { return o.ApplyT(func(v *EnvironmentVariable) pulumi.StringOutput { return v.Checksum }).(pulumi.StringOutput) @@ -361,12 +339,6 @@ func (o EnvironmentVariableArrayOutput) ToEnvironmentVariableArrayOutputWithCont return o } -func (o EnvironmentVariableArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*EnvironmentVariable] { - return pulumix.Output[[]*EnvironmentVariable]{ - OutputState: o.OutputState, - } -} - func (o EnvironmentVariableArrayOutput) Index(i pulumi.IntInput) EnvironmentVariableOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *EnvironmentVariable { return vs[0].([]*EnvironmentVariable)[vs[1].(int)] @@ -387,12 +359,6 @@ func (o EnvironmentVariableMapOutput) ToEnvironmentVariableMapOutputWithContext( return o } -func (o EnvironmentVariableMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*EnvironmentVariable] { - return pulumix.Output[map[string]*EnvironmentVariable]{ - OutputState: o.OutputState, - } -} - func (o EnvironmentVariableMapOutput) MapIndex(k pulumi.StringInput) EnvironmentVariableOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *EnvironmentVariable { return vs[0].(map[string]*EnvironmentVariable)[vs[1].(string)] diff --git a/sdk/go/spacelift/gcpServiceAccount.go b/sdk/go/spacelift/gcpServiceAccount.go index 527871a..0d86bb4 100644 --- a/sdk/go/spacelift/gcpServiceAccount.go +++ b/sdk/go/spacelift/gcpServiceAccount.go @@ -9,7 +9,6 @@ import ( "errors" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" "github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift/internal" ) @@ -198,12 +197,6 @@ func (i *GcpServiceAccount) ToGcpServiceAccountOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(GcpServiceAccountOutput) } -func (i *GcpServiceAccount) ToOutput(ctx context.Context) pulumix.Output[*GcpServiceAccount] { - return pulumix.Output[*GcpServiceAccount]{ - OutputState: i.ToGcpServiceAccountOutputWithContext(ctx).OutputState, - } -} - // GcpServiceAccountArrayInput is an input type that accepts GcpServiceAccountArray and GcpServiceAccountArrayOutput values. // You can construct a concrete instance of `GcpServiceAccountArrayInput` via: // @@ -229,12 +222,6 @@ func (i GcpServiceAccountArray) ToGcpServiceAccountArrayOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(GcpServiceAccountArrayOutput) } -func (i GcpServiceAccountArray) ToOutput(ctx context.Context) pulumix.Output[[]*GcpServiceAccount] { - return pulumix.Output[[]*GcpServiceAccount]{ - OutputState: i.ToGcpServiceAccountArrayOutputWithContext(ctx).OutputState, - } -} - // GcpServiceAccountMapInput is an input type that accepts GcpServiceAccountMap and GcpServiceAccountMapOutput values. // You can construct a concrete instance of `GcpServiceAccountMapInput` via: // @@ -260,12 +247,6 @@ func (i GcpServiceAccountMap) ToGcpServiceAccountMapOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(GcpServiceAccountMapOutput) } -func (i GcpServiceAccountMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*GcpServiceAccount] { - return pulumix.Output[map[string]*GcpServiceAccount]{ - OutputState: i.ToGcpServiceAccountMapOutputWithContext(ctx).OutputState, - } -} - type GcpServiceAccountOutput struct{ *pulumi.OutputState } func (GcpServiceAccountOutput) ElementType() reflect.Type { @@ -280,12 +261,6 @@ func (o GcpServiceAccountOutput) ToGcpServiceAccountOutputWithContext(ctx contex return o } -func (o GcpServiceAccountOutput) ToOutput(ctx context.Context) pulumix.Output[*GcpServiceAccount] { - return pulumix.Output[*GcpServiceAccount]{ - OutputState: o.OutputState, - } -} - // ID of the module which uses GCP service account credentials func (o GcpServiceAccountOutput) ModuleId() pulumi.StringPtrOutput { return o.ApplyT(func(v *GcpServiceAccount) pulumi.StringPtrOutput { return v.ModuleId }).(pulumi.StringPtrOutput) @@ -320,12 +295,6 @@ func (o GcpServiceAccountArrayOutput) ToGcpServiceAccountArrayOutputWithContext( return o } -func (o GcpServiceAccountArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*GcpServiceAccount] { - return pulumix.Output[[]*GcpServiceAccount]{ - OutputState: o.OutputState, - } -} - func (o GcpServiceAccountArrayOutput) Index(i pulumi.IntInput) GcpServiceAccountOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *GcpServiceAccount { return vs[0].([]*GcpServiceAccount)[vs[1].(int)] @@ -346,12 +315,6 @@ func (o GcpServiceAccountMapOutput) ToGcpServiceAccountMapOutputWithContext(ctx return o } -func (o GcpServiceAccountMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*GcpServiceAccount] { - return pulumix.Output[map[string]*GcpServiceAccount]{ - OutputState: o.OutputState, - } -} - func (o GcpServiceAccountMapOutput) MapIndex(k pulumi.StringInput) GcpServiceAccountOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *GcpServiceAccount { return vs[0].(map[string]*GcpServiceAccount)[vs[1].(string)] diff --git a/sdk/go/spacelift/getAccount.go b/sdk/go/spacelift/getAccount.go index ec98802..10dca2a 100644 --- a/sdk/go/spacelift/getAccount.go +++ b/sdk/go/spacelift/getAccount.go @@ -8,7 +8,6 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" "github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift/internal" ) @@ -85,12 +84,6 @@ func (o GetAccountResultOutput) ToGetAccountResultOutputWithContext(ctx context. return o } -func (o GetAccountResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetAccountResult] { - return pulumix.Output[GetAccountResult]{ - OutputState: o.OutputState, - } -} - // the ID of the AWS account used by Spacelift for role assumption func (o GetAccountResultOutput) AwsAccountId() pulumi.StringOutput { return o.ApplyT(func(v GetAccountResult) string { return v.AwsAccountId }).(pulumi.StringOutput) diff --git a/sdk/go/spacelift/getAwsIntegration.go b/sdk/go/spacelift/getAwsIntegration.go index 7d5c10a..cfd8824 100644 --- a/sdk/go/spacelift/getAwsIntegration.go +++ b/sdk/go/spacelift/getAwsIntegration.go @@ -8,7 +8,6 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" "github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift/internal" ) @@ -120,12 +119,6 @@ func (o LookupAwsIntegrationResultOutput) ToLookupAwsIntegrationResultOutputWith return o } -func (o LookupAwsIntegrationResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupAwsIntegrationResult] { - return pulumix.Output[LookupAwsIntegrationResult]{ - OutputState: o.OutputState, - } -} - // Duration in seconds for which the assumed role credentials should be valid func (o LookupAwsIntegrationResultOutput) DurationSeconds() pulumi.IntOutput { return o.ApplyT(func(v LookupAwsIntegrationResult) int { return v.DurationSeconds }).(pulumi.IntOutput) diff --git a/sdk/go/spacelift/getAwsIntegrationAttachment.go b/sdk/go/spacelift/getAwsIntegrationAttachment.go index 8db06f5..18d4783 100644 --- a/sdk/go/spacelift/getAwsIntegrationAttachment.go +++ b/sdk/go/spacelift/getAwsIntegrationAttachment.go @@ -8,7 +8,6 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" "github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift/internal" ) @@ -93,12 +92,6 @@ func (o LookupAwsIntegrationAttachmentResultOutput) ToLookupAwsIntegrationAttach return o } -func (o LookupAwsIntegrationAttachmentResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupAwsIntegrationAttachmentResult] { - return pulumix.Output[LookupAwsIntegrationAttachmentResult]{ - OutputState: o.OutputState, - } -} - // Internal ID of the attachment entity func (o LookupAwsIntegrationAttachmentResultOutput) AttachmentId() pulumi.StringOutput { return o.ApplyT(func(v LookupAwsIntegrationAttachmentResult) string { return v.AttachmentId }).(pulumi.StringOutput) diff --git a/sdk/go/spacelift/getAwsIntegrationAttachmentExternalId.go b/sdk/go/spacelift/getAwsIntegrationAttachmentExternalId.go index 248c18b..276aeea 100644 --- a/sdk/go/spacelift/getAwsIntegrationAttachmentExternalId.go +++ b/sdk/go/spacelift/getAwsIntegrationAttachmentExternalId.go @@ -8,7 +8,6 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" "github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift/internal" ) @@ -141,12 +140,6 @@ func (o GetAwsIntegrationAttachmentExternalIdResultOutput) ToGetAwsIntegrationAt return o } -func (o GetAwsIntegrationAttachmentExternalIdResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetAwsIntegrationAttachmentExternalIdResult] { - return pulumix.Output[GetAwsIntegrationAttachmentExternalIdResult]{ - OutputState: o.OutputState, - } -} - // An assume role policy statement that can be attached to your role to allow Spacelift to assume it func (o GetAwsIntegrationAttachmentExternalIdResultOutput) AssumeRolePolicyStatement() pulumi.StringOutput { return o.ApplyT(func(v GetAwsIntegrationAttachmentExternalIdResult) string { return v.AssumeRolePolicyStatement }).(pulumi.StringOutput) diff --git a/sdk/go/spacelift/getAwsIntegrations.go b/sdk/go/spacelift/getAwsIntegrations.go index e36f865..1095e50 100644 --- a/sdk/go/spacelift/getAwsIntegrations.go +++ b/sdk/go/spacelift/getAwsIntegrations.go @@ -8,7 +8,6 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" "github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift/internal" ) @@ -56,12 +55,6 @@ func (o GetAwsIntegrationsResultOutput) ToGetAwsIntegrationsResultOutputWithCont return o } -func (o GetAwsIntegrationsResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetAwsIntegrationsResult] { - return pulumix.Output[GetAwsIntegrationsResult]{ - OutputState: o.OutputState, - } -} - // The provider-assigned unique ID for this managed resource. func (o GetAwsIntegrationsResultOutput) Id() pulumi.StringOutput { return o.ApplyT(func(v GetAwsIntegrationsResult) string { return v.Id }).(pulumi.StringOutput) diff --git a/sdk/go/spacelift/getAwsRole.go b/sdk/go/spacelift/getAwsRole.go index 7822e6f..7d3e854 100644 --- a/sdk/go/spacelift/getAwsRole.go +++ b/sdk/go/spacelift/getAwsRole.go @@ -8,7 +8,6 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" "github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift/internal" ) @@ -125,12 +124,6 @@ func (o LookupAwsRoleResultOutput) ToLookupAwsRoleResultOutputWithContext(ctx co return o } -func (o LookupAwsRoleResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupAwsRoleResult] { - return pulumix.Output[LookupAwsRoleResult]{ - OutputState: o.OutputState, - } -} - // AWS IAM role session duration in seconds func (o LookupAwsRoleResultOutput) DurationSeconds() pulumi.IntOutput { return o.ApplyT(func(v LookupAwsRoleResult) int { return v.DurationSeconds }).(pulumi.IntOutput) diff --git a/sdk/go/spacelift/getAzureDevopsIntegration.go b/sdk/go/spacelift/getAzureDevopsIntegration.go index 5faa0b7..61d6995 100644 --- a/sdk/go/spacelift/getAzureDevopsIntegration.go +++ b/sdk/go/spacelift/getAzureDevopsIntegration.go @@ -8,7 +8,6 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" "github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift/internal" ) @@ -113,12 +112,6 @@ func (o GetAzureDevopsIntegrationResultOutput) ToGetAzureDevopsIntegrationResult return o } -func (o GetAzureDevopsIntegrationResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetAzureDevopsIntegrationResult] { - return pulumix.Output[GetAzureDevopsIntegrationResult]{ - OutputState: o.OutputState, - } -} - // Azure DevOps integration description func (o GetAzureDevopsIntegrationResultOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v GetAzureDevopsIntegrationResult) string { return v.Description }).(pulumi.StringOutput) diff --git a/sdk/go/spacelift/getAzureIntegration.go b/sdk/go/spacelift/getAzureIntegration.go index e80276e..079d152 100644 --- a/sdk/go/spacelift/getAzureIntegration.go +++ b/sdk/go/spacelift/getAzureIntegration.go @@ -8,7 +8,6 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" "github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift/internal" ) @@ -123,12 +122,6 @@ func (o LookupAzureIntegrationResultOutput) ToLookupAzureIntegrationResultOutput return o } -func (o LookupAzureIntegrationResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupAzureIntegrationResult] { - return pulumix.Output[LookupAzureIntegrationResult]{ - OutputState: o.OutputState, - } -} - // Indicates whether admin consent has been performed for the AAD Application. func (o LookupAzureIntegrationResultOutput) AdminConsentProvided() pulumi.BoolOutput { return o.ApplyT(func(v LookupAzureIntegrationResult) bool { return v.AdminConsentProvided }).(pulumi.BoolOutput) diff --git a/sdk/go/spacelift/getAzureIntegrationAttachment.go b/sdk/go/spacelift/getAzureIntegrationAttachment.go index da3accd..4602ac0 100644 --- a/sdk/go/spacelift/getAzureIntegrationAttachment.go +++ b/sdk/go/spacelift/getAzureIntegrationAttachment.go @@ -8,7 +8,6 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" "github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift/internal" ) @@ -122,12 +121,6 @@ func (o LookupAzureIntegrationAttachmentResultOutput) ToLookupAzureIntegrationAt return o } -func (o LookupAzureIntegrationAttachmentResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupAzureIntegrationAttachmentResult] { - return pulumix.Output[LookupAzureIntegrationAttachmentResult]{ - OutputState: o.OutputState, - } -} - // Internal ID of the attachment entity func (o LookupAzureIntegrationAttachmentResultOutput) AttachmentId() pulumi.StringOutput { return o.ApplyT(func(v LookupAzureIntegrationAttachmentResult) string { return v.AttachmentId }).(pulumi.StringOutput) diff --git a/sdk/go/spacelift/getAzureIntegrations.go b/sdk/go/spacelift/getAzureIntegrations.go index 9b317eb..080cb05 100644 --- a/sdk/go/spacelift/getAzureIntegrations.go +++ b/sdk/go/spacelift/getAzureIntegrations.go @@ -8,7 +8,6 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" "github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift/internal" ) @@ -56,12 +55,6 @@ func (o GetAzureIntegrationsResultOutput) ToGetAzureIntegrationsResultOutputWith return o } -func (o GetAzureIntegrationsResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetAzureIntegrationsResult] { - return pulumix.Output[GetAzureIntegrationsResult]{ - OutputState: o.OutputState, - } -} - // The provider-assigned unique ID for this managed resource. func (o GetAzureIntegrationsResultOutput) Id() pulumi.StringOutput { return o.ApplyT(func(v GetAzureIntegrationsResult) string { return v.Id }).(pulumi.StringOutput) diff --git a/sdk/go/spacelift/getBitbucketCloudIntegration.go b/sdk/go/spacelift/getBitbucketCloudIntegration.go index a22f324..74dd8af 100644 --- a/sdk/go/spacelift/getBitbucketCloudIntegration.go +++ b/sdk/go/spacelift/getBitbucketCloudIntegration.go @@ -8,7 +8,6 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" "github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift/internal" ) @@ -111,12 +110,6 @@ func (o GetBitbucketCloudIntegrationResultOutput) ToGetBitbucketCloudIntegration return o } -func (o GetBitbucketCloudIntegrationResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetBitbucketCloudIntegrationResult] { - return pulumix.Output[GetBitbucketCloudIntegrationResult]{ - OutputState: o.OutputState, - } -} - // Bitbucket Cloud integration description func (o GetBitbucketCloudIntegrationResultOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v GetBitbucketCloudIntegrationResult) string { return v.Description }).(pulumi.StringOutput) diff --git a/sdk/go/spacelift/getBitbucketDatacenterIntegration.go b/sdk/go/spacelift/getBitbucketDatacenterIntegration.go index c155a46..9bfdad1 100644 --- a/sdk/go/spacelift/getBitbucketDatacenterIntegration.go +++ b/sdk/go/spacelift/getBitbucketDatacenterIntegration.go @@ -8,7 +8,6 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" "github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift/internal" ) @@ -117,12 +116,6 @@ func (o GetBitbucketDatacenterIntegrationResultOutput) ToGetBitbucketDatacenterI return o } -func (o GetBitbucketDatacenterIntegrationResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetBitbucketDatacenterIntegrationResult] { - return pulumix.Output[GetBitbucketDatacenterIntegrationResult]{ - OutputState: o.OutputState, - } -} - // Bitbucket Datacenter integration api host func (o GetBitbucketDatacenterIntegrationResultOutput) ApiHost() pulumi.StringOutput { return o.ApplyT(func(v GetBitbucketDatacenterIntegrationResult) string { return v.ApiHost }).(pulumi.StringOutput) diff --git a/sdk/go/spacelift/getContext.go b/sdk/go/spacelift/getContext.go index cdfbf47..7bdb774 100644 --- a/sdk/go/spacelift/getContext.go +++ b/sdk/go/spacelift/getContext.go @@ -8,7 +8,6 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" "github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift/internal" ) @@ -174,12 +173,6 @@ func (o LookupContextResultOutput) ToLookupContextResultOutputWithContext(ctx co return o } -func (o LookupContextResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupContextResult] { - return pulumix.Output[LookupContextResult]{ - OutputState: o.OutputState, - } -} - // List of after-apply scripts func (o LookupContextResultOutput) AfterApplies() pulumi.StringArrayOutput { return o.ApplyT(func(v LookupContextResult) []string { return v.AfterApplies }).(pulumi.StringArrayOutput) diff --git a/sdk/go/spacelift/getContextAttachment.go b/sdk/go/spacelift/getContextAttachment.go index fad220d..198b8bd 100644 --- a/sdk/go/spacelift/getContextAttachment.go +++ b/sdk/go/spacelift/getContextAttachment.go @@ -8,7 +8,6 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" "github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift/internal" ) @@ -123,12 +122,6 @@ func (o LookupContextAttachmentResultOutput) ToLookupContextAttachmentResultOutp return o } -func (o LookupContextAttachmentResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupContextAttachmentResult] { - return pulumix.Output[LookupContextAttachmentResult]{ - OutputState: o.OutputState, - } -} - // ID of the attached context func (o LookupContextAttachmentResultOutput) ContextId() pulumi.StringOutput { return o.ApplyT(func(v LookupContextAttachmentResult) string { return v.ContextId }).(pulumi.StringOutput) diff --git a/sdk/go/spacelift/getContexts.go b/sdk/go/spacelift/getContexts.go index e8e4377..9c1fc9c 100644 --- a/sdk/go/spacelift/getContexts.go +++ b/sdk/go/spacelift/getContexts.go @@ -8,7 +8,6 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" "github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift/internal" ) @@ -112,12 +111,6 @@ func (o GetContextsResultOutput) ToGetContextsResultOutputWithContext(ctx contex return o } -func (o GetContextsResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetContextsResult] { - return pulumix.Output[GetContextsResult]{ - OutputState: o.OutputState, - } -} - func (o GetContextsResultOutput) Contexts() GetContextsContextArrayOutput { return o.ApplyT(func(v GetContextsResult) []GetContextsContext { return v.Contexts }).(GetContextsContextArrayOutput) } diff --git a/sdk/go/spacelift/getCurrentSpace.go b/sdk/go/spacelift/getCurrentSpace.go index a0b9227..546619d 100644 --- a/sdk/go/spacelift/getCurrentSpace.go +++ b/sdk/go/spacelift/getCurrentSpace.go @@ -8,7 +8,6 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" "github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift/internal" ) @@ -86,12 +85,6 @@ func (o GetCurrentSpaceResultOutput) ToGetCurrentSpaceResultOutputWithContext(ct return o } -func (o GetCurrentSpaceResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetCurrentSpaceResult] { - return pulumix.Output[GetCurrentSpaceResult]{ - OutputState: o.OutputState, - } -} - // The provider-assigned unique ID for this managed resource. func (o GetCurrentSpaceResultOutput) Id() pulumi.StringOutput { return o.ApplyT(func(v GetCurrentSpaceResult) string { return v.Id }).(pulumi.StringOutput) diff --git a/sdk/go/spacelift/getCurrentStack.go b/sdk/go/spacelift/getCurrentStack.go index c30b916..8ebfe09 100644 --- a/sdk/go/spacelift/getCurrentStack.go +++ b/sdk/go/spacelift/getCurrentStack.go @@ -8,7 +8,6 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" "github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift/internal" ) @@ -86,12 +85,6 @@ func (o GetCurrentStackResultOutput) ToGetCurrentStackResultOutputWithContext(ct return o } -func (o GetCurrentStackResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetCurrentStackResult] { - return pulumix.Output[GetCurrentStackResult]{ - OutputState: o.OutputState, - } -} - // The provider-assigned unique ID for this managed resource. func (o GetCurrentStackResultOutput) Id() pulumi.StringOutput { return o.ApplyT(func(v GetCurrentStackResult) string { return v.Id }).(pulumi.StringOutput) diff --git a/sdk/go/spacelift/getDriftDetection.go b/sdk/go/spacelift/getDriftDetection.go index 1746094..f3a14d2 100644 --- a/sdk/go/spacelift/getDriftDetection.go +++ b/sdk/go/spacelift/getDriftDetection.go @@ -8,7 +8,6 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" "github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift/internal" ) @@ -113,12 +112,6 @@ func (o LookupDriftDetectionResultOutput) ToLookupDriftDetectionResultOutputWith return o } -func (o LookupDriftDetectionResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupDriftDetectionResult] { - return pulumix.Output[LookupDriftDetectionResult]{ - OutputState: o.OutputState, - } -} - // The provider-assigned unique ID for this managed resource. func (o LookupDriftDetectionResultOutput) Id() pulumi.StringOutput { return o.ApplyT(func(v LookupDriftDetectionResult) string { return v.Id }).(pulumi.StringOutput) diff --git a/sdk/go/spacelift/getEnvironmentVariable.go b/sdk/go/spacelift/getEnvironmentVariable.go index 385ef79..dd5eb85 100644 --- a/sdk/go/spacelift/getEnvironmentVariable.go +++ b/sdk/go/spacelift/getEnvironmentVariable.go @@ -8,7 +8,6 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" "github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift/internal" ) @@ -140,12 +139,6 @@ func (o LookupEnvironmentVariableResultOutput) ToLookupEnvironmentVariableResult return o } -func (o LookupEnvironmentVariableResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupEnvironmentVariableResult] { - return pulumix.Output[LookupEnvironmentVariableResult]{ - OutputState: o.OutputState, - } -} - // SHA-256 checksum of the value func (o LookupEnvironmentVariableResultOutput) Checksum() pulumi.StringOutput { return o.ApplyT(func(v LookupEnvironmentVariableResult) string { return v.Checksum }).(pulumi.StringOutput) diff --git a/sdk/go/spacelift/getGcpServiceAccount.go b/sdk/go/spacelift/getGcpServiceAccount.go index dbbacd4..12a69bd 100644 --- a/sdk/go/spacelift/getGcpServiceAccount.go +++ b/sdk/go/spacelift/getGcpServiceAccount.go @@ -8,7 +8,6 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" "github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift/internal" ) @@ -115,12 +114,6 @@ func (o LookupGcpServiceAccountResultOutput) ToLookupGcpServiceAccountResultOutp return o } -func (o LookupGcpServiceAccountResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupGcpServiceAccountResult] { - return pulumix.Output[LookupGcpServiceAccountResult]{ - OutputState: o.OutputState, - } -} - // The provider-assigned unique ID for this managed resource. func (o LookupGcpServiceAccountResultOutput) Id() pulumi.StringOutput { return o.ApplyT(func(v LookupGcpServiceAccountResult) string { return v.Id }).(pulumi.StringOutput) diff --git a/sdk/go/spacelift/getGithubEnterpriseIntegration.go b/sdk/go/spacelift/getGithubEnterpriseIntegration.go index 371f2e0..33103f4 100644 --- a/sdk/go/spacelift/getGithubEnterpriseIntegration.go +++ b/sdk/go/spacelift/getGithubEnterpriseIntegration.go @@ -8,7 +8,6 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" "github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift/internal" ) @@ -115,12 +114,6 @@ func (o GetGithubEnterpriseIntegrationResultOutput) ToGetGithubEnterpriseIntegra return o } -func (o GetGithubEnterpriseIntegrationResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetGithubEnterpriseIntegrationResult] { - return pulumix.Output[GetGithubEnterpriseIntegrationResult]{ - OutputState: o.OutputState, - } -} - // Github integration api host func (o GetGithubEnterpriseIntegrationResultOutput) ApiHost() pulumi.StringOutput { return o.ApplyT(func(v GetGithubEnterpriseIntegrationResult) string { return v.ApiHost }).(pulumi.StringOutput) diff --git a/sdk/go/spacelift/getGitlabIntegration.go b/sdk/go/spacelift/getGitlabIntegration.go index 5d1466f..9d29b4d 100644 --- a/sdk/go/spacelift/getGitlabIntegration.go +++ b/sdk/go/spacelift/getGitlabIntegration.go @@ -8,7 +8,6 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" "github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift/internal" ) @@ -113,12 +112,6 @@ func (o GetGitlabIntegrationResultOutput) ToGetGitlabIntegrationResultOutputWith return o } -func (o GetGitlabIntegrationResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetGitlabIntegrationResult] { - return pulumix.Output[GetGitlabIntegrationResult]{ - OutputState: o.OutputState, - } -} - // Gitlab integration api host func (o GetGitlabIntegrationResultOutput) ApiHost() pulumi.StringOutput { return o.ApplyT(func(v GetGitlabIntegrationResult) string { return v.ApiHost }).(pulumi.StringOutput) diff --git a/sdk/go/spacelift/getGitlabWebhookEndpoint.go b/sdk/go/spacelift/getGitlabWebhookEndpoint.go index 58ca18f..fd50cfd 100644 --- a/sdk/go/spacelift/getGitlabWebhookEndpoint.go +++ b/sdk/go/spacelift/getGitlabWebhookEndpoint.go @@ -8,7 +8,6 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" "github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift/internal" ) @@ -81,12 +80,6 @@ func (o GetGitlabWebhookEndpointResultOutput) ToGetGitlabWebhookEndpointResultOu return o } -func (o GetGitlabWebhookEndpointResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetGitlabWebhookEndpointResult] { - return pulumix.Output[GetGitlabWebhookEndpointResult]{ - OutputState: o.OutputState, - } -} - // The provider-assigned unique ID for this managed resource. func (o GetGitlabWebhookEndpointResultOutput) Id() pulumi.StringOutput { return o.ApplyT(func(v GetGitlabWebhookEndpointResult) string { return v.Id }).(pulumi.StringOutput) diff --git a/sdk/go/spacelift/getIPs.go b/sdk/go/spacelift/getIPs.go index 1e26af1..f09e1e9 100644 --- a/sdk/go/spacelift/getIPs.go +++ b/sdk/go/spacelift/getIPs.go @@ -8,7 +8,6 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" "github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift/internal" ) @@ -81,12 +80,6 @@ func (o GetIPsResultOutput) ToGetIPsResultOutputWithContext(ctx context.Context) return o } -func (o GetIPsResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetIPsResult] { - return pulumix.Output[GetIPsResult]{ - OutputState: o.OutputState, - } -} - // The provider-assigned unique ID for this managed resource. func (o GetIPsResultOutput) Id() pulumi.StringOutput { return o.ApplyT(func(v GetIPsResult) string { return v.Id }).(pulumi.StringOutput) diff --git a/sdk/go/spacelift/getModule.go b/sdk/go/spacelift/getModule.go index 50876d4..01f8113 100644 --- a/sdk/go/spacelift/getModule.go +++ b/sdk/go/spacelift/getModule.go @@ -8,7 +8,6 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" "github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift/internal" ) @@ -136,12 +135,6 @@ func (o LookupModuleResultOutput) ToLookupModuleResultOutputWithContext(ctx cont return o } -func (o LookupModuleResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupModuleResult] { - return pulumix.Output[LookupModuleResult]{ - OutputState: o.OutputState, - } -} - // indicates whether this module can administer others func (o LookupModuleResultOutput) Administrative() pulumi.BoolOutput { return o.ApplyT(func(v LookupModuleResult) bool { return v.Administrative }).(pulumi.BoolOutput) diff --git a/sdk/go/spacelift/getMountedfile.go b/sdk/go/spacelift/getMountedfile.go index b4b0bb1..0bcc391 100644 --- a/sdk/go/spacelift/getMountedfile.go +++ b/sdk/go/spacelift/getMountedfile.go @@ -8,7 +8,6 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" "github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift/internal" ) @@ -140,12 +139,6 @@ func (o LookupMountedfileResultOutput) ToLookupMountedfileResultOutputWithContex return o } -func (o LookupMountedfileResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupMountedfileResult] { - return pulumix.Output[LookupMountedfileResult]{ - OutputState: o.OutputState, - } -} - // SHA-256 checksum of the value func (o LookupMountedfileResultOutput) Checksum() pulumi.StringOutput { return o.ApplyT(func(v LookupMountedfileResult) string { return v.Checksum }).(pulumi.StringOutput) diff --git a/sdk/go/spacelift/getNamedWebhook.go b/sdk/go/spacelift/getNamedWebhook.go index 2277204..f5269c2 100644 --- a/sdk/go/spacelift/getNamedWebhook.go +++ b/sdk/go/spacelift/getNamedWebhook.go @@ -8,7 +8,6 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" "github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift/internal" ) @@ -89,12 +88,6 @@ func (o LookupNamedWebhookResultOutput) ToLookupNamedWebhookResultOutputWithCont return o } -func (o LookupNamedWebhookResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupNamedWebhookResult] { - return pulumix.Output[LookupNamedWebhookResult]{ - OutputState: o.OutputState, - } -} - // enables or disables sending webhooks. func (o LookupNamedWebhookResultOutput) Enabled() pulumi.BoolOutput { return o.ApplyT(func(v LookupNamedWebhookResult) bool { return v.Enabled }).(pulumi.BoolOutput) diff --git a/sdk/go/spacelift/getPolicies.go b/sdk/go/spacelift/getPolicies.go index 09964f2..5c1de01 100644 --- a/sdk/go/spacelift/getPolicies.go +++ b/sdk/go/spacelift/getPolicies.go @@ -8,7 +8,6 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" "github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift/internal" ) @@ -116,12 +115,6 @@ func (o GetPoliciesResultOutput) ToGetPoliciesResultOutputWithContext(ctx contex return o } -func (o GetPoliciesResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetPoliciesResult] { - return pulumix.Output[GetPoliciesResult]{ - OutputState: o.OutputState, - } -} - // The provider-assigned unique ID for this managed resource. func (o GetPoliciesResultOutput) Id() pulumi.StringOutput { return o.ApplyT(func(v GetPoliciesResult) string { return v.Id }).(pulumi.StringOutput) diff --git a/sdk/go/spacelift/getPolicy.go b/sdk/go/spacelift/getPolicy.go index 742c7be..aa07a02 100644 --- a/sdk/go/spacelift/getPolicy.go +++ b/sdk/go/spacelift/getPolicy.go @@ -8,7 +8,6 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" "github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift/internal" ) @@ -111,12 +110,6 @@ func (o LookupPolicyResultOutput) ToLookupPolicyResultOutputWithContext(ctx cont return o } -func (o LookupPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupPolicyResult] { - return pulumix.Output[LookupPolicyResult]{ - OutputState: o.OutputState, - } -} - // body of the policy func (o LookupPolicyResultOutput) Body() pulumi.StringOutput { return o.ApplyT(func(v LookupPolicyResult) string { return v.Body }).(pulumi.StringOutput) diff --git a/sdk/go/spacelift/getScheduledDeleteStack.go b/sdk/go/spacelift/getScheduledDeleteStack.go index a8023ea..5f2f714 100644 --- a/sdk/go/spacelift/getScheduledDeleteStack.go +++ b/sdk/go/spacelift/getScheduledDeleteStack.go @@ -8,7 +8,6 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" "github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift/internal" ) @@ -109,12 +108,6 @@ func (o GetScheduledDeleteStackResultOutput) ToGetScheduledDeleteStackResultOutp return o } -func (o GetScheduledDeleteStackResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetScheduledDeleteStackResult] { - return pulumix.Output[GetScheduledDeleteStackResult]{ - OutputState: o.OutputState, - } -} - // Timestamp (unix timestamp) at which time the scheduling should happen. func (o GetScheduledDeleteStackResultOutput) At() pulumi.IntOutput { return o.ApplyT(func(v GetScheduledDeleteStackResult) int { return v.At }).(pulumi.IntOutput) diff --git a/sdk/go/spacelift/getScheduledTask.go b/sdk/go/spacelift/getScheduledTask.go index 4d7b081..8e475c3 100644 --- a/sdk/go/spacelift/getScheduledTask.go +++ b/sdk/go/spacelift/getScheduledTask.go @@ -8,7 +8,6 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" "github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift/internal" ) @@ -113,12 +112,6 @@ func (o LookupScheduledTaskResultOutput) ToLookupScheduledTaskResultOutputWithCo return o } -func (o LookupScheduledTaskResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupScheduledTaskResult] { - return pulumix.Output[LookupScheduledTaskResult]{ - OutputState: o.OutputState, - } -} - // Timestamp (unix timestamp) at which time the scheduling should happen. func (o LookupScheduledTaskResultOutput) At() pulumi.IntOutput { return o.ApplyT(func(v LookupScheduledTaskResult) int { return v.At }).(pulumi.IntOutput) diff --git a/sdk/go/spacelift/getSpace.go b/sdk/go/spacelift/getSpace.go index b02ba62..3c2e869 100644 --- a/sdk/go/spacelift/getSpace.go +++ b/sdk/go/spacelift/getSpace.go @@ -8,7 +8,6 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" "github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift/internal" ) @@ -112,12 +111,6 @@ func (o LookupSpaceResultOutput) ToLookupSpaceResultOutputWithContext(ctx contex return o } -func (o LookupSpaceResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupSpaceResult] { - return pulumix.Output[LookupSpaceResult]{ - OutputState: o.OutputState, - } -} - // free-form space description for users func (o LookupSpaceResultOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v LookupSpaceResult) string { return v.Description }).(pulumi.StringOutput) diff --git a/sdk/go/spacelift/getSpaceByPath.go b/sdk/go/spacelift/getSpaceByPath.go index 4497350..339beb3 100644 --- a/sdk/go/spacelift/getSpaceByPath.go +++ b/sdk/go/spacelift/getSpaceByPath.go @@ -8,7 +8,6 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" "github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift/internal" ) @@ -114,12 +113,6 @@ func (o GetSpaceByPathResultOutput) ToGetSpaceByPathResultOutputWithContext(ctx return o } -func (o GetSpaceByPathResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetSpaceByPathResult] { - return pulumix.Output[GetSpaceByPathResult]{ - OutputState: o.OutputState, - } -} - // free-form space description for users func (o GetSpaceByPathResultOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v GetSpaceByPathResult) string { return v.Description }).(pulumi.StringOutput) diff --git a/sdk/go/spacelift/getSpaces.go b/sdk/go/spacelift/getSpaces.go index 1bb1c1a..70081f4 100644 --- a/sdk/go/spacelift/getSpaces.go +++ b/sdk/go/spacelift/getSpaces.go @@ -8,7 +8,6 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" "github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift/internal" ) @@ -81,12 +80,6 @@ func (o GetSpacesResultOutput) ToGetSpacesResultOutputWithContext(ctx context.Co return o } -func (o GetSpacesResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetSpacesResult] { - return pulumix.Output[GetSpacesResult]{ - OutputState: o.OutputState, - } -} - // The provider-assigned unique ID for this managed resource. func (o GetSpacesResultOutput) Id() pulumi.StringOutput { return o.ApplyT(func(v GetSpacesResult) string { return v.Id }).(pulumi.StringOutput) diff --git a/sdk/go/spacelift/getStack.go b/sdk/go/spacelift/getStack.go index 4c4549a..0ffe724 100644 --- a/sdk/go/spacelift/getStack.go +++ b/sdk/go/spacelift/getStack.go @@ -8,7 +8,6 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" "github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift/internal" ) @@ -233,12 +232,6 @@ func (o LookupStackResultOutput) ToLookupStackResultOutputWithContext(ctx contex return o } -func (o LookupStackResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupStackResult] { - return pulumix.Output[LookupStackResult]{ - OutputState: o.OutputState, - } -} - // Project globs is an optional list of paths to track changes of in addition to the project root. func (o LookupStackResultOutput) AdditionalProjectGlobs() pulumi.StringArrayOutput { return o.ApplyT(func(v LookupStackResult) []string { return v.AdditionalProjectGlobs }).(pulumi.StringArrayOutput) diff --git a/sdk/go/spacelift/getStackAwsRole.go b/sdk/go/spacelift/getStackAwsRole.go index 824520f..d3f75a8 100644 --- a/sdk/go/spacelift/getStackAwsRole.go +++ b/sdk/go/spacelift/getStackAwsRole.go @@ -8,7 +8,6 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" "github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift/internal" ) @@ -127,12 +126,6 @@ func (o LookupStackAwsRoleResultOutput) ToLookupStackAwsRoleResultOutputWithCont return o } -func (o LookupStackAwsRoleResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupStackAwsRoleResult] { - return pulumix.Output[LookupStackAwsRoleResult]{ - OutputState: o.OutputState, - } -} - // AWS IAM role session duration in seconds func (o LookupStackAwsRoleResultOutput) DurationSeconds() pulumi.IntOutput { return o.ApplyT(func(v LookupStackAwsRoleResult) int { return v.DurationSeconds }).(pulumi.IntOutput) diff --git a/sdk/go/spacelift/getStackGcpServiceAccount.go b/sdk/go/spacelift/getStackGcpServiceAccount.go index 2124419..d0608ab 100644 --- a/sdk/go/spacelift/getStackGcpServiceAccount.go +++ b/sdk/go/spacelift/getStackGcpServiceAccount.go @@ -8,7 +8,6 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" "github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift/internal" ) @@ -115,12 +114,6 @@ func (o LookupStackGcpServiceAccountResultOutput) ToLookupStackGcpServiceAccount return o } -func (o LookupStackGcpServiceAccountResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupStackGcpServiceAccountResult] { - return pulumix.Output[LookupStackGcpServiceAccountResult]{ - OutputState: o.OutputState, - } -} - // The provider-assigned unique ID for this managed resource. func (o LookupStackGcpServiceAccountResultOutput) Id() pulumi.StringOutput { return o.ApplyT(func(v LookupStackGcpServiceAccountResult) string { return v.Id }).(pulumi.StringOutput) diff --git a/sdk/go/spacelift/getStacks.go b/sdk/go/spacelift/getStacks.go index 0f395fe..aede833 100644 --- a/sdk/go/spacelift/getStacks.go +++ b/sdk/go/spacelift/getStacks.go @@ -8,7 +8,6 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" "github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift/internal" ) @@ -125,12 +124,6 @@ func (o GetStacksResultOutput) ToGetStacksResultOutputWithContext(ctx context.Co return o } -func (o GetStacksResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetStacksResult] { - return pulumix.Output[GetStacksResult]{ - OutputState: o.OutputState, - } -} - // Require stacks to be administrative or not func (o GetStacksResultOutput) Administrative() GetStacksAdministrativePtrOutput { return o.ApplyT(func(v GetStacksResult) *GetStacksAdministrative { return v.Administrative }).(GetStacksAdministrativePtrOutput) diff --git a/sdk/go/spacelift/getVcsAgentPool.go b/sdk/go/spacelift/getVcsAgentPool.go index 6e5c5d7..f7a6905 100644 --- a/sdk/go/spacelift/getVcsAgentPool.go +++ b/sdk/go/spacelift/getVcsAgentPool.go @@ -8,7 +8,6 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" "github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift/internal" ) @@ -79,12 +78,6 @@ func (o LookupVcsAgentPoolResultOutput) ToLookupVcsAgentPoolResultOutputWithCont return o } -func (o LookupVcsAgentPoolResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupVcsAgentPoolResult] { - return pulumix.Output[LookupVcsAgentPoolResult]{ - OutputState: o.OutputState, - } -} - // Free-form VCS agent pool description for users func (o LookupVcsAgentPoolResultOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v LookupVcsAgentPoolResult) string { return v.Description }).(pulumi.StringOutput) diff --git a/sdk/go/spacelift/getVcsAgentPools.go b/sdk/go/spacelift/getVcsAgentPools.go index 9d66b62..1753a16 100644 --- a/sdk/go/spacelift/getVcsAgentPools.go +++ b/sdk/go/spacelift/getVcsAgentPools.go @@ -8,7 +8,6 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" "github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift/internal" ) @@ -80,12 +79,6 @@ func (o GetVcsAgentPoolsResultOutput) ToGetVcsAgentPoolsResultOutputWithContext( return o } -func (o GetVcsAgentPoolsResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetVcsAgentPoolsResult] { - return pulumix.Output[GetVcsAgentPoolsResult]{ - OutputState: o.OutputState, - } -} - // The provider-assigned unique ID for this managed resource. func (o GetVcsAgentPoolsResultOutput) Id() pulumi.StringOutput { return o.ApplyT(func(v GetVcsAgentPoolsResult) string { return v.Id }).(pulumi.StringOutput) diff --git a/sdk/go/spacelift/getWebhook.go b/sdk/go/spacelift/getWebhook.go index 2345311..79322d2 100644 --- a/sdk/go/spacelift/getWebhook.go +++ b/sdk/go/spacelift/getWebhook.go @@ -8,7 +8,6 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" "github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift/internal" ) @@ -119,12 +118,6 @@ func (o LookupWebhookResultOutput) ToLookupWebhookResultOutputWithContext(ctx co return o } -func (o LookupWebhookResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupWebhookResult] { - return pulumix.Output[LookupWebhookResult]{ - OutputState: o.OutputState, - } -} - // enables or disables sending webhooks func (o LookupWebhookResultOutput) Enabled() pulumi.BoolOutput { return o.ApplyT(func(v LookupWebhookResult) bool { return v.Enabled }).(pulumi.BoolOutput) diff --git a/sdk/go/spacelift/getWorkerPool.go b/sdk/go/spacelift/getWorkerPool.go index 8c77249..4c456c6 100644 --- a/sdk/go/spacelift/getWorkerPool.go +++ b/sdk/go/spacelift/getWorkerPool.go @@ -8,7 +8,6 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" "github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift/internal" ) @@ -110,12 +109,6 @@ func (o LookupWorkerPoolResultOutput) ToLookupWorkerPoolResultOutputWithContext( return o } -func (o LookupWorkerPoolResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupWorkerPoolResult] { - return pulumix.Output[LookupWorkerPoolResult]{ - OutputState: o.OutputState, - } -} - // credentials necessary to connect WorkerPool's workers to the control plane func (o LookupWorkerPoolResultOutput) Config() pulumi.StringOutput { return o.ApplyT(func(v LookupWorkerPoolResult) string { return v.Config }).(pulumi.StringOutput) diff --git a/sdk/go/spacelift/getWorkerPools.go b/sdk/go/spacelift/getWorkerPools.go index 7ad648e..38b4114 100644 --- a/sdk/go/spacelift/getWorkerPools.go +++ b/sdk/go/spacelift/getWorkerPools.go @@ -8,7 +8,6 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" "github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift/internal" ) @@ -80,12 +79,6 @@ func (o GetWorkerPoolsResultOutput) ToGetWorkerPoolsResultOutputWithContext(ctx return o } -func (o GetWorkerPoolsResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetWorkerPoolsResult] { - return pulumix.Output[GetWorkerPoolsResult]{ - OutputState: o.OutputState, - } -} - // The provider-assigned unique ID for this managed resource. func (o GetWorkerPoolsResultOutput) Id() pulumi.StringOutput { return o.ApplyT(func(v GetWorkerPoolsResult) string { return v.Id }).(pulumi.StringOutput) diff --git a/sdk/go/spacelift/idpGroupMapping.go b/sdk/go/spacelift/idpGroupMapping.go index a62e622..28d26a4 100644 --- a/sdk/go/spacelift/idpGroupMapping.go +++ b/sdk/go/spacelift/idpGroupMapping.go @@ -9,7 +9,6 @@ import ( "errors" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" "github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift/internal" ) @@ -141,12 +140,6 @@ func (i *IdpGroupMapping) ToIdpGroupMappingOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(IdpGroupMappingOutput) } -func (i *IdpGroupMapping) ToOutput(ctx context.Context) pulumix.Output[*IdpGroupMapping] { - return pulumix.Output[*IdpGroupMapping]{ - OutputState: i.ToIdpGroupMappingOutputWithContext(ctx).OutputState, - } -} - // IdpGroupMappingArrayInput is an input type that accepts IdpGroupMappingArray and IdpGroupMappingArrayOutput values. // You can construct a concrete instance of `IdpGroupMappingArrayInput` via: // @@ -172,12 +165,6 @@ func (i IdpGroupMappingArray) ToIdpGroupMappingArrayOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(IdpGroupMappingArrayOutput) } -func (i IdpGroupMappingArray) ToOutput(ctx context.Context) pulumix.Output[[]*IdpGroupMapping] { - return pulumix.Output[[]*IdpGroupMapping]{ - OutputState: i.ToIdpGroupMappingArrayOutputWithContext(ctx).OutputState, - } -} - // IdpGroupMappingMapInput is an input type that accepts IdpGroupMappingMap and IdpGroupMappingMapOutput values. // You can construct a concrete instance of `IdpGroupMappingMapInput` via: // @@ -203,12 +190,6 @@ func (i IdpGroupMappingMap) ToIdpGroupMappingMapOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(IdpGroupMappingMapOutput) } -func (i IdpGroupMappingMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*IdpGroupMapping] { - return pulumix.Output[map[string]*IdpGroupMapping]{ - OutputState: i.ToIdpGroupMappingMapOutputWithContext(ctx).OutputState, - } -} - type IdpGroupMappingOutput struct{ *pulumi.OutputState } func (IdpGroupMappingOutput) ElementType() reflect.Type { @@ -223,12 +204,6 @@ func (o IdpGroupMappingOutput) ToIdpGroupMappingOutputWithContext(ctx context.Co return o } -func (o IdpGroupMappingOutput) ToOutput(ctx context.Context) pulumix.Output[*IdpGroupMapping] { - return pulumix.Output[*IdpGroupMapping]{ - OutputState: o.OutputState, - } -} - // Name of the user group - should be unique in one account func (o IdpGroupMappingOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v *IdpGroupMapping) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) @@ -252,12 +227,6 @@ func (o IdpGroupMappingArrayOutput) ToIdpGroupMappingArrayOutputWithContext(ctx return o } -func (o IdpGroupMappingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*IdpGroupMapping] { - return pulumix.Output[[]*IdpGroupMapping]{ - OutputState: o.OutputState, - } -} - func (o IdpGroupMappingArrayOutput) Index(i pulumi.IntInput) IdpGroupMappingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *IdpGroupMapping { return vs[0].([]*IdpGroupMapping)[vs[1].(int)] @@ -278,12 +247,6 @@ func (o IdpGroupMappingMapOutput) ToIdpGroupMappingMapOutputWithContext(ctx cont return o } -func (o IdpGroupMappingMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*IdpGroupMapping] { - return pulumix.Output[map[string]*IdpGroupMapping]{ - OutputState: o.OutputState, - } -} - func (o IdpGroupMappingMapOutput) MapIndex(k pulumi.StringInput) IdpGroupMappingOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *IdpGroupMapping { return vs[0].(map[string]*IdpGroupMapping)[vs[1].(string)] diff --git a/sdk/go/spacelift/internal/pulumiUtilities.go b/sdk/go/spacelift/internal/pulumiUtilities.go index 1fdcb2d..bed744c 100644 --- a/sdk/go/spacelift/internal/pulumiUtilities.go +++ b/sdk/go/spacelift/internal/pulumiUtilities.go @@ -15,6 +15,10 @@ import ( "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) +import ( + "github.com/pulumi/pulumi/sdk/v3/go/pulumi/internals" +) + type envParser func(v string) interface{} func ParseEnvBool(v string) interface{} { @@ -90,6 +94,73 @@ func IsZero(v interface{}) bool { return reflect.ValueOf(v).IsZero() } +func CallPlain( + ctx *pulumi.Context, + tok string, + args pulumi.Input, + output pulumi.Output, + self pulumi.Resource, + property string, + resultPtr reflect.Value, + errorPtr *error, + opts ...pulumi.InvokeOption, +) { + res, err := callPlainInner(ctx, tok, args, output, self, opts...) + if err != nil { + *errorPtr = err + return + } + + v := reflect.ValueOf(res) + + // extract res.property field if asked to do so + if property != "" { + v = v.FieldByName("Res") + } + + // return by setting the result pointer; this style of returns shortens the generated code without generics + resultPtr.Elem().Set(v) +} + +func callPlainInner( + ctx *pulumi.Context, + tok string, + args pulumi.Input, + output pulumi.Output, + self pulumi.Resource, + opts ...pulumi.InvokeOption, +) (any, error) { + o, err := ctx.Call(tok, args, output, self, opts...) + if err != nil { + return nil, err + } + + outputData, err := internals.UnsafeAwaitOutput(ctx.Context(), o) + if err != nil { + return nil, err + } + + // Ingoring deps silently. They are typically non-empty, r.f() calls include r as a dependency. + known := outputData.Known + value := outputData.Value + secret := outputData.Secret + + problem := "" + if !known { + problem = "an unknown value" + } else if secret { + problem = "a secret value" + } + + if problem != "" { + return nil, fmt.Errorf("Plain resource method %q incorrectly returned %s. "+ + "This is an error in the provider, please report this to the provider developer.", + tok, problem) + } + + return value, nil +} + // PkgResourceDefaultOpts provides package level defaults to pulumi.OptionResource. func PkgResourceDefaultOpts(opts []pulumi.ResourceOption) []pulumi.ResourceOption { defaults := []pulumi.ResourceOption{} diff --git a/sdk/go/spacelift/module.go b/sdk/go/spacelift/module.go index 9ce0500..d540277 100644 --- a/sdk/go/spacelift/module.go +++ b/sdk/go/spacelift/module.go @@ -9,7 +9,6 @@ import ( "errors" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" "github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift/internal" ) @@ -27,6 +26,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { +// // Explicit module name and provider: // _, err := spacelift.NewModule(ctx, "k8s-module", &spacelift.ModuleArgs{ // Administrative: pulumi.Bool(true), // Branch: pulumi.String("master"), @@ -37,6 +37,7 @@ import ( // if err != nil { // return err // } +// // Unspecified module name and provider (repository naming scheme terraform-${provider}-${name}) // _, err = spacelift.NewModule(ctx, "example-module", &spacelift.ModuleArgs{ // Administrative: pulumi.Bool(true), // Branch: pulumi.String("master"), @@ -351,12 +352,6 @@ func (i *Module) ToModuleOutputWithContext(ctx context.Context) ModuleOutput { return pulumi.ToOutputWithContext(ctx, i).(ModuleOutput) } -func (i *Module) ToOutput(ctx context.Context) pulumix.Output[*Module] { - return pulumix.Output[*Module]{ - OutputState: i.ToModuleOutputWithContext(ctx).OutputState, - } -} - // ModuleArrayInput is an input type that accepts ModuleArray and ModuleArrayOutput values. // You can construct a concrete instance of `ModuleArrayInput` via: // @@ -382,12 +377,6 @@ func (i ModuleArray) ToModuleArrayOutputWithContext(ctx context.Context) ModuleA return pulumi.ToOutputWithContext(ctx, i).(ModuleArrayOutput) } -func (i ModuleArray) ToOutput(ctx context.Context) pulumix.Output[[]*Module] { - return pulumix.Output[[]*Module]{ - OutputState: i.ToModuleArrayOutputWithContext(ctx).OutputState, - } -} - // ModuleMapInput is an input type that accepts ModuleMap and ModuleMapOutput values. // You can construct a concrete instance of `ModuleMapInput` via: // @@ -413,12 +402,6 @@ func (i ModuleMap) ToModuleMapOutputWithContext(ctx context.Context) ModuleMapOu return pulumi.ToOutputWithContext(ctx, i).(ModuleMapOutput) } -func (i ModuleMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*Module] { - return pulumix.Output[map[string]*Module]{ - OutputState: i.ToModuleMapOutputWithContext(ctx).OutputState, - } -} - type ModuleOutput struct{ *pulumi.OutputState } func (ModuleOutput) ElementType() reflect.Type { @@ -433,12 +416,6 @@ func (o ModuleOutput) ToModuleOutputWithContext(ctx context.Context) ModuleOutpu return o } -func (o ModuleOutput) ToOutput(ctx context.Context) pulumix.Output[*Module] { - return pulumix.Output[*Module]{ - OutputState: o.OutputState, - } -} - // Indicates whether this module can manage others. Defaults to `false`. func (o ModuleOutput) Administrative() pulumi.BoolPtrOutput { return o.ApplyT(func(v *Module) pulumi.BoolPtrOutput { return v.Administrative }).(pulumi.BoolPtrOutput) @@ -556,12 +533,6 @@ func (o ModuleArrayOutput) ToModuleArrayOutputWithContext(ctx context.Context) M return o } -func (o ModuleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*Module] { - return pulumix.Output[[]*Module]{ - OutputState: o.OutputState, - } -} - func (o ModuleArrayOutput) Index(i pulumi.IntInput) ModuleOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *Module { return vs[0].([]*Module)[vs[1].(int)] @@ -582,12 +553,6 @@ func (o ModuleMapOutput) ToModuleMapOutputWithContext(ctx context.Context) Modul return o } -func (o ModuleMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*Module] { - return pulumix.Output[map[string]*Module]{ - OutputState: o.OutputState, - } -} - func (o ModuleMapOutput) MapIndex(k pulumi.StringInput) ModuleOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *Module { return vs[0].(map[string]*Module)[vs[1].(string)] diff --git a/sdk/go/spacelift/mountedfile.go b/sdk/go/spacelift/mountedfile.go index 600fc00..0512c29 100644 --- a/sdk/go/spacelift/mountedfile.go +++ b/sdk/go/spacelift/mountedfile.go @@ -9,7 +9,6 @@ import ( "errors" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" "github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift/internal" ) @@ -31,9 +30,9 @@ import ( // // ) // -// func filebase64OrPanic(path string) pulumi.StringPtrInput { +// func filebase64OrPanic(path string) string { // if fileData, err := os.ReadFile(path); err == nil { -// return pulumi.String(base64.StdEncoding.EncodeToString(fileData[:])) +// return base64.StdEncoding.EncodeToString(fileData[:]) // } else { // panic(err.Error()) // } @@ -41,6 +40,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { +// // For a context // _, err := spacelift.NewMountedfile(ctx, "ireland-kubeconfig", &spacelift.MountedfileArgs{ // ContextId: pulumi.String("prod-k8s-ie"), // RelativePath: pulumi.String("kubeconfig"), @@ -49,6 +49,7 @@ import ( // if err != nil { // return err // } +// // For a module // _, err = spacelift.NewMountedfile(ctx, "module-kubeconfig", &spacelift.MountedfileArgs{ // ModuleId: pulumi.String("k8s-module"), // RelativePath: pulumi.String("kubeconfig"), @@ -57,6 +58,7 @@ import ( // if err != nil { // return err // } +// // For a stack // _, err = spacelift.NewMountedfile(ctx, "core-kubeconfig", &spacelift.MountedfileArgs{ // StackId: pulumi.String("k8s-core"), // RelativePath: pulumi.String("kubeconfig"), @@ -243,12 +245,6 @@ func (i *Mountedfile) ToMountedfileOutputWithContext(ctx context.Context) Mounte return pulumi.ToOutputWithContext(ctx, i).(MountedfileOutput) } -func (i *Mountedfile) ToOutput(ctx context.Context) pulumix.Output[*Mountedfile] { - return pulumix.Output[*Mountedfile]{ - OutputState: i.ToMountedfileOutputWithContext(ctx).OutputState, - } -} - // MountedfileArrayInput is an input type that accepts MountedfileArray and MountedfileArrayOutput values. // You can construct a concrete instance of `MountedfileArrayInput` via: // @@ -274,12 +270,6 @@ func (i MountedfileArray) ToMountedfileArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(MountedfileArrayOutput) } -func (i MountedfileArray) ToOutput(ctx context.Context) pulumix.Output[[]*Mountedfile] { - return pulumix.Output[[]*Mountedfile]{ - OutputState: i.ToMountedfileArrayOutputWithContext(ctx).OutputState, - } -} - // MountedfileMapInput is an input type that accepts MountedfileMap and MountedfileMapOutput values. // You can construct a concrete instance of `MountedfileMapInput` via: // @@ -305,12 +295,6 @@ func (i MountedfileMap) ToMountedfileMapOutputWithContext(ctx context.Context) M return pulumi.ToOutputWithContext(ctx, i).(MountedfileMapOutput) } -func (i MountedfileMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*Mountedfile] { - return pulumix.Output[map[string]*Mountedfile]{ - OutputState: i.ToMountedfileMapOutputWithContext(ctx).OutputState, - } -} - type MountedfileOutput struct{ *pulumi.OutputState } func (MountedfileOutput) ElementType() reflect.Type { @@ -325,12 +309,6 @@ func (o MountedfileOutput) ToMountedfileOutputWithContext(ctx context.Context) M return o } -func (o MountedfileOutput) ToOutput(ctx context.Context) pulumix.Output[*Mountedfile] { - return pulumix.Output[*Mountedfile]{ - OutputState: o.OutputState, - } -} - // SHA-256 checksum of the value func (o MountedfileOutput) Checksum() pulumi.StringOutput { return o.ApplyT(func(v *Mountedfile) pulumi.StringOutput { return v.Checksum }).(pulumi.StringOutput) @@ -380,12 +358,6 @@ func (o MountedfileArrayOutput) ToMountedfileArrayOutputWithContext(ctx context. return o } -func (o MountedfileArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*Mountedfile] { - return pulumix.Output[[]*Mountedfile]{ - OutputState: o.OutputState, - } -} - func (o MountedfileArrayOutput) Index(i pulumi.IntInput) MountedfileOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *Mountedfile { return vs[0].([]*Mountedfile)[vs[1].(int)] @@ -406,12 +378,6 @@ func (o MountedfileMapOutput) ToMountedfileMapOutputWithContext(ctx context.Cont return o } -func (o MountedfileMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*Mountedfile] { - return pulumix.Output[map[string]*Mountedfile]{ - OutputState: o.OutputState, - } -} - func (o MountedfileMapOutput) MapIndex(k pulumi.StringInput) MountedfileOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *Mountedfile { return vs[0].(map[string]*Mountedfile)[vs[1].(string)] diff --git a/sdk/go/spacelift/namedWebhook.go b/sdk/go/spacelift/namedWebhook.go index 0a85b4d..2fa816b 100644 --- a/sdk/go/spacelift/namedWebhook.go +++ b/sdk/go/spacelift/namedWebhook.go @@ -9,7 +9,6 @@ import ( "errors" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" "github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift/internal" ) @@ -164,12 +163,6 @@ func (i *NamedWebhook) ToNamedWebhookOutputWithContext(ctx context.Context) Name return pulumi.ToOutputWithContext(ctx, i).(NamedWebhookOutput) } -func (i *NamedWebhook) ToOutput(ctx context.Context) pulumix.Output[*NamedWebhook] { - return pulumix.Output[*NamedWebhook]{ - OutputState: i.ToNamedWebhookOutputWithContext(ctx).OutputState, - } -} - // NamedWebhookArrayInput is an input type that accepts NamedWebhookArray and NamedWebhookArrayOutput values. // You can construct a concrete instance of `NamedWebhookArrayInput` via: // @@ -195,12 +188,6 @@ func (i NamedWebhookArray) ToNamedWebhookArrayOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(NamedWebhookArrayOutput) } -func (i NamedWebhookArray) ToOutput(ctx context.Context) pulumix.Output[[]*NamedWebhook] { - return pulumix.Output[[]*NamedWebhook]{ - OutputState: i.ToNamedWebhookArrayOutputWithContext(ctx).OutputState, - } -} - // NamedWebhookMapInput is an input type that accepts NamedWebhookMap and NamedWebhookMapOutput values. // You can construct a concrete instance of `NamedWebhookMapInput` via: // @@ -226,12 +213,6 @@ func (i NamedWebhookMap) ToNamedWebhookMapOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(NamedWebhookMapOutput) } -func (i NamedWebhookMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*NamedWebhook] { - return pulumix.Output[map[string]*NamedWebhook]{ - OutputState: i.ToNamedWebhookMapOutputWithContext(ctx).OutputState, - } -} - type NamedWebhookOutput struct{ *pulumi.OutputState } func (NamedWebhookOutput) ElementType() reflect.Type { @@ -246,12 +227,6 @@ func (o NamedWebhookOutput) ToNamedWebhookOutputWithContext(ctx context.Context) return o } -func (o NamedWebhookOutput) ToOutput(ctx context.Context) pulumix.Output[*NamedWebhook] { - return pulumix.Output[*NamedWebhook]{ - OutputState: o.OutputState, - } -} - // enables or disables sending webhooks. func (o NamedWebhookOutput) Enabled() pulumi.BoolOutput { return o.ApplyT(func(v *NamedWebhook) pulumi.BoolOutput { return v.Enabled }).(pulumi.BoolOutput) @@ -296,12 +271,6 @@ func (o NamedWebhookArrayOutput) ToNamedWebhookArrayOutputWithContext(ctx contex return o } -func (o NamedWebhookArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*NamedWebhook] { - return pulumix.Output[[]*NamedWebhook]{ - OutputState: o.OutputState, - } -} - func (o NamedWebhookArrayOutput) Index(i pulumi.IntInput) NamedWebhookOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *NamedWebhook { return vs[0].([]*NamedWebhook)[vs[1].(int)] @@ -322,12 +291,6 @@ func (o NamedWebhookMapOutput) ToNamedWebhookMapOutputWithContext(ctx context.Co return o } -func (o NamedWebhookMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*NamedWebhook] { - return pulumix.Output[map[string]*NamedWebhook]{ - OutputState: o.OutputState, - } -} - func (o NamedWebhookMapOutput) MapIndex(k pulumi.StringInput) NamedWebhookOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *NamedWebhook { return vs[0].(map[string]*NamedWebhook)[vs[1].(string)] diff --git a/sdk/go/spacelift/namedWebhookSecretHeader.go b/sdk/go/spacelift/namedWebhookSecretHeader.go index b3b8921..517702f 100644 --- a/sdk/go/spacelift/namedWebhookSecretHeader.go +++ b/sdk/go/spacelift/namedWebhookSecretHeader.go @@ -9,7 +9,6 @@ import ( "errors" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" "github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift/internal" ) @@ -134,12 +133,6 @@ func (i *NamedWebhookSecretHeader) ToNamedWebhookSecretHeaderOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(NamedWebhookSecretHeaderOutput) } -func (i *NamedWebhookSecretHeader) ToOutput(ctx context.Context) pulumix.Output[*NamedWebhookSecretHeader] { - return pulumix.Output[*NamedWebhookSecretHeader]{ - OutputState: i.ToNamedWebhookSecretHeaderOutputWithContext(ctx).OutputState, - } -} - // NamedWebhookSecretHeaderArrayInput is an input type that accepts NamedWebhookSecretHeaderArray and NamedWebhookSecretHeaderArrayOutput values. // You can construct a concrete instance of `NamedWebhookSecretHeaderArrayInput` via: // @@ -165,12 +158,6 @@ func (i NamedWebhookSecretHeaderArray) ToNamedWebhookSecretHeaderArrayOutputWith return pulumi.ToOutputWithContext(ctx, i).(NamedWebhookSecretHeaderArrayOutput) } -func (i NamedWebhookSecretHeaderArray) ToOutput(ctx context.Context) pulumix.Output[[]*NamedWebhookSecretHeader] { - return pulumix.Output[[]*NamedWebhookSecretHeader]{ - OutputState: i.ToNamedWebhookSecretHeaderArrayOutputWithContext(ctx).OutputState, - } -} - // NamedWebhookSecretHeaderMapInput is an input type that accepts NamedWebhookSecretHeaderMap and NamedWebhookSecretHeaderMapOutput values. // You can construct a concrete instance of `NamedWebhookSecretHeaderMapInput` via: // @@ -196,12 +183,6 @@ func (i NamedWebhookSecretHeaderMap) ToNamedWebhookSecretHeaderMapOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(NamedWebhookSecretHeaderMapOutput) } -func (i NamedWebhookSecretHeaderMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*NamedWebhookSecretHeader] { - return pulumix.Output[map[string]*NamedWebhookSecretHeader]{ - OutputState: i.ToNamedWebhookSecretHeaderMapOutputWithContext(ctx).OutputState, - } -} - type NamedWebhookSecretHeaderOutput struct{ *pulumi.OutputState } func (NamedWebhookSecretHeaderOutput) ElementType() reflect.Type { @@ -216,12 +197,6 @@ func (o NamedWebhookSecretHeaderOutput) ToNamedWebhookSecretHeaderOutputWithCont return o } -func (o NamedWebhookSecretHeaderOutput) ToOutput(ctx context.Context) pulumix.Output[*NamedWebhookSecretHeader] { - return pulumix.Output[*NamedWebhookSecretHeader]{ - OutputState: o.OutputState, - } -} - // key for the header func (o NamedWebhookSecretHeaderOutput) Key() pulumi.StringOutput { return o.ApplyT(func(v *NamedWebhookSecretHeader) pulumi.StringOutput { return v.Key }).(pulumi.StringOutput) @@ -251,12 +226,6 @@ func (o NamedWebhookSecretHeaderArrayOutput) ToNamedWebhookSecretHeaderArrayOutp return o } -func (o NamedWebhookSecretHeaderArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*NamedWebhookSecretHeader] { - return pulumix.Output[[]*NamedWebhookSecretHeader]{ - OutputState: o.OutputState, - } -} - func (o NamedWebhookSecretHeaderArrayOutput) Index(i pulumi.IntInput) NamedWebhookSecretHeaderOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *NamedWebhookSecretHeader { return vs[0].([]*NamedWebhookSecretHeader)[vs[1].(int)] @@ -277,12 +246,6 @@ func (o NamedWebhookSecretHeaderMapOutput) ToNamedWebhookSecretHeaderMapOutputWi return o } -func (o NamedWebhookSecretHeaderMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*NamedWebhookSecretHeader] { - return pulumix.Output[map[string]*NamedWebhookSecretHeader]{ - OutputState: o.OutputState, - } -} - func (o NamedWebhookSecretHeaderMapOutput) MapIndex(k pulumi.StringInput) NamedWebhookSecretHeaderOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *NamedWebhookSecretHeader { return vs[0].(map[string]*NamedWebhookSecretHeader)[vs[1].(string)] diff --git a/sdk/go/spacelift/policy.go b/sdk/go/spacelift/policy.go index d285fbf..0966ebc 100644 --- a/sdk/go/spacelift/policy.go +++ b/sdk/go/spacelift/policy.go @@ -9,7 +9,6 @@ import ( "errors" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" "github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift/internal" ) @@ -199,12 +198,6 @@ func (i *Policy) ToPolicyOutputWithContext(ctx context.Context) PolicyOutput { return pulumi.ToOutputWithContext(ctx, i).(PolicyOutput) } -func (i *Policy) ToOutput(ctx context.Context) pulumix.Output[*Policy] { - return pulumix.Output[*Policy]{ - OutputState: i.ToPolicyOutputWithContext(ctx).OutputState, - } -} - // PolicyArrayInput is an input type that accepts PolicyArray and PolicyArrayOutput values. // You can construct a concrete instance of `PolicyArrayInput` via: // @@ -230,12 +223,6 @@ func (i PolicyArray) ToPolicyArrayOutputWithContext(ctx context.Context) PolicyA return pulumi.ToOutputWithContext(ctx, i).(PolicyArrayOutput) } -func (i PolicyArray) ToOutput(ctx context.Context) pulumix.Output[[]*Policy] { - return pulumix.Output[[]*Policy]{ - OutputState: i.ToPolicyArrayOutputWithContext(ctx).OutputState, - } -} - // PolicyMapInput is an input type that accepts PolicyMap and PolicyMapOutput values. // You can construct a concrete instance of `PolicyMapInput` via: // @@ -261,12 +248,6 @@ func (i PolicyMap) ToPolicyMapOutputWithContext(ctx context.Context) PolicyMapOu return pulumi.ToOutputWithContext(ctx, i).(PolicyMapOutput) } -func (i PolicyMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*Policy] { - return pulumix.Output[map[string]*Policy]{ - OutputState: i.ToPolicyMapOutputWithContext(ctx).OutputState, - } -} - type PolicyOutput struct{ *pulumi.OutputState } func (PolicyOutput) ElementType() reflect.Type { @@ -281,12 +262,6 @@ func (o PolicyOutput) ToPolicyOutputWithContext(ctx context.Context) PolicyOutpu return o } -func (o PolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*Policy] { - return pulumix.Output[*Policy]{ - OutputState: o.OutputState, - } -} - // Body of the policy func (o PolicyOutput) Body() pulumi.StringOutput { return o.ApplyT(func(v *Policy) pulumi.StringOutput { return v.Body }).(pulumi.StringOutput) @@ -325,12 +300,6 @@ func (o PolicyArrayOutput) ToPolicyArrayOutputWithContext(ctx context.Context) P return o } -func (o PolicyArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*Policy] { - return pulumix.Output[[]*Policy]{ - OutputState: o.OutputState, - } -} - func (o PolicyArrayOutput) Index(i pulumi.IntInput) PolicyOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *Policy { return vs[0].([]*Policy)[vs[1].(int)] @@ -351,12 +320,6 @@ func (o PolicyMapOutput) ToPolicyMapOutputWithContext(ctx context.Context) Polic return o } -func (o PolicyMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*Policy] { - return pulumix.Output[map[string]*Policy]{ - OutputState: o.OutputState, - } -} - func (o PolicyMapOutput) MapIndex(k pulumi.StringInput) PolicyOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *Policy { return vs[0].(map[string]*Policy)[vs[1].(string)] diff --git a/sdk/go/spacelift/policyAttachment.go b/sdk/go/spacelift/policyAttachment.go index a3f957e..0a07b7f 100644 --- a/sdk/go/spacelift/policyAttachment.go +++ b/sdk/go/spacelift/policyAttachment.go @@ -9,7 +9,6 @@ import ( "errors" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" "github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift/internal" ) @@ -180,12 +179,6 @@ func (i *PolicyAttachment) ToPolicyAttachmentOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(PolicyAttachmentOutput) } -func (i *PolicyAttachment) ToOutput(ctx context.Context) pulumix.Output[*PolicyAttachment] { - return pulumix.Output[*PolicyAttachment]{ - OutputState: i.ToPolicyAttachmentOutputWithContext(ctx).OutputState, - } -} - // PolicyAttachmentArrayInput is an input type that accepts PolicyAttachmentArray and PolicyAttachmentArrayOutput values. // You can construct a concrete instance of `PolicyAttachmentArrayInput` via: // @@ -211,12 +204,6 @@ func (i PolicyAttachmentArray) ToPolicyAttachmentArrayOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(PolicyAttachmentArrayOutput) } -func (i PolicyAttachmentArray) ToOutput(ctx context.Context) pulumix.Output[[]*PolicyAttachment] { - return pulumix.Output[[]*PolicyAttachment]{ - OutputState: i.ToPolicyAttachmentArrayOutputWithContext(ctx).OutputState, - } -} - // PolicyAttachmentMapInput is an input type that accepts PolicyAttachmentMap and PolicyAttachmentMapOutput values. // You can construct a concrete instance of `PolicyAttachmentMapInput` via: // @@ -242,12 +229,6 @@ func (i PolicyAttachmentMap) ToPolicyAttachmentMapOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(PolicyAttachmentMapOutput) } -func (i PolicyAttachmentMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*PolicyAttachment] { - return pulumix.Output[map[string]*PolicyAttachment]{ - OutputState: i.ToPolicyAttachmentMapOutputWithContext(ctx).OutputState, - } -} - type PolicyAttachmentOutput struct{ *pulumi.OutputState } func (PolicyAttachmentOutput) ElementType() reflect.Type { @@ -262,12 +243,6 @@ func (o PolicyAttachmentOutput) ToPolicyAttachmentOutputWithContext(ctx context. return o } -func (o PolicyAttachmentOutput) ToOutput(ctx context.Context) pulumix.Output[*PolicyAttachment] { - return pulumix.Output[*PolicyAttachment]{ - OutputState: o.OutputState, - } -} - // ID of the module to attach the policy to func (o PolicyAttachmentOutput) ModuleId() pulumi.StringPtrOutput { return o.ApplyT(func(v *PolicyAttachment) pulumi.StringPtrOutput { return v.ModuleId }).(pulumi.StringPtrOutput) @@ -297,12 +272,6 @@ func (o PolicyAttachmentArrayOutput) ToPolicyAttachmentArrayOutputWithContext(ct return o } -func (o PolicyAttachmentArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*PolicyAttachment] { - return pulumix.Output[[]*PolicyAttachment]{ - OutputState: o.OutputState, - } -} - func (o PolicyAttachmentArrayOutput) Index(i pulumi.IntInput) PolicyAttachmentOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *PolicyAttachment { return vs[0].([]*PolicyAttachment)[vs[1].(int)] @@ -323,12 +292,6 @@ func (o PolicyAttachmentMapOutput) ToPolicyAttachmentMapOutputWithContext(ctx co return o } -func (o PolicyAttachmentMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*PolicyAttachment] { - return pulumix.Output[map[string]*PolicyAttachment]{ - OutputState: o.OutputState, - } -} - func (o PolicyAttachmentMapOutput) MapIndex(k pulumi.StringInput) PolicyAttachmentOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *PolicyAttachment { return vs[0].(map[string]*PolicyAttachment)[vs[1].(string)] diff --git a/sdk/go/spacelift/provider.go b/sdk/go/spacelift/provider.go index 0cecf62..8df9a17 100644 --- a/sdk/go/spacelift/provider.go +++ b/sdk/go/spacelift/provider.go @@ -8,7 +8,6 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" "github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift/internal" ) @@ -122,12 +121,6 @@ func (i *Provider) ToProviderOutputWithContext(ctx context.Context) ProviderOutp return pulumi.ToOutputWithContext(ctx, i).(ProviderOutput) } -func (i *Provider) ToOutput(ctx context.Context) pulumix.Output[*Provider] { - return pulumix.Output[*Provider]{ - OutputState: i.ToProviderOutputWithContext(ctx).OutputState, - } -} - type ProviderOutput struct{ *pulumi.OutputState } func (ProviderOutput) ElementType() reflect.Type { @@ -142,12 +135,6 @@ func (o ProviderOutput) ToProviderOutputWithContext(ctx context.Context) Provide return o } -func (o ProviderOutput) ToOutput(ctx context.Context) pulumix.Output[*Provider] { - return pulumix.Output[*Provider]{ - OutputState: o.OutputState, - } -} - // Endpoint to use when authenticating with an API key outside of Spacelift func (o ProviderOutput) ApiKeyEndpoint() pulumi.StringPtrOutput { return o.ApplyT(func(v *Provider) pulumi.StringPtrOutput { return v.ApiKeyEndpoint }).(pulumi.StringPtrOutput) diff --git a/sdk/go/spacelift/pulumiTypes.go b/sdk/go/spacelift/pulumiTypes.go index a794d94..2cde303 100644 --- a/sdk/go/spacelift/pulumiTypes.go +++ b/sdk/go/spacelift/pulumiTypes.go @@ -8,7 +8,6 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" "github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift/internal" ) @@ -51,12 +50,6 @@ func (i IdpGroupMappingPolicyArgs) ToIdpGroupMappingPolicyOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(IdpGroupMappingPolicyOutput) } -func (i IdpGroupMappingPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[IdpGroupMappingPolicy] { - return pulumix.Output[IdpGroupMappingPolicy]{ - OutputState: i.ToIdpGroupMappingPolicyOutputWithContext(ctx).OutputState, - } -} - // IdpGroupMappingPolicyArrayInput is an input type that accepts IdpGroupMappingPolicyArray and IdpGroupMappingPolicyArrayOutput values. // You can construct a concrete instance of `IdpGroupMappingPolicyArrayInput` via: // @@ -82,12 +75,6 @@ func (i IdpGroupMappingPolicyArray) ToIdpGroupMappingPolicyArrayOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(IdpGroupMappingPolicyArrayOutput) } -func (i IdpGroupMappingPolicyArray) ToOutput(ctx context.Context) pulumix.Output[[]IdpGroupMappingPolicy] { - return pulumix.Output[[]IdpGroupMappingPolicy]{ - OutputState: i.ToIdpGroupMappingPolicyArrayOutputWithContext(ctx).OutputState, - } -} - type IdpGroupMappingPolicyOutput struct{ *pulumi.OutputState } func (IdpGroupMappingPolicyOutput) ElementType() reflect.Type { @@ -102,12 +89,6 @@ func (o IdpGroupMappingPolicyOutput) ToIdpGroupMappingPolicyOutputWithContext(ct return o } -func (o IdpGroupMappingPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[IdpGroupMappingPolicy] { - return pulumix.Output[IdpGroupMappingPolicy]{ - OutputState: o.OutputState, - } -} - // Type of access to the space. Possible values are: READ, WRITE, ADMIN func (o IdpGroupMappingPolicyOutput) Role() pulumi.StringOutput { return o.ApplyT(func(v IdpGroupMappingPolicy) string { return v.Role }).(pulumi.StringOutput) @@ -132,12 +113,6 @@ func (o IdpGroupMappingPolicyArrayOutput) ToIdpGroupMappingPolicyArrayOutputWith return o } -func (o IdpGroupMappingPolicyArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]IdpGroupMappingPolicy] { - return pulumix.Output[[]IdpGroupMappingPolicy]{ - OutputState: o.OutputState, - } -} - func (o IdpGroupMappingPolicyArrayOutput) Index(i pulumi.IntInput) IdpGroupMappingPolicyOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) IdpGroupMappingPolicy { return vs[0].([]IdpGroupMappingPolicy)[vs[1].(int)] @@ -185,12 +160,6 @@ func (i ModuleAzureDevopsArgs) ToModuleAzureDevopsOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(ModuleAzureDevopsOutput) } -func (i ModuleAzureDevopsArgs) ToOutput(ctx context.Context) pulumix.Output[ModuleAzureDevops] { - return pulumix.Output[ModuleAzureDevops]{ - OutputState: i.ToModuleAzureDevopsOutputWithContext(ctx).OutputState, - } -} - func (i ModuleAzureDevopsArgs) ToModuleAzureDevopsPtrOutput() ModuleAzureDevopsPtrOutput { return i.ToModuleAzureDevopsPtrOutputWithContext(context.Background()) } @@ -232,12 +201,6 @@ func (i *moduleAzureDevopsPtrType) ToModuleAzureDevopsPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(ModuleAzureDevopsPtrOutput) } -func (i *moduleAzureDevopsPtrType) ToOutput(ctx context.Context) pulumix.Output[*ModuleAzureDevops] { - return pulumix.Output[*ModuleAzureDevops]{ - OutputState: i.ToModuleAzureDevopsPtrOutputWithContext(ctx).OutputState, - } -} - type ModuleAzureDevopsOutput struct{ *pulumi.OutputState } func (ModuleAzureDevopsOutput) ElementType() reflect.Type { @@ -262,12 +225,6 @@ func (o ModuleAzureDevopsOutput) ToModuleAzureDevopsPtrOutputWithContext(ctx con }).(ModuleAzureDevopsPtrOutput) } -func (o ModuleAzureDevopsOutput) ToOutput(ctx context.Context) pulumix.Output[ModuleAzureDevops] { - return pulumix.Output[ModuleAzureDevops]{ - OutputState: o.OutputState, - } -} - // ID of the Azure Devops integration. If not specified, the default integration will be used. func (o ModuleAzureDevopsOutput) Id() pulumi.StringPtrOutput { return o.ApplyT(func(v ModuleAzureDevops) *string { return v.Id }).(pulumi.StringPtrOutput) @@ -297,12 +254,6 @@ func (o ModuleAzureDevopsPtrOutput) ToModuleAzureDevopsPtrOutputWithContext(ctx return o } -func (o ModuleAzureDevopsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ModuleAzureDevops] { - return pulumix.Output[*ModuleAzureDevops]{ - OutputState: o.OutputState, - } -} - func (o ModuleAzureDevopsPtrOutput) Elem() ModuleAzureDevopsOutput { return o.ApplyT(func(v *ModuleAzureDevops) ModuleAzureDevops { if v != nil { @@ -384,12 +335,6 @@ func (i ModuleBitbucketCloudArgs) ToModuleBitbucketCloudOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(ModuleBitbucketCloudOutput) } -func (i ModuleBitbucketCloudArgs) ToOutput(ctx context.Context) pulumix.Output[ModuleBitbucketCloud] { - return pulumix.Output[ModuleBitbucketCloud]{ - OutputState: i.ToModuleBitbucketCloudOutputWithContext(ctx).OutputState, - } -} - func (i ModuleBitbucketCloudArgs) ToModuleBitbucketCloudPtrOutput() ModuleBitbucketCloudPtrOutput { return i.ToModuleBitbucketCloudPtrOutputWithContext(context.Background()) } @@ -431,12 +376,6 @@ func (i *moduleBitbucketCloudPtrType) ToModuleBitbucketCloudPtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(ModuleBitbucketCloudPtrOutput) } -func (i *moduleBitbucketCloudPtrType) ToOutput(ctx context.Context) pulumix.Output[*ModuleBitbucketCloud] { - return pulumix.Output[*ModuleBitbucketCloud]{ - OutputState: i.ToModuleBitbucketCloudPtrOutputWithContext(ctx).OutputState, - } -} - type ModuleBitbucketCloudOutput struct{ *pulumi.OutputState } func (ModuleBitbucketCloudOutput) ElementType() reflect.Type { @@ -461,12 +400,6 @@ func (o ModuleBitbucketCloudOutput) ToModuleBitbucketCloudPtrOutputWithContext(c }).(ModuleBitbucketCloudPtrOutput) } -func (o ModuleBitbucketCloudOutput) ToOutput(ctx context.Context) pulumix.Output[ModuleBitbucketCloud] { - return pulumix.Output[ModuleBitbucketCloud]{ - OutputState: o.OutputState, - } -} - // The ID of the Bitbucket Cloud integration. If not specified, the default integration will be used. func (o ModuleBitbucketCloudOutput) Id() pulumi.StringPtrOutput { return o.ApplyT(func(v ModuleBitbucketCloud) *string { return v.Id }).(pulumi.StringPtrOutput) @@ -496,12 +429,6 @@ func (o ModuleBitbucketCloudPtrOutput) ToModuleBitbucketCloudPtrOutputWithContex return o } -func (o ModuleBitbucketCloudPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ModuleBitbucketCloud] { - return pulumix.Output[*ModuleBitbucketCloud]{ - OutputState: o.OutputState, - } -} - func (o ModuleBitbucketCloudPtrOutput) Elem() ModuleBitbucketCloudOutput { return o.ApplyT(func(v *ModuleBitbucketCloud) ModuleBitbucketCloud { if v != nil { @@ -583,12 +510,6 @@ func (i ModuleBitbucketDatacenterArgs) ToModuleBitbucketDatacenterOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(ModuleBitbucketDatacenterOutput) } -func (i ModuleBitbucketDatacenterArgs) ToOutput(ctx context.Context) pulumix.Output[ModuleBitbucketDatacenter] { - return pulumix.Output[ModuleBitbucketDatacenter]{ - OutputState: i.ToModuleBitbucketDatacenterOutputWithContext(ctx).OutputState, - } -} - func (i ModuleBitbucketDatacenterArgs) ToModuleBitbucketDatacenterPtrOutput() ModuleBitbucketDatacenterPtrOutput { return i.ToModuleBitbucketDatacenterPtrOutputWithContext(context.Background()) } @@ -630,12 +551,6 @@ func (i *moduleBitbucketDatacenterPtrType) ToModuleBitbucketDatacenterPtrOutputW return pulumi.ToOutputWithContext(ctx, i).(ModuleBitbucketDatacenterPtrOutput) } -func (i *moduleBitbucketDatacenterPtrType) ToOutput(ctx context.Context) pulumix.Output[*ModuleBitbucketDatacenter] { - return pulumix.Output[*ModuleBitbucketDatacenter]{ - OutputState: i.ToModuleBitbucketDatacenterPtrOutputWithContext(ctx).OutputState, - } -} - type ModuleBitbucketDatacenterOutput struct{ *pulumi.OutputState } func (ModuleBitbucketDatacenterOutput) ElementType() reflect.Type { @@ -660,12 +575,6 @@ func (o ModuleBitbucketDatacenterOutput) ToModuleBitbucketDatacenterPtrOutputWit }).(ModuleBitbucketDatacenterPtrOutput) } -func (o ModuleBitbucketDatacenterOutput) ToOutput(ctx context.Context) pulumix.Output[ModuleBitbucketDatacenter] { - return pulumix.Output[ModuleBitbucketDatacenter]{ - OutputState: o.OutputState, - } -} - // The ID of the Bitbucket Datacenter integration. If not specified, the default integration will be used. func (o ModuleBitbucketDatacenterOutput) Id() pulumi.StringPtrOutput { return o.ApplyT(func(v ModuleBitbucketDatacenter) *string { return v.Id }).(pulumi.StringPtrOutput) @@ -695,12 +604,6 @@ func (o ModuleBitbucketDatacenterPtrOutput) ToModuleBitbucketDatacenterPtrOutput return o } -func (o ModuleBitbucketDatacenterPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ModuleBitbucketDatacenter] { - return pulumix.Output[*ModuleBitbucketDatacenter]{ - OutputState: o.OutputState, - } -} - func (o ModuleBitbucketDatacenterPtrOutput) Elem() ModuleBitbucketDatacenterOutput { return o.ApplyT(func(v *ModuleBitbucketDatacenter) ModuleBitbucketDatacenter { if v != nil { @@ -782,12 +685,6 @@ func (i ModuleGithubEnterpriseArgs) ToModuleGithubEnterpriseOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(ModuleGithubEnterpriseOutput) } -func (i ModuleGithubEnterpriseArgs) ToOutput(ctx context.Context) pulumix.Output[ModuleGithubEnterprise] { - return pulumix.Output[ModuleGithubEnterprise]{ - OutputState: i.ToModuleGithubEnterpriseOutputWithContext(ctx).OutputState, - } -} - func (i ModuleGithubEnterpriseArgs) ToModuleGithubEnterprisePtrOutput() ModuleGithubEnterprisePtrOutput { return i.ToModuleGithubEnterprisePtrOutputWithContext(context.Background()) } @@ -829,12 +726,6 @@ func (i *moduleGithubEnterprisePtrType) ToModuleGithubEnterprisePtrOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(ModuleGithubEnterprisePtrOutput) } -func (i *moduleGithubEnterprisePtrType) ToOutput(ctx context.Context) pulumix.Output[*ModuleGithubEnterprise] { - return pulumix.Output[*ModuleGithubEnterprise]{ - OutputState: i.ToModuleGithubEnterprisePtrOutputWithContext(ctx).OutputState, - } -} - type ModuleGithubEnterpriseOutput struct{ *pulumi.OutputState } func (ModuleGithubEnterpriseOutput) ElementType() reflect.Type { @@ -859,12 +750,6 @@ func (o ModuleGithubEnterpriseOutput) ToModuleGithubEnterprisePtrOutputWithConte }).(ModuleGithubEnterprisePtrOutput) } -func (o ModuleGithubEnterpriseOutput) ToOutput(ctx context.Context) pulumix.Output[ModuleGithubEnterprise] { - return pulumix.Output[ModuleGithubEnterprise]{ - OutputState: o.OutputState, - } -} - // The ID of the GitHub Enterprise integration. If not specified, the default integration will be used. func (o ModuleGithubEnterpriseOutput) Id() pulumi.StringPtrOutput { return o.ApplyT(func(v ModuleGithubEnterprise) *string { return v.Id }).(pulumi.StringPtrOutput) @@ -894,12 +779,6 @@ func (o ModuleGithubEnterprisePtrOutput) ToModuleGithubEnterprisePtrOutputWithCo return o } -func (o ModuleGithubEnterprisePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ModuleGithubEnterprise] { - return pulumix.Output[*ModuleGithubEnterprise]{ - OutputState: o.OutputState, - } -} - func (o ModuleGithubEnterprisePtrOutput) Elem() ModuleGithubEnterpriseOutput { return o.ApplyT(func(v *ModuleGithubEnterprise) ModuleGithubEnterprise { if v != nil { @@ -981,12 +860,6 @@ func (i ModuleGitlabArgs) ToModuleGitlabOutputWithContext(ctx context.Context) M return pulumi.ToOutputWithContext(ctx, i).(ModuleGitlabOutput) } -func (i ModuleGitlabArgs) ToOutput(ctx context.Context) pulumix.Output[ModuleGitlab] { - return pulumix.Output[ModuleGitlab]{ - OutputState: i.ToModuleGitlabOutputWithContext(ctx).OutputState, - } -} - func (i ModuleGitlabArgs) ToModuleGitlabPtrOutput() ModuleGitlabPtrOutput { return i.ToModuleGitlabPtrOutputWithContext(context.Background()) } @@ -1028,12 +901,6 @@ func (i *moduleGitlabPtrType) ToModuleGitlabPtrOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(ModuleGitlabPtrOutput) } -func (i *moduleGitlabPtrType) ToOutput(ctx context.Context) pulumix.Output[*ModuleGitlab] { - return pulumix.Output[*ModuleGitlab]{ - OutputState: i.ToModuleGitlabPtrOutputWithContext(ctx).OutputState, - } -} - type ModuleGitlabOutput struct{ *pulumi.OutputState } func (ModuleGitlabOutput) ElementType() reflect.Type { @@ -1058,12 +925,6 @@ func (o ModuleGitlabOutput) ToModuleGitlabPtrOutputWithContext(ctx context.Conte }).(ModuleGitlabPtrOutput) } -func (o ModuleGitlabOutput) ToOutput(ctx context.Context) pulumix.Output[ModuleGitlab] { - return pulumix.Output[ModuleGitlab]{ - OutputState: o.OutputState, - } -} - // ID of the Gitlab integration. If not specified, the default integration will be used. func (o ModuleGitlabOutput) Id() pulumi.StringPtrOutput { return o.ApplyT(func(v ModuleGitlab) *string { return v.Id }).(pulumi.StringPtrOutput) @@ -1093,12 +954,6 @@ func (o ModuleGitlabPtrOutput) ToModuleGitlabPtrOutputWithContext(ctx context.Co return o } -func (o ModuleGitlabPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ModuleGitlab] { - return pulumix.Output[*ModuleGitlab]{ - OutputState: o.OutputState, - } -} - func (o ModuleGitlabPtrOutput) Elem() ModuleGitlabOutput { return o.ApplyT(func(v *ModuleGitlab) ModuleGitlab { if v != nil { @@ -1172,12 +1027,6 @@ func (i StackAnsibleArgs) ToStackAnsibleOutputWithContext(ctx context.Context) S return pulumi.ToOutputWithContext(ctx, i).(StackAnsibleOutput) } -func (i StackAnsibleArgs) ToOutput(ctx context.Context) pulumix.Output[StackAnsible] { - return pulumix.Output[StackAnsible]{ - OutputState: i.ToStackAnsibleOutputWithContext(ctx).OutputState, - } -} - func (i StackAnsibleArgs) ToStackAnsiblePtrOutput() StackAnsiblePtrOutput { return i.ToStackAnsiblePtrOutputWithContext(context.Background()) } @@ -1219,12 +1068,6 @@ func (i *stackAnsiblePtrType) ToStackAnsiblePtrOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(StackAnsiblePtrOutput) } -func (i *stackAnsiblePtrType) ToOutput(ctx context.Context) pulumix.Output[*StackAnsible] { - return pulumix.Output[*StackAnsible]{ - OutputState: i.ToStackAnsiblePtrOutputWithContext(ctx).OutputState, - } -} - type StackAnsibleOutput struct{ *pulumi.OutputState } func (StackAnsibleOutput) ElementType() reflect.Type { @@ -1249,12 +1092,6 @@ func (o StackAnsibleOutput) ToStackAnsiblePtrOutputWithContext(ctx context.Conte }).(StackAnsiblePtrOutput) } -func (o StackAnsibleOutput) ToOutput(ctx context.Context) pulumix.Output[StackAnsible] { - return pulumix.Output[StackAnsible]{ - OutputState: o.OutputState, - } -} - // The playbook Ansible should run. func (o StackAnsibleOutput) Playbook() pulumi.StringOutput { return o.ApplyT(func(v StackAnsible) string { return v.Playbook }).(pulumi.StringOutput) @@ -1274,12 +1111,6 @@ func (o StackAnsiblePtrOutput) ToStackAnsiblePtrOutputWithContext(ctx context.Co return o } -func (o StackAnsiblePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*StackAnsible] { - return pulumix.Output[*StackAnsible]{ - OutputState: o.OutputState, - } -} - func (o StackAnsiblePtrOutput) Elem() StackAnsibleOutput { return o.ApplyT(func(v *StackAnsible) StackAnsible { if v != nil { @@ -1341,12 +1172,6 @@ func (i StackAzureDevopsArgs) ToStackAzureDevopsOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(StackAzureDevopsOutput) } -func (i StackAzureDevopsArgs) ToOutput(ctx context.Context) pulumix.Output[StackAzureDevops] { - return pulumix.Output[StackAzureDevops]{ - OutputState: i.ToStackAzureDevopsOutputWithContext(ctx).OutputState, - } -} - func (i StackAzureDevopsArgs) ToStackAzureDevopsPtrOutput() StackAzureDevopsPtrOutput { return i.ToStackAzureDevopsPtrOutputWithContext(context.Background()) } @@ -1388,12 +1213,6 @@ func (i *stackAzureDevopsPtrType) ToStackAzureDevopsPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(StackAzureDevopsPtrOutput) } -func (i *stackAzureDevopsPtrType) ToOutput(ctx context.Context) pulumix.Output[*StackAzureDevops] { - return pulumix.Output[*StackAzureDevops]{ - OutputState: i.ToStackAzureDevopsPtrOutputWithContext(ctx).OutputState, - } -} - type StackAzureDevopsOutput struct{ *pulumi.OutputState } func (StackAzureDevopsOutput) ElementType() reflect.Type { @@ -1418,12 +1237,6 @@ func (o StackAzureDevopsOutput) ToStackAzureDevopsPtrOutputWithContext(ctx conte }).(StackAzureDevopsPtrOutput) } -func (o StackAzureDevopsOutput) ToOutput(ctx context.Context) pulumix.Output[StackAzureDevops] { - return pulumix.Output[StackAzureDevops]{ - OutputState: o.OutputState, - } -} - // The ID of the Azure Devops integration. If not specified, the default integration will be used. func (o StackAzureDevopsOutput) Id() pulumi.StringPtrOutput { return o.ApplyT(func(v StackAzureDevops) *string { return v.Id }).(pulumi.StringPtrOutput) @@ -1453,12 +1266,6 @@ func (o StackAzureDevopsPtrOutput) ToStackAzureDevopsPtrOutputWithContext(ctx co return o } -func (o StackAzureDevopsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*StackAzureDevops] { - return pulumix.Output[*StackAzureDevops]{ - OutputState: o.OutputState, - } -} - func (o StackAzureDevopsPtrOutput) Elem() StackAzureDevopsOutput { return o.ApplyT(func(v *StackAzureDevops) StackAzureDevops { if v != nil { @@ -1540,12 +1347,6 @@ func (i StackBitbucketCloudArgs) ToStackBitbucketCloudOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(StackBitbucketCloudOutput) } -func (i StackBitbucketCloudArgs) ToOutput(ctx context.Context) pulumix.Output[StackBitbucketCloud] { - return pulumix.Output[StackBitbucketCloud]{ - OutputState: i.ToStackBitbucketCloudOutputWithContext(ctx).OutputState, - } -} - func (i StackBitbucketCloudArgs) ToStackBitbucketCloudPtrOutput() StackBitbucketCloudPtrOutput { return i.ToStackBitbucketCloudPtrOutputWithContext(context.Background()) } @@ -1587,12 +1388,6 @@ func (i *stackBitbucketCloudPtrType) ToStackBitbucketCloudPtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(StackBitbucketCloudPtrOutput) } -func (i *stackBitbucketCloudPtrType) ToOutput(ctx context.Context) pulumix.Output[*StackBitbucketCloud] { - return pulumix.Output[*StackBitbucketCloud]{ - OutputState: i.ToStackBitbucketCloudPtrOutputWithContext(ctx).OutputState, - } -} - type StackBitbucketCloudOutput struct{ *pulumi.OutputState } func (StackBitbucketCloudOutput) ElementType() reflect.Type { @@ -1617,12 +1412,6 @@ func (o StackBitbucketCloudOutput) ToStackBitbucketCloudPtrOutputWithContext(ctx }).(StackBitbucketCloudPtrOutput) } -func (o StackBitbucketCloudOutput) ToOutput(ctx context.Context) pulumix.Output[StackBitbucketCloud] { - return pulumix.Output[StackBitbucketCloud]{ - OutputState: o.OutputState, - } -} - // The ID of the Bitbucket Cloud integration. If not specified, the default integration will be used. func (o StackBitbucketCloudOutput) Id() pulumi.StringPtrOutput { return o.ApplyT(func(v StackBitbucketCloud) *string { return v.Id }).(pulumi.StringPtrOutput) @@ -1652,12 +1441,6 @@ func (o StackBitbucketCloudPtrOutput) ToStackBitbucketCloudPtrOutputWithContext( return o } -func (o StackBitbucketCloudPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*StackBitbucketCloud] { - return pulumix.Output[*StackBitbucketCloud]{ - OutputState: o.OutputState, - } -} - func (o StackBitbucketCloudPtrOutput) Elem() StackBitbucketCloudOutput { return o.ApplyT(func(v *StackBitbucketCloud) StackBitbucketCloud { if v != nil { @@ -1739,12 +1522,6 @@ func (i StackBitbucketDatacenterArgs) ToStackBitbucketDatacenterOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(StackBitbucketDatacenterOutput) } -func (i StackBitbucketDatacenterArgs) ToOutput(ctx context.Context) pulumix.Output[StackBitbucketDatacenter] { - return pulumix.Output[StackBitbucketDatacenter]{ - OutputState: i.ToStackBitbucketDatacenterOutputWithContext(ctx).OutputState, - } -} - func (i StackBitbucketDatacenterArgs) ToStackBitbucketDatacenterPtrOutput() StackBitbucketDatacenterPtrOutput { return i.ToStackBitbucketDatacenterPtrOutputWithContext(context.Background()) } @@ -1786,12 +1563,6 @@ func (i *stackBitbucketDatacenterPtrType) ToStackBitbucketDatacenterPtrOutputWit return pulumi.ToOutputWithContext(ctx, i).(StackBitbucketDatacenterPtrOutput) } -func (i *stackBitbucketDatacenterPtrType) ToOutput(ctx context.Context) pulumix.Output[*StackBitbucketDatacenter] { - return pulumix.Output[*StackBitbucketDatacenter]{ - OutputState: i.ToStackBitbucketDatacenterPtrOutputWithContext(ctx).OutputState, - } -} - type StackBitbucketDatacenterOutput struct{ *pulumi.OutputState } func (StackBitbucketDatacenterOutput) ElementType() reflect.Type { @@ -1816,12 +1587,6 @@ func (o StackBitbucketDatacenterOutput) ToStackBitbucketDatacenterPtrOutputWithC }).(StackBitbucketDatacenterPtrOutput) } -func (o StackBitbucketDatacenterOutput) ToOutput(ctx context.Context) pulumix.Output[StackBitbucketDatacenter] { - return pulumix.Output[StackBitbucketDatacenter]{ - OutputState: o.OutputState, - } -} - // The ID of the Bitbucket Datacenter integration. If not specified, the default integration will be used. func (o StackBitbucketDatacenterOutput) Id() pulumi.StringPtrOutput { return o.ApplyT(func(v StackBitbucketDatacenter) *string { return v.Id }).(pulumi.StringPtrOutput) @@ -1851,12 +1616,6 @@ func (o StackBitbucketDatacenterPtrOutput) ToStackBitbucketDatacenterPtrOutputWi return o } -func (o StackBitbucketDatacenterPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*StackBitbucketDatacenter] { - return pulumix.Output[*StackBitbucketDatacenter]{ - OutputState: o.OutputState, - } -} - func (o StackBitbucketDatacenterPtrOutput) Elem() StackBitbucketDatacenterOutput { return o.ApplyT(func(v *StackBitbucketDatacenter) StackBitbucketDatacenter { if v != nil { @@ -1942,12 +1701,6 @@ func (i StackCloudformationArgs) ToStackCloudformationOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(StackCloudformationOutput) } -func (i StackCloudformationArgs) ToOutput(ctx context.Context) pulumix.Output[StackCloudformation] { - return pulumix.Output[StackCloudformation]{ - OutputState: i.ToStackCloudformationOutputWithContext(ctx).OutputState, - } -} - func (i StackCloudformationArgs) ToStackCloudformationPtrOutput() StackCloudformationPtrOutput { return i.ToStackCloudformationPtrOutputWithContext(context.Background()) } @@ -1989,12 +1742,6 @@ func (i *stackCloudformationPtrType) ToStackCloudformationPtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(StackCloudformationPtrOutput) } -func (i *stackCloudformationPtrType) ToOutput(ctx context.Context) pulumix.Output[*StackCloudformation] { - return pulumix.Output[*StackCloudformation]{ - OutputState: i.ToStackCloudformationPtrOutputWithContext(ctx).OutputState, - } -} - type StackCloudformationOutput struct{ *pulumi.OutputState } func (StackCloudformationOutput) ElementType() reflect.Type { @@ -2019,12 +1766,6 @@ func (o StackCloudformationOutput) ToStackCloudformationPtrOutputWithContext(ctx }).(StackCloudformationPtrOutput) } -func (o StackCloudformationOutput) ToOutput(ctx context.Context) pulumix.Output[StackCloudformation] { - return pulumix.Output[StackCloudformation]{ - OutputState: o.OutputState, - } -} - // Template file `cloudformation package` will be called on func (o StackCloudformationOutput) EntryTemplateFile() pulumi.StringOutput { return o.ApplyT(func(v StackCloudformation) string { return v.EntryTemplateFile }).(pulumi.StringOutput) @@ -2059,12 +1800,6 @@ func (o StackCloudformationPtrOutput) ToStackCloudformationPtrOutputWithContext( return o } -func (o StackCloudformationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*StackCloudformation] { - return pulumix.Output[*StackCloudformation]{ - OutputState: o.OutputState, - } -} - func (o StackCloudformationPtrOutput) Elem() StackCloudformationOutput { return o.ApplyT(func(v *StackCloudformation) StackCloudformation { if v != nil { @@ -2156,12 +1891,6 @@ func (i StackGithubEnterpriseArgs) ToStackGithubEnterpriseOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(StackGithubEnterpriseOutput) } -func (i StackGithubEnterpriseArgs) ToOutput(ctx context.Context) pulumix.Output[StackGithubEnterprise] { - return pulumix.Output[StackGithubEnterprise]{ - OutputState: i.ToStackGithubEnterpriseOutputWithContext(ctx).OutputState, - } -} - func (i StackGithubEnterpriseArgs) ToStackGithubEnterprisePtrOutput() StackGithubEnterprisePtrOutput { return i.ToStackGithubEnterprisePtrOutputWithContext(context.Background()) } @@ -2203,12 +1932,6 @@ func (i *stackGithubEnterprisePtrType) ToStackGithubEnterprisePtrOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(StackGithubEnterprisePtrOutput) } -func (i *stackGithubEnterprisePtrType) ToOutput(ctx context.Context) pulumix.Output[*StackGithubEnterprise] { - return pulumix.Output[*StackGithubEnterprise]{ - OutputState: i.ToStackGithubEnterprisePtrOutputWithContext(ctx).OutputState, - } -} - type StackGithubEnterpriseOutput struct{ *pulumi.OutputState } func (StackGithubEnterpriseOutput) ElementType() reflect.Type { @@ -2233,12 +1956,6 @@ func (o StackGithubEnterpriseOutput) ToStackGithubEnterprisePtrOutputWithContext }).(StackGithubEnterprisePtrOutput) } -func (o StackGithubEnterpriseOutput) ToOutput(ctx context.Context) pulumix.Output[StackGithubEnterprise] { - return pulumix.Output[StackGithubEnterprise]{ - OutputState: o.OutputState, - } -} - // The ID of the GitHub Enterprise integration. If not specified, the default integration will be used. func (o StackGithubEnterpriseOutput) Id() pulumi.StringPtrOutput { return o.ApplyT(func(v StackGithubEnterprise) *string { return v.Id }).(pulumi.StringPtrOutput) @@ -2268,12 +1985,6 @@ func (o StackGithubEnterprisePtrOutput) ToStackGithubEnterprisePtrOutputWithCont return o } -func (o StackGithubEnterprisePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*StackGithubEnterprise] { - return pulumix.Output[*StackGithubEnterprise]{ - OutputState: o.OutputState, - } -} - func (o StackGithubEnterprisePtrOutput) Elem() StackGithubEnterpriseOutput { return o.ApplyT(func(v *StackGithubEnterprise) StackGithubEnterprise { if v != nil { @@ -2355,12 +2066,6 @@ func (i StackGitlabArgs) ToStackGitlabOutputWithContext(ctx context.Context) Sta return pulumi.ToOutputWithContext(ctx, i).(StackGitlabOutput) } -func (i StackGitlabArgs) ToOutput(ctx context.Context) pulumix.Output[StackGitlab] { - return pulumix.Output[StackGitlab]{ - OutputState: i.ToStackGitlabOutputWithContext(ctx).OutputState, - } -} - func (i StackGitlabArgs) ToStackGitlabPtrOutput() StackGitlabPtrOutput { return i.ToStackGitlabPtrOutputWithContext(context.Background()) } @@ -2402,12 +2107,6 @@ func (i *stackGitlabPtrType) ToStackGitlabPtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(StackGitlabPtrOutput) } -func (i *stackGitlabPtrType) ToOutput(ctx context.Context) pulumix.Output[*StackGitlab] { - return pulumix.Output[*StackGitlab]{ - OutputState: i.ToStackGitlabPtrOutputWithContext(ctx).OutputState, - } -} - type StackGitlabOutput struct{ *pulumi.OutputState } func (StackGitlabOutput) ElementType() reflect.Type { @@ -2432,12 +2131,6 @@ func (o StackGitlabOutput) ToStackGitlabPtrOutputWithContext(ctx context.Context }).(StackGitlabPtrOutput) } -func (o StackGitlabOutput) ToOutput(ctx context.Context) pulumix.Output[StackGitlab] { - return pulumix.Output[StackGitlab]{ - OutputState: o.OutputState, - } -} - // The ID of the Gitlab integration. If not specified, the default integration will be used. func (o StackGitlabOutput) Id() pulumi.StringPtrOutput { return o.ApplyT(func(v StackGitlab) *string { return v.Id }).(pulumi.StringPtrOutput) @@ -2467,12 +2160,6 @@ func (o StackGitlabPtrOutput) ToStackGitlabPtrOutputWithContext(ctx context.Cont return o } -func (o StackGitlabPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*StackGitlab] { - return pulumix.Output[*StackGitlab]{ - OutputState: o.OutputState, - } -} - func (o StackGitlabPtrOutput) Elem() StackGitlabOutput { return o.ApplyT(func(v *StackGitlab) StackGitlab { if v != nil { @@ -2550,12 +2237,6 @@ func (i StackKubernetesArgs) ToStackKubernetesOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(StackKubernetesOutput) } -func (i StackKubernetesArgs) ToOutput(ctx context.Context) pulumix.Output[StackKubernetes] { - return pulumix.Output[StackKubernetes]{ - OutputState: i.ToStackKubernetesOutputWithContext(ctx).OutputState, - } -} - func (i StackKubernetesArgs) ToStackKubernetesPtrOutput() StackKubernetesPtrOutput { return i.ToStackKubernetesPtrOutputWithContext(context.Background()) } @@ -2597,12 +2278,6 @@ func (i *stackKubernetesPtrType) ToStackKubernetesPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(StackKubernetesPtrOutput) } -func (i *stackKubernetesPtrType) ToOutput(ctx context.Context) pulumix.Output[*StackKubernetes] { - return pulumix.Output[*StackKubernetes]{ - OutputState: i.ToStackKubernetesPtrOutputWithContext(ctx).OutputState, - } -} - type StackKubernetesOutput struct{ *pulumi.OutputState } func (StackKubernetesOutput) ElementType() reflect.Type { @@ -2627,12 +2302,6 @@ func (o StackKubernetesOutput) ToStackKubernetesPtrOutputWithContext(ctx context }).(StackKubernetesPtrOutput) } -func (o StackKubernetesOutput) ToOutput(ctx context.Context) pulumix.Output[StackKubernetes] { - return pulumix.Output[StackKubernetes]{ - OutputState: o.OutputState, - } -} - // Kubectl version. func (o StackKubernetesOutput) KubectlVersion() pulumi.StringPtrOutput { return o.ApplyT(func(v StackKubernetes) *string { return v.KubectlVersion }).(pulumi.StringPtrOutput) @@ -2657,12 +2326,6 @@ func (o StackKubernetesPtrOutput) ToStackKubernetesPtrOutputWithContext(ctx cont return o } -func (o StackKubernetesPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*StackKubernetes] { - return pulumix.Output[*StackKubernetes]{ - OutputState: o.OutputState, - } -} - func (o StackKubernetesPtrOutput) Elem() StackKubernetesOutput { return o.ApplyT(func(v *StackKubernetes) StackKubernetes { if v != nil { @@ -2730,12 +2393,6 @@ func (i StackPulumiArgs) ToStackPulumiOutputWithContext(ctx context.Context) Sta return pulumi.ToOutputWithContext(ctx, i).(StackPulumiOutput) } -func (i StackPulumiArgs) ToOutput(ctx context.Context) pulumix.Output[StackPulumi] { - return pulumix.Output[StackPulumi]{ - OutputState: i.ToStackPulumiOutputWithContext(ctx).OutputState, - } -} - func (i StackPulumiArgs) ToStackPulumiPtrOutput() StackPulumiPtrOutput { return i.ToStackPulumiPtrOutputWithContext(context.Background()) } @@ -2777,12 +2434,6 @@ func (i *stackPulumiPtrType) ToStackPulumiPtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(StackPulumiPtrOutput) } -func (i *stackPulumiPtrType) ToOutput(ctx context.Context) pulumix.Output[*StackPulumi] { - return pulumix.Output[*StackPulumi]{ - OutputState: i.ToStackPulumiPtrOutputWithContext(ctx).OutputState, - } -} - type StackPulumiOutput struct{ *pulumi.OutputState } func (StackPulumiOutput) ElementType() reflect.Type { @@ -2807,12 +2458,6 @@ func (o StackPulumiOutput) ToStackPulumiPtrOutputWithContext(ctx context.Context }).(StackPulumiPtrOutput) } -func (o StackPulumiOutput) ToOutput(ctx context.Context) pulumix.Output[StackPulumi] { - return pulumix.Output[StackPulumi]{ - OutputState: o.OutputState, - } -} - // State backend to log into on Run initialize. func (o StackPulumiOutput) LoginUrl() pulumi.StringOutput { return o.ApplyT(func(v StackPulumi) string { return v.LoginUrl }).(pulumi.StringOutput) @@ -2837,12 +2482,6 @@ func (o StackPulumiPtrOutput) ToStackPulumiPtrOutputWithContext(ctx context.Cont return o } -func (o StackPulumiPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*StackPulumi] { - return pulumix.Output[*StackPulumi]{ - OutputState: o.OutputState, - } -} - func (o StackPulumiPtrOutput) Elem() StackPulumiOutput { return o.ApplyT(func(v *StackPulumi) StackPulumi { if v != nil { @@ -2910,12 +2549,6 @@ func (i StackRawGitArgs) ToStackRawGitOutputWithContext(ctx context.Context) Sta return pulumi.ToOutputWithContext(ctx, i).(StackRawGitOutput) } -func (i StackRawGitArgs) ToOutput(ctx context.Context) pulumix.Output[StackRawGit] { - return pulumix.Output[StackRawGit]{ - OutputState: i.ToStackRawGitOutputWithContext(ctx).OutputState, - } -} - func (i StackRawGitArgs) ToStackRawGitPtrOutput() StackRawGitPtrOutput { return i.ToStackRawGitPtrOutputWithContext(context.Background()) } @@ -2957,12 +2590,6 @@ func (i *stackRawGitPtrType) ToStackRawGitPtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(StackRawGitPtrOutput) } -func (i *stackRawGitPtrType) ToOutput(ctx context.Context) pulumix.Output[*StackRawGit] { - return pulumix.Output[*StackRawGit]{ - OutputState: i.ToStackRawGitPtrOutputWithContext(ctx).OutputState, - } -} - type StackRawGitOutput struct{ *pulumi.OutputState } func (StackRawGitOutput) ElementType() reflect.Type { @@ -2987,12 +2614,6 @@ func (o StackRawGitOutput) ToStackRawGitPtrOutputWithContext(ctx context.Context }).(StackRawGitPtrOutput) } -func (o StackRawGitOutput) ToOutput(ctx context.Context) pulumix.Output[StackRawGit] { - return pulumix.Output[StackRawGit]{ - OutputState: o.OutputState, - } -} - // User-friendly namespace for the repository, this is for cosmetic purposes only func (o StackRawGitOutput) Namespace() pulumi.StringOutput { return o.ApplyT(func(v StackRawGit) string { return v.Namespace }).(pulumi.StringOutput) @@ -3017,12 +2638,6 @@ func (o StackRawGitPtrOutput) ToStackRawGitPtrOutputWithContext(ctx context.Cont return o } -func (o StackRawGitPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*StackRawGit] { - return pulumix.Output[*StackRawGit]{ - OutputState: o.OutputState, - } -} - func (o StackRawGitPtrOutput) Elem() StackRawGitOutput { return o.ApplyT(func(v *StackRawGit) StackRawGit { if v != nil { @@ -3084,12 +2699,6 @@ func (i StackShowcaseArgs) ToStackShowcaseOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(StackShowcaseOutput) } -func (i StackShowcaseArgs) ToOutput(ctx context.Context) pulumix.Output[StackShowcase] { - return pulumix.Output[StackShowcase]{ - OutputState: i.ToStackShowcaseOutputWithContext(ctx).OutputState, - } -} - func (i StackShowcaseArgs) ToStackShowcasePtrOutput() StackShowcasePtrOutput { return i.ToStackShowcasePtrOutputWithContext(context.Background()) } @@ -3131,12 +2740,6 @@ func (i *stackShowcasePtrType) ToStackShowcasePtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(StackShowcasePtrOutput) } -func (i *stackShowcasePtrType) ToOutput(ctx context.Context) pulumix.Output[*StackShowcase] { - return pulumix.Output[*StackShowcase]{ - OutputState: i.ToStackShowcasePtrOutputWithContext(ctx).OutputState, - } -} - type StackShowcaseOutput struct{ *pulumi.OutputState } func (StackShowcaseOutput) ElementType() reflect.Type { @@ -3161,12 +2764,6 @@ func (o StackShowcaseOutput) ToStackShowcasePtrOutputWithContext(ctx context.Con }).(StackShowcasePtrOutput) } -func (o StackShowcaseOutput) ToOutput(ctx context.Context) pulumix.Output[StackShowcase] { - return pulumix.Output[StackShowcase]{ - OutputState: o.OutputState, - } -} - func (o StackShowcaseOutput) Namespace() pulumi.StringOutput { return o.ApplyT(func(v StackShowcase) string { return v.Namespace }).(pulumi.StringOutput) } @@ -3185,12 +2782,6 @@ func (o StackShowcasePtrOutput) ToStackShowcasePtrOutputWithContext(ctx context. return o } -func (o StackShowcasePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*StackShowcase] { - return pulumix.Output[*StackShowcase]{ - OutputState: o.OutputState, - } -} - func (o StackShowcasePtrOutput) Elem() StackShowcaseOutput { return o.ApplyT(func(v *StackShowcase) StackShowcase { if v != nil { @@ -3251,12 +2842,6 @@ func (i StackTerragruntArgs) ToStackTerragruntOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(StackTerragruntOutput) } -func (i StackTerragruntArgs) ToOutput(ctx context.Context) pulumix.Output[StackTerragrunt] { - return pulumix.Output[StackTerragrunt]{ - OutputState: i.ToStackTerragruntOutputWithContext(ctx).OutputState, - } -} - func (i StackTerragruntArgs) ToStackTerragruntPtrOutput() StackTerragruntPtrOutput { return i.ToStackTerragruntPtrOutputWithContext(context.Background()) } @@ -3298,12 +2883,6 @@ func (i *stackTerragruntPtrType) ToStackTerragruntPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(StackTerragruntPtrOutput) } -func (i *stackTerragruntPtrType) ToOutput(ctx context.Context) pulumix.Output[*StackTerragrunt] { - return pulumix.Output[*StackTerragrunt]{ - OutputState: i.ToStackTerragruntPtrOutputWithContext(ctx).OutputState, - } -} - type StackTerragruntOutput struct{ *pulumi.OutputState } func (StackTerragruntOutput) ElementType() reflect.Type { @@ -3328,12 +2907,6 @@ func (o StackTerragruntOutput) ToStackTerragruntPtrOutputWithContext(ctx context }).(StackTerragruntPtrOutput) } -func (o StackTerragruntOutput) ToOutput(ctx context.Context) pulumix.Output[StackTerragrunt] { - return pulumix.Output[StackTerragrunt]{ - OutputState: o.OutputState, - } -} - func (o StackTerragruntOutput) TerraformVersion() pulumi.StringPtrOutput { return o.ApplyT(func(v StackTerragrunt) *string { return v.TerraformVersion }).(pulumi.StringPtrOutput) } @@ -3366,12 +2939,6 @@ func (o StackTerragruntPtrOutput) ToStackTerragruntPtrOutputWithContext(ctx cont return o } -func (o StackTerragruntPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*StackTerragrunt] { - return pulumix.Output[*StackTerragrunt]{ - OutputState: o.OutputState, - } -} - func (o StackTerragruntPtrOutput) Elem() StackTerragruntOutput { return o.ApplyT(func(v *StackTerragrunt) StackTerragrunt { if v != nil { @@ -3457,12 +3024,6 @@ func (i UserPolicyArgs) ToUserPolicyOutputWithContext(ctx context.Context) UserP return pulumi.ToOutputWithContext(ctx, i).(UserPolicyOutput) } -func (i UserPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[UserPolicy] { - return pulumix.Output[UserPolicy]{ - OutputState: i.ToUserPolicyOutputWithContext(ctx).OutputState, - } -} - // UserPolicyArrayInput is an input type that accepts UserPolicyArray and UserPolicyArrayOutput values. // You can construct a concrete instance of `UserPolicyArrayInput` via: // @@ -3488,12 +3049,6 @@ func (i UserPolicyArray) ToUserPolicyArrayOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(UserPolicyArrayOutput) } -func (i UserPolicyArray) ToOutput(ctx context.Context) pulumix.Output[[]UserPolicy] { - return pulumix.Output[[]UserPolicy]{ - OutputState: i.ToUserPolicyArrayOutputWithContext(ctx).OutputState, - } -} - type UserPolicyOutput struct{ *pulumi.OutputState } func (UserPolicyOutput) ElementType() reflect.Type { @@ -3508,12 +3063,6 @@ func (o UserPolicyOutput) ToUserPolicyOutputWithContext(ctx context.Context) Use return o } -func (o UserPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[UserPolicy] { - return pulumix.Output[UserPolicy]{ - OutputState: o.OutputState, - } -} - // Type of access to the space. Possible values are: READ, WRITE, ADMIN func (o UserPolicyOutput) Role() pulumi.StringOutput { return o.ApplyT(func(v UserPolicy) string { return v.Role }).(pulumi.StringOutput) @@ -3538,12 +3087,6 @@ func (o UserPolicyArrayOutput) ToUserPolicyArrayOutputWithContext(ctx context.Co return o } -func (o UserPolicyArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]UserPolicy] { - return pulumix.Output[[]UserPolicy]{ - OutputState: o.OutputState, - } -} - func (o UserPolicyArrayOutput) Index(i pulumi.IntInput) UserPolicyOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) UserPolicy { return vs[0].([]UserPolicy)[vs[1].(int)] @@ -3551,14 +3094,21 @@ func (o UserPolicyArrayOutput) Index(i pulumi.IntInput) UserPolicyOutput { } type GetAwsIntegrationsIntegration struct { - DurationSeconds int `pulumi:"durationSeconds"` - ExternalId string `pulumi:"externalId"` - GenerateCredentialsInWorker bool `pulumi:"generateCredentialsInWorker"` - IntegrationId string `pulumi:"integrationId"` - Labels []string `pulumi:"labels"` - Name string `pulumi:"name"` - RoleArn string `pulumi:"roleArn"` - SpaceId string `pulumi:"spaceId"` + // Duration in seconds for which the assumed role credentials should be valid + DurationSeconds int `pulumi:"durationSeconds"` + // Custom external ID (works only for private workers). + ExternalId string `pulumi:"externalId"` + // Generate AWS credentials in the private worker + GenerateCredentialsInWorker bool `pulumi:"generateCredentialsInWorker"` + // Immutable ID of the integration. + IntegrationId string `pulumi:"integrationId"` + Labels []string `pulumi:"labels"` + // Name of the AWS integration. + Name string `pulumi:"name"` + // ARN of the AWS IAM role to attach + RoleArn string `pulumi:"roleArn"` + // ID (slug) of the space the integration is in + SpaceId string `pulumi:"spaceId"` } // GetAwsIntegrationsIntegrationInput is an input type that accepts GetAwsIntegrationsIntegrationArgs and GetAwsIntegrationsIntegrationOutput values. @@ -3573,14 +3123,21 @@ type GetAwsIntegrationsIntegrationInput interface { } type GetAwsIntegrationsIntegrationArgs struct { - DurationSeconds pulumi.IntInput `pulumi:"durationSeconds"` - ExternalId pulumi.StringInput `pulumi:"externalId"` - GenerateCredentialsInWorker pulumi.BoolInput `pulumi:"generateCredentialsInWorker"` - IntegrationId pulumi.StringInput `pulumi:"integrationId"` - Labels pulumi.StringArrayInput `pulumi:"labels"` - Name pulumi.StringInput `pulumi:"name"` - RoleArn pulumi.StringInput `pulumi:"roleArn"` - SpaceId pulumi.StringInput `pulumi:"spaceId"` + // Duration in seconds for which the assumed role credentials should be valid + DurationSeconds pulumi.IntInput `pulumi:"durationSeconds"` + // Custom external ID (works only for private workers). + ExternalId pulumi.StringInput `pulumi:"externalId"` + // Generate AWS credentials in the private worker + GenerateCredentialsInWorker pulumi.BoolInput `pulumi:"generateCredentialsInWorker"` + // Immutable ID of the integration. + IntegrationId pulumi.StringInput `pulumi:"integrationId"` + Labels pulumi.StringArrayInput `pulumi:"labels"` + // Name of the AWS integration. + Name pulumi.StringInput `pulumi:"name"` + // ARN of the AWS IAM role to attach + RoleArn pulumi.StringInput `pulumi:"roleArn"` + // ID (slug) of the space the integration is in + SpaceId pulumi.StringInput `pulumi:"spaceId"` } func (GetAwsIntegrationsIntegrationArgs) ElementType() reflect.Type { @@ -3595,12 +3152,6 @@ func (i GetAwsIntegrationsIntegrationArgs) ToGetAwsIntegrationsIntegrationOutput return pulumi.ToOutputWithContext(ctx, i).(GetAwsIntegrationsIntegrationOutput) } -func (i GetAwsIntegrationsIntegrationArgs) ToOutput(ctx context.Context) pulumix.Output[GetAwsIntegrationsIntegration] { - return pulumix.Output[GetAwsIntegrationsIntegration]{ - OutputState: i.ToGetAwsIntegrationsIntegrationOutputWithContext(ctx).OutputState, - } -} - // GetAwsIntegrationsIntegrationArrayInput is an input type that accepts GetAwsIntegrationsIntegrationArray and GetAwsIntegrationsIntegrationArrayOutput values. // You can construct a concrete instance of `GetAwsIntegrationsIntegrationArrayInput` via: // @@ -3626,12 +3177,6 @@ func (i GetAwsIntegrationsIntegrationArray) ToGetAwsIntegrationsIntegrationArray return pulumi.ToOutputWithContext(ctx, i).(GetAwsIntegrationsIntegrationArrayOutput) } -func (i GetAwsIntegrationsIntegrationArray) ToOutput(ctx context.Context) pulumix.Output[[]GetAwsIntegrationsIntegration] { - return pulumix.Output[[]GetAwsIntegrationsIntegration]{ - OutputState: i.ToGetAwsIntegrationsIntegrationArrayOutputWithContext(ctx).OutputState, - } -} - type GetAwsIntegrationsIntegrationOutput struct{ *pulumi.OutputState } func (GetAwsIntegrationsIntegrationOutput) ElementType() reflect.Type { @@ -3646,24 +3191,22 @@ func (o GetAwsIntegrationsIntegrationOutput) ToGetAwsIntegrationsIntegrationOutp return o } -func (o GetAwsIntegrationsIntegrationOutput) ToOutput(ctx context.Context) pulumix.Output[GetAwsIntegrationsIntegration] { - return pulumix.Output[GetAwsIntegrationsIntegration]{ - OutputState: o.OutputState, - } -} - +// Duration in seconds for which the assumed role credentials should be valid func (o GetAwsIntegrationsIntegrationOutput) DurationSeconds() pulumi.IntOutput { return o.ApplyT(func(v GetAwsIntegrationsIntegration) int { return v.DurationSeconds }).(pulumi.IntOutput) } +// Custom external ID (works only for private workers). func (o GetAwsIntegrationsIntegrationOutput) ExternalId() pulumi.StringOutput { return o.ApplyT(func(v GetAwsIntegrationsIntegration) string { return v.ExternalId }).(pulumi.StringOutput) } +// Generate AWS credentials in the private worker func (o GetAwsIntegrationsIntegrationOutput) GenerateCredentialsInWorker() pulumi.BoolOutput { return o.ApplyT(func(v GetAwsIntegrationsIntegration) bool { return v.GenerateCredentialsInWorker }).(pulumi.BoolOutput) } +// Immutable ID of the integration. func (o GetAwsIntegrationsIntegrationOutput) IntegrationId() pulumi.StringOutput { return o.ApplyT(func(v GetAwsIntegrationsIntegration) string { return v.IntegrationId }).(pulumi.StringOutput) } @@ -3672,14 +3215,17 @@ func (o GetAwsIntegrationsIntegrationOutput) Labels() pulumi.StringArrayOutput { return o.ApplyT(func(v GetAwsIntegrationsIntegration) []string { return v.Labels }).(pulumi.StringArrayOutput) } +// Name of the AWS integration. func (o GetAwsIntegrationsIntegrationOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v GetAwsIntegrationsIntegration) string { return v.Name }).(pulumi.StringOutput) } +// ARN of the AWS IAM role to attach func (o GetAwsIntegrationsIntegrationOutput) RoleArn() pulumi.StringOutput { return o.ApplyT(func(v GetAwsIntegrationsIntegration) string { return v.RoleArn }).(pulumi.StringOutput) } +// ID (slug) of the space the integration is in func (o GetAwsIntegrationsIntegrationOutput) SpaceId() pulumi.StringOutput { return o.ApplyT(func(v GetAwsIntegrationsIntegration) string { return v.SpaceId }).(pulumi.StringOutput) } @@ -3698,12 +3244,6 @@ func (o GetAwsIntegrationsIntegrationArrayOutput) ToGetAwsIntegrationsIntegratio return o } -func (o GetAwsIntegrationsIntegrationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetAwsIntegrationsIntegration] { - return pulumix.Output[[]GetAwsIntegrationsIntegration]{ - OutputState: o.OutputState, - } -} - func (o GetAwsIntegrationsIntegrationArrayOutput) Index(i pulumi.IntInput) GetAwsIntegrationsIntegrationOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetAwsIntegrationsIntegration { return vs[0].([]GetAwsIntegrationsIntegration)[vs[1].(int)] @@ -3711,16 +3251,26 @@ func (o GetAwsIntegrationsIntegrationArrayOutput) Index(i pulumi.IntInput) GetAw } type GetAzureIntegrationsIntegration struct { - AdminConsentProvided bool `pulumi:"adminConsentProvided"` - AdminConsentUrl string `pulumi:"adminConsentUrl"` - ApplicationId string `pulumi:"applicationId"` - DefaultSubscriptionId string `pulumi:"defaultSubscriptionId"` - DisplayName string `pulumi:"displayName"` - IntegrationId string `pulumi:"integrationId"` - Labels []string `pulumi:"labels"` - Name string `pulumi:"name"` - SpaceId string `pulumi:"spaceId"` - TenantId string `pulumi:"tenantId"` + // Indicates whether admin consent has been performed for the AAD Application. + AdminConsentProvided bool `pulumi:"adminConsentProvided"` + // The URL to use to provide admin consent to the application in the customer's tenant + AdminConsentUrl string `pulumi:"adminConsentUrl"` + // The applicationId of the Azure AD application used by the integration. + ApplicationId string `pulumi:"applicationId"` + // The default subscription ID to use, if one isn't specified at the stack/module level + DefaultSubscriptionId string `pulumi:"defaultSubscriptionId"` + // The display name for the application in Azure. This is automatically generated when the integration is created, and cannot be changed without deleting and recreating the integration. + DisplayName string `pulumi:"displayName"` + // Immutable ID of the integration. + IntegrationId string `pulumi:"integrationId"` + // Labels to set on the integration + Labels []string `pulumi:"labels"` + // The friendly name of the integration. + Name string `pulumi:"name"` + // ID (slug) of the space the integration is in + SpaceId string `pulumi:"spaceId"` + // The Azure AD tenant ID + TenantId string `pulumi:"tenantId"` } // GetAzureIntegrationsIntegrationInput is an input type that accepts GetAzureIntegrationsIntegrationArgs and GetAzureIntegrationsIntegrationOutput values. @@ -3735,16 +3285,26 @@ type GetAzureIntegrationsIntegrationInput interface { } type GetAzureIntegrationsIntegrationArgs struct { - AdminConsentProvided pulumi.BoolInput `pulumi:"adminConsentProvided"` - AdminConsentUrl pulumi.StringInput `pulumi:"adminConsentUrl"` - ApplicationId pulumi.StringInput `pulumi:"applicationId"` - DefaultSubscriptionId pulumi.StringInput `pulumi:"defaultSubscriptionId"` - DisplayName pulumi.StringInput `pulumi:"displayName"` - IntegrationId pulumi.StringInput `pulumi:"integrationId"` - Labels pulumi.StringArrayInput `pulumi:"labels"` - Name pulumi.StringInput `pulumi:"name"` - SpaceId pulumi.StringInput `pulumi:"spaceId"` - TenantId pulumi.StringInput `pulumi:"tenantId"` + // Indicates whether admin consent has been performed for the AAD Application. + AdminConsentProvided pulumi.BoolInput `pulumi:"adminConsentProvided"` + // The URL to use to provide admin consent to the application in the customer's tenant + AdminConsentUrl pulumi.StringInput `pulumi:"adminConsentUrl"` + // The applicationId of the Azure AD application used by the integration. + ApplicationId pulumi.StringInput `pulumi:"applicationId"` + // The default subscription ID to use, if one isn't specified at the stack/module level + DefaultSubscriptionId pulumi.StringInput `pulumi:"defaultSubscriptionId"` + // The display name for the application in Azure. This is automatically generated when the integration is created, and cannot be changed without deleting and recreating the integration. + DisplayName pulumi.StringInput `pulumi:"displayName"` + // Immutable ID of the integration. + IntegrationId pulumi.StringInput `pulumi:"integrationId"` + // Labels to set on the integration + Labels pulumi.StringArrayInput `pulumi:"labels"` + // The friendly name of the integration. + Name pulumi.StringInput `pulumi:"name"` + // ID (slug) of the space the integration is in + SpaceId pulumi.StringInput `pulumi:"spaceId"` + // The Azure AD tenant ID + TenantId pulumi.StringInput `pulumi:"tenantId"` } func (GetAzureIntegrationsIntegrationArgs) ElementType() reflect.Type { @@ -3759,12 +3319,6 @@ func (i GetAzureIntegrationsIntegrationArgs) ToGetAzureIntegrationsIntegrationOu return pulumi.ToOutputWithContext(ctx, i).(GetAzureIntegrationsIntegrationOutput) } -func (i GetAzureIntegrationsIntegrationArgs) ToOutput(ctx context.Context) pulumix.Output[GetAzureIntegrationsIntegration] { - return pulumix.Output[GetAzureIntegrationsIntegration]{ - OutputState: i.ToGetAzureIntegrationsIntegrationOutputWithContext(ctx).OutputState, - } -} - // GetAzureIntegrationsIntegrationArrayInput is an input type that accepts GetAzureIntegrationsIntegrationArray and GetAzureIntegrationsIntegrationArrayOutput values. // You can construct a concrete instance of `GetAzureIntegrationsIntegrationArrayInput` via: // @@ -3790,12 +3344,6 @@ func (i GetAzureIntegrationsIntegrationArray) ToGetAzureIntegrationsIntegrationA return pulumi.ToOutputWithContext(ctx, i).(GetAzureIntegrationsIntegrationArrayOutput) } -func (i GetAzureIntegrationsIntegrationArray) ToOutput(ctx context.Context) pulumix.Output[[]GetAzureIntegrationsIntegration] { - return pulumix.Output[[]GetAzureIntegrationsIntegration]{ - OutputState: i.ToGetAzureIntegrationsIntegrationArrayOutputWithContext(ctx).OutputState, - } -} - type GetAzureIntegrationsIntegrationOutput struct{ *pulumi.OutputState } func (GetAzureIntegrationsIntegrationOutput) ElementType() reflect.Type { @@ -3810,48 +3358,52 @@ func (o GetAzureIntegrationsIntegrationOutput) ToGetAzureIntegrationsIntegration return o } -func (o GetAzureIntegrationsIntegrationOutput) ToOutput(ctx context.Context) pulumix.Output[GetAzureIntegrationsIntegration] { - return pulumix.Output[GetAzureIntegrationsIntegration]{ - OutputState: o.OutputState, - } -} - +// Indicates whether admin consent has been performed for the AAD Application. func (o GetAzureIntegrationsIntegrationOutput) AdminConsentProvided() pulumi.BoolOutput { return o.ApplyT(func(v GetAzureIntegrationsIntegration) bool { return v.AdminConsentProvided }).(pulumi.BoolOutput) } +// The URL to use to provide admin consent to the application in the customer's tenant func (o GetAzureIntegrationsIntegrationOutput) AdminConsentUrl() pulumi.StringOutput { return o.ApplyT(func(v GetAzureIntegrationsIntegration) string { return v.AdminConsentUrl }).(pulumi.StringOutput) } +// The applicationId of the Azure AD application used by the integration. func (o GetAzureIntegrationsIntegrationOutput) ApplicationId() pulumi.StringOutput { return o.ApplyT(func(v GetAzureIntegrationsIntegration) string { return v.ApplicationId }).(pulumi.StringOutput) } +// The default subscription ID to use, if one isn't specified at the stack/module level func (o GetAzureIntegrationsIntegrationOutput) DefaultSubscriptionId() pulumi.StringOutput { return o.ApplyT(func(v GetAzureIntegrationsIntegration) string { return v.DefaultSubscriptionId }).(pulumi.StringOutput) } +// The display name for the application in Azure. This is automatically generated when the integration is created, and cannot be changed without deleting and recreating the integration. func (o GetAzureIntegrationsIntegrationOutput) DisplayName() pulumi.StringOutput { return o.ApplyT(func(v GetAzureIntegrationsIntegration) string { return v.DisplayName }).(pulumi.StringOutput) } +// Immutable ID of the integration. func (o GetAzureIntegrationsIntegrationOutput) IntegrationId() pulumi.StringOutput { return o.ApplyT(func(v GetAzureIntegrationsIntegration) string { return v.IntegrationId }).(pulumi.StringOutput) } +// Labels to set on the integration func (o GetAzureIntegrationsIntegrationOutput) Labels() pulumi.StringArrayOutput { return o.ApplyT(func(v GetAzureIntegrationsIntegration) []string { return v.Labels }).(pulumi.StringArrayOutput) } +// The friendly name of the integration. func (o GetAzureIntegrationsIntegrationOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v GetAzureIntegrationsIntegration) string { return v.Name }).(pulumi.StringOutput) } +// ID (slug) of the space the integration is in func (o GetAzureIntegrationsIntegrationOutput) SpaceId() pulumi.StringOutput { return o.ApplyT(func(v GetAzureIntegrationsIntegration) string { return v.SpaceId }).(pulumi.StringOutput) } +// The Azure AD tenant ID func (o GetAzureIntegrationsIntegrationOutput) TenantId() pulumi.StringOutput { return o.ApplyT(func(v GetAzureIntegrationsIntegration) string { return v.TenantId }).(pulumi.StringOutput) } @@ -3870,12 +3422,6 @@ func (o GetAzureIntegrationsIntegrationArrayOutput) ToGetAzureIntegrationsIntegr return o } -func (o GetAzureIntegrationsIntegrationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetAzureIntegrationsIntegration] { - return pulumix.Output[[]GetAzureIntegrationsIntegration]{ - OutputState: o.OutputState, - } -} - func (o GetAzureIntegrationsIntegrationArrayOutput) Index(i pulumi.IntInput) GetAzureIntegrationsIntegrationOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetAzureIntegrationsIntegration { return vs[0].([]GetAzureIntegrationsIntegration)[vs[1].(int)] @@ -3883,11 +3429,15 @@ func (o GetAzureIntegrationsIntegrationArrayOutput) Index(i pulumi.IntInput) Get } type GetContextsContext struct { - ContextId string `pulumi:"contextId"` + // immutable ID (slug) of the context + ContextId string `pulumi:"contextId"` + // free-form context description for users Description string `pulumi:"description"` Labels []string `pulumi:"labels"` - Name string `pulumi:"name"` - SpaceId string `pulumi:"spaceId"` + // name of the context + Name string `pulumi:"name"` + // ID (slug) of the space the context is in + SpaceId string `pulumi:"spaceId"` } // GetContextsContextInput is an input type that accepts GetContextsContextArgs and GetContextsContextOutput values. @@ -3902,11 +3452,15 @@ type GetContextsContextInput interface { } type GetContextsContextArgs struct { - ContextId pulumi.StringInput `pulumi:"contextId"` + // immutable ID (slug) of the context + ContextId pulumi.StringInput `pulumi:"contextId"` + // free-form context description for users Description pulumi.StringInput `pulumi:"description"` Labels pulumi.StringArrayInput `pulumi:"labels"` - Name pulumi.StringInput `pulumi:"name"` - SpaceId pulumi.StringInput `pulumi:"spaceId"` + // name of the context + Name pulumi.StringInput `pulumi:"name"` + // ID (slug) of the space the context is in + SpaceId pulumi.StringInput `pulumi:"spaceId"` } func (GetContextsContextArgs) ElementType() reflect.Type { @@ -3921,12 +3475,6 @@ func (i GetContextsContextArgs) ToGetContextsContextOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(GetContextsContextOutput) } -func (i GetContextsContextArgs) ToOutput(ctx context.Context) pulumix.Output[GetContextsContext] { - return pulumix.Output[GetContextsContext]{ - OutputState: i.ToGetContextsContextOutputWithContext(ctx).OutputState, - } -} - // GetContextsContextArrayInput is an input type that accepts GetContextsContextArray and GetContextsContextArrayOutput values. // You can construct a concrete instance of `GetContextsContextArrayInput` via: // @@ -3952,12 +3500,6 @@ func (i GetContextsContextArray) ToGetContextsContextArrayOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(GetContextsContextArrayOutput) } -func (i GetContextsContextArray) ToOutput(ctx context.Context) pulumix.Output[[]GetContextsContext] { - return pulumix.Output[[]GetContextsContext]{ - OutputState: i.ToGetContextsContextArrayOutputWithContext(ctx).OutputState, - } -} - type GetContextsContextOutput struct{ *pulumi.OutputState } func (GetContextsContextOutput) ElementType() reflect.Type { @@ -3972,16 +3514,12 @@ func (o GetContextsContextOutput) ToGetContextsContextOutputWithContext(ctx cont return o } -func (o GetContextsContextOutput) ToOutput(ctx context.Context) pulumix.Output[GetContextsContext] { - return pulumix.Output[GetContextsContext]{ - OutputState: o.OutputState, - } -} - +// immutable ID (slug) of the context func (o GetContextsContextOutput) ContextId() pulumi.StringOutput { return o.ApplyT(func(v GetContextsContext) string { return v.ContextId }).(pulumi.StringOutput) } +// free-form context description for users func (o GetContextsContextOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v GetContextsContext) string { return v.Description }).(pulumi.StringOutput) } @@ -3990,10 +3528,12 @@ func (o GetContextsContextOutput) Labels() pulumi.StringArrayOutput { return o.ApplyT(func(v GetContextsContext) []string { return v.Labels }).(pulumi.StringArrayOutput) } +// name of the context func (o GetContextsContextOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v GetContextsContext) string { return v.Name }).(pulumi.StringOutput) } +// ID (slug) of the space the context is in func (o GetContextsContextOutput) SpaceId() pulumi.StringOutput { return o.ApplyT(func(v GetContextsContext) string { return v.SpaceId }).(pulumi.StringOutput) } @@ -4012,12 +3552,6 @@ func (o GetContextsContextArrayOutput) ToGetContextsContextArrayOutputWithContex return o } -func (o GetContextsContextArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetContextsContext] { - return pulumix.Output[[]GetContextsContext]{ - OutputState: o.OutputState, - } -} - func (o GetContextsContextArrayOutput) Index(i pulumi.IntInput) GetContextsContextOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetContextsContext { return vs[0].([]GetContextsContext)[vs[1].(int)] @@ -4055,12 +3589,6 @@ func (i GetContextsLabelArgs) ToGetContextsLabelOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(GetContextsLabelOutput) } -func (i GetContextsLabelArgs) ToOutput(ctx context.Context) pulumix.Output[GetContextsLabel] { - return pulumix.Output[GetContextsLabel]{ - OutputState: i.ToGetContextsLabelOutputWithContext(ctx).OutputState, - } -} - // GetContextsLabelArrayInput is an input type that accepts GetContextsLabelArray and GetContextsLabelArrayOutput values. // You can construct a concrete instance of `GetContextsLabelArrayInput` via: // @@ -4086,12 +3614,6 @@ func (i GetContextsLabelArray) ToGetContextsLabelArrayOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(GetContextsLabelArrayOutput) } -func (i GetContextsLabelArray) ToOutput(ctx context.Context) pulumix.Output[[]GetContextsLabel] { - return pulumix.Output[[]GetContextsLabel]{ - OutputState: i.ToGetContextsLabelArrayOutputWithContext(ctx).OutputState, - } -} - type GetContextsLabelOutput struct{ *pulumi.OutputState } func (GetContextsLabelOutput) ElementType() reflect.Type { @@ -4106,12 +3628,6 @@ func (o GetContextsLabelOutput) ToGetContextsLabelOutputWithContext(ctx context. return o } -func (o GetContextsLabelOutput) ToOutput(ctx context.Context) pulumix.Output[GetContextsLabel] { - return pulumix.Output[GetContextsLabel]{ - OutputState: o.OutputState, - } -} - func (o GetContextsLabelOutput) AnyOfs() pulumi.StringArrayOutput { return o.ApplyT(func(v GetContextsLabel) []string { return v.AnyOfs }).(pulumi.StringArrayOutput) } @@ -4130,12 +3646,6 @@ func (o GetContextsLabelArrayOutput) ToGetContextsLabelArrayOutputWithContext(ct return o } -func (o GetContextsLabelArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetContextsLabel] { - return pulumix.Output[[]GetContextsLabel]{ - OutputState: o.OutputState, - } -} - func (o GetContextsLabelArrayOutput) Index(i pulumi.IntInput) GetContextsLabelOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetContextsLabel { return vs[0].([]GetContextsLabel)[vs[1].(int)] @@ -4143,9 +3653,12 @@ func (o GetContextsLabelArrayOutput) Index(i pulumi.IntInput) GetContextsLabelOu } type GetModuleAzureDevop struct { - Id string `pulumi:"id"` - IsDefault bool `pulumi:"isDefault"` - Project string `pulumi:"project"` + // ID of the Azure Devops integration + Id string `pulumi:"id"` + // Indicates whether this is the default Azure Devops integration + IsDefault bool `pulumi:"isDefault"` + // The name of the Azure DevOps project + Project string `pulumi:"project"` } // GetModuleAzureDevopInput is an input type that accepts GetModuleAzureDevopArgs and GetModuleAzureDevopOutput values. @@ -4160,9 +3673,12 @@ type GetModuleAzureDevopInput interface { } type GetModuleAzureDevopArgs struct { - Id pulumi.StringInput `pulumi:"id"` - IsDefault pulumi.BoolInput `pulumi:"isDefault"` - Project pulumi.StringInput `pulumi:"project"` + // ID of the Azure Devops integration + Id pulumi.StringInput `pulumi:"id"` + // Indicates whether this is the default Azure Devops integration + IsDefault pulumi.BoolInput `pulumi:"isDefault"` + // The name of the Azure DevOps project + Project pulumi.StringInput `pulumi:"project"` } func (GetModuleAzureDevopArgs) ElementType() reflect.Type { @@ -4177,12 +3693,6 @@ func (i GetModuleAzureDevopArgs) ToGetModuleAzureDevopOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(GetModuleAzureDevopOutput) } -func (i GetModuleAzureDevopArgs) ToOutput(ctx context.Context) pulumix.Output[GetModuleAzureDevop] { - return pulumix.Output[GetModuleAzureDevop]{ - OutputState: i.ToGetModuleAzureDevopOutputWithContext(ctx).OutputState, - } -} - // GetModuleAzureDevopArrayInput is an input type that accepts GetModuleAzureDevopArray and GetModuleAzureDevopArrayOutput values. // You can construct a concrete instance of `GetModuleAzureDevopArrayInput` via: // @@ -4208,12 +3718,6 @@ func (i GetModuleAzureDevopArray) ToGetModuleAzureDevopArrayOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(GetModuleAzureDevopArrayOutput) } -func (i GetModuleAzureDevopArray) ToOutput(ctx context.Context) pulumix.Output[[]GetModuleAzureDevop] { - return pulumix.Output[[]GetModuleAzureDevop]{ - OutputState: i.ToGetModuleAzureDevopArrayOutputWithContext(ctx).OutputState, - } -} - type GetModuleAzureDevopOutput struct{ *pulumi.OutputState } func (GetModuleAzureDevopOutput) ElementType() reflect.Type { @@ -4228,20 +3732,17 @@ func (o GetModuleAzureDevopOutput) ToGetModuleAzureDevopOutputWithContext(ctx co return o } -func (o GetModuleAzureDevopOutput) ToOutput(ctx context.Context) pulumix.Output[GetModuleAzureDevop] { - return pulumix.Output[GetModuleAzureDevop]{ - OutputState: o.OutputState, - } -} - +// ID of the Azure Devops integration func (o GetModuleAzureDevopOutput) Id() pulumi.StringOutput { return o.ApplyT(func(v GetModuleAzureDevop) string { return v.Id }).(pulumi.StringOutput) } +// Indicates whether this is the default Azure Devops integration func (o GetModuleAzureDevopOutput) IsDefault() pulumi.BoolOutput { return o.ApplyT(func(v GetModuleAzureDevop) bool { return v.IsDefault }).(pulumi.BoolOutput) } +// The name of the Azure DevOps project func (o GetModuleAzureDevopOutput) Project() pulumi.StringOutput { return o.ApplyT(func(v GetModuleAzureDevop) string { return v.Project }).(pulumi.StringOutput) } @@ -4260,12 +3761,6 @@ func (o GetModuleAzureDevopArrayOutput) ToGetModuleAzureDevopArrayOutputWithCont return o } -func (o GetModuleAzureDevopArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetModuleAzureDevop] { - return pulumix.Output[[]GetModuleAzureDevop]{ - OutputState: o.OutputState, - } -} - func (o GetModuleAzureDevopArrayOutput) Index(i pulumi.IntInput) GetModuleAzureDevopOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetModuleAzureDevop { return vs[0].([]GetModuleAzureDevop)[vs[1].(int)] @@ -4273,8 +3768,11 @@ func (o GetModuleAzureDevopArrayOutput) Index(i pulumi.IntInput) GetModuleAzureD } type GetModuleBitbucketCloud struct { - Id string `pulumi:"id"` - IsDefault bool `pulumi:"isDefault"` + // ID of the Bitbucket Cloud integration + Id string `pulumi:"id"` + // Indicates whether this is the default Bitbucket Cloud integration + IsDefault bool `pulumi:"isDefault"` + // Bitbucket Cloud namespace of the stack's repository Namespace string `pulumi:"namespace"` } @@ -4290,8 +3788,11 @@ type GetModuleBitbucketCloudInput interface { } type GetModuleBitbucketCloudArgs struct { - Id pulumi.StringInput `pulumi:"id"` - IsDefault pulumi.BoolInput `pulumi:"isDefault"` + // ID of the Bitbucket Cloud integration + Id pulumi.StringInput `pulumi:"id"` + // Indicates whether this is the default Bitbucket Cloud integration + IsDefault pulumi.BoolInput `pulumi:"isDefault"` + // Bitbucket Cloud namespace of the stack's repository Namespace pulumi.StringInput `pulumi:"namespace"` } @@ -4307,12 +3808,6 @@ func (i GetModuleBitbucketCloudArgs) ToGetModuleBitbucketCloudOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(GetModuleBitbucketCloudOutput) } -func (i GetModuleBitbucketCloudArgs) ToOutput(ctx context.Context) pulumix.Output[GetModuleBitbucketCloud] { - return pulumix.Output[GetModuleBitbucketCloud]{ - OutputState: i.ToGetModuleBitbucketCloudOutputWithContext(ctx).OutputState, - } -} - // GetModuleBitbucketCloudArrayInput is an input type that accepts GetModuleBitbucketCloudArray and GetModuleBitbucketCloudArrayOutput values. // You can construct a concrete instance of `GetModuleBitbucketCloudArrayInput` via: // @@ -4338,12 +3833,6 @@ func (i GetModuleBitbucketCloudArray) ToGetModuleBitbucketCloudArrayOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(GetModuleBitbucketCloudArrayOutput) } -func (i GetModuleBitbucketCloudArray) ToOutput(ctx context.Context) pulumix.Output[[]GetModuleBitbucketCloud] { - return pulumix.Output[[]GetModuleBitbucketCloud]{ - OutputState: i.ToGetModuleBitbucketCloudArrayOutputWithContext(ctx).OutputState, - } -} - type GetModuleBitbucketCloudOutput struct{ *pulumi.OutputState } func (GetModuleBitbucketCloudOutput) ElementType() reflect.Type { @@ -4358,20 +3847,17 @@ func (o GetModuleBitbucketCloudOutput) ToGetModuleBitbucketCloudOutputWithContex return o } -func (o GetModuleBitbucketCloudOutput) ToOutput(ctx context.Context) pulumix.Output[GetModuleBitbucketCloud] { - return pulumix.Output[GetModuleBitbucketCloud]{ - OutputState: o.OutputState, - } -} - +// ID of the Bitbucket Cloud integration func (o GetModuleBitbucketCloudOutput) Id() pulumi.StringOutput { return o.ApplyT(func(v GetModuleBitbucketCloud) string { return v.Id }).(pulumi.StringOutput) } +// Indicates whether this is the default Bitbucket Cloud integration func (o GetModuleBitbucketCloudOutput) IsDefault() pulumi.BoolOutput { return o.ApplyT(func(v GetModuleBitbucketCloud) bool { return v.IsDefault }).(pulumi.BoolOutput) } +// Bitbucket Cloud namespace of the stack's repository func (o GetModuleBitbucketCloudOutput) Namespace() pulumi.StringOutput { return o.ApplyT(func(v GetModuleBitbucketCloud) string { return v.Namespace }).(pulumi.StringOutput) } @@ -4390,12 +3876,6 @@ func (o GetModuleBitbucketCloudArrayOutput) ToGetModuleBitbucketCloudArrayOutput return o } -func (o GetModuleBitbucketCloudArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetModuleBitbucketCloud] { - return pulumix.Output[[]GetModuleBitbucketCloud]{ - OutputState: o.OutputState, - } -} - func (o GetModuleBitbucketCloudArrayOutput) Index(i pulumi.IntInput) GetModuleBitbucketCloudOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetModuleBitbucketCloud { return vs[0].([]GetModuleBitbucketCloud)[vs[1].(int)] @@ -4403,8 +3883,11 @@ func (o GetModuleBitbucketCloudArrayOutput) Index(i pulumi.IntInput) GetModuleBi } type GetModuleBitbucketDatacenter struct { - Id string `pulumi:"id"` - IsDefault bool `pulumi:"isDefault"` + // ID of the Bitbucket Datacenter integration + Id string `pulumi:"id"` + // Indicates whether this is the default Bitbucket Datacenter integration + IsDefault bool `pulumi:"isDefault"` + // Bitbucket Datacenter namespace of the stack's repository Namespace string `pulumi:"namespace"` } @@ -4420,8 +3903,11 @@ type GetModuleBitbucketDatacenterInput interface { } type GetModuleBitbucketDatacenterArgs struct { - Id pulumi.StringInput `pulumi:"id"` - IsDefault pulumi.BoolInput `pulumi:"isDefault"` + // ID of the Bitbucket Datacenter integration + Id pulumi.StringInput `pulumi:"id"` + // Indicates whether this is the default Bitbucket Datacenter integration + IsDefault pulumi.BoolInput `pulumi:"isDefault"` + // Bitbucket Datacenter namespace of the stack's repository Namespace pulumi.StringInput `pulumi:"namespace"` } @@ -4437,12 +3923,6 @@ func (i GetModuleBitbucketDatacenterArgs) ToGetModuleBitbucketDatacenterOutputWi return pulumi.ToOutputWithContext(ctx, i).(GetModuleBitbucketDatacenterOutput) } -func (i GetModuleBitbucketDatacenterArgs) ToOutput(ctx context.Context) pulumix.Output[GetModuleBitbucketDatacenter] { - return pulumix.Output[GetModuleBitbucketDatacenter]{ - OutputState: i.ToGetModuleBitbucketDatacenterOutputWithContext(ctx).OutputState, - } -} - // GetModuleBitbucketDatacenterArrayInput is an input type that accepts GetModuleBitbucketDatacenterArray and GetModuleBitbucketDatacenterArrayOutput values. // You can construct a concrete instance of `GetModuleBitbucketDatacenterArrayInput` via: // @@ -4468,12 +3948,6 @@ func (i GetModuleBitbucketDatacenterArray) ToGetModuleBitbucketDatacenterArrayOu return pulumi.ToOutputWithContext(ctx, i).(GetModuleBitbucketDatacenterArrayOutput) } -func (i GetModuleBitbucketDatacenterArray) ToOutput(ctx context.Context) pulumix.Output[[]GetModuleBitbucketDatacenter] { - return pulumix.Output[[]GetModuleBitbucketDatacenter]{ - OutputState: i.ToGetModuleBitbucketDatacenterArrayOutputWithContext(ctx).OutputState, - } -} - type GetModuleBitbucketDatacenterOutput struct{ *pulumi.OutputState } func (GetModuleBitbucketDatacenterOutput) ElementType() reflect.Type { @@ -4488,20 +3962,17 @@ func (o GetModuleBitbucketDatacenterOutput) ToGetModuleBitbucketDatacenterOutput return o } -func (o GetModuleBitbucketDatacenterOutput) ToOutput(ctx context.Context) pulumix.Output[GetModuleBitbucketDatacenter] { - return pulumix.Output[GetModuleBitbucketDatacenter]{ - OutputState: o.OutputState, - } -} - +// ID of the Bitbucket Datacenter integration func (o GetModuleBitbucketDatacenterOutput) Id() pulumi.StringOutput { return o.ApplyT(func(v GetModuleBitbucketDatacenter) string { return v.Id }).(pulumi.StringOutput) } +// Indicates whether this is the default Bitbucket Datacenter integration func (o GetModuleBitbucketDatacenterOutput) IsDefault() pulumi.BoolOutput { return o.ApplyT(func(v GetModuleBitbucketDatacenter) bool { return v.IsDefault }).(pulumi.BoolOutput) } +// Bitbucket Datacenter namespace of the stack's repository func (o GetModuleBitbucketDatacenterOutput) Namespace() pulumi.StringOutput { return o.ApplyT(func(v GetModuleBitbucketDatacenter) string { return v.Namespace }).(pulumi.StringOutput) } @@ -4520,12 +3991,6 @@ func (o GetModuleBitbucketDatacenterArrayOutput) ToGetModuleBitbucketDatacenterA return o } -func (o GetModuleBitbucketDatacenterArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetModuleBitbucketDatacenter] { - return pulumix.Output[[]GetModuleBitbucketDatacenter]{ - OutputState: o.OutputState, - } -} - func (o GetModuleBitbucketDatacenterArrayOutput) Index(i pulumi.IntInput) GetModuleBitbucketDatacenterOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetModuleBitbucketDatacenter { return vs[0].([]GetModuleBitbucketDatacenter)[vs[1].(int)] @@ -4533,8 +3998,11 @@ func (o GetModuleBitbucketDatacenterArrayOutput) Index(i pulumi.IntInput) GetMod } type GetModuleGithubEnterprise struct { - Id string `pulumi:"id"` - IsDefault bool `pulumi:"isDefault"` + // ID of the GitHub Enterprise integration + Id string `pulumi:"id"` + // Indicates whether this is the default GitHub Enterprise integration + IsDefault bool `pulumi:"isDefault"` + // GitHub Enterprise namespace of the stack's repository Namespace string `pulumi:"namespace"` } @@ -4550,8 +4018,11 @@ type GetModuleGithubEnterpriseInput interface { } type GetModuleGithubEnterpriseArgs struct { - Id pulumi.StringInput `pulumi:"id"` - IsDefault pulumi.BoolInput `pulumi:"isDefault"` + // ID of the GitHub Enterprise integration + Id pulumi.StringInput `pulumi:"id"` + // Indicates whether this is the default GitHub Enterprise integration + IsDefault pulumi.BoolInput `pulumi:"isDefault"` + // GitHub Enterprise namespace of the stack's repository Namespace pulumi.StringInput `pulumi:"namespace"` } @@ -4567,12 +4038,6 @@ func (i GetModuleGithubEnterpriseArgs) ToGetModuleGithubEnterpriseOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(GetModuleGithubEnterpriseOutput) } -func (i GetModuleGithubEnterpriseArgs) ToOutput(ctx context.Context) pulumix.Output[GetModuleGithubEnterprise] { - return pulumix.Output[GetModuleGithubEnterprise]{ - OutputState: i.ToGetModuleGithubEnterpriseOutputWithContext(ctx).OutputState, - } -} - // GetModuleGithubEnterpriseArrayInput is an input type that accepts GetModuleGithubEnterpriseArray and GetModuleGithubEnterpriseArrayOutput values. // You can construct a concrete instance of `GetModuleGithubEnterpriseArrayInput` via: // @@ -4598,12 +4063,6 @@ func (i GetModuleGithubEnterpriseArray) ToGetModuleGithubEnterpriseArrayOutputWi return pulumi.ToOutputWithContext(ctx, i).(GetModuleGithubEnterpriseArrayOutput) } -func (i GetModuleGithubEnterpriseArray) ToOutput(ctx context.Context) pulumix.Output[[]GetModuleGithubEnterprise] { - return pulumix.Output[[]GetModuleGithubEnterprise]{ - OutputState: i.ToGetModuleGithubEnterpriseArrayOutputWithContext(ctx).OutputState, - } -} - type GetModuleGithubEnterpriseOutput struct{ *pulumi.OutputState } func (GetModuleGithubEnterpriseOutput) ElementType() reflect.Type { @@ -4618,20 +4077,17 @@ func (o GetModuleGithubEnterpriseOutput) ToGetModuleGithubEnterpriseOutputWithCo return o } -func (o GetModuleGithubEnterpriseOutput) ToOutput(ctx context.Context) pulumix.Output[GetModuleGithubEnterprise] { - return pulumix.Output[GetModuleGithubEnterprise]{ - OutputState: o.OutputState, - } -} - +// ID of the GitHub Enterprise integration func (o GetModuleGithubEnterpriseOutput) Id() pulumi.StringOutput { return o.ApplyT(func(v GetModuleGithubEnterprise) string { return v.Id }).(pulumi.StringOutput) } +// Indicates whether this is the default GitHub Enterprise integration func (o GetModuleGithubEnterpriseOutput) IsDefault() pulumi.BoolOutput { return o.ApplyT(func(v GetModuleGithubEnterprise) bool { return v.IsDefault }).(pulumi.BoolOutput) } +// GitHub Enterprise namespace of the stack's repository func (o GetModuleGithubEnterpriseOutput) Namespace() pulumi.StringOutput { return o.ApplyT(func(v GetModuleGithubEnterprise) string { return v.Namespace }).(pulumi.StringOutput) } @@ -4650,12 +4106,6 @@ func (o GetModuleGithubEnterpriseArrayOutput) ToGetModuleGithubEnterpriseArrayOu return o } -func (o GetModuleGithubEnterpriseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetModuleGithubEnterprise] { - return pulumix.Output[[]GetModuleGithubEnterprise]{ - OutputState: o.OutputState, - } -} - func (o GetModuleGithubEnterpriseArrayOutput) Index(i pulumi.IntInput) GetModuleGithubEnterpriseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetModuleGithubEnterprise { return vs[0].([]GetModuleGithubEnterprise)[vs[1].(int)] @@ -4663,8 +4113,11 @@ func (o GetModuleGithubEnterpriseArrayOutput) Index(i pulumi.IntInput) GetModule } type GetModuleGitlab struct { - Id string `pulumi:"id"` - IsDefault bool `pulumi:"isDefault"` + // ID of the Gitlab integration + Id string `pulumi:"id"` + // Indicates whether this is the default Gitlab integration + IsDefault bool `pulumi:"isDefault"` + // GitLab namespace of the repository Namespace string `pulumi:"namespace"` } @@ -4680,8 +4133,11 @@ type GetModuleGitlabInput interface { } type GetModuleGitlabArgs struct { - Id pulumi.StringInput `pulumi:"id"` - IsDefault pulumi.BoolInput `pulumi:"isDefault"` + // ID of the Gitlab integration + Id pulumi.StringInput `pulumi:"id"` + // Indicates whether this is the default Gitlab integration + IsDefault pulumi.BoolInput `pulumi:"isDefault"` + // GitLab namespace of the repository Namespace pulumi.StringInput `pulumi:"namespace"` } @@ -4697,12 +4153,6 @@ func (i GetModuleGitlabArgs) ToGetModuleGitlabOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(GetModuleGitlabOutput) } -func (i GetModuleGitlabArgs) ToOutput(ctx context.Context) pulumix.Output[GetModuleGitlab] { - return pulumix.Output[GetModuleGitlab]{ - OutputState: i.ToGetModuleGitlabOutputWithContext(ctx).OutputState, - } -} - // GetModuleGitlabArrayInput is an input type that accepts GetModuleGitlabArray and GetModuleGitlabArrayOutput values. // You can construct a concrete instance of `GetModuleGitlabArrayInput` via: // @@ -4728,12 +4178,6 @@ func (i GetModuleGitlabArray) ToGetModuleGitlabArrayOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(GetModuleGitlabArrayOutput) } -func (i GetModuleGitlabArray) ToOutput(ctx context.Context) pulumix.Output[[]GetModuleGitlab] { - return pulumix.Output[[]GetModuleGitlab]{ - OutputState: i.ToGetModuleGitlabArrayOutputWithContext(ctx).OutputState, - } -} - type GetModuleGitlabOutput struct{ *pulumi.OutputState } func (GetModuleGitlabOutput) ElementType() reflect.Type { @@ -4748,20 +4192,17 @@ func (o GetModuleGitlabOutput) ToGetModuleGitlabOutputWithContext(ctx context.Co return o } -func (o GetModuleGitlabOutput) ToOutput(ctx context.Context) pulumix.Output[GetModuleGitlab] { - return pulumix.Output[GetModuleGitlab]{ - OutputState: o.OutputState, - } -} - +// ID of the Gitlab integration func (o GetModuleGitlabOutput) Id() pulumi.StringOutput { return o.ApplyT(func(v GetModuleGitlab) string { return v.Id }).(pulumi.StringOutput) } +// Indicates whether this is the default Gitlab integration func (o GetModuleGitlabOutput) IsDefault() pulumi.BoolOutput { return o.ApplyT(func(v GetModuleGitlab) bool { return v.IsDefault }).(pulumi.BoolOutput) } +// GitLab namespace of the repository func (o GetModuleGitlabOutput) Namespace() pulumi.StringOutput { return o.ApplyT(func(v GetModuleGitlab) string { return v.Namespace }).(pulumi.StringOutput) } @@ -4780,12 +4221,6 @@ func (o GetModuleGitlabArrayOutput) ToGetModuleGitlabArrayOutputWithContext(ctx return o } -func (o GetModuleGitlabArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetModuleGitlab] { - return pulumix.Output[[]GetModuleGitlab]{ - OutputState: o.OutputState, - } -} - func (o GetModuleGitlabArrayOutput) Index(i pulumi.IntInput) GetModuleGitlabOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetModuleGitlab { return vs[0].([]GetModuleGitlab)[vs[1].(int)] @@ -4793,11 +4228,15 @@ func (o GetModuleGitlabArrayOutput) Index(i pulumi.IntInput) GetModuleGitlabOutp } type GetPoliciesPolicy struct { - Id string `pulumi:"id"` - Labels []string `pulumi:"labels"` - Name string `pulumi:"name"` - SpaceId string `pulumi:"spaceId"` - Type string `pulumi:"type"` + // ID of the policy + Id string `pulumi:"id"` + Labels []string `pulumi:"labels"` + // Name of the policy + Name string `pulumi:"name"` + // ID (slug) of the space the policy is in + SpaceId string `pulumi:"spaceId"` + // Type of the policy + Type string `pulumi:"type"` } // GetPoliciesPolicyInput is an input type that accepts GetPoliciesPolicyArgs and GetPoliciesPolicyOutput values. @@ -4812,11 +4251,15 @@ type GetPoliciesPolicyInput interface { } type GetPoliciesPolicyArgs struct { - Id pulumi.StringInput `pulumi:"id"` - Labels pulumi.StringArrayInput `pulumi:"labels"` - Name pulumi.StringInput `pulumi:"name"` - SpaceId pulumi.StringInput `pulumi:"spaceId"` - Type pulumi.StringInput `pulumi:"type"` + // ID of the policy + Id pulumi.StringInput `pulumi:"id"` + Labels pulumi.StringArrayInput `pulumi:"labels"` + // Name of the policy + Name pulumi.StringInput `pulumi:"name"` + // ID (slug) of the space the policy is in + SpaceId pulumi.StringInput `pulumi:"spaceId"` + // Type of the policy + Type pulumi.StringInput `pulumi:"type"` } func (GetPoliciesPolicyArgs) ElementType() reflect.Type { @@ -4831,12 +4274,6 @@ func (i GetPoliciesPolicyArgs) ToGetPoliciesPolicyOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(GetPoliciesPolicyOutput) } -func (i GetPoliciesPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[GetPoliciesPolicy] { - return pulumix.Output[GetPoliciesPolicy]{ - OutputState: i.ToGetPoliciesPolicyOutputWithContext(ctx).OutputState, - } -} - // GetPoliciesPolicyArrayInput is an input type that accepts GetPoliciesPolicyArray and GetPoliciesPolicyArrayOutput values. // You can construct a concrete instance of `GetPoliciesPolicyArrayInput` via: // @@ -4862,12 +4299,6 @@ func (i GetPoliciesPolicyArray) ToGetPoliciesPolicyArrayOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(GetPoliciesPolicyArrayOutput) } -func (i GetPoliciesPolicyArray) ToOutput(ctx context.Context) pulumix.Output[[]GetPoliciesPolicy] { - return pulumix.Output[[]GetPoliciesPolicy]{ - OutputState: i.ToGetPoliciesPolicyArrayOutputWithContext(ctx).OutputState, - } -} - type GetPoliciesPolicyOutput struct{ *pulumi.OutputState } func (GetPoliciesPolicyOutput) ElementType() reflect.Type { @@ -4882,12 +4313,7 @@ func (o GetPoliciesPolicyOutput) ToGetPoliciesPolicyOutputWithContext(ctx contex return o } -func (o GetPoliciesPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[GetPoliciesPolicy] { - return pulumix.Output[GetPoliciesPolicy]{ - OutputState: o.OutputState, - } -} - +// ID of the policy func (o GetPoliciesPolicyOutput) Id() pulumi.StringOutput { return o.ApplyT(func(v GetPoliciesPolicy) string { return v.Id }).(pulumi.StringOutput) } @@ -4896,14 +4322,17 @@ func (o GetPoliciesPolicyOutput) Labels() pulumi.StringArrayOutput { return o.ApplyT(func(v GetPoliciesPolicy) []string { return v.Labels }).(pulumi.StringArrayOutput) } +// Name of the policy func (o GetPoliciesPolicyOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v GetPoliciesPolicy) string { return v.Name }).(pulumi.StringOutput) } +// ID (slug) of the space the policy is in func (o GetPoliciesPolicyOutput) SpaceId() pulumi.StringOutput { return o.ApplyT(func(v GetPoliciesPolicy) string { return v.SpaceId }).(pulumi.StringOutput) } +// Type of the policy func (o GetPoliciesPolicyOutput) Type() pulumi.StringOutput { return o.ApplyT(func(v GetPoliciesPolicy) string { return v.Type }).(pulumi.StringOutput) } @@ -4922,12 +4351,6 @@ func (o GetPoliciesPolicyArrayOutput) ToGetPoliciesPolicyArrayOutputWithContext( return o } -func (o GetPoliciesPolicyArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetPoliciesPolicy] { - return pulumix.Output[[]GetPoliciesPolicy]{ - OutputState: o.OutputState, - } -} - func (o GetPoliciesPolicyArrayOutput) Index(i pulumi.IntInput) GetPoliciesPolicyOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetPoliciesPolicy { return vs[0].([]GetPoliciesPolicy)[vs[1].(int)] @@ -4935,12 +4358,18 @@ func (o GetPoliciesPolicyArrayOutput) Index(i pulumi.IntInput) GetPoliciesPolicy } type GetSpacesSpace struct { - Description string `pulumi:"description"` - InheritEntities bool `pulumi:"inheritEntities"` - Labels []string `pulumi:"labels"` - Name string `pulumi:"name"` - ParentSpaceId string `pulumi:"parentSpaceId"` - SpaceId string `pulumi:"spaceId"` + // free-form space description for users + Description string `pulumi:"description"` + // indication whether access to this space inherits read access to entities from the parent space + InheritEntities bool `pulumi:"inheritEntities"` + // list of labels describing a space + Labels []string `pulumi:"labels"` + // name of the space + Name string `pulumi:"name"` + // immutable ID (slug) of parent space + ParentSpaceId string `pulumi:"parentSpaceId"` + // immutable ID (slug) of the space + SpaceId string `pulumi:"spaceId"` } // GetSpacesSpaceInput is an input type that accepts GetSpacesSpaceArgs and GetSpacesSpaceOutput values. @@ -4955,12 +4384,18 @@ type GetSpacesSpaceInput interface { } type GetSpacesSpaceArgs struct { - Description pulumi.StringInput `pulumi:"description"` - InheritEntities pulumi.BoolInput `pulumi:"inheritEntities"` - Labels pulumi.StringArrayInput `pulumi:"labels"` - Name pulumi.StringInput `pulumi:"name"` - ParentSpaceId pulumi.StringInput `pulumi:"parentSpaceId"` - SpaceId pulumi.StringInput `pulumi:"spaceId"` + // free-form space description for users + Description pulumi.StringInput `pulumi:"description"` + // indication whether access to this space inherits read access to entities from the parent space + InheritEntities pulumi.BoolInput `pulumi:"inheritEntities"` + // list of labels describing a space + Labels pulumi.StringArrayInput `pulumi:"labels"` + // name of the space + Name pulumi.StringInput `pulumi:"name"` + // immutable ID (slug) of parent space + ParentSpaceId pulumi.StringInput `pulumi:"parentSpaceId"` + // immutable ID (slug) of the space + SpaceId pulumi.StringInput `pulumi:"spaceId"` } func (GetSpacesSpaceArgs) ElementType() reflect.Type { @@ -4975,12 +4410,6 @@ func (i GetSpacesSpaceArgs) ToGetSpacesSpaceOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(GetSpacesSpaceOutput) } -func (i GetSpacesSpaceArgs) ToOutput(ctx context.Context) pulumix.Output[GetSpacesSpace] { - return pulumix.Output[GetSpacesSpace]{ - OutputState: i.ToGetSpacesSpaceOutputWithContext(ctx).OutputState, - } -} - // GetSpacesSpaceArrayInput is an input type that accepts GetSpacesSpaceArray and GetSpacesSpaceArrayOutput values. // You can construct a concrete instance of `GetSpacesSpaceArrayInput` via: // @@ -5006,12 +4435,6 @@ func (i GetSpacesSpaceArray) ToGetSpacesSpaceArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(GetSpacesSpaceArrayOutput) } -func (i GetSpacesSpaceArray) ToOutput(ctx context.Context) pulumix.Output[[]GetSpacesSpace] { - return pulumix.Output[[]GetSpacesSpace]{ - OutputState: i.ToGetSpacesSpaceArrayOutputWithContext(ctx).OutputState, - } -} - type GetSpacesSpaceOutput struct{ *pulumi.OutputState } func (GetSpacesSpaceOutput) ElementType() reflect.Type { @@ -5026,32 +4449,32 @@ func (o GetSpacesSpaceOutput) ToGetSpacesSpaceOutputWithContext(ctx context.Cont return o } -func (o GetSpacesSpaceOutput) ToOutput(ctx context.Context) pulumix.Output[GetSpacesSpace] { - return pulumix.Output[GetSpacesSpace]{ - OutputState: o.OutputState, - } -} - +// free-form space description for users func (o GetSpacesSpaceOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v GetSpacesSpace) string { return v.Description }).(pulumi.StringOutput) } +// indication whether access to this space inherits read access to entities from the parent space func (o GetSpacesSpaceOutput) InheritEntities() pulumi.BoolOutput { return o.ApplyT(func(v GetSpacesSpace) bool { return v.InheritEntities }).(pulumi.BoolOutput) } +// list of labels describing a space func (o GetSpacesSpaceOutput) Labels() pulumi.StringArrayOutput { return o.ApplyT(func(v GetSpacesSpace) []string { return v.Labels }).(pulumi.StringArrayOutput) } +// name of the space func (o GetSpacesSpaceOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v GetSpacesSpace) string { return v.Name }).(pulumi.StringOutput) } +// immutable ID (slug) of parent space func (o GetSpacesSpaceOutput) ParentSpaceId() pulumi.StringOutput { return o.ApplyT(func(v GetSpacesSpace) string { return v.ParentSpaceId }).(pulumi.StringOutput) } +// immutable ID (slug) of the space func (o GetSpacesSpaceOutput) SpaceId() pulumi.StringOutput { return o.ApplyT(func(v GetSpacesSpace) string { return v.SpaceId }).(pulumi.StringOutput) } @@ -5070,12 +4493,6 @@ func (o GetSpacesSpaceArrayOutput) ToGetSpacesSpaceArrayOutputWithContext(ctx co return o } -func (o GetSpacesSpaceArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetSpacesSpace] { - return pulumix.Output[[]GetSpacesSpace]{ - OutputState: o.OutputState, - } -} - func (o GetSpacesSpaceArrayOutput) Index(i pulumi.IntInput) GetSpacesSpaceOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetSpacesSpace { return vs[0].([]GetSpacesSpace)[vs[1].(int)] @@ -5083,6 +4500,7 @@ func (o GetSpacesSpaceArrayOutput) Index(i pulumi.IntInput) GetSpacesSpaceOutput } type GetStackAnsible struct { + // The playbook the Ansible stack should run. Playbook string `pulumi:"playbook"` } @@ -5098,6 +4516,7 @@ type GetStackAnsibleInput interface { } type GetStackAnsibleArgs struct { + // The playbook the Ansible stack should run. Playbook pulumi.StringInput `pulumi:"playbook"` } @@ -5113,12 +4532,6 @@ func (i GetStackAnsibleArgs) ToGetStackAnsibleOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(GetStackAnsibleOutput) } -func (i GetStackAnsibleArgs) ToOutput(ctx context.Context) pulumix.Output[GetStackAnsible] { - return pulumix.Output[GetStackAnsible]{ - OutputState: i.ToGetStackAnsibleOutputWithContext(ctx).OutputState, - } -} - // GetStackAnsibleArrayInput is an input type that accepts GetStackAnsibleArray and GetStackAnsibleArrayOutput values. // You can construct a concrete instance of `GetStackAnsibleArrayInput` via: // @@ -5144,12 +4557,6 @@ func (i GetStackAnsibleArray) ToGetStackAnsibleArrayOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(GetStackAnsibleArrayOutput) } -func (i GetStackAnsibleArray) ToOutput(ctx context.Context) pulumix.Output[[]GetStackAnsible] { - return pulumix.Output[[]GetStackAnsible]{ - OutputState: i.ToGetStackAnsibleArrayOutputWithContext(ctx).OutputState, - } -} - type GetStackAnsibleOutput struct{ *pulumi.OutputState } func (GetStackAnsibleOutput) ElementType() reflect.Type { @@ -5164,12 +4571,7 @@ func (o GetStackAnsibleOutput) ToGetStackAnsibleOutputWithContext(ctx context.Co return o } -func (o GetStackAnsibleOutput) ToOutput(ctx context.Context) pulumix.Output[GetStackAnsible] { - return pulumix.Output[GetStackAnsible]{ - OutputState: o.OutputState, - } -} - +// The playbook the Ansible stack should run. func (o GetStackAnsibleOutput) Playbook() pulumi.StringOutput { return o.ApplyT(func(v GetStackAnsible) string { return v.Playbook }).(pulumi.StringOutput) } @@ -5188,12 +4590,6 @@ func (o GetStackAnsibleArrayOutput) ToGetStackAnsibleArrayOutputWithContext(ctx return o } -func (o GetStackAnsibleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetStackAnsible] { - return pulumix.Output[[]GetStackAnsible]{ - OutputState: o.OutputState, - } -} - func (o GetStackAnsibleArrayOutput) Index(i pulumi.IntInput) GetStackAnsibleOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetStackAnsible { return vs[0].([]GetStackAnsible)[vs[1].(int)] @@ -5201,9 +4597,12 @@ func (o GetStackAnsibleArrayOutput) Index(i pulumi.IntInput) GetStackAnsibleOutp } type GetStackAzureDevop struct { - Id string `pulumi:"id"` - IsDefault bool `pulumi:"isDefault"` - Project string `pulumi:"project"` + // ID of the Azure Devops VCS integration + Id string `pulumi:"id"` + // Indicates whether this is the default Azure Devops VCS integration + IsDefault bool `pulumi:"isDefault"` + // The name of the Azure DevOps project + Project string `pulumi:"project"` } // GetStackAzureDevopInput is an input type that accepts GetStackAzureDevopArgs and GetStackAzureDevopOutput values. @@ -5218,9 +4617,12 @@ type GetStackAzureDevopInput interface { } type GetStackAzureDevopArgs struct { - Id pulumi.StringInput `pulumi:"id"` - IsDefault pulumi.BoolInput `pulumi:"isDefault"` - Project pulumi.StringInput `pulumi:"project"` + // ID of the Azure Devops VCS integration + Id pulumi.StringInput `pulumi:"id"` + // Indicates whether this is the default Azure Devops VCS integration + IsDefault pulumi.BoolInput `pulumi:"isDefault"` + // The name of the Azure DevOps project + Project pulumi.StringInput `pulumi:"project"` } func (GetStackAzureDevopArgs) ElementType() reflect.Type { @@ -5235,12 +4637,6 @@ func (i GetStackAzureDevopArgs) ToGetStackAzureDevopOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(GetStackAzureDevopOutput) } -func (i GetStackAzureDevopArgs) ToOutput(ctx context.Context) pulumix.Output[GetStackAzureDevop] { - return pulumix.Output[GetStackAzureDevop]{ - OutputState: i.ToGetStackAzureDevopOutputWithContext(ctx).OutputState, - } -} - // GetStackAzureDevopArrayInput is an input type that accepts GetStackAzureDevopArray and GetStackAzureDevopArrayOutput values. // You can construct a concrete instance of `GetStackAzureDevopArrayInput` via: // @@ -5266,12 +4662,6 @@ func (i GetStackAzureDevopArray) ToGetStackAzureDevopArrayOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(GetStackAzureDevopArrayOutput) } -func (i GetStackAzureDevopArray) ToOutput(ctx context.Context) pulumix.Output[[]GetStackAzureDevop] { - return pulumix.Output[[]GetStackAzureDevop]{ - OutputState: i.ToGetStackAzureDevopArrayOutputWithContext(ctx).OutputState, - } -} - type GetStackAzureDevopOutput struct{ *pulumi.OutputState } func (GetStackAzureDevopOutput) ElementType() reflect.Type { @@ -5286,20 +4676,17 @@ func (o GetStackAzureDevopOutput) ToGetStackAzureDevopOutputWithContext(ctx cont return o } -func (o GetStackAzureDevopOutput) ToOutput(ctx context.Context) pulumix.Output[GetStackAzureDevop] { - return pulumix.Output[GetStackAzureDevop]{ - OutputState: o.OutputState, - } -} - +// ID of the Azure Devops VCS integration func (o GetStackAzureDevopOutput) Id() pulumi.StringOutput { return o.ApplyT(func(v GetStackAzureDevop) string { return v.Id }).(pulumi.StringOutput) } +// Indicates whether this is the default Azure Devops VCS integration func (o GetStackAzureDevopOutput) IsDefault() pulumi.BoolOutput { return o.ApplyT(func(v GetStackAzureDevop) bool { return v.IsDefault }).(pulumi.BoolOutput) } +// The name of the Azure DevOps project func (o GetStackAzureDevopOutput) Project() pulumi.StringOutput { return o.ApplyT(func(v GetStackAzureDevop) string { return v.Project }).(pulumi.StringOutput) } @@ -5318,12 +4705,6 @@ func (o GetStackAzureDevopArrayOutput) ToGetStackAzureDevopArrayOutputWithContex return o } -func (o GetStackAzureDevopArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetStackAzureDevop] { - return pulumix.Output[[]GetStackAzureDevop]{ - OutputState: o.OutputState, - } -} - func (o GetStackAzureDevopArrayOutput) Index(i pulumi.IntInput) GetStackAzureDevopOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetStackAzureDevop { return vs[0].([]GetStackAzureDevop)[vs[1].(int)] @@ -5331,8 +4712,11 @@ func (o GetStackAzureDevopArrayOutput) Index(i pulumi.IntInput) GetStackAzureDev } type GetStackBitbucketCloud struct { - Id string `pulumi:"id"` - IsDefault bool `pulumi:"isDefault"` + // ID of the Bitbucket Cloud integration + Id string `pulumi:"id"` + // Indicates whether this is the default Bitbucket Cloud integration + IsDefault bool `pulumi:"isDefault"` + // Bitbucket Cloud namespace of the stack's repository Namespace string `pulumi:"namespace"` } @@ -5348,8 +4732,11 @@ type GetStackBitbucketCloudInput interface { } type GetStackBitbucketCloudArgs struct { - Id pulumi.StringInput `pulumi:"id"` - IsDefault pulumi.BoolInput `pulumi:"isDefault"` + // ID of the Bitbucket Cloud integration + Id pulumi.StringInput `pulumi:"id"` + // Indicates whether this is the default Bitbucket Cloud integration + IsDefault pulumi.BoolInput `pulumi:"isDefault"` + // Bitbucket Cloud namespace of the stack's repository Namespace pulumi.StringInput `pulumi:"namespace"` } @@ -5365,12 +4752,6 @@ func (i GetStackBitbucketCloudArgs) ToGetStackBitbucketCloudOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(GetStackBitbucketCloudOutput) } -func (i GetStackBitbucketCloudArgs) ToOutput(ctx context.Context) pulumix.Output[GetStackBitbucketCloud] { - return pulumix.Output[GetStackBitbucketCloud]{ - OutputState: i.ToGetStackBitbucketCloudOutputWithContext(ctx).OutputState, - } -} - // GetStackBitbucketCloudArrayInput is an input type that accepts GetStackBitbucketCloudArray and GetStackBitbucketCloudArrayOutput values. // You can construct a concrete instance of `GetStackBitbucketCloudArrayInput` via: // @@ -5396,12 +4777,6 @@ func (i GetStackBitbucketCloudArray) ToGetStackBitbucketCloudArrayOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(GetStackBitbucketCloudArrayOutput) } -func (i GetStackBitbucketCloudArray) ToOutput(ctx context.Context) pulumix.Output[[]GetStackBitbucketCloud] { - return pulumix.Output[[]GetStackBitbucketCloud]{ - OutputState: i.ToGetStackBitbucketCloudArrayOutputWithContext(ctx).OutputState, - } -} - type GetStackBitbucketCloudOutput struct{ *pulumi.OutputState } func (GetStackBitbucketCloudOutput) ElementType() reflect.Type { @@ -5416,20 +4791,17 @@ func (o GetStackBitbucketCloudOutput) ToGetStackBitbucketCloudOutputWithContext( return o } -func (o GetStackBitbucketCloudOutput) ToOutput(ctx context.Context) pulumix.Output[GetStackBitbucketCloud] { - return pulumix.Output[GetStackBitbucketCloud]{ - OutputState: o.OutputState, - } -} - +// ID of the Bitbucket Cloud integration func (o GetStackBitbucketCloudOutput) Id() pulumi.StringOutput { return o.ApplyT(func(v GetStackBitbucketCloud) string { return v.Id }).(pulumi.StringOutput) } +// Indicates whether this is the default Bitbucket Cloud integration func (o GetStackBitbucketCloudOutput) IsDefault() pulumi.BoolOutput { return o.ApplyT(func(v GetStackBitbucketCloud) bool { return v.IsDefault }).(pulumi.BoolOutput) } +// Bitbucket Cloud namespace of the stack's repository func (o GetStackBitbucketCloudOutput) Namespace() pulumi.StringOutput { return o.ApplyT(func(v GetStackBitbucketCloud) string { return v.Namespace }).(pulumi.StringOutput) } @@ -5448,12 +4820,6 @@ func (o GetStackBitbucketCloudArrayOutput) ToGetStackBitbucketCloudArrayOutputWi return o } -func (o GetStackBitbucketCloudArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetStackBitbucketCloud] { - return pulumix.Output[[]GetStackBitbucketCloud]{ - OutputState: o.OutputState, - } -} - func (o GetStackBitbucketCloudArrayOutput) Index(i pulumi.IntInput) GetStackBitbucketCloudOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetStackBitbucketCloud { return vs[0].([]GetStackBitbucketCloud)[vs[1].(int)] @@ -5461,8 +4827,11 @@ func (o GetStackBitbucketCloudArrayOutput) Index(i pulumi.IntInput) GetStackBitb } type GetStackBitbucketDatacenter struct { - Id string `pulumi:"id"` - IsDefault bool `pulumi:"isDefault"` + // ID of the Bitbucket Datacenter integration + Id string `pulumi:"id"` + // Indicates whether this is the default Bitbucket Datacenter integration + IsDefault bool `pulumi:"isDefault"` + // Bitbucket Datacenter namespace of the stack's repository Namespace string `pulumi:"namespace"` } @@ -5478,8 +4847,11 @@ type GetStackBitbucketDatacenterInput interface { } type GetStackBitbucketDatacenterArgs struct { - Id pulumi.StringInput `pulumi:"id"` - IsDefault pulumi.BoolInput `pulumi:"isDefault"` + // ID of the Bitbucket Datacenter integration + Id pulumi.StringInput `pulumi:"id"` + // Indicates whether this is the default Bitbucket Datacenter integration + IsDefault pulumi.BoolInput `pulumi:"isDefault"` + // Bitbucket Datacenter namespace of the stack's repository Namespace pulumi.StringInput `pulumi:"namespace"` } @@ -5495,12 +4867,6 @@ func (i GetStackBitbucketDatacenterArgs) ToGetStackBitbucketDatacenterOutputWith return pulumi.ToOutputWithContext(ctx, i).(GetStackBitbucketDatacenterOutput) } -func (i GetStackBitbucketDatacenterArgs) ToOutput(ctx context.Context) pulumix.Output[GetStackBitbucketDatacenter] { - return pulumix.Output[GetStackBitbucketDatacenter]{ - OutputState: i.ToGetStackBitbucketDatacenterOutputWithContext(ctx).OutputState, - } -} - // GetStackBitbucketDatacenterArrayInput is an input type that accepts GetStackBitbucketDatacenterArray and GetStackBitbucketDatacenterArrayOutput values. // You can construct a concrete instance of `GetStackBitbucketDatacenterArrayInput` via: // @@ -5526,12 +4892,6 @@ func (i GetStackBitbucketDatacenterArray) ToGetStackBitbucketDatacenterArrayOutp return pulumi.ToOutputWithContext(ctx, i).(GetStackBitbucketDatacenterArrayOutput) } -func (i GetStackBitbucketDatacenterArray) ToOutput(ctx context.Context) pulumix.Output[[]GetStackBitbucketDatacenter] { - return pulumix.Output[[]GetStackBitbucketDatacenter]{ - OutputState: i.ToGetStackBitbucketDatacenterArrayOutputWithContext(ctx).OutputState, - } -} - type GetStackBitbucketDatacenterOutput struct{ *pulumi.OutputState } func (GetStackBitbucketDatacenterOutput) ElementType() reflect.Type { @@ -5546,20 +4906,17 @@ func (o GetStackBitbucketDatacenterOutput) ToGetStackBitbucketDatacenterOutputWi return o } -func (o GetStackBitbucketDatacenterOutput) ToOutput(ctx context.Context) pulumix.Output[GetStackBitbucketDatacenter] { - return pulumix.Output[GetStackBitbucketDatacenter]{ - OutputState: o.OutputState, - } -} - +// ID of the Bitbucket Datacenter integration func (o GetStackBitbucketDatacenterOutput) Id() pulumi.StringOutput { return o.ApplyT(func(v GetStackBitbucketDatacenter) string { return v.Id }).(pulumi.StringOutput) } +// Indicates whether this is the default Bitbucket Datacenter integration func (o GetStackBitbucketDatacenterOutput) IsDefault() pulumi.BoolOutput { return o.ApplyT(func(v GetStackBitbucketDatacenter) bool { return v.IsDefault }).(pulumi.BoolOutput) } +// Bitbucket Datacenter namespace of the stack's repository func (o GetStackBitbucketDatacenterOutput) Namespace() pulumi.StringOutput { return o.ApplyT(func(v GetStackBitbucketDatacenter) string { return v.Namespace }).(pulumi.StringOutput) } @@ -5578,12 +4935,6 @@ func (o GetStackBitbucketDatacenterArrayOutput) ToGetStackBitbucketDatacenterArr return o } -func (o GetStackBitbucketDatacenterArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetStackBitbucketDatacenter] { - return pulumix.Output[[]GetStackBitbucketDatacenter]{ - OutputState: o.OutputState, - } -} - func (o GetStackBitbucketDatacenterArrayOutput) Index(i pulumi.IntInput) GetStackBitbucketDatacenterOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetStackBitbucketDatacenter { return vs[0].([]GetStackBitbucketDatacenter)[vs[1].(int)] @@ -5591,10 +4942,14 @@ func (o GetStackBitbucketDatacenterArrayOutput) Index(i pulumi.IntInput) GetStac } type GetStackCloudformation struct { + // Template file `cloudformation package` will be called on EntryTemplateFile string `pulumi:"entryTemplateFile"` - Region string `pulumi:"region"` - StackName string `pulumi:"stackName"` - TemplateBucket string `pulumi:"templateBucket"` + // AWS region to use + Region string `pulumi:"region"` + // CloudFormation stack name + StackName string `pulumi:"stackName"` + // S3 bucket to save CloudFormation templates to + TemplateBucket string `pulumi:"templateBucket"` } // GetStackCloudformationInput is an input type that accepts GetStackCloudformationArgs and GetStackCloudformationOutput values. @@ -5609,10 +4964,14 @@ type GetStackCloudformationInput interface { } type GetStackCloudformationArgs struct { + // Template file `cloudformation package` will be called on EntryTemplateFile pulumi.StringInput `pulumi:"entryTemplateFile"` - Region pulumi.StringInput `pulumi:"region"` - StackName pulumi.StringInput `pulumi:"stackName"` - TemplateBucket pulumi.StringInput `pulumi:"templateBucket"` + // AWS region to use + Region pulumi.StringInput `pulumi:"region"` + // CloudFormation stack name + StackName pulumi.StringInput `pulumi:"stackName"` + // S3 bucket to save CloudFormation templates to + TemplateBucket pulumi.StringInput `pulumi:"templateBucket"` } func (GetStackCloudformationArgs) ElementType() reflect.Type { @@ -5627,12 +4986,6 @@ func (i GetStackCloudformationArgs) ToGetStackCloudformationOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(GetStackCloudformationOutput) } -func (i GetStackCloudformationArgs) ToOutput(ctx context.Context) pulumix.Output[GetStackCloudformation] { - return pulumix.Output[GetStackCloudformation]{ - OutputState: i.ToGetStackCloudformationOutputWithContext(ctx).OutputState, - } -} - // GetStackCloudformationArrayInput is an input type that accepts GetStackCloudformationArray and GetStackCloudformationArrayOutput values. // You can construct a concrete instance of `GetStackCloudformationArrayInput` via: // @@ -5658,12 +5011,6 @@ func (i GetStackCloudformationArray) ToGetStackCloudformationArrayOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(GetStackCloudformationArrayOutput) } -func (i GetStackCloudformationArray) ToOutput(ctx context.Context) pulumix.Output[[]GetStackCloudformation] { - return pulumix.Output[[]GetStackCloudformation]{ - OutputState: i.ToGetStackCloudformationArrayOutputWithContext(ctx).OutputState, - } -} - type GetStackCloudformationOutput struct{ *pulumi.OutputState } func (GetStackCloudformationOutput) ElementType() reflect.Type { @@ -5678,24 +5025,22 @@ func (o GetStackCloudformationOutput) ToGetStackCloudformationOutputWithContext( return o } -func (o GetStackCloudformationOutput) ToOutput(ctx context.Context) pulumix.Output[GetStackCloudformation] { - return pulumix.Output[GetStackCloudformation]{ - OutputState: o.OutputState, - } -} - +// Template file `cloudformation package` will be called on func (o GetStackCloudformationOutput) EntryTemplateFile() pulumi.StringOutput { return o.ApplyT(func(v GetStackCloudformation) string { return v.EntryTemplateFile }).(pulumi.StringOutput) } +// AWS region to use func (o GetStackCloudformationOutput) Region() pulumi.StringOutput { return o.ApplyT(func(v GetStackCloudformation) string { return v.Region }).(pulumi.StringOutput) } +// CloudFormation stack name func (o GetStackCloudformationOutput) StackName() pulumi.StringOutput { return o.ApplyT(func(v GetStackCloudformation) string { return v.StackName }).(pulumi.StringOutput) } +// S3 bucket to save CloudFormation templates to func (o GetStackCloudformationOutput) TemplateBucket() pulumi.StringOutput { return o.ApplyT(func(v GetStackCloudformation) string { return v.TemplateBucket }).(pulumi.StringOutput) } @@ -5714,12 +5059,6 @@ func (o GetStackCloudformationArrayOutput) ToGetStackCloudformationArrayOutputWi return o } -func (o GetStackCloudformationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetStackCloudformation] { - return pulumix.Output[[]GetStackCloudformation]{ - OutputState: o.OutputState, - } -} - func (o GetStackCloudformationArrayOutput) Index(i pulumi.IntInput) GetStackCloudformationOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetStackCloudformation { return vs[0].([]GetStackCloudformation)[vs[1].(int)] @@ -5727,8 +5066,11 @@ func (o GetStackCloudformationArrayOutput) Index(i pulumi.IntInput) GetStackClou } type GetStackGithubEnterprise struct { - Id string `pulumi:"id"` - IsDefault bool `pulumi:"isDefault"` + // ID of the GitHub Enterprise integration + Id string `pulumi:"id"` + // Indicates whether this is the default GitHub Enterprise integration + IsDefault bool `pulumi:"isDefault"` + // GitHub Enterprise namespace of the stack's repository Namespace string `pulumi:"namespace"` } @@ -5744,8 +5086,11 @@ type GetStackGithubEnterpriseInput interface { } type GetStackGithubEnterpriseArgs struct { - Id pulumi.StringInput `pulumi:"id"` - IsDefault pulumi.BoolInput `pulumi:"isDefault"` + // ID of the GitHub Enterprise integration + Id pulumi.StringInput `pulumi:"id"` + // Indicates whether this is the default GitHub Enterprise integration + IsDefault pulumi.BoolInput `pulumi:"isDefault"` + // GitHub Enterprise namespace of the stack's repository Namespace pulumi.StringInput `pulumi:"namespace"` } @@ -5761,12 +5106,6 @@ func (i GetStackGithubEnterpriseArgs) ToGetStackGithubEnterpriseOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(GetStackGithubEnterpriseOutput) } -func (i GetStackGithubEnterpriseArgs) ToOutput(ctx context.Context) pulumix.Output[GetStackGithubEnterprise] { - return pulumix.Output[GetStackGithubEnterprise]{ - OutputState: i.ToGetStackGithubEnterpriseOutputWithContext(ctx).OutputState, - } -} - // GetStackGithubEnterpriseArrayInput is an input type that accepts GetStackGithubEnterpriseArray and GetStackGithubEnterpriseArrayOutput values. // You can construct a concrete instance of `GetStackGithubEnterpriseArrayInput` via: // @@ -5792,12 +5131,6 @@ func (i GetStackGithubEnterpriseArray) ToGetStackGithubEnterpriseArrayOutputWith return pulumi.ToOutputWithContext(ctx, i).(GetStackGithubEnterpriseArrayOutput) } -func (i GetStackGithubEnterpriseArray) ToOutput(ctx context.Context) pulumix.Output[[]GetStackGithubEnterprise] { - return pulumix.Output[[]GetStackGithubEnterprise]{ - OutputState: i.ToGetStackGithubEnterpriseArrayOutputWithContext(ctx).OutputState, - } -} - type GetStackGithubEnterpriseOutput struct{ *pulumi.OutputState } func (GetStackGithubEnterpriseOutput) ElementType() reflect.Type { @@ -5812,20 +5145,17 @@ func (o GetStackGithubEnterpriseOutput) ToGetStackGithubEnterpriseOutputWithCont return o } -func (o GetStackGithubEnterpriseOutput) ToOutput(ctx context.Context) pulumix.Output[GetStackGithubEnterprise] { - return pulumix.Output[GetStackGithubEnterprise]{ - OutputState: o.OutputState, - } -} - +// ID of the GitHub Enterprise integration func (o GetStackGithubEnterpriseOutput) Id() pulumi.StringOutput { return o.ApplyT(func(v GetStackGithubEnterprise) string { return v.Id }).(pulumi.StringOutput) } +// Indicates whether this is the default GitHub Enterprise integration func (o GetStackGithubEnterpriseOutput) IsDefault() pulumi.BoolOutput { return o.ApplyT(func(v GetStackGithubEnterprise) bool { return v.IsDefault }).(pulumi.BoolOutput) } +// GitHub Enterprise namespace of the stack's repository func (o GetStackGithubEnterpriseOutput) Namespace() pulumi.StringOutput { return o.ApplyT(func(v GetStackGithubEnterprise) string { return v.Namespace }).(pulumi.StringOutput) } @@ -5844,12 +5174,6 @@ func (o GetStackGithubEnterpriseArrayOutput) ToGetStackGithubEnterpriseArrayOutp return o } -func (o GetStackGithubEnterpriseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetStackGithubEnterprise] { - return pulumix.Output[[]GetStackGithubEnterprise]{ - OutputState: o.OutputState, - } -} - func (o GetStackGithubEnterpriseArrayOutput) Index(i pulumi.IntInput) GetStackGithubEnterpriseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetStackGithubEnterprise { return vs[0].([]GetStackGithubEnterprise)[vs[1].(int)] @@ -5857,8 +5181,11 @@ func (o GetStackGithubEnterpriseArrayOutput) Index(i pulumi.IntInput) GetStackGi } type GetStackGitlab struct { - Id string `pulumi:"id"` - IsDefault bool `pulumi:"isDefault"` + // ID of the Gitlab integration + Id string `pulumi:"id"` + // Indicates whether this is the default Gitlab integration + IsDefault bool `pulumi:"isDefault"` + // GitLab namespace of the stack's repository Namespace string `pulumi:"namespace"` } @@ -5874,8 +5201,11 @@ type GetStackGitlabInput interface { } type GetStackGitlabArgs struct { - Id pulumi.StringInput `pulumi:"id"` - IsDefault pulumi.BoolInput `pulumi:"isDefault"` + // ID of the Gitlab integration + Id pulumi.StringInput `pulumi:"id"` + // Indicates whether this is the default Gitlab integration + IsDefault pulumi.BoolInput `pulumi:"isDefault"` + // GitLab namespace of the stack's repository Namespace pulumi.StringInput `pulumi:"namespace"` } @@ -5891,12 +5221,6 @@ func (i GetStackGitlabArgs) ToGetStackGitlabOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(GetStackGitlabOutput) } -func (i GetStackGitlabArgs) ToOutput(ctx context.Context) pulumix.Output[GetStackGitlab] { - return pulumix.Output[GetStackGitlab]{ - OutputState: i.ToGetStackGitlabOutputWithContext(ctx).OutputState, - } -} - // GetStackGitlabArrayInput is an input type that accepts GetStackGitlabArray and GetStackGitlabArrayOutput values. // You can construct a concrete instance of `GetStackGitlabArrayInput` via: // @@ -5922,12 +5246,6 @@ func (i GetStackGitlabArray) ToGetStackGitlabArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(GetStackGitlabArrayOutput) } -func (i GetStackGitlabArray) ToOutput(ctx context.Context) pulumix.Output[[]GetStackGitlab] { - return pulumix.Output[[]GetStackGitlab]{ - OutputState: i.ToGetStackGitlabArrayOutputWithContext(ctx).OutputState, - } -} - type GetStackGitlabOutput struct{ *pulumi.OutputState } func (GetStackGitlabOutput) ElementType() reflect.Type { @@ -5942,20 +5260,17 @@ func (o GetStackGitlabOutput) ToGetStackGitlabOutputWithContext(ctx context.Cont return o } -func (o GetStackGitlabOutput) ToOutput(ctx context.Context) pulumix.Output[GetStackGitlab] { - return pulumix.Output[GetStackGitlab]{ - OutputState: o.OutputState, - } -} - +// ID of the Gitlab integration func (o GetStackGitlabOutput) Id() pulumi.StringOutput { return o.ApplyT(func(v GetStackGitlab) string { return v.Id }).(pulumi.StringOutput) } +// Indicates whether this is the default Gitlab integration func (o GetStackGitlabOutput) IsDefault() pulumi.BoolOutput { return o.ApplyT(func(v GetStackGitlab) bool { return v.IsDefault }).(pulumi.BoolOutput) } +// GitLab namespace of the stack's repository func (o GetStackGitlabOutput) Namespace() pulumi.StringOutput { return o.ApplyT(func(v GetStackGitlab) string { return v.Namespace }).(pulumi.StringOutput) } @@ -5974,12 +5289,6 @@ func (o GetStackGitlabArrayOutput) ToGetStackGitlabArrayOutputWithContext(ctx co return o } -func (o GetStackGitlabArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetStackGitlab] { - return pulumix.Output[[]GetStackGitlab]{ - OutputState: o.OutputState, - } -} - func (o GetStackGitlabArrayOutput) Index(i pulumi.IntInput) GetStackGitlabOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetStackGitlab { return vs[0].([]GetStackGitlab)[vs[1].(int)] @@ -5987,8 +5296,10 @@ func (o GetStackGitlabArrayOutput) Index(i pulumi.IntInput) GetStackGitlabOutput } type GetStackKubernete struct { + // Kubectl version. KubectlVersion string `pulumi:"kubectlVersion"` - Namespace string `pulumi:"namespace"` + // Namespace of the Kubernetes cluster to run commands on. Leave empty for multi-namespace Stacks. + Namespace string `pulumi:"namespace"` } // GetStackKuberneteInput is an input type that accepts GetStackKuberneteArgs and GetStackKuberneteOutput values. @@ -6003,8 +5314,10 @@ type GetStackKuberneteInput interface { } type GetStackKuberneteArgs struct { + // Kubectl version. KubectlVersion pulumi.StringInput `pulumi:"kubectlVersion"` - Namespace pulumi.StringInput `pulumi:"namespace"` + // Namespace of the Kubernetes cluster to run commands on. Leave empty for multi-namespace Stacks. + Namespace pulumi.StringInput `pulumi:"namespace"` } func (GetStackKuberneteArgs) ElementType() reflect.Type { @@ -6019,12 +5332,6 @@ func (i GetStackKuberneteArgs) ToGetStackKuberneteOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(GetStackKuberneteOutput) } -func (i GetStackKuberneteArgs) ToOutput(ctx context.Context) pulumix.Output[GetStackKubernete] { - return pulumix.Output[GetStackKubernete]{ - OutputState: i.ToGetStackKuberneteOutputWithContext(ctx).OutputState, - } -} - // GetStackKuberneteArrayInput is an input type that accepts GetStackKuberneteArray and GetStackKuberneteArrayOutput values. // You can construct a concrete instance of `GetStackKuberneteArrayInput` via: // @@ -6050,12 +5357,6 @@ func (i GetStackKuberneteArray) ToGetStackKuberneteArrayOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(GetStackKuberneteArrayOutput) } -func (i GetStackKuberneteArray) ToOutput(ctx context.Context) pulumix.Output[[]GetStackKubernete] { - return pulumix.Output[[]GetStackKubernete]{ - OutputState: i.ToGetStackKuberneteArrayOutputWithContext(ctx).OutputState, - } -} - type GetStackKuberneteOutput struct{ *pulumi.OutputState } func (GetStackKuberneteOutput) ElementType() reflect.Type { @@ -6070,16 +5371,12 @@ func (o GetStackKuberneteOutput) ToGetStackKuberneteOutputWithContext(ctx contex return o } -func (o GetStackKuberneteOutput) ToOutput(ctx context.Context) pulumix.Output[GetStackKubernete] { - return pulumix.Output[GetStackKubernete]{ - OutputState: o.OutputState, - } -} - +// Kubectl version. func (o GetStackKuberneteOutput) KubectlVersion() pulumi.StringOutput { return o.ApplyT(func(v GetStackKubernete) string { return v.KubectlVersion }).(pulumi.StringOutput) } +// Namespace of the Kubernetes cluster to run commands on. Leave empty for multi-namespace Stacks. func (o GetStackKuberneteOutput) Namespace() pulumi.StringOutput { return o.ApplyT(func(v GetStackKubernete) string { return v.Namespace }).(pulumi.StringOutput) } @@ -6098,12 +5395,6 @@ func (o GetStackKuberneteArrayOutput) ToGetStackKuberneteArrayOutputWithContext( return o } -func (o GetStackKuberneteArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetStackKubernete] { - return pulumix.Output[[]GetStackKubernete]{ - OutputState: o.OutputState, - } -} - func (o GetStackKuberneteArrayOutput) Index(i pulumi.IntInput) GetStackKuberneteOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetStackKubernete { return vs[0].([]GetStackKubernete)[vs[1].(int)] @@ -6111,7 +5402,9 @@ func (o GetStackKuberneteArrayOutput) Index(i pulumi.IntInput) GetStackKubernete } type GetStackPulumi struct { - LoginUrl string `pulumi:"loginUrl"` + // State backend to log into on Run initialize. + LoginUrl string `pulumi:"loginUrl"` + // Pulumi stack name to use with the state backend. StackName string `pulumi:"stackName"` } @@ -6127,7 +5420,9 @@ type GetStackPulumiInput interface { } type GetStackPulumiArgs struct { - LoginUrl pulumi.StringInput `pulumi:"loginUrl"` + // State backend to log into on Run initialize. + LoginUrl pulumi.StringInput `pulumi:"loginUrl"` + // Pulumi stack name to use with the state backend. StackName pulumi.StringInput `pulumi:"stackName"` } @@ -6143,12 +5438,6 @@ func (i GetStackPulumiArgs) ToGetStackPulumiOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(GetStackPulumiOutput) } -func (i GetStackPulumiArgs) ToOutput(ctx context.Context) pulumix.Output[GetStackPulumi] { - return pulumix.Output[GetStackPulumi]{ - OutputState: i.ToGetStackPulumiOutputWithContext(ctx).OutputState, - } -} - // GetStackPulumiArrayInput is an input type that accepts GetStackPulumiArray and GetStackPulumiArrayOutput values. // You can construct a concrete instance of `GetStackPulumiArrayInput` via: // @@ -6174,12 +5463,6 @@ func (i GetStackPulumiArray) ToGetStackPulumiArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(GetStackPulumiArrayOutput) } -func (i GetStackPulumiArray) ToOutput(ctx context.Context) pulumix.Output[[]GetStackPulumi] { - return pulumix.Output[[]GetStackPulumi]{ - OutputState: i.ToGetStackPulumiArrayOutputWithContext(ctx).OutputState, - } -} - type GetStackPulumiOutput struct{ *pulumi.OutputState } func (GetStackPulumiOutput) ElementType() reflect.Type { @@ -6194,16 +5477,12 @@ func (o GetStackPulumiOutput) ToGetStackPulumiOutputWithContext(ctx context.Cont return o } -func (o GetStackPulumiOutput) ToOutput(ctx context.Context) pulumix.Output[GetStackPulumi] { - return pulumix.Output[GetStackPulumi]{ - OutputState: o.OutputState, - } -} - +// State backend to log into on Run initialize. func (o GetStackPulumiOutput) LoginUrl() pulumi.StringOutput { return o.ApplyT(func(v GetStackPulumi) string { return v.LoginUrl }).(pulumi.StringOutput) } +// Pulumi stack name to use with the state backend. func (o GetStackPulumiOutput) StackName() pulumi.StringOutput { return o.ApplyT(func(v GetStackPulumi) string { return v.StackName }).(pulumi.StringOutput) } @@ -6222,12 +5501,6 @@ func (o GetStackPulumiArrayOutput) ToGetStackPulumiArrayOutputWithContext(ctx co return o } -func (o GetStackPulumiArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetStackPulumi] { - return pulumix.Output[[]GetStackPulumi]{ - OutputState: o.OutputState, - } -} - func (o GetStackPulumiArrayOutput) Index(i pulumi.IntInput) GetStackPulumiOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetStackPulumi { return vs[0].([]GetStackPulumi)[vs[1].(int)] @@ -6235,8 +5508,10 @@ func (o GetStackPulumiArrayOutput) Index(i pulumi.IntInput) GetStackPulumiOutput } type GetStackRawGit struct { + // User-friendly namespace for the repository, this is for cosmetic purposes only Namespace string `pulumi:"namespace"` - Url string `pulumi:"url"` + // HTTPS URL of the Git repository + Url string `pulumi:"url"` } // GetStackRawGitInput is an input type that accepts GetStackRawGitArgs and GetStackRawGitOutput values. @@ -6251,8 +5526,10 @@ type GetStackRawGitInput interface { } type GetStackRawGitArgs struct { + // User-friendly namespace for the repository, this is for cosmetic purposes only Namespace pulumi.StringInput `pulumi:"namespace"` - Url pulumi.StringInput `pulumi:"url"` + // HTTPS URL of the Git repository + Url pulumi.StringInput `pulumi:"url"` } func (GetStackRawGitArgs) ElementType() reflect.Type { @@ -6267,12 +5544,6 @@ func (i GetStackRawGitArgs) ToGetStackRawGitOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(GetStackRawGitOutput) } -func (i GetStackRawGitArgs) ToOutput(ctx context.Context) pulumix.Output[GetStackRawGit] { - return pulumix.Output[GetStackRawGit]{ - OutputState: i.ToGetStackRawGitOutputWithContext(ctx).OutputState, - } -} - // GetStackRawGitArrayInput is an input type that accepts GetStackRawGitArray and GetStackRawGitArrayOutput values. // You can construct a concrete instance of `GetStackRawGitArrayInput` via: // @@ -6298,12 +5569,6 @@ func (i GetStackRawGitArray) ToGetStackRawGitArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(GetStackRawGitArrayOutput) } -func (i GetStackRawGitArray) ToOutput(ctx context.Context) pulumix.Output[[]GetStackRawGit] { - return pulumix.Output[[]GetStackRawGit]{ - OutputState: i.ToGetStackRawGitArrayOutputWithContext(ctx).OutputState, - } -} - type GetStackRawGitOutput struct{ *pulumi.OutputState } func (GetStackRawGitOutput) ElementType() reflect.Type { @@ -6318,16 +5583,12 @@ func (o GetStackRawGitOutput) ToGetStackRawGitOutputWithContext(ctx context.Cont return o } -func (o GetStackRawGitOutput) ToOutput(ctx context.Context) pulumix.Output[GetStackRawGit] { - return pulumix.Output[GetStackRawGit]{ - OutputState: o.OutputState, - } -} - +// User-friendly namespace for the repository, this is for cosmetic purposes only func (o GetStackRawGitOutput) Namespace() pulumi.StringOutput { return o.ApplyT(func(v GetStackRawGit) string { return v.Namespace }).(pulumi.StringOutput) } +// HTTPS URL of the Git repository func (o GetStackRawGitOutput) Url() pulumi.StringOutput { return o.ApplyT(func(v GetStackRawGit) string { return v.Url }).(pulumi.StringOutput) } @@ -6346,12 +5607,6 @@ func (o GetStackRawGitArrayOutput) ToGetStackRawGitArrayOutputWithContext(ctx co return o } -func (o GetStackRawGitArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetStackRawGit] { - return pulumix.Output[[]GetStackRawGit]{ - OutputState: o.OutputState, - } -} - func (o GetStackRawGitArrayOutput) Index(i pulumi.IntInput) GetStackRawGitOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetStackRawGit { return vs[0].([]GetStackRawGit)[vs[1].(int)] @@ -6359,6 +5614,7 @@ func (o GetStackRawGitArrayOutput) Index(i pulumi.IntInput) GetStackRawGitOutput } type GetStackShowcase struct { + // GitHub namespace of the stack's repository Namespace string `pulumi:"namespace"` } @@ -6374,6 +5630,7 @@ type GetStackShowcaseInput interface { } type GetStackShowcaseArgs struct { + // GitHub namespace of the stack's repository Namespace pulumi.StringInput `pulumi:"namespace"` } @@ -6389,12 +5646,6 @@ func (i GetStackShowcaseArgs) ToGetStackShowcaseOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(GetStackShowcaseOutput) } -func (i GetStackShowcaseArgs) ToOutput(ctx context.Context) pulumix.Output[GetStackShowcase] { - return pulumix.Output[GetStackShowcase]{ - OutputState: i.ToGetStackShowcaseOutputWithContext(ctx).OutputState, - } -} - // GetStackShowcaseArrayInput is an input type that accepts GetStackShowcaseArray and GetStackShowcaseArrayOutput values. // You can construct a concrete instance of `GetStackShowcaseArrayInput` via: // @@ -6420,12 +5671,6 @@ func (i GetStackShowcaseArray) ToGetStackShowcaseArrayOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(GetStackShowcaseArrayOutput) } -func (i GetStackShowcaseArray) ToOutput(ctx context.Context) pulumix.Output[[]GetStackShowcase] { - return pulumix.Output[[]GetStackShowcase]{ - OutputState: i.ToGetStackShowcaseArrayOutputWithContext(ctx).OutputState, - } -} - type GetStackShowcaseOutput struct{ *pulumi.OutputState } func (GetStackShowcaseOutput) ElementType() reflect.Type { @@ -6440,12 +5685,7 @@ func (o GetStackShowcaseOutput) ToGetStackShowcaseOutputWithContext(ctx context. return o } -func (o GetStackShowcaseOutput) ToOutput(ctx context.Context) pulumix.Output[GetStackShowcase] { - return pulumix.Output[GetStackShowcase]{ - OutputState: o.OutputState, - } -} - +// GitHub namespace of the stack's repository func (o GetStackShowcaseOutput) Namespace() pulumi.StringOutput { return o.ApplyT(func(v GetStackShowcase) string { return v.Namespace }).(pulumi.StringOutput) } @@ -6464,12 +5704,6 @@ func (o GetStackShowcaseArrayOutput) ToGetStackShowcaseArrayOutputWithContext(ct return o } -func (o GetStackShowcaseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetStackShowcase] { - return pulumix.Output[[]GetStackShowcase]{ - OutputState: o.OutputState, - } -} - func (o GetStackShowcaseArrayOutput) Index(i pulumi.IntInput) GetStackShowcaseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetStackShowcase { return vs[0].([]GetStackShowcase)[vs[1].(int)] @@ -6507,12 +5741,6 @@ func (i GetStacksAdministrativeArgs) ToGetStacksAdministrativeOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(GetStacksAdministrativeOutput) } -func (i GetStacksAdministrativeArgs) ToOutput(ctx context.Context) pulumix.Output[GetStacksAdministrative] { - return pulumix.Output[GetStacksAdministrative]{ - OutputState: i.ToGetStacksAdministrativeOutputWithContext(ctx).OutputState, - } -} - func (i GetStacksAdministrativeArgs) ToGetStacksAdministrativePtrOutput() GetStacksAdministrativePtrOutput { return i.ToGetStacksAdministrativePtrOutputWithContext(context.Background()) } @@ -6554,12 +5782,6 @@ func (i *getStacksAdministrativePtrType) ToGetStacksAdministrativePtrOutputWithC return pulumi.ToOutputWithContext(ctx, i).(GetStacksAdministrativePtrOutput) } -func (i *getStacksAdministrativePtrType) ToOutput(ctx context.Context) pulumix.Output[*GetStacksAdministrative] { - return pulumix.Output[*GetStacksAdministrative]{ - OutputState: i.ToGetStacksAdministrativePtrOutputWithContext(ctx).OutputState, - } -} - type GetStacksAdministrativeOutput struct{ *pulumi.OutputState } func (GetStacksAdministrativeOutput) ElementType() reflect.Type { @@ -6584,12 +5806,6 @@ func (o GetStacksAdministrativeOutput) ToGetStacksAdministrativePtrOutputWithCon }).(GetStacksAdministrativePtrOutput) } -func (o GetStacksAdministrativeOutput) ToOutput(ctx context.Context) pulumix.Output[GetStacksAdministrative] { - return pulumix.Output[GetStacksAdministrative]{ - OutputState: o.OutputState, - } -} - func (o GetStacksAdministrativeOutput) Equals() pulumi.BoolPtrOutput { return o.ApplyT(func(v GetStacksAdministrative) *bool { return v.Equals }).(pulumi.BoolPtrOutput) } @@ -6608,12 +5824,6 @@ func (o GetStacksAdministrativePtrOutput) ToGetStacksAdministrativePtrOutputWith return o } -func (o GetStacksAdministrativePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GetStacksAdministrative] { - return pulumix.Output[*GetStacksAdministrative]{ - OutputState: o.OutputState, - } -} - func (o GetStacksAdministrativePtrOutput) Elem() GetStacksAdministrativeOutput { return o.ApplyT(func(v *GetStacksAdministrative) GetStacksAdministrative { if v != nil { @@ -6664,12 +5874,6 @@ func (i GetStacksBranchArgs) ToGetStacksBranchOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(GetStacksBranchOutput) } -func (i GetStacksBranchArgs) ToOutput(ctx context.Context) pulumix.Output[GetStacksBranch] { - return pulumix.Output[GetStacksBranch]{ - OutputState: i.ToGetStacksBranchOutputWithContext(ctx).OutputState, - } -} - func (i GetStacksBranchArgs) ToGetStacksBranchPtrOutput() GetStacksBranchPtrOutput { return i.ToGetStacksBranchPtrOutputWithContext(context.Background()) } @@ -6711,12 +5915,6 @@ func (i *getStacksBranchPtrType) ToGetStacksBranchPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(GetStacksBranchPtrOutput) } -func (i *getStacksBranchPtrType) ToOutput(ctx context.Context) pulumix.Output[*GetStacksBranch] { - return pulumix.Output[*GetStacksBranch]{ - OutputState: i.ToGetStacksBranchPtrOutputWithContext(ctx).OutputState, - } -} - type GetStacksBranchOutput struct{ *pulumi.OutputState } func (GetStacksBranchOutput) ElementType() reflect.Type { @@ -6741,12 +5939,6 @@ func (o GetStacksBranchOutput) ToGetStacksBranchPtrOutputWithContext(ctx context }).(GetStacksBranchPtrOutput) } -func (o GetStacksBranchOutput) ToOutput(ctx context.Context) pulumix.Output[GetStacksBranch] { - return pulumix.Output[GetStacksBranch]{ - OutputState: o.OutputState, - } -} - func (o GetStacksBranchOutput) AnyOfs() pulumi.StringArrayOutput { return o.ApplyT(func(v GetStacksBranch) []string { return v.AnyOfs }).(pulumi.StringArrayOutput) } @@ -6765,12 +5957,6 @@ func (o GetStacksBranchPtrOutput) ToGetStacksBranchPtrOutputWithContext(ctx cont return o } -func (o GetStacksBranchPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GetStacksBranch] { - return pulumix.Output[*GetStacksBranch]{ - OutputState: o.OutputState, - } -} - func (o GetStacksBranchPtrOutput) Elem() GetStacksBranchOutput { return o.ApplyT(func(v *GetStacksBranch) GetStacksBranch { if v != nil { @@ -6821,12 +6007,6 @@ func (i GetStacksCommitArgs) ToGetStacksCommitOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(GetStacksCommitOutput) } -func (i GetStacksCommitArgs) ToOutput(ctx context.Context) pulumix.Output[GetStacksCommit] { - return pulumix.Output[GetStacksCommit]{ - OutputState: i.ToGetStacksCommitOutputWithContext(ctx).OutputState, - } -} - func (i GetStacksCommitArgs) ToGetStacksCommitPtrOutput() GetStacksCommitPtrOutput { return i.ToGetStacksCommitPtrOutputWithContext(context.Background()) } @@ -6868,12 +6048,6 @@ func (i *getStacksCommitPtrType) ToGetStacksCommitPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(GetStacksCommitPtrOutput) } -func (i *getStacksCommitPtrType) ToOutput(ctx context.Context) pulumix.Output[*GetStacksCommit] { - return pulumix.Output[*GetStacksCommit]{ - OutputState: i.ToGetStacksCommitPtrOutputWithContext(ctx).OutputState, - } -} - type GetStacksCommitOutput struct{ *pulumi.OutputState } func (GetStacksCommitOutput) ElementType() reflect.Type { @@ -6898,12 +6072,6 @@ func (o GetStacksCommitOutput) ToGetStacksCommitPtrOutputWithContext(ctx context }).(GetStacksCommitPtrOutput) } -func (o GetStacksCommitOutput) ToOutput(ctx context.Context) pulumix.Output[GetStacksCommit] { - return pulumix.Output[GetStacksCommit]{ - OutputState: o.OutputState, - } -} - func (o GetStacksCommitOutput) AnyOfs() pulumi.StringArrayOutput { return o.ApplyT(func(v GetStacksCommit) []string { return v.AnyOfs }).(pulumi.StringArrayOutput) } @@ -6922,12 +6090,6 @@ func (o GetStacksCommitPtrOutput) ToGetStacksCommitPtrOutputWithContext(ctx cont return o } -func (o GetStacksCommitPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GetStacksCommit] { - return pulumix.Output[*GetStacksCommit]{ - OutputState: o.OutputState, - } -} - func (o GetStacksCommitPtrOutput) Elem() GetStacksCommitOutput { return o.ApplyT(func(v *GetStacksCommit) GetStacksCommit { if v != nil { @@ -6978,12 +6140,6 @@ func (i GetStacksLabelArgs) ToGetStacksLabelOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(GetStacksLabelOutput) } -func (i GetStacksLabelArgs) ToOutput(ctx context.Context) pulumix.Output[GetStacksLabel] { - return pulumix.Output[GetStacksLabel]{ - OutputState: i.ToGetStacksLabelOutputWithContext(ctx).OutputState, - } -} - // GetStacksLabelArrayInput is an input type that accepts GetStacksLabelArray and GetStacksLabelArrayOutput values. // You can construct a concrete instance of `GetStacksLabelArrayInput` via: // @@ -7009,12 +6165,6 @@ func (i GetStacksLabelArray) ToGetStacksLabelArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(GetStacksLabelArrayOutput) } -func (i GetStacksLabelArray) ToOutput(ctx context.Context) pulumix.Output[[]GetStacksLabel] { - return pulumix.Output[[]GetStacksLabel]{ - OutputState: i.ToGetStacksLabelArrayOutputWithContext(ctx).OutputState, - } -} - type GetStacksLabelOutput struct{ *pulumi.OutputState } func (GetStacksLabelOutput) ElementType() reflect.Type { @@ -7029,12 +6179,6 @@ func (o GetStacksLabelOutput) ToGetStacksLabelOutputWithContext(ctx context.Cont return o } -func (o GetStacksLabelOutput) ToOutput(ctx context.Context) pulumix.Output[GetStacksLabel] { - return pulumix.Output[GetStacksLabel]{ - OutputState: o.OutputState, - } -} - func (o GetStacksLabelOutput) AnyOfs() pulumi.StringArrayOutput { return o.ApplyT(func(v GetStacksLabel) []string { return v.AnyOfs }).(pulumi.StringArrayOutput) } @@ -7053,12 +6197,6 @@ func (o GetStacksLabelArrayOutput) ToGetStacksLabelArrayOutputWithContext(ctx co return o } -func (o GetStacksLabelArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetStacksLabel] { - return pulumix.Output[[]GetStacksLabel]{ - OutputState: o.OutputState, - } -} - func (o GetStacksLabelArrayOutput) Index(i pulumi.IntInput) GetStacksLabelOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetStacksLabel { return vs[0].([]GetStacksLabel)[vs[1].(int)] @@ -7096,12 +6234,6 @@ func (i GetStacksLockedArgs) ToGetStacksLockedOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(GetStacksLockedOutput) } -func (i GetStacksLockedArgs) ToOutput(ctx context.Context) pulumix.Output[GetStacksLocked] { - return pulumix.Output[GetStacksLocked]{ - OutputState: i.ToGetStacksLockedOutputWithContext(ctx).OutputState, - } -} - func (i GetStacksLockedArgs) ToGetStacksLockedPtrOutput() GetStacksLockedPtrOutput { return i.ToGetStacksLockedPtrOutputWithContext(context.Background()) } @@ -7143,12 +6275,6 @@ func (i *getStacksLockedPtrType) ToGetStacksLockedPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(GetStacksLockedPtrOutput) } -func (i *getStacksLockedPtrType) ToOutput(ctx context.Context) pulumix.Output[*GetStacksLocked] { - return pulumix.Output[*GetStacksLocked]{ - OutputState: i.ToGetStacksLockedPtrOutputWithContext(ctx).OutputState, - } -} - type GetStacksLockedOutput struct{ *pulumi.OutputState } func (GetStacksLockedOutput) ElementType() reflect.Type { @@ -7173,12 +6299,6 @@ func (o GetStacksLockedOutput) ToGetStacksLockedPtrOutputWithContext(ctx context }).(GetStacksLockedPtrOutput) } -func (o GetStacksLockedOutput) ToOutput(ctx context.Context) pulumix.Output[GetStacksLocked] { - return pulumix.Output[GetStacksLocked]{ - OutputState: o.OutputState, - } -} - func (o GetStacksLockedOutput) Equals() pulumi.BoolPtrOutput { return o.ApplyT(func(v GetStacksLocked) *bool { return v.Equals }).(pulumi.BoolPtrOutput) } @@ -7197,12 +6317,6 @@ func (o GetStacksLockedPtrOutput) ToGetStacksLockedPtrOutputWithContext(ctx cont return o } -func (o GetStacksLockedPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GetStacksLocked] { - return pulumix.Output[*GetStacksLocked]{ - OutputState: o.OutputState, - } -} - func (o GetStacksLockedPtrOutput) Elem() GetStacksLockedOutput { return o.ApplyT(func(v *GetStacksLocked) GetStacksLocked { if v != nil { @@ -7253,12 +6367,6 @@ func (i GetStacksNameArgs) ToGetStacksNameOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(GetStacksNameOutput) } -func (i GetStacksNameArgs) ToOutput(ctx context.Context) pulumix.Output[GetStacksName] { - return pulumix.Output[GetStacksName]{ - OutputState: i.ToGetStacksNameOutputWithContext(ctx).OutputState, - } -} - func (i GetStacksNameArgs) ToGetStacksNamePtrOutput() GetStacksNamePtrOutput { return i.ToGetStacksNamePtrOutputWithContext(context.Background()) } @@ -7300,12 +6408,6 @@ func (i *getStacksNamePtrType) ToGetStacksNamePtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(GetStacksNamePtrOutput) } -func (i *getStacksNamePtrType) ToOutput(ctx context.Context) pulumix.Output[*GetStacksName] { - return pulumix.Output[*GetStacksName]{ - OutputState: i.ToGetStacksNamePtrOutputWithContext(ctx).OutputState, - } -} - type GetStacksNameOutput struct{ *pulumi.OutputState } func (GetStacksNameOutput) ElementType() reflect.Type { @@ -7330,12 +6432,6 @@ func (o GetStacksNameOutput) ToGetStacksNamePtrOutputWithContext(ctx context.Con }).(GetStacksNamePtrOutput) } -func (o GetStacksNameOutput) ToOutput(ctx context.Context) pulumix.Output[GetStacksName] { - return pulumix.Output[GetStacksName]{ - OutputState: o.OutputState, - } -} - func (o GetStacksNameOutput) AnyOfs() pulumi.StringArrayOutput { return o.ApplyT(func(v GetStacksName) []string { return v.AnyOfs }).(pulumi.StringArrayOutput) } @@ -7354,12 +6450,6 @@ func (o GetStacksNamePtrOutput) ToGetStacksNamePtrOutputWithContext(ctx context. return o } -func (o GetStacksNamePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GetStacksName] { - return pulumix.Output[*GetStacksName]{ - OutputState: o.OutputState, - } -} - func (o GetStacksNamePtrOutput) Elem() GetStacksNameOutput { return o.ApplyT(func(v *GetStacksName) GetStacksName { if v != nil { @@ -7410,12 +6500,6 @@ func (i GetStacksProjectRootArgs) ToGetStacksProjectRootOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(GetStacksProjectRootOutput) } -func (i GetStacksProjectRootArgs) ToOutput(ctx context.Context) pulumix.Output[GetStacksProjectRoot] { - return pulumix.Output[GetStacksProjectRoot]{ - OutputState: i.ToGetStacksProjectRootOutputWithContext(ctx).OutputState, - } -} - func (i GetStacksProjectRootArgs) ToGetStacksProjectRootPtrOutput() GetStacksProjectRootPtrOutput { return i.ToGetStacksProjectRootPtrOutputWithContext(context.Background()) } @@ -7457,12 +6541,6 @@ func (i *getStacksProjectRootPtrType) ToGetStacksProjectRootPtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(GetStacksProjectRootPtrOutput) } -func (i *getStacksProjectRootPtrType) ToOutput(ctx context.Context) pulumix.Output[*GetStacksProjectRoot] { - return pulumix.Output[*GetStacksProjectRoot]{ - OutputState: i.ToGetStacksProjectRootPtrOutputWithContext(ctx).OutputState, - } -} - type GetStacksProjectRootOutput struct{ *pulumi.OutputState } func (GetStacksProjectRootOutput) ElementType() reflect.Type { @@ -7487,12 +6565,6 @@ func (o GetStacksProjectRootOutput) ToGetStacksProjectRootPtrOutputWithContext(c }).(GetStacksProjectRootPtrOutput) } -func (o GetStacksProjectRootOutput) ToOutput(ctx context.Context) pulumix.Output[GetStacksProjectRoot] { - return pulumix.Output[GetStacksProjectRoot]{ - OutputState: o.OutputState, - } -} - func (o GetStacksProjectRootOutput) AnyOfs() pulumi.StringArrayOutput { return o.ApplyT(func(v GetStacksProjectRoot) []string { return v.AnyOfs }).(pulumi.StringArrayOutput) } @@ -7511,12 +6583,6 @@ func (o GetStacksProjectRootPtrOutput) ToGetStacksProjectRootPtrOutputWithContex return o } -func (o GetStacksProjectRootPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GetStacksProjectRoot] { - return pulumix.Output[*GetStacksProjectRoot]{ - OutputState: o.OutputState, - } -} - func (o GetStacksProjectRootPtrOutput) Elem() GetStacksProjectRootOutput { return o.ApplyT(func(v *GetStacksProjectRoot) GetStacksProjectRoot { if v != nil { @@ -7567,12 +6633,6 @@ func (i GetStacksRepositoryArgs) ToGetStacksRepositoryOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(GetStacksRepositoryOutput) } -func (i GetStacksRepositoryArgs) ToOutput(ctx context.Context) pulumix.Output[GetStacksRepository] { - return pulumix.Output[GetStacksRepository]{ - OutputState: i.ToGetStacksRepositoryOutputWithContext(ctx).OutputState, - } -} - func (i GetStacksRepositoryArgs) ToGetStacksRepositoryPtrOutput() GetStacksRepositoryPtrOutput { return i.ToGetStacksRepositoryPtrOutputWithContext(context.Background()) } @@ -7614,12 +6674,6 @@ func (i *getStacksRepositoryPtrType) ToGetStacksRepositoryPtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(GetStacksRepositoryPtrOutput) } -func (i *getStacksRepositoryPtrType) ToOutput(ctx context.Context) pulumix.Output[*GetStacksRepository] { - return pulumix.Output[*GetStacksRepository]{ - OutputState: i.ToGetStacksRepositoryPtrOutputWithContext(ctx).OutputState, - } -} - type GetStacksRepositoryOutput struct{ *pulumi.OutputState } func (GetStacksRepositoryOutput) ElementType() reflect.Type { @@ -7644,12 +6698,6 @@ func (o GetStacksRepositoryOutput) ToGetStacksRepositoryPtrOutputWithContext(ctx }).(GetStacksRepositoryPtrOutput) } -func (o GetStacksRepositoryOutput) ToOutput(ctx context.Context) pulumix.Output[GetStacksRepository] { - return pulumix.Output[GetStacksRepository]{ - OutputState: o.OutputState, - } -} - func (o GetStacksRepositoryOutput) AnyOfs() pulumi.StringArrayOutput { return o.ApplyT(func(v GetStacksRepository) []string { return v.AnyOfs }).(pulumi.StringArrayOutput) } @@ -7668,12 +6716,6 @@ func (o GetStacksRepositoryPtrOutput) ToGetStacksRepositoryPtrOutputWithContext( return o } -func (o GetStacksRepositoryPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GetStacksRepository] { - return pulumix.Output[*GetStacksRepository]{ - OutputState: o.OutputState, - } -} - func (o GetStacksRepositoryPtrOutput) Elem() GetStacksRepositoryOutput { return o.ApplyT(func(v *GetStacksRepository) GetStacksRepository { if v != nil { @@ -7694,51 +6736,92 @@ func (o GetStacksRepositoryPtrOutput) AnyOfs() pulumi.StringArrayOutput { } type GetStacksStack struct { - AdditionalProjectGlobs []string `pulumi:"additionalProjectGlobs"` - Administrative bool `pulumi:"administrative"` - AfterApplies []string `pulumi:"afterApplies"` - AfterDestroys []string `pulumi:"afterDestroys"` - AfterInits []string `pulumi:"afterInits"` - AfterPerforms []string `pulumi:"afterPerforms"` - AfterPlans []string `pulumi:"afterPlans"` - AfterRuns []string `pulumi:"afterRuns"` - Ansibles []GetStacksStackAnsible `pulumi:"ansibles"` - Autodeploy bool `pulumi:"autodeploy"` - Autoretry bool `pulumi:"autoretry"` - AwsAssumeRolePolicyStatement string `pulumi:"awsAssumeRolePolicyStatement"` - AzureDevops []GetStacksStackAzureDevop `pulumi:"azureDevops"` - BeforeApplies []string `pulumi:"beforeApplies"` - BeforeDestroys []string `pulumi:"beforeDestroys"` - BeforeInits []string `pulumi:"beforeInits"` - BeforePerforms []string `pulumi:"beforePerforms"` - BeforePlans []string `pulumi:"beforePlans"` - BitbucketClouds []GetStacksStackBitbucketCloud `pulumi:"bitbucketClouds"` - BitbucketDatacenters []GetStacksStackBitbucketDatacenter `pulumi:"bitbucketDatacenters"` - Branch string `pulumi:"branch"` - Cloudformations []GetStacksStackCloudformation `pulumi:"cloudformations"` - Description string `pulumi:"description"` - EnableLocalPreview bool `pulumi:"enableLocalPreview"` - GithubEnterprises []GetStacksStackGithubEnterprise `pulumi:"githubEnterprises"` - Gitlabs []GetStacksStackGitlab `pulumi:"gitlabs"` - Kubernetes []GetStacksStackKubernete `pulumi:"kubernetes"` - Labels []string `pulumi:"labels"` - ManageState bool `pulumi:"manageState"` - Name string `pulumi:"name"` - ProjectRoot string `pulumi:"projectRoot"` - ProtectFromDeletion bool `pulumi:"protectFromDeletion"` - Pulumis []GetStacksStackPulumi `pulumi:"pulumis"` - RawGits []GetStacksStackRawGit `pulumi:"rawGits"` - Repository string `pulumi:"repository"` - RunnerImage string `pulumi:"runnerImage"` - Showcases []GetStacksStackShowcase `pulumi:"showcases"` - SpaceId string `pulumi:"spaceId"` - StackId string `pulumi:"stackId"` - TerraformExternalStateAccess bool `pulumi:"terraformExternalStateAccess"` - TerraformSmartSanitization bool `pulumi:"terraformSmartSanitization"` - TerraformVersion string `pulumi:"terraformVersion"` - TerraformWorkflowTool string `pulumi:"terraformWorkflowTool"` - TerraformWorkspace string `pulumi:"terraformWorkspace"` - WorkerPoolId string `pulumi:"workerPoolId"` + // Project globs is an optional list of paths to track changes of in addition to the project root. + AdditionalProjectGlobs []string `pulumi:"additionalProjectGlobs"` + // indicates whether this stack can administer others + Administrative bool `pulumi:"administrative"` + // List of after-apply scripts + AfterApplies []string `pulumi:"afterApplies"` + // List of after-destroy scripts + AfterDestroys []string `pulumi:"afterDestroys"` + // List of after-init scripts + AfterInits []string `pulumi:"afterInits"` + // List of after-perform scripts + AfterPerforms []string `pulumi:"afterPerforms"` + // List of after-plan scripts + AfterPlans []string `pulumi:"afterPlans"` + // List of after-run scripts + AfterRuns []string `pulumi:"afterRuns"` + // Ansible-specific configuration. Presence means this Stack is an Ansible Stack. + Ansibles []GetStacksStackAnsible `pulumi:"ansibles"` + // indicates whether changes to this stack can be automatically deployed + Autodeploy bool `pulumi:"autodeploy"` + // indicates whether obsolete proposed changes should automatically be retried + Autoretry bool `pulumi:"autoretry"` + // AWS IAM assume role policy statement setting up trust relationship + AwsAssumeRolePolicyStatement string `pulumi:"awsAssumeRolePolicyStatement"` + // Azure DevOps VCS settings + AzureDevops []GetStacksStackAzureDevop `pulumi:"azureDevops"` + // List of before-apply scripts + BeforeApplies []string `pulumi:"beforeApplies"` + // List of before-destroy scripts + BeforeDestroys []string `pulumi:"beforeDestroys"` + // List of before-init scripts + BeforeInits []string `pulumi:"beforeInits"` + // List of before-perform scripts + BeforePerforms []string `pulumi:"beforePerforms"` + // List of before-plan scripts + BeforePlans []string `pulumi:"beforePlans"` + // Bitbucket Cloud VCS settings + BitbucketClouds []GetStacksStackBitbucketCloud `pulumi:"bitbucketClouds"` + // Bitbucket Datacenter VCS settings + BitbucketDatacenters []GetStacksStackBitbucketDatacenter `pulumi:"bitbucketDatacenters"` + // Repository branch to treat as the default 'main' branch + Branch string `pulumi:"branch"` + // CloudFormation-specific configuration. Presence means this Stack is a CloudFormation Stack. + Cloudformations []GetStacksStackCloudformation `pulumi:"cloudformations"` + // free-form stack description for users + Description string `pulumi:"description"` + // Indicates whether local preview runs can be triggered on this Stack. + EnableLocalPreview bool `pulumi:"enableLocalPreview"` + // GitHub Enterprise (self-hosted) VCS settings + GithubEnterprises []GetStacksStackGithubEnterprise `pulumi:"githubEnterprises"` + // GitLab VCS settings + Gitlabs []GetStacksStackGitlab `pulumi:"gitlabs"` + // Kubernetes-specific configuration. Presence means this Stack is a Kubernetes Stack. + Kubernetes []GetStacksStackKubernete `pulumi:"kubernetes"` + Labels []string `pulumi:"labels"` + // Determines if Spacelift should manage state for this stack + ManageState bool `pulumi:"manageState"` + // Name of the stack - should be unique in one account + Name string `pulumi:"name"` + // Project root is the optional directory relative to the workspace root containing the entrypoint to the Stack. + ProjectRoot string `pulumi:"projectRoot"` + // Protect this stack from accidental deletion. If set, attempts to delete this stack will fail. + ProtectFromDeletion bool `pulumi:"protectFromDeletion"` + // Pulumi-specific configuration. Presence means this Stack is a Pulumi Stack. + Pulumis []GetStacksStackPulumi `pulumi:"pulumis"` + // One-way VCS integration using a raw Git repository link + RawGits []GetStacksStackRawGit `pulumi:"rawGits"` + // Name of the repository, without the owner part + Repository string `pulumi:"repository"` + // Name of the Docker image used to process Runs + RunnerImage string `pulumi:"runnerImage"` + // Showcase-related attributes + Showcases []GetStacksStackShowcase `pulumi:"showcases"` + // ID (slug) of the space the stack is in + SpaceId string `pulumi:"spaceId"` + // ID (slug) of the stack + StackId string `pulumi:"stackId"` + // Indicates whether you can access the Stack state file from other stacks or outside of Spacelift. + TerraformExternalStateAccess bool `pulumi:"terraformExternalStateAccess"` + TerraformSmartSanitization bool `pulumi:"terraformSmartSanitization"` + TerraformVersion string `pulumi:"terraformVersion"` + // Defines the tool that will be used to execute the workflow. This can be one of `OPEN_TOFU`, `TERRAFORM_FOSS` or `CUSTOM`. + TerraformWorkflowTool string `pulumi:"terraformWorkflowTool"` + TerraformWorkspace string `pulumi:"terraformWorkspace"` + // ID of the worker pool to use + WorkerPoolId string `pulumi:"workerPoolId"` } // GetStacksStackInput is an input type that accepts GetStacksStackArgs and GetStacksStackOutput values. @@ -7753,51 +6836,92 @@ type GetStacksStackInput interface { } type GetStacksStackArgs struct { - AdditionalProjectGlobs pulumi.StringArrayInput `pulumi:"additionalProjectGlobs"` - Administrative pulumi.BoolInput `pulumi:"administrative"` - AfterApplies pulumi.StringArrayInput `pulumi:"afterApplies"` - AfterDestroys pulumi.StringArrayInput `pulumi:"afterDestroys"` - AfterInits pulumi.StringArrayInput `pulumi:"afterInits"` - AfterPerforms pulumi.StringArrayInput `pulumi:"afterPerforms"` - AfterPlans pulumi.StringArrayInput `pulumi:"afterPlans"` - AfterRuns pulumi.StringArrayInput `pulumi:"afterRuns"` - Ansibles GetStacksStackAnsibleArrayInput `pulumi:"ansibles"` - Autodeploy pulumi.BoolInput `pulumi:"autodeploy"` - Autoretry pulumi.BoolInput `pulumi:"autoretry"` - AwsAssumeRolePolicyStatement pulumi.StringInput `pulumi:"awsAssumeRolePolicyStatement"` - AzureDevops GetStacksStackAzureDevopArrayInput `pulumi:"azureDevops"` - BeforeApplies pulumi.StringArrayInput `pulumi:"beforeApplies"` - BeforeDestroys pulumi.StringArrayInput `pulumi:"beforeDestroys"` - BeforeInits pulumi.StringArrayInput `pulumi:"beforeInits"` - BeforePerforms pulumi.StringArrayInput `pulumi:"beforePerforms"` - BeforePlans pulumi.StringArrayInput `pulumi:"beforePlans"` - BitbucketClouds GetStacksStackBitbucketCloudArrayInput `pulumi:"bitbucketClouds"` - BitbucketDatacenters GetStacksStackBitbucketDatacenterArrayInput `pulumi:"bitbucketDatacenters"` - Branch pulumi.StringInput `pulumi:"branch"` - Cloudformations GetStacksStackCloudformationArrayInput `pulumi:"cloudformations"` - Description pulumi.StringInput `pulumi:"description"` - EnableLocalPreview pulumi.BoolInput `pulumi:"enableLocalPreview"` - GithubEnterprises GetStacksStackGithubEnterpriseArrayInput `pulumi:"githubEnterprises"` - Gitlabs GetStacksStackGitlabArrayInput `pulumi:"gitlabs"` - Kubernetes GetStacksStackKuberneteArrayInput `pulumi:"kubernetes"` - Labels pulumi.StringArrayInput `pulumi:"labels"` - ManageState pulumi.BoolInput `pulumi:"manageState"` - Name pulumi.StringInput `pulumi:"name"` - ProjectRoot pulumi.StringInput `pulumi:"projectRoot"` - ProtectFromDeletion pulumi.BoolInput `pulumi:"protectFromDeletion"` - Pulumis GetStacksStackPulumiArrayInput `pulumi:"pulumis"` - RawGits GetStacksStackRawGitArrayInput `pulumi:"rawGits"` - Repository pulumi.StringInput `pulumi:"repository"` - RunnerImage pulumi.StringInput `pulumi:"runnerImage"` - Showcases GetStacksStackShowcaseArrayInput `pulumi:"showcases"` - SpaceId pulumi.StringInput `pulumi:"spaceId"` - StackId pulumi.StringInput `pulumi:"stackId"` - TerraformExternalStateAccess pulumi.BoolInput `pulumi:"terraformExternalStateAccess"` - TerraformSmartSanitization pulumi.BoolInput `pulumi:"terraformSmartSanitization"` - TerraformVersion pulumi.StringInput `pulumi:"terraformVersion"` - TerraformWorkflowTool pulumi.StringInput `pulumi:"terraformWorkflowTool"` - TerraformWorkspace pulumi.StringInput `pulumi:"terraformWorkspace"` - WorkerPoolId pulumi.StringInput `pulumi:"workerPoolId"` + // Project globs is an optional list of paths to track changes of in addition to the project root. + AdditionalProjectGlobs pulumi.StringArrayInput `pulumi:"additionalProjectGlobs"` + // indicates whether this stack can administer others + Administrative pulumi.BoolInput `pulumi:"administrative"` + // List of after-apply scripts + AfterApplies pulumi.StringArrayInput `pulumi:"afterApplies"` + // List of after-destroy scripts + AfterDestroys pulumi.StringArrayInput `pulumi:"afterDestroys"` + // List of after-init scripts + AfterInits pulumi.StringArrayInput `pulumi:"afterInits"` + // List of after-perform scripts + AfterPerforms pulumi.StringArrayInput `pulumi:"afterPerforms"` + // List of after-plan scripts + AfterPlans pulumi.StringArrayInput `pulumi:"afterPlans"` + // List of after-run scripts + AfterRuns pulumi.StringArrayInput `pulumi:"afterRuns"` + // Ansible-specific configuration. Presence means this Stack is an Ansible Stack. + Ansibles GetStacksStackAnsibleArrayInput `pulumi:"ansibles"` + // indicates whether changes to this stack can be automatically deployed + Autodeploy pulumi.BoolInput `pulumi:"autodeploy"` + // indicates whether obsolete proposed changes should automatically be retried + Autoretry pulumi.BoolInput `pulumi:"autoretry"` + // AWS IAM assume role policy statement setting up trust relationship + AwsAssumeRolePolicyStatement pulumi.StringInput `pulumi:"awsAssumeRolePolicyStatement"` + // Azure DevOps VCS settings + AzureDevops GetStacksStackAzureDevopArrayInput `pulumi:"azureDevops"` + // List of before-apply scripts + BeforeApplies pulumi.StringArrayInput `pulumi:"beforeApplies"` + // List of before-destroy scripts + BeforeDestroys pulumi.StringArrayInput `pulumi:"beforeDestroys"` + // List of before-init scripts + BeforeInits pulumi.StringArrayInput `pulumi:"beforeInits"` + // List of before-perform scripts + BeforePerforms pulumi.StringArrayInput `pulumi:"beforePerforms"` + // List of before-plan scripts + BeforePlans pulumi.StringArrayInput `pulumi:"beforePlans"` + // Bitbucket Cloud VCS settings + BitbucketClouds GetStacksStackBitbucketCloudArrayInput `pulumi:"bitbucketClouds"` + // Bitbucket Datacenter VCS settings + BitbucketDatacenters GetStacksStackBitbucketDatacenterArrayInput `pulumi:"bitbucketDatacenters"` + // Repository branch to treat as the default 'main' branch + Branch pulumi.StringInput `pulumi:"branch"` + // CloudFormation-specific configuration. Presence means this Stack is a CloudFormation Stack. + Cloudformations GetStacksStackCloudformationArrayInput `pulumi:"cloudformations"` + // free-form stack description for users + Description pulumi.StringInput `pulumi:"description"` + // Indicates whether local preview runs can be triggered on this Stack. + EnableLocalPreview pulumi.BoolInput `pulumi:"enableLocalPreview"` + // GitHub Enterprise (self-hosted) VCS settings + GithubEnterprises GetStacksStackGithubEnterpriseArrayInput `pulumi:"githubEnterprises"` + // GitLab VCS settings + Gitlabs GetStacksStackGitlabArrayInput `pulumi:"gitlabs"` + // Kubernetes-specific configuration. Presence means this Stack is a Kubernetes Stack. + Kubernetes GetStacksStackKuberneteArrayInput `pulumi:"kubernetes"` + Labels pulumi.StringArrayInput `pulumi:"labels"` + // Determines if Spacelift should manage state for this stack + ManageState pulumi.BoolInput `pulumi:"manageState"` + // Name of the stack - should be unique in one account + Name pulumi.StringInput `pulumi:"name"` + // Project root is the optional directory relative to the workspace root containing the entrypoint to the Stack. + ProjectRoot pulumi.StringInput `pulumi:"projectRoot"` + // Protect this stack from accidental deletion. If set, attempts to delete this stack will fail. + ProtectFromDeletion pulumi.BoolInput `pulumi:"protectFromDeletion"` + // Pulumi-specific configuration. Presence means this Stack is a Pulumi Stack. + Pulumis GetStacksStackPulumiArrayInput `pulumi:"pulumis"` + // One-way VCS integration using a raw Git repository link + RawGits GetStacksStackRawGitArrayInput `pulumi:"rawGits"` + // Name of the repository, without the owner part + Repository pulumi.StringInput `pulumi:"repository"` + // Name of the Docker image used to process Runs + RunnerImage pulumi.StringInput `pulumi:"runnerImage"` + // Showcase-related attributes + Showcases GetStacksStackShowcaseArrayInput `pulumi:"showcases"` + // ID (slug) of the space the stack is in + SpaceId pulumi.StringInput `pulumi:"spaceId"` + // ID (slug) of the stack + StackId pulumi.StringInput `pulumi:"stackId"` + // Indicates whether you can access the Stack state file from other stacks or outside of Spacelift. + TerraformExternalStateAccess pulumi.BoolInput `pulumi:"terraformExternalStateAccess"` + TerraformSmartSanitization pulumi.BoolInput `pulumi:"terraformSmartSanitization"` + TerraformVersion pulumi.StringInput `pulumi:"terraformVersion"` + // Defines the tool that will be used to execute the workflow. This can be one of `OPEN_TOFU`, `TERRAFORM_FOSS` or `CUSTOM`. + TerraformWorkflowTool pulumi.StringInput `pulumi:"terraformWorkflowTool"` + TerraformWorkspace pulumi.StringInput `pulumi:"terraformWorkspace"` + // ID of the worker pool to use + WorkerPoolId pulumi.StringInput `pulumi:"workerPoolId"` } func (GetStacksStackArgs) ElementType() reflect.Type { @@ -7812,12 +6936,6 @@ func (i GetStacksStackArgs) ToGetStacksStackOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(GetStacksStackOutput) } -func (i GetStacksStackArgs) ToOutput(ctx context.Context) pulumix.Output[GetStacksStack] { - return pulumix.Output[GetStacksStack]{ - OutputState: i.ToGetStacksStackOutputWithContext(ctx).OutputState, - } -} - // GetStacksStackArrayInput is an input type that accepts GetStacksStackArray and GetStacksStackArrayOutput values. // You can construct a concrete instance of `GetStacksStackArrayInput` via: // @@ -7843,12 +6961,6 @@ func (i GetStacksStackArray) ToGetStacksStackArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(GetStacksStackArrayOutput) } -func (i GetStacksStackArray) ToOutput(ctx context.Context) pulumix.Output[[]GetStacksStack] { - return pulumix.Output[[]GetStacksStack]{ - OutputState: i.ToGetStacksStackArrayOutputWithContext(ctx).OutputState, - } -} - type GetStacksStackOutput struct{ *pulumi.OutputState } func (GetStacksStackOutput) ElementType() reflect.Type { @@ -7863,116 +6975,137 @@ func (o GetStacksStackOutput) ToGetStacksStackOutputWithContext(ctx context.Cont return o } -func (o GetStacksStackOutput) ToOutput(ctx context.Context) pulumix.Output[GetStacksStack] { - return pulumix.Output[GetStacksStack]{ - OutputState: o.OutputState, - } -} - +// Project globs is an optional list of paths to track changes of in addition to the project root. func (o GetStacksStackOutput) AdditionalProjectGlobs() pulumi.StringArrayOutput { return o.ApplyT(func(v GetStacksStack) []string { return v.AdditionalProjectGlobs }).(pulumi.StringArrayOutput) } +// indicates whether this stack can administer others func (o GetStacksStackOutput) Administrative() pulumi.BoolOutput { return o.ApplyT(func(v GetStacksStack) bool { return v.Administrative }).(pulumi.BoolOutput) } +// List of after-apply scripts func (o GetStacksStackOutput) AfterApplies() pulumi.StringArrayOutput { return o.ApplyT(func(v GetStacksStack) []string { return v.AfterApplies }).(pulumi.StringArrayOutput) } +// List of after-destroy scripts func (o GetStacksStackOutput) AfterDestroys() pulumi.StringArrayOutput { return o.ApplyT(func(v GetStacksStack) []string { return v.AfterDestroys }).(pulumi.StringArrayOutput) } +// List of after-init scripts func (o GetStacksStackOutput) AfterInits() pulumi.StringArrayOutput { return o.ApplyT(func(v GetStacksStack) []string { return v.AfterInits }).(pulumi.StringArrayOutput) } +// List of after-perform scripts func (o GetStacksStackOutput) AfterPerforms() pulumi.StringArrayOutput { return o.ApplyT(func(v GetStacksStack) []string { return v.AfterPerforms }).(pulumi.StringArrayOutput) } +// List of after-plan scripts func (o GetStacksStackOutput) AfterPlans() pulumi.StringArrayOutput { return o.ApplyT(func(v GetStacksStack) []string { return v.AfterPlans }).(pulumi.StringArrayOutput) } +// List of after-run scripts func (o GetStacksStackOutput) AfterRuns() pulumi.StringArrayOutput { return o.ApplyT(func(v GetStacksStack) []string { return v.AfterRuns }).(pulumi.StringArrayOutput) } +// Ansible-specific configuration. Presence means this Stack is an Ansible Stack. func (o GetStacksStackOutput) Ansibles() GetStacksStackAnsibleArrayOutput { return o.ApplyT(func(v GetStacksStack) []GetStacksStackAnsible { return v.Ansibles }).(GetStacksStackAnsibleArrayOutput) } +// indicates whether changes to this stack can be automatically deployed func (o GetStacksStackOutput) Autodeploy() pulumi.BoolOutput { return o.ApplyT(func(v GetStacksStack) bool { return v.Autodeploy }).(pulumi.BoolOutput) } +// indicates whether obsolete proposed changes should automatically be retried func (o GetStacksStackOutput) Autoretry() pulumi.BoolOutput { return o.ApplyT(func(v GetStacksStack) bool { return v.Autoretry }).(pulumi.BoolOutput) } +// AWS IAM assume role policy statement setting up trust relationship func (o GetStacksStackOutput) AwsAssumeRolePolicyStatement() pulumi.StringOutput { return o.ApplyT(func(v GetStacksStack) string { return v.AwsAssumeRolePolicyStatement }).(pulumi.StringOutput) } +// Azure DevOps VCS settings func (o GetStacksStackOutput) AzureDevops() GetStacksStackAzureDevopArrayOutput { return o.ApplyT(func(v GetStacksStack) []GetStacksStackAzureDevop { return v.AzureDevops }).(GetStacksStackAzureDevopArrayOutput) } +// List of before-apply scripts func (o GetStacksStackOutput) BeforeApplies() pulumi.StringArrayOutput { return o.ApplyT(func(v GetStacksStack) []string { return v.BeforeApplies }).(pulumi.StringArrayOutput) } +// List of before-destroy scripts func (o GetStacksStackOutput) BeforeDestroys() pulumi.StringArrayOutput { return o.ApplyT(func(v GetStacksStack) []string { return v.BeforeDestroys }).(pulumi.StringArrayOutput) } +// List of before-init scripts func (o GetStacksStackOutput) BeforeInits() pulumi.StringArrayOutput { return o.ApplyT(func(v GetStacksStack) []string { return v.BeforeInits }).(pulumi.StringArrayOutput) } +// List of before-perform scripts func (o GetStacksStackOutput) BeforePerforms() pulumi.StringArrayOutput { return o.ApplyT(func(v GetStacksStack) []string { return v.BeforePerforms }).(pulumi.StringArrayOutput) } +// List of before-plan scripts func (o GetStacksStackOutput) BeforePlans() pulumi.StringArrayOutput { return o.ApplyT(func(v GetStacksStack) []string { return v.BeforePlans }).(pulumi.StringArrayOutput) } +// Bitbucket Cloud VCS settings func (o GetStacksStackOutput) BitbucketClouds() GetStacksStackBitbucketCloudArrayOutput { return o.ApplyT(func(v GetStacksStack) []GetStacksStackBitbucketCloud { return v.BitbucketClouds }).(GetStacksStackBitbucketCloudArrayOutput) } +// Bitbucket Datacenter VCS settings func (o GetStacksStackOutput) BitbucketDatacenters() GetStacksStackBitbucketDatacenterArrayOutput { return o.ApplyT(func(v GetStacksStack) []GetStacksStackBitbucketDatacenter { return v.BitbucketDatacenters }).(GetStacksStackBitbucketDatacenterArrayOutput) } +// Repository branch to treat as the default 'main' branch func (o GetStacksStackOutput) Branch() pulumi.StringOutput { return o.ApplyT(func(v GetStacksStack) string { return v.Branch }).(pulumi.StringOutput) } +// CloudFormation-specific configuration. Presence means this Stack is a CloudFormation Stack. func (o GetStacksStackOutput) Cloudformations() GetStacksStackCloudformationArrayOutput { return o.ApplyT(func(v GetStacksStack) []GetStacksStackCloudformation { return v.Cloudformations }).(GetStacksStackCloudformationArrayOutput) } +// free-form stack description for users func (o GetStacksStackOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v GetStacksStack) string { return v.Description }).(pulumi.StringOutput) } +// Indicates whether local preview runs can be triggered on this Stack. func (o GetStacksStackOutput) EnableLocalPreview() pulumi.BoolOutput { return o.ApplyT(func(v GetStacksStack) bool { return v.EnableLocalPreview }).(pulumi.BoolOutput) } +// GitHub Enterprise (self-hosted) VCS settings func (o GetStacksStackOutput) GithubEnterprises() GetStacksStackGithubEnterpriseArrayOutput { return o.ApplyT(func(v GetStacksStack) []GetStacksStackGithubEnterprise { return v.GithubEnterprises }).(GetStacksStackGithubEnterpriseArrayOutput) } +// GitLab VCS settings func (o GetStacksStackOutput) Gitlabs() GetStacksStackGitlabArrayOutput { return o.ApplyT(func(v GetStacksStack) []GetStacksStackGitlab { return v.Gitlabs }).(GetStacksStackGitlabArrayOutput) } +// Kubernetes-specific configuration. Presence means this Stack is a Kubernetes Stack. func (o GetStacksStackOutput) Kubernetes() GetStacksStackKuberneteArrayOutput { return o.ApplyT(func(v GetStacksStack) []GetStacksStackKubernete { return v.Kubernetes }).(GetStacksStackKuberneteArrayOutput) } @@ -7981,50 +7114,62 @@ func (o GetStacksStackOutput) Labels() pulumi.StringArrayOutput { return o.ApplyT(func(v GetStacksStack) []string { return v.Labels }).(pulumi.StringArrayOutput) } +// Determines if Spacelift should manage state for this stack func (o GetStacksStackOutput) ManageState() pulumi.BoolOutput { return o.ApplyT(func(v GetStacksStack) bool { return v.ManageState }).(pulumi.BoolOutput) } +// Name of the stack - should be unique in one account func (o GetStacksStackOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v GetStacksStack) string { return v.Name }).(pulumi.StringOutput) } +// Project root is the optional directory relative to the workspace root containing the entrypoint to the Stack. func (o GetStacksStackOutput) ProjectRoot() pulumi.StringOutput { return o.ApplyT(func(v GetStacksStack) string { return v.ProjectRoot }).(pulumi.StringOutput) } +// Protect this stack from accidental deletion. If set, attempts to delete this stack will fail. func (o GetStacksStackOutput) ProtectFromDeletion() pulumi.BoolOutput { return o.ApplyT(func(v GetStacksStack) bool { return v.ProtectFromDeletion }).(pulumi.BoolOutput) } +// Pulumi-specific configuration. Presence means this Stack is a Pulumi Stack. func (o GetStacksStackOutput) Pulumis() GetStacksStackPulumiArrayOutput { return o.ApplyT(func(v GetStacksStack) []GetStacksStackPulumi { return v.Pulumis }).(GetStacksStackPulumiArrayOutput) } +// One-way VCS integration using a raw Git repository link func (o GetStacksStackOutput) RawGits() GetStacksStackRawGitArrayOutput { return o.ApplyT(func(v GetStacksStack) []GetStacksStackRawGit { return v.RawGits }).(GetStacksStackRawGitArrayOutput) } +// Name of the repository, without the owner part func (o GetStacksStackOutput) Repository() pulumi.StringOutput { return o.ApplyT(func(v GetStacksStack) string { return v.Repository }).(pulumi.StringOutput) } +// Name of the Docker image used to process Runs func (o GetStacksStackOutput) RunnerImage() pulumi.StringOutput { return o.ApplyT(func(v GetStacksStack) string { return v.RunnerImage }).(pulumi.StringOutput) } +// Showcase-related attributes func (o GetStacksStackOutput) Showcases() GetStacksStackShowcaseArrayOutput { return o.ApplyT(func(v GetStacksStack) []GetStacksStackShowcase { return v.Showcases }).(GetStacksStackShowcaseArrayOutput) } +// ID (slug) of the space the stack is in func (o GetStacksStackOutput) SpaceId() pulumi.StringOutput { return o.ApplyT(func(v GetStacksStack) string { return v.SpaceId }).(pulumi.StringOutput) } +// ID (slug) of the stack func (o GetStacksStackOutput) StackId() pulumi.StringOutput { return o.ApplyT(func(v GetStacksStack) string { return v.StackId }).(pulumi.StringOutput) } +// Indicates whether you can access the Stack state file from other stacks or outside of Spacelift. func (o GetStacksStackOutput) TerraformExternalStateAccess() pulumi.BoolOutput { return o.ApplyT(func(v GetStacksStack) bool { return v.TerraformExternalStateAccess }).(pulumi.BoolOutput) } @@ -8037,6 +7182,7 @@ func (o GetStacksStackOutput) TerraformVersion() pulumi.StringOutput { return o.ApplyT(func(v GetStacksStack) string { return v.TerraformVersion }).(pulumi.StringOutput) } +// Defines the tool that will be used to execute the workflow. This can be one of `OPEN_TOFU`, `TERRAFORM_FOSS` or `CUSTOM`. func (o GetStacksStackOutput) TerraformWorkflowTool() pulumi.StringOutput { return o.ApplyT(func(v GetStacksStack) string { return v.TerraformWorkflowTool }).(pulumi.StringOutput) } @@ -8045,6 +7191,7 @@ func (o GetStacksStackOutput) TerraformWorkspace() pulumi.StringOutput { return o.ApplyT(func(v GetStacksStack) string { return v.TerraformWorkspace }).(pulumi.StringOutput) } +// ID of the worker pool to use func (o GetStacksStackOutput) WorkerPoolId() pulumi.StringOutput { return o.ApplyT(func(v GetStacksStack) string { return v.WorkerPoolId }).(pulumi.StringOutput) } @@ -8063,12 +7210,6 @@ func (o GetStacksStackArrayOutput) ToGetStacksStackArrayOutputWithContext(ctx co return o } -func (o GetStacksStackArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetStacksStack] { - return pulumix.Output[[]GetStacksStack]{ - OutputState: o.OutputState, - } -} - func (o GetStacksStackArrayOutput) Index(i pulumi.IntInput) GetStacksStackOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetStacksStack { return vs[0].([]GetStacksStack)[vs[1].(int)] @@ -8076,6 +7217,7 @@ func (o GetStacksStackArrayOutput) Index(i pulumi.IntInput) GetStacksStackOutput } type GetStacksStackAnsible struct { + // The playbook the Ansible stack should run. Playbook string `pulumi:"playbook"` } @@ -8091,6 +7233,7 @@ type GetStacksStackAnsibleInput interface { } type GetStacksStackAnsibleArgs struct { + // The playbook the Ansible stack should run. Playbook pulumi.StringInput `pulumi:"playbook"` } @@ -8106,12 +7249,6 @@ func (i GetStacksStackAnsibleArgs) ToGetStacksStackAnsibleOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(GetStacksStackAnsibleOutput) } -func (i GetStacksStackAnsibleArgs) ToOutput(ctx context.Context) pulumix.Output[GetStacksStackAnsible] { - return pulumix.Output[GetStacksStackAnsible]{ - OutputState: i.ToGetStacksStackAnsibleOutputWithContext(ctx).OutputState, - } -} - // GetStacksStackAnsibleArrayInput is an input type that accepts GetStacksStackAnsibleArray and GetStacksStackAnsibleArrayOutput values. // You can construct a concrete instance of `GetStacksStackAnsibleArrayInput` via: // @@ -8137,12 +7274,6 @@ func (i GetStacksStackAnsibleArray) ToGetStacksStackAnsibleArrayOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(GetStacksStackAnsibleArrayOutput) } -func (i GetStacksStackAnsibleArray) ToOutput(ctx context.Context) pulumix.Output[[]GetStacksStackAnsible] { - return pulumix.Output[[]GetStacksStackAnsible]{ - OutputState: i.ToGetStacksStackAnsibleArrayOutputWithContext(ctx).OutputState, - } -} - type GetStacksStackAnsibleOutput struct{ *pulumi.OutputState } func (GetStacksStackAnsibleOutput) ElementType() reflect.Type { @@ -8157,12 +7288,7 @@ func (o GetStacksStackAnsibleOutput) ToGetStacksStackAnsibleOutputWithContext(ct return o } -func (o GetStacksStackAnsibleOutput) ToOutput(ctx context.Context) pulumix.Output[GetStacksStackAnsible] { - return pulumix.Output[GetStacksStackAnsible]{ - OutputState: o.OutputState, - } -} - +// The playbook the Ansible stack should run. func (o GetStacksStackAnsibleOutput) Playbook() pulumi.StringOutput { return o.ApplyT(func(v GetStacksStackAnsible) string { return v.Playbook }).(pulumi.StringOutput) } @@ -8181,12 +7307,6 @@ func (o GetStacksStackAnsibleArrayOutput) ToGetStacksStackAnsibleArrayOutputWith return o } -func (o GetStacksStackAnsibleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetStacksStackAnsible] { - return pulumix.Output[[]GetStacksStackAnsible]{ - OutputState: o.OutputState, - } -} - func (o GetStacksStackAnsibleArrayOutput) Index(i pulumi.IntInput) GetStacksStackAnsibleOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetStacksStackAnsible { return vs[0].([]GetStacksStackAnsible)[vs[1].(int)] @@ -8194,9 +7314,12 @@ func (o GetStacksStackAnsibleArrayOutput) Index(i pulumi.IntInput) GetStacksStac } type GetStacksStackAzureDevop struct { - Id string `pulumi:"id"` - IsDefault bool `pulumi:"isDefault"` - Project string `pulumi:"project"` + // ID of the Azure Devops VCS integration + Id string `pulumi:"id"` + // Indicates whether this is the default Azure Devops VCS integration + IsDefault bool `pulumi:"isDefault"` + // The name of the Azure DevOps project + Project string `pulumi:"project"` } // GetStacksStackAzureDevopInput is an input type that accepts GetStacksStackAzureDevopArgs and GetStacksStackAzureDevopOutput values. @@ -8211,9 +7334,12 @@ type GetStacksStackAzureDevopInput interface { } type GetStacksStackAzureDevopArgs struct { - Id pulumi.StringInput `pulumi:"id"` - IsDefault pulumi.BoolInput `pulumi:"isDefault"` - Project pulumi.StringInput `pulumi:"project"` + // ID of the Azure Devops VCS integration + Id pulumi.StringInput `pulumi:"id"` + // Indicates whether this is the default Azure Devops VCS integration + IsDefault pulumi.BoolInput `pulumi:"isDefault"` + // The name of the Azure DevOps project + Project pulumi.StringInput `pulumi:"project"` } func (GetStacksStackAzureDevopArgs) ElementType() reflect.Type { @@ -8228,12 +7354,6 @@ func (i GetStacksStackAzureDevopArgs) ToGetStacksStackAzureDevopOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(GetStacksStackAzureDevopOutput) } -func (i GetStacksStackAzureDevopArgs) ToOutput(ctx context.Context) pulumix.Output[GetStacksStackAzureDevop] { - return pulumix.Output[GetStacksStackAzureDevop]{ - OutputState: i.ToGetStacksStackAzureDevopOutputWithContext(ctx).OutputState, - } -} - // GetStacksStackAzureDevopArrayInput is an input type that accepts GetStacksStackAzureDevopArray and GetStacksStackAzureDevopArrayOutput values. // You can construct a concrete instance of `GetStacksStackAzureDevopArrayInput` via: // @@ -8259,12 +7379,6 @@ func (i GetStacksStackAzureDevopArray) ToGetStacksStackAzureDevopArrayOutputWith return pulumi.ToOutputWithContext(ctx, i).(GetStacksStackAzureDevopArrayOutput) } -func (i GetStacksStackAzureDevopArray) ToOutput(ctx context.Context) pulumix.Output[[]GetStacksStackAzureDevop] { - return pulumix.Output[[]GetStacksStackAzureDevop]{ - OutputState: i.ToGetStacksStackAzureDevopArrayOutputWithContext(ctx).OutputState, - } -} - type GetStacksStackAzureDevopOutput struct{ *pulumi.OutputState } func (GetStacksStackAzureDevopOutput) ElementType() reflect.Type { @@ -8279,20 +7393,17 @@ func (o GetStacksStackAzureDevopOutput) ToGetStacksStackAzureDevopOutputWithCont return o } -func (o GetStacksStackAzureDevopOutput) ToOutput(ctx context.Context) pulumix.Output[GetStacksStackAzureDevop] { - return pulumix.Output[GetStacksStackAzureDevop]{ - OutputState: o.OutputState, - } -} - +// ID of the Azure Devops VCS integration func (o GetStacksStackAzureDevopOutput) Id() pulumi.StringOutput { return o.ApplyT(func(v GetStacksStackAzureDevop) string { return v.Id }).(pulumi.StringOutput) } +// Indicates whether this is the default Azure Devops VCS integration func (o GetStacksStackAzureDevopOutput) IsDefault() pulumi.BoolOutput { return o.ApplyT(func(v GetStacksStackAzureDevop) bool { return v.IsDefault }).(pulumi.BoolOutput) } +// The name of the Azure DevOps project func (o GetStacksStackAzureDevopOutput) Project() pulumi.StringOutput { return o.ApplyT(func(v GetStacksStackAzureDevop) string { return v.Project }).(pulumi.StringOutput) } @@ -8311,12 +7422,6 @@ func (o GetStacksStackAzureDevopArrayOutput) ToGetStacksStackAzureDevopArrayOutp return o } -func (o GetStacksStackAzureDevopArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetStacksStackAzureDevop] { - return pulumix.Output[[]GetStacksStackAzureDevop]{ - OutputState: o.OutputState, - } -} - func (o GetStacksStackAzureDevopArrayOutput) Index(i pulumi.IntInput) GetStacksStackAzureDevopOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetStacksStackAzureDevop { return vs[0].([]GetStacksStackAzureDevop)[vs[1].(int)] @@ -8324,8 +7429,11 @@ func (o GetStacksStackAzureDevopArrayOutput) Index(i pulumi.IntInput) GetStacksS } type GetStacksStackBitbucketCloud struct { - Id string `pulumi:"id"` - IsDefault bool `pulumi:"isDefault"` + // ID of the Bitbucket Cloud integration + Id string `pulumi:"id"` + // Indicates whether this is the default Bitbucket Cloud integration + IsDefault bool `pulumi:"isDefault"` + // Bitbucket Cloud namespace of the stack's repository Namespace string `pulumi:"namespace"` } @@ -8341,8 +7449,11 @@ type GetStacksStackBitbucketCloudInput interface { } type GetStacksStackBitbucketCloudArgs struct { - Id pulumi.StringInput `pulumi:"id"` - IsDefault pulumi.BoolInput `pulumi:"isDefault"` + // ID of the Bitbucket Cloud integration + Id pulumi.StringInput `pulumi:"id"` + // Indicates whether this is the default Bitbucket Cloud integration + IsDefault pulumi.BoolInput `pulumi:"isDefault"` + // Bitbucket Cloud namespace of the stack's repository Namespace pulumi.StringInput `pulumi:"namespace"` } @@ -8358,12 +7469,6 @@ func (i GetStacksStackBitbucketCloudArgs) ToGetStacksStackBitbucketCloudOutputWi return pulumi.ToOutputWithContext(ctx, i).(GetStacksStackBitbucketCloudOutput) } -func (i GetStacksStackBitbucketCloudArgs) ToOutput(ctx context.Context) pulumix.Output[GetStacksStackBitbucketCloud] { - return pulumix.Output[GetStacksStackBitbucketCloud]{ - OutputState: i.ToGetStacksStackBitbucketCloudOutputWithContext(ctx).OutputState, - } -} - // GetStacksStackBitbucketCloudArrayInput is an input type that accepts GetStacksStackBitbucketCloudArray and GetStacksStackBitbucketCloudArrayOutput values. // You can construct a concrete instance of `GetStacksStackBitbucketCloudArrayInput` via: // @@ -8389,12 +7494,6 @@ func (i GetStacksStackBitbucketCloudArray) ToGetStacksStackBitbucketCloudArrayOu return pulumi.ToOutputWithContext(ctx, i).(GetStacksStackBitbucketCloudArrayOutput) } -func (i GetStacksStackBitbucketCloudArray) ToOutput(ctx context.Context) pulumix.Output[[]GetStacksStackBitbucketCloud] { - return pulumix.Output[[]GetStacksStackBitbucketCloud]{ - OutputState: i.ToGetStacksStackBitbucketCloudArrayOutputWithContext(ctx).OutputState, - } -} - type GetStacksStackBitbucketCloudOutput struct{ *pulumi.OutputState } func (GetStacksStackBitbucketCloudOutput) ElementType() reflect.Type { @@ -8409,20 +7508,17 @@ func (o GetStacksStackBitbucketCloudOutput) ToGetStacksStackBitbucketCloudOutput return o } -func (o GetStacksStackBitbucketCloudOutput) ToOutput(ctx context.Context) pulumix.Output[GetStacksStackBitbucketCloud] { - return pulumix.Output[GetStacksStackBitbucketCloud]{ - OutputState: o.OutputState, - } -} - +// ID of the Bitbucket Cloud integration func (o GetStacksStackBitbucketCloudOutput) Id() pulumi.StringOutput { return o.ApplyT(func(v GetStacksStackBitbucketCloud) string { return v.Id }).(pulumi.StringOutput) } +// Indicates whether this is the default Bitbucket Cloud integration func (o GetStacksStackBitbucketCloudOutput) IsDefault() pulumi.BoolOutput { return o.ApplyT(func(v GetStacksStackBitbucketCloud) bool { return v.IsDefault }).(pulumi.BoolOutput) } +// Bitbucket Cloud namespace of the stack's repository func (o GetStacksStackBitbucketCloudOutput) Namespace() pulumi.StringOutput { return o.ApplyT(func(v GetStacksStackBitbucketCloud) string { return v.Namespace }).(pulumi.StringOutput) } @@ -8441,12 +7537,6 @@ func (o GetStacksStackBitbucketCloudArrayOutput) ToGetStacksStackBitbucketCloudA return o } -func (o GetStacksStackBitbucketCloudArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetStacksStackBitbucketCloud] { - return pulumix.Output[[]GetStacksStackBitbucketCloud]{ - OutputState: o.OutputState, - } -} - func (o GetStacksStackBitbucketCloudArrayOutput) Index(i pulumi.IntInput) GetStacksStackBitbucketCloudOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetStacksStackBitbucketCloud { return vs[0].([]GetStacksStackBitbucketCloud)[vs[1].(int)] @@ -8454,8 +7544,11 @@ func (o GetStacksStackBitbucketCloudArrayOutput) Index(i pulumi.IntInput) GetSta } type GetStacksStackBitbucketDatacenter struct { - Id string `pulumi:"id"` - IsDefault bool `pulumi:"isDefault"` + // ID of the Bitbucket Datacenter integration + Id string `pulumi:"id"` + // Indicates whether this is the default Bitbucket Datacenter integration + IsDefault bool `pulumi:"isDefault"` + // Bitbucket Datacenter namespace of the stack's repository Namespace string `pulumi:"namespace"` } @@ -8471,8 +7564,11 @@ type GetStacksStackBitbucketDatacenterInput interface { } type GetStacksStackBitbucketDatacenterArgs struct { - Id pulumi.StringInput `pulumi:"id"` - IsDefault pulumi.BoolInput `pulumi:"isDefault"` + // ID of the Bitbucket Datacenter integration + Id pulumi.StringInput `pulumi:"id"` + // Indicates whether this is the default Bitbucket Datacenter integration + IsDefault pulumi.BoolInput `pulumi:"isDefault"` + // Bitbucket Datacenter namespace of the stack's repository Namespace pulumi.StringInput `pulumi:"namespace"` } @@ -8488,12 +7584,6 @@ func (i GetStacksStackBitbucketDatacenterArgs) ToGetStacksStackBitbucketDatacent return pulumi.ToOutputWithContext(ctx, i).(GetStacksStackBitbucketDatacenterOutput) } -func (i GetStacksStackBitbucketDatacenterArgs) ToOutput(ctx context.Context) pulumix.Output[GetStacksStackBitbucketDatacenter] { - return pulumix.Output[GetStacksStackBitbucketDatacenter]{ - OutputState: i.ToGetStacksStackBitbucketDatacenterOutputWithContext(ctx).OutputState, - } -} - // GetStacksStackBitbucketDatacenterArrayInput is an input type that accepts GetStacksStackBitbucketDatacenterArray and GetStacksStackBitbucketDatacenterArrayOutput values. // You can construct a concrete instance of `GetStacksStackBitbucketDatacenterArrayInput` via: // @@ -8519,12 +7609,6 @@ func (i GetStacksStackBitbucketDatacenterArray) ToGetStacksStackBitbucketDatacen return pulumi.ToOutputWithContext(ctx, i).(GetStacksStackBitbucketDatacenterArrayOutput) } -func (i GetStacksStackBitbucketDatacenterArray) ToOutput(ctx context.Context) pulumix.Output[[]GetStacksStackBitbucketDatacenter] { - return pulumix.Output[[]GetStacksStackBitbucketDatacenter]{ - OutputState: i.ToGetStacksStackBitbucketDatacenterArrayOutputWithContext(ctx).OutputState, - } -} - type GetStacksStackBitbucketDatacenterOutput struct{ *pulumi.OutputState } func (GetStacksStackBitbucketDatacenterOutput) ElementType() reflect.Type { @@ -8539,20 +7623,17 @@ func (o GetStacksStackBitbucketDatacenterOutput) ToGetStacksStackBitbucketDatace return o } -func (o GetStacksStackBitbucketDatacenterOutput) ToOutput(ctx context.Context) pulumix.Output[GetStacksStackBitbucketDatacenter] { - return pulumix.Output[GetStacksStackBitbucketDatacenter]{ - OutputState: o.OutputState, - } -} - +// ID of the Bitbucket Datacenter integration func (o GetStacksStackBitbucketDatacenterOutput) Id() pulumi.StringOutput { return o.ApplyT(func(v GetStacksStackBitbucketDatacenter) string { return v.Id }).(pulumi.StringOutput) } +// Indicates whether this is the default Bitbucket Datacenter integration func (o GetStacksStackBitbucketDatacenterOutput) IsDefault() pulumi.BoolOutput { return o.ApplyT(func(v GetStacksStackBitbucketDatacenter) bool { return v.IsDefault }).(pulumi.BoolOutput) } +// Bitbucket Datacenter namespace of the stack's repository func (o GetStacksStackBitbucketDatacenterOutput) Namespace() pulumi.StringOutput { return o.ApplyT(func(v GetStacksStackBitbucketDatacenter) string { return v.Namespace }).(pulumi.StringOutput) } @@ -8571,12 +7652,6 @@ func (o GetStacksStackBitbucketDatacenterArrayOutput) ToGetStacksStackBitbucketD return o } -func (o GetStacksStackBitbucketDatacenterArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetStacksStackBitbucketDatacenter] { - return pulumix.Output[[]GetStacksStackBitbucketDatacenter]{ - OutputState: o.OutputState, - } -} - func (o GetStacksStackBitbucketDatacenterArrayOutput) Index(i pulumi.IntInput) GetStacksStackBitbucketDatacenterOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetStacksStackBitbucketDatacenter { return vs[0].([]GetStacksStackBitbucketDatacenter)[vs[1].(int)] @@ -8584,10 +7659,14 @@ func (o GetStacksStackBitbucketDatacenterArrayOutput) Index(i pulumi.IntInput) G } type GetStacksStackCloudformation struct { + // Template file `cloudformation package` will be called on EntryTemplateFile string `pulumi:"entryTemplateFile"` - Region string `pulumi:"region"` - StackName string `pulumi:"stackName"` - TemplateBucket string `pulumi:"templateBucket"` + // AWS region to use + Region string `pulumi:"region"` + // CloudFormation stack name + StackName string `pulumi:"stackName"` + // S3 bucket to save CloudFormation templates to + TemplateBucket string `pulumi:"templateBucket"` } // GetStacksStackCloudformationInput is an input type that accepts GetStacksStackCloudformationArgs and GetStacksStackCloudformationOutput values. @@ -8602,10 +7681,14 @@ type GetStacksStackCloudformationInput interface { } type GetStacksStackCloudformationArgs struct { + // Template file `cloudformation package` will be called on EntryTemplateFile pulumi.StringInput `pulumi:"entryTemplateFile"` - Region pulumi.StringInput `pulumi:"region"` - StackName pulumi.StringInput `pulumi:"stackName"` - TemplateBucket pulumi.StringInput `pulumi:"templateBucket"` + // AWS region to use + Region pulumi.StringInput `pulumi:"region"` + // CloudFormation stack name + StackName pulumi.StringInput `pulumi:"stackName"` + // S3 bucket to save CloudFormation templates to + TemplateBucket pulumi.StringInput `pulumi:"templateBucket"` } func (GetStacksStackCloudformationArgs) ElementType() reflect.Type { @@ -8620,12 +7703,6 @@ func (i GetStacksStackCloudformationArgs) ToGetStacksStackCloudformationOutputWi return pulumi.ToOutputWithContext(ctx, i).(GetStacksStackCloudformationOutput) } -func (i GetStacksStackCloudformationArgs) ToOutput(ctx context.Context) pulumix.Output[GetStacksStackCloudformation] { - return pulumix.Output[GetStacksStackCloudformation]{ - OutputState: i.ToGetStacksStackCloudformationOutputWithContext(ctx).OutputState, - } -} - // GetStacksStackCloudformationArrayInput is an input type that accepts GetStacksStackCloudformationArray and GetStacksStackCloudformationArrayOutput values. // You can construct a concrete instance of `GetStacksStackCloudformationArrayInput` via: // @@ -8651,12 +7728,6 @@ func (i GetStacksStackCloudformationArray) ToGetStacksStackCloudformationArrayOu return pulumi.ToOutputWithContext(ctx, i).(GetStacksStackCloudformationArrayOutput) } -func (i GetStacksStackCloudformationArray) ToOutput(ctx context.Context) pulumix.Output[[]GetStacksStackCloudformation] { - return pulumix.Output[[]GetStacksStackCloudformation]{ - OutputState: i.ToGetStacksStackCloudformationArrayOutputWithContext(ctx).OutputState, - } -} - type GetStacksStackCloudformationOutput struct{ *pulumi.OutputState } func (GetStacksStackCloudformationOutput) ElementType() reflect.Type { @@ -8671,24 +7742,22 @@ func (o GetStacksStackCloudformationOutput) ToGetStacksStackCloudformationOutput return o } -func (o GetStacksStackCloudformationOutput) ToOutput(ctx context.Context) pulumix.Output[GetStacksStackCloudformation] { - return pulumix.Output[GetStacksStackCloudformation]{ - OutputState: o.OutputState, - } -} - +// Template file `cloudformation package` will be called on func (o GetStacksStackCloudformationOutput) EntryTemplateFile() pulumi.StringOutput { return o.ApplyT(func(v GetStacksStackCloudformation) string { return v.EntryTemplateFile }).(pulumi.StringOutput) } +// AWS region to use func (o GetStacksStackCloudformationOutput) Region() pulumi.StringOutput { return o.ApplyT(func(v GetStacksStackCloudformation) string { return v.Region }).(pulumi.StringOutput) } +// CloudFormation stack name func (o GetStacksStackCloudformationOutput) StackName() pulumi.StringOutput { return o.ApplyT(func(v GetStacksStackCloudformation) string { return v.StackName }).(pulumi.StringOutput) } +// S3 bucket to save CloudFormation templates to func (o GetStacksStackCloudformationOutput) TemplateBucket() pulumi.StringOutput { return o.ApplyT(func(v GetStacksStackCloudformation) string { return v.TemplateBucket }).(pulumi.StringOutput) } @@ -8707,12 +7776,6 @@ func (o GetStacksStackCloudformationArrayOutput) ToGetStacksStackCloudformationA return o } -func (o GetStacksStackCloudformationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetStacksStackCloudformation] { - return pulumix.Output[[]GetStacksStackCloudformation]{ - OutputState: o.OutputState, - } -} - func (o GetStacksStackCloudformationArrayOutput) Index(i pulumi.IntInput) GetStacksStackCloudformationOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetStacksStackCloudformation { return vs[0].([]GetStacksStackCloudformation)[vs[1].(int)] @@ -8720,8 +7783,11 @@ func (o GetStacksStackCloudformationArrayOutput) Index(i pulumi.IntInput) GetSta } type GetStacksStackGithubEnterprise struct { - Id string `pulumi:"id"` - IsDefault bool `pulumi:"isDefault"` + // ID of the GitHub Enterprise integration + Id string `pulumi:"id"` + // Indicates whether this is the default GitHub Enterprise integration + IsDefault bool `pulumi:"isDefault"` + // GitHub Enterprise namespace of the stack's repository Namespace string `pulumi:"namespace"` } @@ -8737,8 +7803,11 @@ type GetStacksStackGithubEnterpriseInput interface { } type GetStacksStackGithubEnterpriseArgs struct { - Id pulumi.StringInput `pulumi:"id"` - IsDefault pulumi.BoolInput `pulumi:"isDefault"` + // ID of the GitHub Enterprise integration + Id pulumi.StringInput `pulumi:"id"` + // Indicates whether this is the default GitHub Enterprise integration + IsDefault pulumi.BoolInput `pulumi:"isDefault"` + // GitHub Enterprise namespace of the stack's repository Namespace pulumi.StringInput `pulumi:"namespace"` } @@ -8754,12 +7823,6 @@ func (i GetStacksStackGithubEnterpriseArgs) ToGetStacksStackGithubEnterpriseOutp return pulumi.ToOutputWithContext(ctx, i).(GetStacksStackGithubEnterpriseOutput) } -func (i GetStacksStackGithubEnterpriseArgs) ToOutput(ctx context.Context) pulumix.Output[GetStacksStackGithubEnterprise] { - return pulumix.Output[GetStacksStackGithubEnterprise]{ - OutputState: i.ToGetStacksStackGithubEnterpriseOutputWithContext(ctx).OutputState, - } -} - // GetStacksStackGithubEnterpriseArrayInput is an input type that accepts GetStacksStackGithubEnterpriseArray and GetStacksStackGithubEnterpriseArrayOutput values. // You can construct a concrete instance of `GetStacksStackGithubEnterpriseArrayInput` via: // @@ -8785,12 +7848,6 @@ func (i GetStacksStackGithubEnterpriseArray) ToGetStacksStackGithubEnterpriseArr return pulumi.ToOutputWithContext(ctx, i).(GetStacksStackGithubEnterpriseArrayOutput) } -func (i GetStacksStackGithubEnterpriseArray) ToOutput(ctx context.Context) pulumix.Output[[]GetStacksStackGithubEnterprise] { - return pulumix.Output[[]GetStacksStackGithubEnterprise]{ - OutputState: i.ToGetStacksStackGithubEnterpriseArrayOutputWithContext(ctx).OutputState, - } -} - type GetStacksStackGithubEnterpriseOutput struct{ *pulumi.OutputState } func (GetStacksStackGithubEnterpriseOutput) ElementType() reflect.Type { @@ -8805,20 +7862,17 @@ func (o GetStacksStackGithubEnterpriseOutput) ToGetStacksStackGithubEnterpriseOu return o } -func (o GetStacksStackGithubEnterpriseOutput) ToOutput(ctx context.Context) pulumix.Output[GetStacksStackGithubEnterprise] { - return pulumix.Output[GetStacksStackGithubEnterprise]{ - OutputState: o.OutputState, - } -} - +// ID of the GitHub Enterprise integration func (o GetStacksStackGithubEnterpriseOutput) Id() pulumi.StringOutput { return o.ApplyT(func(v GetStacksStackGithubEnterprise) string { return v.Id }).(pulumi.StringOutput) } +// Indicates whether this is the default GitHub Enterprise integration func (o GetStacksStackGithubEnterpriseOutput) IsDefault() pulumi.BoolOutput { return o.ApplyT(func(v GetStacksStackGithubEnterprise) bool { return v.IsDefault }).(pulumi.BoolOutput) } +// GitHub Enterprise namespace of the stack's repository func (o GetStacksStackGithubEnterpriseOutput) Namespace() pulumi.StringOutput { return o.ApplyT(func(v GetStacksStackGithubEnterprise) string { return v.Namespace }).(pulumi.StringOutput) } @@ -8837,12 +7891,6 @@ func (o GetStacksStackGithubEnterpriseArrayOutput) ToGetStacksStackGithubEnterpr return o } -func (o GetStacksStackGithubEnterpriseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetStacksStackGithubEnterprise] { - return pulumix.Output[[]GetStacksStackGithubEnterprise]{ - OutputState: o.OutputState, - } -} - func (o GetStacksStackGithubEnterpriseArrayOutput) Index(i pulumi.IntInput) GetStacksStackGithubEnterpriseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetStacksStackGithubEnterprise { return vs[0].([]GetStacksStackGithubEnterprise)[vs[1].(int)] @@ -8850,8 +7898,11 @@ func (o GetStacksStackGithubEnterpriseArrayOutput) Index(i pulumi.IntInput) GetS } type GetStacksStackGitlab struct { - Id string `pulumi:"id"` - IsDefault bool `pulumi:"isDefault"` + // ID of the Gitlab integration + Id string `pulumi:"id"` + // Indicates whether this is the default Gitlab integration + IsDefault bool `pulumi:"isDefault"` + // GitLab namespace of the stack's repository Namespace string `pulumi:"namespace"` } @@ -8867,8 +7918,11 @@ type GetStacksStackGitlabInput interface { } type GetStacksStackGitlabArgs struct { - Id pulumi.StringInput `pulumi:"id"` - IsDefault pulumi.BoolInput `pulumi:"isDefault"` + // ID of the Gitlab integration + Id pulumi.StringInput `pulumi:"id"` + // Indicates whether this is the default Gitlab integration + IsDefault pulumi.BoolInput `pulumi:"isDefault"` + // GitLab namespace of the stack's repository Namespace pulumi.StringInput `pulumi:"namespace"` } @@ -8884,12 +7938,6 @@ func (i GetStacksStackGitlabArgs) ToGetStacksStackGitlabOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(GetStacksStackGitlabOutput) } -func (i GetStacksStackGitlabArgs) ToOutput(ctx context.Context) pulumix.Output[GetStacksStackGitlab] { - return pulumix.Output[GetStacksStackGitlab]{ - OutputState: i.ToGetStacksStackGitlabOutputWithContext(ctx).OutputState, - } -} - // GetStacksStackGitlabArrayInput is an input type that accepts GetStacksStackGitlabArray and GetStacksStackGitlabArrayOutput values. // You can construct a concrete instance of `GetStacksStackGitlabArrayInput` via: // @@ -8915,12 +7963,6 @@ func (i GetStacksStackGitlabArray) ToGetStacksStackGitlabArrayOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(GetStacksStackGitlabArrayOutput) } -func (i GetStacksStackGitlabArray) ToOutput(ctx context.Context) pulumix.Output[[]GetStacksStackGitlab] { - return pulumix.Output[[]GetStacksStackGitlab]{ - OutputState: i.ToGetStacksStackGitlabArrayOutputWithContext(ctx).OutputState, - } -} - type GetStacksStackGitlabOutput struct{ *pulumi.OutputState } func (GetStacksStackGitlabOutput) ElementType() reflect.Type { @@ -8935,20 +7977,17 @@ func (o GetStacksStackGitlabOutput) ToGetStacksStackGitlabOutputWithContext(ctx return o } -func (o GetStacksStackGitlabOutput) ToOutput(ctx context.Context) pulumix.Output[GetStacksStackGitlab] { - return pulumix.Output[GetStacksStackGitlab]{ - OutputState: o.OutputState, - } -} - +// ID of the Gitlab integration func (o GetStacksStackGitlabOutput) Id() pulumi.StringOutput { return o.ApplyT(func(v GetStacksStackGitlab) string { return v.Id }).(pulumi.StringOutput) } +// Indicates whether this is the default Gitlab integration func (o GetStacksStackGitlabOutput) IsDefault() pulumi.BoolOutput { return o.ApplyT(func(v GetStacksStackGitlab) bool { return v.IsDefault }).(pulumi.BoolOutput) } +// GitLab namespace of the stack's repository func (o GetStacksStackGitlabOutput) Namespace() pulumi.StringOutput { return o.ApplyT(func(v GetStacksStackGitlab) string { return v.Namespace }).(pulumi.StringOutput) } @@ -8967,12 +8006,6 @@ func (o GetStacksStackGitlabArrayOutput) ToGetStacksStackGitlabArrayOutputWithCo return o } -func (o GetStacksStackGitlabArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetStacksStackGitlab] { - return pulumix.Output[[]GetStacksStackGitlab]{ - OutputState: o.OutputState, - } -} - func (o GetStacksStackGitlabArrayOutput) Index(i pulumi.IntInput) GetStacksStackGitlabOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetStacksStackGitlab { return vs[0].([]GetStacksStackGitlab)[vs[1].(int)] @@ -8980,8 +8013,10 @@ func (o GetStacksStackGitlabArrayOutput) Index(i pulumi.IntInput) GetStacksStack } type GetStacksStackKubernete struct { + // Kubectl version. KubectlVersion string `pulumi:"kubectlVersion"` - Namespace string `pulumi:"namespace"` + // Namespace of the Kubernetes cluster to run commands on. Leave empty for multi-namespace Stacks. + Namespace string `pulumi:"namespace"` } // GetStacksStackKuberneteInput is an input type that accepts GetStacksStackKuberneteArgs and GetStacksStackKuberneteOutput values. @@ -8996,8 +8031,10 @@ type GetStacksStackKuberneteInput interface { } type GetStacksStackKuberneteArgs struct { + // Kubectl version. KubectlVersion pulumi.StringInput `pulumi:"kubectlVersion"` - Namespace pulumi.StringInput `pulumi:"namespace"` + // Namespace of the Kubernetes cluster to run commands on. Leave empty for multi-namespace Stacks. + Namespace pulumi.StringInput `pulumi:"namespace"` } func (GetStacksStackKuberneteArgs) ElementType() reflect.Type { @@ -9012,12 +8049,6 @@ func (i GetStacksStackKuberneteArgs) ToGetStacksStackKuberneteOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(GetStacksStackKuberneteOutput) } -func (i GetStacksStackKuberneteArgs) ToOutput(ctx context.Context) pulumix.Output[GetStacksStackKubernete] { - return pulumix.Output[GetStacksStackKubernete]{ - OutputState: i.ToGetStacksStackKuberneteOutputWithContext(ctx).OutputState, - } -} - // GetStacksStackKuberneteArrayInput is an input type that accepts GetStacksStackKuberneteArray and GetStacksStackKuberneteArrayOutput values. // You can construct a concrete instance of `GetStacksStackKuberneteArrayInput` via: // @@ -9043,12 +8074,6 @@ func (i GetStacksStackKuberneteArray) ToGetStacksStackKuberneteArrayOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(GetStacksStackKuberneteArrayOutput) } -func (i GetStacksStackKuberneteArray) ToOutput(ctx context.Context) pulumix.Output[[]GetStacksStackKubernete] { - return pulumix.Output[[]GetStacksStackKubernete]{ - OutputState: i.ToGetStacksStackKuberneteArrayOutputWithContext(ctx).OutputState, - } -} - type GetStacksStackKuberneteOutput struct{ *pulumi.OutputState } func (GetStacksStackKuberneteOutput) ElementType() reflect.Type { @@ -9063,16 +8088,12 @@ func (o GetStacksStackKuberneteOutput) ToGetStacksStackKuberneteOutputWithContex return o } -func (o GetStacksStackKuberneteOutput) ToOutput(ctx context.Context) pulumix.Output[GetStacksStackKubernete] { - return pulumix.Output[GetStacksStackKubernete]{ - OutputState: o.OutputState, - } -} - +// Kubectl version. func (o GetStacksStackKuberneteOutput) KubectlVersion() pulumi.StringOutput { return o.ApplyT(func(v GetStacksStackKubernete) string { return v.KubectlVersion }).(pulumi.StringOutput) } +// Namespace of the Kubernetes cluster to run commands on. Leave empty for multi-namespace Stacks. func (o GetStacksStackKuberneteOutput) Namespace() pulumi.StringOutput { return o.ApplyT(func(v GetStacksStackKubernete) string { return v.Namespace }).(pulumi.StringOutput) } @@ -9091,12 +8112,6 @@ func (o GetStacksStackKuberneteArrayOutput) ToGetStacksStackKuberneteArrayOutput return o } -func (o GetStacksStackKuberneteArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetStacksStackKubernete] { - return pulumix.Output[[]GetStacksStackKubernete]{ - OutputState: o.OutputState, - } -} - func (o GetStacksStackKuberneteArrayOutput) Index(i pulumi.IntInput) GetStacksStackKuberneteOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetStacksStackKubernete { return vs[0].([]GetStacksStackKubernete)[vs[1].(int)] @@ -9104,7 +8119,9 @@ func (o GetStacksStackKuberneteArrayOutput) Index(i pulumi.IntInput) GetStacksSt } type GetStacksStackPulumi struct { - LoginUrl string `pulumi:"loginUrl"` + // State backend to log into on Run initialize. + LoginUrl string `pulumi:"loginUrl"` + // Pulumi stack name to use with the state backend. StackName string `pulumi:"stackName"` } @@ -9120,7 +8137,9 @@ type GetStacksStackPulumiInput interface { } type GetStacksStackPulumiArgs struct { - LoginUrl pulumi.StringInput `pulumi:"loginUrl"` + // State backend to log into on Run initialize. + LoginUrl pulumi.StringInput `pulumi:"loginUrl"` + // Pulumi stack name to use with the state backend. StackName pulumi.StringInput `pulumi:"stackName"` } @@ -9136,12 +8155,6 @@ func (i GetStacksStackPulumiArgs) ToGetStacksStackPulumiOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(GetStacksStackPulumiOutput) } -func (i GetStacksStackPulumiArgs) ToOutput(ctx context.Context) pulumix.Output[GetStacksStackPulumi] { - return pulumix.Output[GetStacksStackPulumi]{ - OutputState: i.ToGetStacksStackPulumiOutputWithContext(ctx).OutputState, - } -} - // GetStacksStackPulumiArrayInput is an input type that accepts GetStacksStackPulumiArray and GetStacksStackPulumiArrayOutput values. // You can construct a concrete instance of `GetStacksStackPulumiArrayInput` via: // @@ -9167,12 +8180,6 @@ func (i GetStacksStackPulumiArray) ToGetStacksStackPulumiArrayOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(GetStacksStackPulumiArrayOutput) } -func (i GetStacksStackPulumiArray) ToOutput(ctx context.Context) pulumix.Output[[]GetStacksStackPulumi] { - return pulumix.Output[[]GetStacksStackPulumi]{ - OutputState: i.ToGetStacksStackPulumiArrayOutputWithContext(ctx).OutputState, - } -} - type GetStacksStackPulumiOutput struct{ *pulumi.OutputState } func (GetStacksStackPulumiOutput) ElementType() reflect.Type { @@ -9187,16 +8194,12 @@ func (o GetStacksStackPulumiOutput) ToGetStacksStackPulumiOutputWithContext(ctx return o } -func (o GetStacksStackPulumiOutput) ToOutput(ctx context.Context) pulumix.Output[GetStacksStackPulumi] { - return pulumix.Output[GetStacksStackPulumi]{ - OutputState: o.OutputState, - } -} - +// State backend to log into on Run initialize. func (o GetStacksStackPulumiOutput) LoginUrl() pulumi.StringOutput { return o.ApplyT(func(v GetStacksStackPulumi) string { return v.LoginUrl }).(pulumi.StringOutput) } +// Pulumi stack name to use with the state backend. func (o GetStacksStackPulumiOutput) StackName() pulumi.StringOutput { return o.ApplyT(func(v GetStacksStackPulumi) string { return v.StackName }).(pulumi.StringOutput) } @@ -9215,12 +8218,6 @@ func (o GetStacksStackPulumiArrayOutput) ToGetStacksStackPulumiArrayOutputWithCo return o } -func (o GetStacksStackPulumiArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetStacksStackPulumi] { - return pulumix.Output[[]GetStacksStackPulumi]{ - OutputState: o.OutputState, - } -} - func (o GetStacksStackPulumiArrayOutput) Index(i pulumi.IntInput) GetStacksStackPulumiOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetStacksStackPulumi { return vs[0].([]GetStacksStackPulumi)[vs[1].(int)] @@ -9228,8 +8225,10 @@ func (o GetStacksStackPulumiArrayOutput) Index(i pulumi.IntInput) GetStacksStack } type GetStacksStackRawGit struct { + // User-friendly namespace for the repository, this is for cosmetic purposes only Namespace string `pulumi:"namespace"` - Url string `pulumi:"url"` + // HTTPS URL of the Git repository + Url string `pulumi:"url"` } // GetStacksStackRawGitInput is an input type that accepts GetStacksStackRawGitArgs and GetStacksStackRawGitOutput values. @@ -9244,8 +8243,10 @@ type GetStacksStackRawGitInput interface { } type GetStacksStackRawGitArgs struct { + // User-friendly namespace for the repository, this is for cosmetic purposes only Namespace pulumi.StringInput `pulumi:"namespace"` - Url pulumi.StringInput `pulumi:"url"` + // HTTPS URL of the Git repository + Url pulumi.StringInput `pulumi:"url"` } func (GetStacksStackRawGitArgs) ElementType() reflect.Type { @@ -9260,12 +8261,6 @@ func (i GetStacksStackRawGitArgs) ToGetStacksStackRawGitOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(GetStacksStackRawGitOutput) } -func (i GetStacksStackRawGitArgs) ToOutput(ctx context.Context) pulumix.Output[GetStacksStackRawGit] { - return pulumix.Output[GetStacksStackRawGit]{ - OutputState: i.ToGetStacksStackRawGitOutputWithContext(ctx).OutputState, - } -} - // GetStacksStackRawGitArrayInput is an input type that accepts GetStacksStackRawGitArray and GetStacksStackRawGitArrayOutput values. // You can construct a concrete instance of `GetStacksStackRawGitArrayInput` via: // @@ -9291,12 +8286,6 @@ func (i GetStacksStackRawGitArray) ToGetStacksStackRawGitArrayOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(GetStacksStackRawGitArrayOutput) } -func (i GetStacksStackRawGitArray) ToOutput(ctx context.Context) pulumix.Output[[]GetStacksStackRawGit] { - return pulumix.Output[[]GetStacksStackRawGit]{ - OutputState: i.ToGetStacksStackRawGitArrayOutputWithContext(ctx).OutputState, - } -} - type GetStacksStackRawGitOutput struct{ *pulumi.OutputState } func (GetStacksStackRawGitOutput) ElementType() reflect.Type { @@ -9311,16 +8300,12 @@ func (o GetStacksStackRawGitOutput) ToGetStacksStackRawGitOutputWithContext(ctx return o } -func (o GetStacksStackRawGitOutput) ToOutput(ctx context.Context) pulumix.Output[GetStacksStackRawGit] { - return pulumix.Output[GetStacksStackRawGit]{ - OutputState: o.OutputState, - } -} - +// User-friendly namespace for the repository, this is for cosmetic purposes only func (o GetStacksStackRawGitOutput) Namespace() pulumi.StringOutput { return o.ApplyT(func(v GetStacksStackRawGit) string { return v.Namespace }).(pulumi.StringOutput) } +// HTTPS URL of the Git repository func (o GetStacksStackRawGitOutput) Url() pulumi.StringOutput { return o.ApplyT(func(v GetStacksStackRawGit) string { return v.Url }).(pulumi.StringOutput) } @@ -9339,12 +8324,6 @@ func (o GetStacksStackRawGitArrayOutput) ToGetStacksStackRawGitArrayOutputWithCo return o } -func (o GetStacksStackRawGitArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetStacksStackRawGit] { - return pulumix.Output[[]GetStacksStackRawGit]{ - OutputState: o.OutputState, - } -} - func (o GetStacksStackRawGitArrayOutput) Index(i pulumi.IntInput) GetStacksStackRawGitOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetStacksStackRawGit { return vs[0].([]GetStacksStackRawGit)[vs[1].(int)] @@ -9352,6 +8331,7 @@ func (o GetStacksStackRawGitArrayOutput) Index(i pulumi.IntInput) GetStacksStack } type GetStacksStackShowcase struct { + // GitHub namespace of the stack's repository Namespace string `pulumi:"namespace"` } @@ -9367,6 +8347,7 @@ type GetStacksStackShowcaseInput interface { } type GetStacksStackShowcaseArgs struct { + // GitHub namespace of the stack's repository Namespace pulumi.StringInput `pulumi:"namespace"` } @@ -9382,12 +8363,6 @@ func (i GetStacksStackShowcaseArgs) ToGetStacksStackShowcaseOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(GetStacksStackShowcaseOutput) } -func (i GetStacksStackShowcaseArgs) ToOutput(ctx context.Context) pulumix.Output[GetStacksStackShowcase] { - return pulumix.Output[GetStacksStackShowcase]{ - OutputState: i.ToGetStacksStackShowcaseOutputWithContext(ctx).OutputState, - } -} - // GetStacksStackShowcaseArrayInput is an input type that accepts GetStacksStackShowcaseArray and GetStacksStackShowcaseArrayOutput values. // You can construct a concrete instance of `GetStacksStackShowcaseArrayInput` via: // @@ -9413,12 +8388,6 @@ func (i GetStacksStackShowcaseArray) ToGetStacksStackShowcaseArrayOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(GetStacksStackShowcaseArrayOutput) } -func (i GetStacksStackShowcaseArray) ToOutput(ctx context.Context) pulumix.Output[[]GetStacksStackShowcase] { - return pulumix.Output[[]GetStacksStackShowcase]{ - OutputState: i.ToGetStacksStackShowcaseArrayOutputWithContext(ctx).OutputState, - } -} - type GetStacksStackShowcaseOutput struct{ *pulumi.OutputState } func (GetStacksStackShowcaseOutput) ElementType() reflect.Type { @@ -9433,12 +8402,7 @@ func (o GetStacksStackShowcaseOutput) ToGetStacksStackShowcaseOutputWithContext( return o } -func (o GetStacksStackShowcaseOutput) ToOutput(ctx context.Context) pulumix.Output[GetStacksStackShowcase] { - return pulumix.Output[GetStacksStackShowcase]{ - OutputState: o.OutputState, - } -} - +// GitHub namespace of the stack's repository func (o GetStacksStackShowcaseOutput) Namespace() pulumi.StringOutput { return o.ApplyT(func(v GetStacksStackShowcase) string { return v.Namespace }).(pulumi.StringOutput) } @@ -9457,12 +8421,6 @@ func (o GetStacksStackShowcaseArrayOutput) ToGetStacksStackShowcaseArrayOutputWi return o } -func (o GetStacksStackShowcaseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetStacksStackShowcase] { - return pulumix.Output[[]GetStacksStackShowcase]{ - OutputState: o.OutputState, - } -} - func (o GetStacksStackShowcaseArrayOutput) Index(i pulumi.IntInput) GetStacksStackShowcaseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetStacksStackShowcase { return vs[0].([]GetStacksStackShowcase)[vs[1].(int)] @@ -9500,12 +8458,6 @@ func (i GetStacksStateArgs) ToGetStacksStateOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(GetStacksStateOutput) } -func (i GetStacksStateArgs) ToOutput(ctx context.Context) pulumix.Output[GetStacksState] { - return pulumix.Output[GetStacksState]{ - OutputState: i.ToGetStacksStateOutputWithContext(ctx).OutputState, - } -} - func (i GetStacksStateArgs) ToGetStacksStatePtrOutput() GetStacksStatePtrOutput { return i.ToGetStacksStatePtrOutputWithContext(context.Background()) } @@ -9547,12 +8499,6 @@ func (i *getStacksStatePtrType) ToGetStacksStatePtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(GetStacksStatePtrOutput) } -func (i *getStacksStatePtrType) ToOutput(ctx context.Context) pulumix.Output[*GetStacksState] { - return pulumix.Output[*GetStacksState]{ - OutputState: i.ToGetStacksStatePtrOutputWithContext(ctx).OutputState, - } -} - type GetStacksStateOutput struct{ *pulumi.OutputState } func (GetStacksStateOutput) ElementType() reflect.Type { @@ -9577,12 +8523,6 @@ func (o GetStacksStateOutput) ToGetStacksStatePtrOutputWithContext(ctx context.C }).(GetStacksStatePtrOutput) } -func (o GetStacksStateOutput) ToOutput(ctx context.Context) pulumix.Output[GetStacksState] { - return pulumix.Output[GetStacksState]{ - OutputState: o.OutputState, - } -} - func (o GetStacksStateOutput) AnyOfs() pulumi.StringArrayOutput { return o.ApplyT(func(v GetStacksState) []string { return v.AnyOfs }).(pulumi.StringArrayOutput) } @@ -9601,12 +8541,6 @@ func (o GetStacksStatePtrOutput) ToGetStacksStatePtrOutputWithContext(ctx contex return o } -func (o GetStacksStatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GetStacksState] { - return pulumix.Output[*GetStacksState]{ - OutputState: o.OutputState, - } -} - func (o GetStacksStatePtrOutput) Elem() GetStacksStateOutput { return o.ApplyT(func(v *GetStacksState) GetStacksState { if v != nil { @@ -9657,12 +8591,6 @@ func (i GetStacksVendorArgs) ToGetStacksVendorOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(GetStacksVendorOutput) } -func (i GetStacksVendorArgs) ToOutput(ctx context.Context) pulumix.Output[GetStacksVendor] { - return pulumix.Output[GetStacksVendor]{ - OutputState: i.ToGetStacksVendorOutputWithContext(ctx).OutputState, - } -} - func (i GetStacksVendorArgs) ToGetStacksVendorPtrOutput() GetStacksVendorPtrOutput { return i.ToGetStacksVendorPtrOutputWithContext(context.Background()) } @@ -9704,12 +8632,6 @@ func (i *getStacksVendorPtrType) ToGetStacksVendorPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(GetStacksVendorPtrOutput) } -func (i *getStacksVendorPtrType) ToOutput(ctx context.Context) pulumix.Output[*GetStacksVendor] { - return pulumix.Output[*GetStacksVendor]{ - OutputState: i.ToGetStacksVendorPtrOutputWithContext(ctx).OutputState, - } -} - type GetStacksVendorOutput struct{ *pulumi.OutputState } func (GetStacksVendorOutput) ElementType() reflect.Type { @@ -9734,12 +8656,6 @@ func (o GetStacksVendorOutput) ToGetStacksVendorPtrOutputWithContext(ctx context }).(GetStacksVendorPtrOutput) } -func (o GetStacksVendorOutput) ToOutput(ctx context.Context) pulumix.Output[GetStacksVendor] { - return pulumix.Output[GetStacksVendor]{ - OutputState: o.OutputState, - } -} - func (o GetStacksVendorOutput) AnyOfs() pulumi.StringArrayOutput { return o.ApplyT(func(v GetStacksVendor) []string { return v.AnyOfs }).(pulumi.StringArrayOutput) } @@ -9758,12 +8674,6 @@ func (o GetStacksVendorPtrOutput) ToGetStacksVendorPtrOutputWithContext(ctx cont return o } -func (o GetStacksVendorPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GetStacksVendor] { - return pulumix.Output[*GetStacksVendor]{ - OutputState: o.OutputState, - } -} - func (o GetStacksVendorPtrOutput) Elem() GetStacksVendorOutput { return o.ApplyT(func(v *GetStacksVendor) GetStacksVendor { if v != nil { @@ -9814,12 +8724,6 @@ func (i GetStacksWorkerPoolArgs) ToGetStacksWorkerPoolOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(GetStacksWorkerPoolOutput) } -func (i GetStacksWorkerPoolArgs) ToOutput(ctx context.Context) pulumix.Output[GetStacksWorkerPool] { - return pulumix.Output[GetStacksWorkerPool]{ - OutputState: i.ToGetStacksWorkerPoolOutputWithContext(ctx).OutputState, - } -} - func (i GetStacksWorkerPoolArgs) ToGetStacksWorkerPoolPtrOutput() GetStacksWorkerPoolPtrOutput { return i.ToGetStacksWorkerPoolPtrOutputWithContext(context.Background()) } @@ -9861,12 +8765,6 @@ func (i *getStacksWorkerPoolPtrType) ToGetStacksWorkerPoolPtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(GetStacksWorkerPoolPtrOutput) } -func (i *getStacksWorkerPoolPtrType) ToOutput(ctx context.Context) pulumix.Output[*GetStacksWorkerPool] { - return pulumix.Output[*GetStacksWorkerPool]{ - OutputState: i.ToGetStacksWorkerPoolPtrOutputWithContext(ctx).OutputState, - } -} - type GetStacksWorkerPoolOutput struct{ *pulumi.OutputState } func (GetStacksWorkerPoolOutput) ElementType() reflect.Type { @@ -9891,12 +8789,6 @@ func (o GetStacksWorkerPoolOutput) ToGetStacksWorkerPoolPtrOutputWithContext(ctx }).(GetStacksWorkerPoolPtrOutput) } -func (o GetStacksWorkerPoolOutput) ToOutput(ctx context.Context) pulumix.Output[GetStacksWorkerPool] { - return pulumix.Output[GetStacksWorkerPool]{ - OutputState: o.OutputState, - } -} - func (o GetStacksWorkerPoolOutput) AnyOfs() pulumi.StringArrayOutput { return o.ApplyT(func(v GetStacksWorkerPool) []string { return v.AnyOfs }).(pulumi.StringArrayOutput) } @@ -9915,12 +8807,6 @@ func (o GetStacksWorkerPoolPtrOutput) ToGetStacksWorkerPoolPtrOutputWithContext( return o } -func (o GetStacksWorkerPoolPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GetStacksWorkerPool] { - return pulumix.Output[*GetStacksWorkerPool]{ - OutputState: o.OutputState, - } -} - func (o GetStacksWorkerPoolPtrOutput) Elem() GetStacksWorkerPoolOutput { return o.ApplyT(func(v *GetStacksWorkerPool) GetStacksWorkerPool { if v != nil { @@ -9941,8 +8827,11 @@ func (o GetStacksWorkerPoolPtrOutput) AnyOfs() pulumi.StringArrayOutput { } type GetVcsAgentPoolsVcsAgentPool struct { - Description string `pulumi:"description"` - Name string `pulumi:"name"` + // Free-form VCS agent pool description for users + Description string `pulumi:"description"` + // Name of the VCS agent pool + Name string `pulumi:"name"` + // ID of the VCS agent pool to retrieve VcsAgentPoolId string `pulumi:"vcsAgentPoolId"` } @@ -9958,8 +8847,11 @@ type GetVcsAgentPoolsVcsAgentPoolInput interface { } type GetVcsAgentPoolsVcsAgentPoolArgs struct { - Description pulumi.StringInput `pulumi:"description"` - Name pulumi.StringInput `pulumi:"name"` + // Free-form VCS agent pool description for users + Description pulumi.StringInput `pulumi:"description"` + // Name of the VCS agent pool + Name pulumi.StringInput `pulumi:"name"` + // ID of the VCS agent pool to retrieve VcsAgentPoolId pulumi.StringInput `pulumi:"vcsAgentPoolId"` } @@ -9975,12 +8867,6 @@ func (i GetVcsAgentPoolsVcsAgentPoolArgs) ToGetVcsAgentPoolsVcsAgentPoolOutputWi return pulumi.ToOutputWithContext(ctx, i).(GetVcsAgentPoolsVcsAgentPoolOutput) } -func (i GetVcsAgentPoolsVcsAgentPoolArgs) ToOutput(ctx context.Context) pulumix.Output[GetVcsAgentPoolsVcsAgentPool] { - return pulumix.Output[GetVcsAgentPoolsVcsAgentPool]{ - OutputState: i.ToGetVcsAgentPoolsVcsAgentPoolOutputWithContext(ctx).OutputState, - } -} - // GetVcsAgentPoolsVcsAgentPoolArrayInput is an input type that accepts GetVcsAgentPoolsVcsAgentPoolArray and GetVcsAgentPoolsVcsAgentPoolArrayOutput values. // You can construct a concrete instance of `GetVcsAgentPoolsVcsAgentPoolArrayInput` via: // @@ -10006,12 +8892,6 @@ func (i GetVcsAgentPoolsVcsAgentPoolArray) ToGetVcsAgentPoolsVcsAgentPoolArrayOu return pulumi.ToOutputWithContext(ctx, i).(GetVcsAgentPoolsVcsAgentPoolArrayOutput) } -func (i GetVcsAgentPoolsVcsAgentPoolArray) ToOutput(ctx context.Context) pulumix.Output[[]GetVcsAgentPoolsVcsAgentPool] { - return pulumix.Output[[]GetVcsAgentPoolsVcsAgentPool]{ - OutputState: i.ToGetVcsAgentPoolsVcsAgentPoolArrayOutputWithContext(ctx).OutputState, - } -} - type GetVcsAgentPoolsVcsAgentPoolOutput struct{ *pulumi.OutputState } func (GetVcsAgentPoolsVcsAgentPoolOutput) ElementType() reflect.Type { @@ -10026,20 +8906,17 @@ func (o GetVcsAgentPoolsVcsAgentPoolOutput) ToGetVcsAgentPoolsVcsAgentPoolOutput return o } -func (o GetVcsAgentPoolsVcsAgentPoolOutput) ToOutput(ctx context.Context) pulumix.Output[GetVcsAgentPoolsVcsAgentPool] { - return pulumix.Output[GetVcsAgentPoolsVcsAgentPool]{ - OutputState: o.OutputState, - } -} - +// Free-form VCS agent pool description for users func (o GetVcsAgentPoolsVcsAgentPoolOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v GetVcsAgentPoolsVcsAgentPool) string { return v.Description }).(pulumi.StringOutput) } +// Name of the VCS agent pool func (o GetVcsAgentPoolsVcsAgentPoolOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v GetVcsAgentPoolsVcsAgentPool) string { return v.Name }).(pulumi.StringOutput) } +// ID of the VCS agent pool to retrieve func (o GetVcsAgentPoolsVcsAgentPoolOutput) VcsAgentPoolId() pulumi.StringOutput { return o.ApplyT(func(v GetVcsAgentPoolsVcsAgentPool) string { return v.VcsAgentPoolId }).(pulumi.StringOutput) } @@ -10058,12 +8935,6 @@ func (o GetVcsAgentPoolsVcsAgentPoolArrayOutput) ToGetVcsAgentPoolsVcsAgentPoolA return o } -func (o GetVcsAgentPoolsVcsAgentPoolArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetVcsAgentPoolsVcsAgentPool] { - return pulumix.Output[[]GetVcsAgentPoolsVcsAgentPool]{ - OutputState: o.OutputState, - } -} - func (o GetVcsAgentPoolsVcsAgentPoolArrayOutput) Index(i pulumi.IntInput) GetVcsAgentPoolsVcsAgentPoolOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVcsAgentPoolsVcsAgentPool { return vs[0].([]GetVcsAgentPoolsVcsAgentPool)[vs[1].(int)] @@ -10071,10 +8942,15 @@ func (o GetVcsAgentPoolsVcsAgentPoolArrayOutput) Index(i pulumi.IntInput) GetVcs } type GetWorkerPoolsWorkerPool struct { - Config string `pulumi:"config"` - Description string `pulumi:"description"` - Name string `pulumi:"name"` - SpaceId string `pulumi:"spaceId"` + // credentials necessary to connect WorkerPool's workers to the control plane + Config string `pulumi:"config"` + // description of the worker pool + Description string `pulumi:"description"` + // name of the worker pool + Name string `pulumi:"name"` + // ID (slug) of the space the worker pool is in + SpaceId string `pulumi:"spaceId"` + // ID of the worker pool WorkerPoolId string `pulumi:"workerPoolId"` } @@ -10090,10 +8966,15 @@ type GetWorkerPoolsWorkerPoolInput interface { } type GetWorkerPoolsWorkerPoolArgs struct { - Config pulumi.StringInput `pulumi:"config"` - Description pulumi.StringInput `pulumi:"description"` - Name pulumi.StringInput `pulumi:"name"` - SpaceId pulumi.StringInput `pulumi:"spaceId"` + // credentials necessary to connect WorkerPool's workers to the control plane + Config pulumi.StringInput `pulumi:"config"` + // description of the worker pool + Description pulumi.StringInput `pulumi:"description"` + // name of the worker pool + Name pulumi.StringInput `pulumi:"name"` + // ID (slug) of the space the worker pool is in + SpaceId pulumi.StringInput `pulumi:"spaceId"` + // ID of the worker pool WorkerPoolId pulumi.StringInput `pulumi:"workerPoolId"` } @@ -10109,12 +8990,6 @@ func (i GetWorkerPoolsWorkerPoolArgs) ToGetWorkerPoolsWorkerPoolOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(GetWorkerPoolsWorkerPoolOutput) } -func (i GetWorkerPoolsWorkerPoolArgs) ToOutput(ctx context.Context) pulumix.Output[GetWorkerPoolsWorkerPool] { - return pulumix.Output[GetWorkerPoolsWorkerPool]{ - OutputState: i.ToGetWorkerPoolsWorkerPoolOutputWithContext(ctx).OutputState, - } -} - // GetWorkerPoolsWorkerPoolArrayInput is an input type that accepts GetWorkerPoolsWorkerPoolArray and GetWorkerPoolsWorkerPoolArrayOutput values. // You can construct a concrete instance of `GetWorkerPoolsWorkerPoolArrayInput` via: // @@ -10140,12 +9015,6 @@ func (i GetWorkerPoolsWorkerPoolArray) ToGetWorkerPoolsWorkerPoolArrayOutputWith return pulumi.ToOutputWithContext(ctx, i).(GetWorkerPoolsWorkerPoolArrayOutput) } -func (i GetWorkerPoolsWorkerPoolArray) ToOutput(ctx context.Context) pulumix.Output[[]GetWorkerPoolsWorkerPool] { - return pulumix.Output[[]GetWorkerPoolsWorkerPool]{ - OutputState: i.ToGetWorkerPoolsWorkerPoolArrayOutputWithContext(ctx).OutputState, - } -} - type GetWorkerPoolsWorkerPoolOutput struct{ *pulumi.OutputState } func (GetWorkerPoolsWorkerPoolOutput) ElementType() reflect.Type { @@ -10160,28 +9029,27 @@ func (o GetWorkerPoolsWorkerPoolOutput) ToGetWorkerPoolsWorkerPoolOutputWithCont return o } -func (o GetWorkerPoolsWorkerPoolOutput) ToOutput(ctx context.Context) pulumix.Output[GetWorkerPoolsWorkerPool] { - return pulumix.Output[GetWorkerPoolsWorkerPool]{ - OutputState: o.OutputState, - } -} - +// credentials necessary to connect WorkerPool's workers to the control plane func (o GetWorkerPoolsWorkerPoolOutput) Config() pulumi.StringOutput { return o.ApplyT(func(v GetWorkerPoolsWorkerPool) string { return v.Config }).(pulumi.StringOutput) } +// description of the worker pool func (o GetWorkerPoolsWorkerPoolOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v GetWorkerPoolsWorkerPool) string { return v.Description }).(pulumi.StringOutput) } +// name of the worker pool func (o GetWorkerPoolsWorkerPoolOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v GetWorkerPoolsWorkerPool) string { return v.Name }).(pulumi.StringOutput) } +// ID (slug) of the space the worker pool is in func (o GetWorkerPoolsWorkerPoolOutput) SpaceId() pulumi.StringOutput { return o.ApplyT(func(v GetWorkerPoolsWorkerPool) string { return v.SpaceId }).(pulumi.StringOutput) } +// ID of the worker pool func (o GetWorkerPoolsWorkerPoolOutput) WorkerPoolId() pulumi.StringOutput { return o.ApplyT(func(v GetWorkerPoolsWorkerPool) string { return v.WorkerPoolId }).(pulumi.StringOutput) } @@ -10200,12 +9068,6 @@ func (o GetWorkerPoolsWorkerPoolArrayOutput) ToGetWorkerPoolsWorkerPoolArrayOutp return o } -func (o GetWorkerPoolsWorkerPoolArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetWorkerPoolsWorkerPool] { - return pulumix.Output[[]GetWorkerPoolsWorkerPool]{ - OutputState: o.OutputState, - } -} - func (o GetWorkerPoolsWorkerPoolArrayOutput) Index(i pulumi.IntInput) GetWorkerPoolsWorkerPoolOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetWorkerPoolsWorkerPool { return vs[0].([]GetWorkerPoolsWorkerPool)[vs[1].(int)] diff --git a/sdk/go/spacelift/run.go b/sdk/go/spacelift/run.go index e61b02f..6777593 100644 --- a/sdk/go/spacelift/run.go +++ b/sdk/go/spacelift/run.go @@ -9,7 +9,6 @@ import ( "errors" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" "github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift/internal" ) @@ -167,12 +166,6 @@ func (i *Run) ToRunOutputWithContext(ctx context.Context) RunOutput { return pulumi.ToOutputWithContext(ctx, i).(RunOutput) } -func (i *Run) ToOutput(ctx context.Context) pulumix.Output[*Run] { - return pulumix.Output[*Run]{ - OutputState: i.ToRunOutputWithContext(ctx).OutputState, - } -} - // RunArrayInput is an input type that accepts RunArray and RunArrayOutput values. // You can construct a concrete instance of `RunArrayInput` via: // @@ -198,12 +191,6 @@ func (i RunArray) ToRunArrayOutputWithContext(ctx context.Context) RunArrayOutpu return pulumi.ToOutputWithContext(ctx, i).(RunArrayOutput) } -func (i RunArray) ToOutput(ctx context.Context) pulumix.Output[[]*Run] { - return pulumix.Output[[]*Run]{ - OutputState: i.ToRunArrayOutputWithContext(ctx).OutputState, - } -} - // RunMapInput is an input type that accepts RunMap and RunMapOutput values. // You can construct a concrete instance of `RunMapInput` via: // @@ -229,12 +216,6 @@ func (i RunMap) ToRunMapOutputWithContext(ctx context.Context) RunMapOutput { return pulumi.ToOutputWithContext(ctx, i).(RunMapOutput) } -func (i RunMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*Run] { - return pulumix.Output[map[string]*Run]{ - OutputState: i.ToRunMapOutputWithContext(ctx).OutputState, - } -} - type RunOutput struct{ *pulumi.OutputState } func (RunOutput) ElementType() reflect.Type { @@ -249,12 +230,6 @@ func (o RunOutput) ToRunOutputWithContext(ctx context.Context) RunOutput { return o } -func (o RunOutput) ToOutput(ctx context.Context) pulumix.Output[*Run] { - return pulumix.Output[*Run]{ - OutputState: o.OutputState, - } -} - // The commit SHA for which to trigger a run. func (o RunOutput) CommitSha() pulumi.StringPtrOutput { return o.ApplyT(func(v *Run) pulumi.StringPtrOutput { return v.CommitSha }).(pulumi.StringPtrOutput) @@ -289,12 +264,6 @@ func (o RunArrayOutput) ToRunArrayOutputWithContext(ctx context.Context) RunArra return o } -func (o RunArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*Run] { - return pulumix.Output[[]*Run]{ - OutputState: o.OutputState, - } -} - func (o RunArrayOutput) Index(i pulumi.IntInput) RunOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *Run { return vs[0].([]*Run)[vs[1].(int)] @@ -315,12 +284,6 @@ func (o RunMapOutput) ToRunMapOutputWithContext(ctx context.Context) RunMapOutpu return o } -func (o RunMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*Run] { - return pulumix.Output[map[string]*Run]{ - OutputState: o.OutputState, - } -} - func (o RunMapOutput) MapIndex(k pulumi.StringInput) RunOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *Run { return vs[0].(map[string]*Run)[vs[1].(string)] diff --git a/sdk/go/spacelift/scheduledDeleteTask.go b/sdk/go/spacelift/scheduledDeleteTask.go index e74b769..6b4de99 100644 --- a/sdk/go/spacelift/scheduledDeleteTask.go +++ b/sdk/go/spacelift/scheduledDeleteTask.go @@ -9,7 +9,6 @@ import ( "errors" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" "github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift/internal" ) @@ -33,6 +32,7 @@ import ( // if err != nil { // return err // } +// // at a given timestamp (unix) // _, err = spacelift.NewScheduledDeleteTask(ctx, "k8s-core-delete", &spacelift.ScheduledDeleteTaskArgs{ // StackId: k8s_core.ID(), // At: pulumi.Int(1663336895), @@ -174,12 +174,6 @@ func (i *ScheduledDeleteTask) ToScheduledDeleteTaskOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(ScheduledDeleteTaskOutput) } -func (i *ScheduledDeleteTask) ToOutput(ctx context.Context) pulumix.Output[*ScheduledDeleteTask] { - return pulumix.Output[*ScheduledDeleteTask]{ - OutputState: i.ToScheduledDeleteTaskOutputWithContext(ctx).OutputState, - } -} - // ScheduledDeleteTaskArrayInput is an input type that accepts ScheduledDeleteTaskArray and ScheduledDeleteTaskArrayOutput values. // You can construct a concrete instance of `ScheduledDeleteTaskArrayInput` via: // @@ -205,12 +199,6 @@ func (i ScheduledDeleteTaskArray) ToScheduledDeleteTaskArrayOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(ScheduledDeleteTaskArrayOutput) } -func (i ScheduledDeleteTaskArray) ToOutput(ctx context.Context) pulumix.Output[[]*ScheduledDeleteTask] { - return pulumix.Output[[]*ScheduledDeleteTask]{ - OutputState: i.ToScheduledDeleteTaskArrayOutputWithContext(ctx).OutputState, - } -} - // ScheduledDeleteTaskMapInput is an input type that accepts ScheduledDeleteTaskMap and ScheduledDeleteTaskMapOutput values. // You can construct a concrete instance of `ScheduledDeleteTaskMapInput` via: // @@ -236,12 +224,6 @@ func (i ScheduledDeleteTaskMap) ToScheduledDeleteTaskMapOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(ScheduledDeleteTaskMapOutput) } -func (i ScheduledDeleteTaskMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*ScheduledDeleteTask] { - return pulumix.Output[map[string]*ScheduledDeleteTask]{ - OutputState: i.ToScheduledDeleteTaskMapOutputWithContext(ctx).OutputState, - } -} - type ScheduledDeleteTaskOutput struct{ *pulumi.OutputState } func (ScheduledDeleteTaskOutput) ElementType() reflect.Type { @@ -256,12 +238,6 @@ func (o ScheduledDeleteTaskOutput) ToScheduledDeleteTaskOutputWithContext(ctx co return o } -func (o ScheduledDeleteTaskOutput) ToOutput(ctx context.Context) pulumix.Output[*ScheduledDeleteTask] { - return pulumix.Output[*ScheduledDeleteTask]{ - OutputState: o.OutputState, - } -} - // Timestamp (unix timestamp) at which time the scheduling should happen. func (o ScheduledDeleteTaskOutput) At() pulumi.IntOutput { return o.ApplyT(func(v *ScheduledDeleteTask) pulumi.IntOutput { return v.At }).(pulumi.IntOutput) @@ -296,12 +272,6 @@ func (o ScheduledDeleteTaskArrayOutput) ToScheduledDeleteTaskArrayOutputWithCont return o } -func (o ScheduledDeleteTaskArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*ScheduledDeleteTask] { - return pulumix.Output[[]*ScheduledDeleteTask]{ - OutputState: o.OutputState, - } -} - func (o ScheduledDeleteTaskArrayOutput) Index(i pulumi.IntInput) ScheduledDeleteTaskOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *ScheduledDeleteTask { return vs[0].([]*ScheduledDeleteTask)[vs[1].(int)] @@ -322,12 +292,6 @@ func (o ScheduledDeleteTaskMapOutput) ToScheduledDeleteTaskMapOutputWithContext( return o } -func (o ScheduledDeleteTaskMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*ScheduledDeleteTask] { - return pulumix.Output[map[string]*ScheduledDeleteTask]{ - OutputState: o.OutputState, - } -} - func (o ScheduledDeleteTaskMapOutput) MapIndex(k pulumi.StringInput) ScheduledDeleteTaskOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *ScheduledDeleteTask { return vs[0].(map[string]*ScheduledDeleteTask)[vs[1].(string)] diff --git a/sdk/go/spacelift/scheduledTask.go b/sdk/go/spacelift/scheduledTask.go index 0f1f26a..73a926a 100644 --- a/sdk/go/spacelift/scheduledTask.go +++ b/sdk/go/spacelift/scheduledTask.go @@ -9,7 +9,6 @@ import ( "errors" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" "github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift/internal" ) @@ -33,6 +32,7 @@ import ( // if err != nil { // return err // } +// // create the resources of a stack on a given schedule // _, err = spacelift.NewScheduledTask(ctx, "k8s-core-create", &spacelift.ScheduledTaskArgs{ // StackId: k8s_core.ID(), // Command: pulumi.String("pulumi up -auto-approve"), @@ -44,6 +44,7 @@ import ( // if err != nil { // return err // } +// // destroy the resources of a stack on a given schedule // _, err = spacelift.NewScheduledTask(ctx, "k8s-core-destroyScheduledTask", &spacelift.ScheduledTaskArgs{ // StackId: k8s_core.ID(), // Command: pulumi.String("terraform destroy -auto-approve"), @@ -55,6 +56,7 @@ import ( // if err != nil { // return err // } +// // at a given timestamp (unix) // _, err = spacelift.NewScheduledTask(ctx, "k8s-core-destroyIndex/scheduledTaskScheduledTask", &spacelift.ScheduledTaskArgs{ // StackId: k8s_core.ID(), // Command: pulumi.String("terraform destroy -auto-approve"), @@ -216,12 +218,6 @@ func (i *ScheduledTask) ToScheduledTaskOutputWithContext(ctx context.Context) Sc return pulumi.ToOutputWithContext(ctx, i).(ScheduledTaskOutput) } -func (i *ScheduledTask) ToOutput(ctx context.Context) pulumix.Output[*ScheduledTask] { - return pulumix.Output[*ScheduledTask]{ - OutputState: i.ToScheduledTaskOutputWithContext(ctx).OutputState, - } -} - // ScheduledTaskArrayInput is an input type that accepts ScheduledTaskArray and ScheduledTaskArrayOutput values. // You can construct a concrete instance of `ScheduledTaskArrayInput` via: // @@ -247,12 +243,6 @@ func (i ScheduledTaskArray) ToScheduledTaskArrayOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(ScheduledTaskArrayOutput) } -func (i ScheduledTaskArray) ToOutput(ctx context.Context) pulumix.Output[[]*ScheduledTask] { - return pulumix.Output[[]*ScheduledTask]{ - OutputState: i.ToScheduledTaskArrayOutputWithContext(ctx).OutputState, - } -} - // ScheduledTaskMapInput is an input type that accepts ScheduledTaskMap and ScheduledTaskMapOutput values. // You can construct a concrete instance of `ScheduledTaskMapInput` via: // @@ -278,12 +268,6 @@ func (i ScheduledTaskMap) ToScheduledTaskMapOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(ScheduledTaskMapOutput) } -func (i ScheduledTaskMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*ScheduledTask] { - return pulumix.Output[map[string]*ScheduledTask]{ - OutputState: i.ToScheduledTaskMapOutputWithContext(ctx).OutputState, - } -} - type ScheduledTaskOutput struct{ *pulumi.OutputState } func (ScheduledTaskOutput) ElementType() reflect.Type { @@ -298,12 +282,6 @@ func (o ScheduledTaskOutput) ToScheduledTaskOutputWithContext(ctx context.Contex return o } -func (o ScheduledTaskOutput) ToOutput(ctx context.Context) pulumix.Output[*ScheduledTask] { - return pulumix.Output[*ScheduledTask]{ - OutputState: o.OutputState, - } -} - // Timestamp (unix timestamp) at which time the scheduled task should happen. func (o ScheduledTaskOutput) At() pulumi.IntPtrOutput { return o.ApplyT(func(v *ScheduledTask) pulumi.IntPtrOutput { return v.At }).(pulumi.IntPtrOutput) @@ -348,12 +326,6 @@ func (o ScheduledTaskArrayOutput) ToScheduledTaskArrayOutputWithContext(ctx cont return o } -func (o ScheduledTaskArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*ScheduledTask] { - return pulumix.Output[[]*ScheduledTask]{ - OutputState: o.OutputState, - } -} - func (o ScheduledTaskArrayOutput) Index(i pulumi.IntInput) ScheduledTaskOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *ScheduledTask { return vs[0].([]*ScheduledTask)[vs[1].(int)] @@ -374,12 +346,6 @@ func (o ScheduledTaskMapOutput) ToScheduledTaskMapOutputWithContext(ctx context. return o } -func (o ScheduledTaskMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*ScheduledTask] { - return pulumix.Output[map[string]*ScheduledTask]{ - OutputState: o.OutputState, - } -} - func (o ScheduledTaskMapOutput) MapIndex(k pulumi.StringInput) ScheduledTaskOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *ScheduledTask { return vs[0].(map[string]*ScheduledTask)[vs[1].(string)] diff --git a/sdk/go/spacelift/securityEmail.go b/sdk/go/spacelift/securityEmail.go index 1ba1d62..faa186d 100644 --- a/sdk/go/spacelift/securityEmail.go +++ b/sdk/go/spacelift/securityEmail.go @@ -9,7 +9,6 @@ import ( "errors" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" "github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift/internal" ) @@ -127,12 +126,6 @@ func (i *SecurityEmail) ToSecurityEmailOutputWithContext(ctx context.Context) Se return pulumi.ToOutputWithContext(ctx, i).(SecurityEmailOutput) } -func (i *SecurityEmail) ToOutput(ctx context.Context) pulumix.Output[*SecurityEmail] { - return pulumix.Output[*SecurityEmail]{ - OutputState: i.ToSecurityEmailOutputWithContext(ctx).OutputState, - } -} - // SecurityEmailArrayInput is an input type that accepts SecurityEmailArray and SecurityEmailArrayOutput values. // You can construct a concrete instance of `SecurityEmailArrayInput` via: // @@ -158,12 +151,6 @@ func (i SecurityEmailArray) ToSecurityEmailArrayOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(SecurityEmailArrayOutput) } -func (i SecurityEmailArray) ToOutput(ctx context.Context) pulumix.Output[[]*SecurityEmail] { - return pulumix.Output[[]*SecurityEmail]{ - OutputState: i.ToSecurityEmailArrayOutputWithContext(ctx).OutputState, - } -} - // SecurityEmailMapInput is an input type that accepts SecurityEmailMap and SecurityEmailMapOutput values. // You can construct a concrete instance of `SecurityEmailMapInput` via: // @@ -189,12 +176,6 @@ func (i SecurityEmailMap) ToSecurityEmailMapOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(SecurityEmailMapOutput) } -func (i SecurityEmailMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecurityEmail] { - return pulumix.Output[map[string]*SecurityEmail]{ - OutputState: i.ToSecurityEmailMapOutputWithContext(ctx).OutputState, - } -} - type SecurityEmailOutput struct{ *pulumi.OutputState } func (SecurityEmailOutput) ElementType() reflect.Type { @@ -209,12 +190,6 @@ func (o SecurityEmailOutput) ToSecurityEmailOutputWithContext(ctx context.Contex return o } -func (o SecurityEmailOutput) ToOutput(ctx context.Context) pulumix.Output[*SecurityEmail] { - return pulumix.Output[*SecurityEmail]{ - OutputState: o.OutputState, - } -} - // Email address to which the security notifications are sent func (o SecurityEmailOutput) Email() pulumi.StringOutput { return o.ApplyT(func(v *SecurityEmail) pulumi.StringOutput { return v.Email }).(pulumi.StringOutput) @@ -234,12 +209,6 @@ func (o SecurityEmailArrayOutput) ToSecurityEmailArrayOutputWithContext(ctx cont return o } -func (o SecurityEmailArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*SecurityEmail] { - return pulumix.Output[[]*SecurityEmail]{ - OutputState: o.OutputState, - } -} - func (o SecurityEmailArrayOutput) Index(i pulumi.IntInput) SecurityEmailOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *SecurityEmail { return vs[0].([]*SecurityEmail)[vs[1].(int)] @@ -260,12 +229,6 @@ func (o SecurityEmailMapOutput) ToSecurityEmailMapOutputWithContext(ctx context. return o } -func (o SecurityEmailMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecurityEmail] { - return pulumix.Output[map[string]*SecurityEmail]{ - OutputState: o.OutputState, - } -} - func (o SecurityEmailMapOutput) MapIndex(k pulumi.StringInput) SecurityEmailOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *SecurityEmail { return vs[0].(map[string]*SecurityEmail)[vs[1].(string)] diff --git a/sdk/go/spacelift/space.go b/sdk/go/spacelift/space.go index 72a7b06..1b41cde 100644 --- a/sdk/go/spacelift/space.go +++ b/sdk/go/spacelift/space.go @@ -8,7 +8,6 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" "github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift/internal" ) @@ -181,12 +180,6 @@ func (i *Space) ToSpaceOutputWithContext(ctx context.Context) SpaceOutput { return pulumi.ToOutputWithContext(ctx, i).(SpaceOutput) } -func (i *Space) ToOutput(ctx context.Context) pulumix.Output[*Space] { - return pulumix.Output[*Space]{ - OutputState: i.ToSpaceOutputWithContext(ctx).OutputState, - } -} - // SpaceArrayInput is an input type that accepts SpaceArray and SpaceArrayOutput values. // You can construct a concrete instance of `SpaceArrayInput` via: // @@ -212,12 +205,6 @@ func (i SpaceArray) ToSpaceArrayOutputWithContext(ctx context.Context) SpaceArra return pulumi.ToOutputWithContext(ctx, i).(SpaceArrayOutput) } -func (i SpaceArray) ToOutput(ctx context.Context) pulumix.Output[[]*Space] { - return pulumix.Output[[]*Space]{ - OutputState: i.ToSpaceArrayOutputWithContext(ctx).OutputState, - } -} - // SpaceMapInput is an input type that accepts SpaceMap and SpaceMapOutput values. // You can construct a concrete instance of `SpaceMapInput` via: // @@ -243,12 +230,6 @@ func (i SpaceMap) ToSpaceMapOutputWithContext(ctx context.Context) SpaceMapOutpu return pulumi.ToOutputWithContext(ctx, i).(SpaceMapOutput) } -func (i SpaceMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*Space] { - return pulumix.Output[map[string]*Space]{ - OutputState: i.ToSpaceMapOutputWithContext(ctx).OutputState, - } -} - type SpaceOutput struct{ *pulumi.OutputState } func (SpaceOutput) ElementType() reflect.Type { @@ -263,12 +244,6 @@ func (o SpaceOutput) ToSpaceOutputWithContext(ctx context.Context) SpaceOutput { return o } -func (o SpaceOutput) ToOutput(ctx context.Context) pulumix.Output[*Space] { - return pulumix.Output[*Space]{ - OutputState: o.OutputState, - } -} - // free-form space description for users func (o SpaceOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v *Space) pulumi.StringPtrOutput { return v.Description }).(pulumi.StringPtrOutput) @@ -308,12 +283,6 @@ func (o SpaceArrayOutput) ToSpaceArrayOutputWithContext(ctx context.Context) Spa return o } -func (o SpaceArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*Space] { - return pulumix.Output[[]*Space]{ - OutputState: o.OutputState, - } -} - func (o SpaceArrayOutput) Index(i pulumi.IntInput) SpaceOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *Space { return vs[0].([]*Space)[vs[1].(int)] @@ -334,12 +303,6 @@ func (o SpaceMapOutput) ToSpaceMapOutputWithContext(ctx context.Context) SpaceMa return o } -func (o SpaceMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*Space] { - return pulumix.Output[map[string]*Space]{ - OutputState: o.OutputState, - } -} - func (o SpaceMapOutput) MapIndex(k pulumi.StringInput) SpaceOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *Space { return vs[0].(map[string]*Space)[vs[1].(string)] diff --git a/sdk/go/spacelift/stack.go b/sdk/go/spacelift/stack.go index 16bb12e..b2e5ef0 100644 --- a/sdk/go/spacelift/stack.go +++ b/sdk/go/spacelift/stack.go @@ -9,7 +9,6 @@ import ( "errors" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" "github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift/internal" ) @@ -29,6 +28,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { +// // Terraform stack using Bitbucket Cloud as VCS // _, err := spacelift.NewStack(ctx, "k8s-cluster-bitbucket-cloud", &spacelift.StackArgs{ // Administrative: pulumi.Bool(true), // Autodeploy: pulumi.Bool(true), @@ -44,6 +44,7 @@ import ( // if err != nil { // return err // } +// // Terraform stack using Bitbucket Data Center as VCS // _, err = spacelift.NewStack(ctx, "k8s-cluster-bitbucket-datacenter", &spacelift.StackArgs{ // Administrative: pulumi.Bool(true), // Autodeploy: pulumi.Bool(true), @@ -59,6 +60,7 @@ import ( // if err != nil { // return err // } +// // Terraform stack using a GitHub Custom Application. See the following page for more info: https://docs.spacelift.io/integrations/source-control/github#setting-up-the-custom-application // _, err = spacelift.NewStack(ctx, "k8s-cluster-github-enterprise", &spacelift.StackArgs{ // Administrative: pulumi.Bool(true), // Autodeploy: pulumi.Bool(true), @@ -74,6 +76,7 @@ import ( // if err != nil { // return err // } +// // Terraform stack using GitLab as VCS // _, err = spacelift.NewStack(ctx, "k8s-cluster-gitlab", &spacelift.StackArgs{ // Administrative: pulumi.Bool(true), // Autodeploy: pulumi.Bool(true), @@ -89,6 +92,7 @@ import ( // if err != nil { // return err // } +// // Terraform stack using github.com as VCS and enabling external state access // _, err = spacelift.NewStack(ctx, "k8s-cluster", &spacelift.StackArgs{ // Administrative: pulumi.Bool(true), // Autodeploy: pulumi.Bool(true), @@ -102,6 +106,7 @@ import ( // if err != nil { // return err // } +// // CloudFormation stack using github.com as VCS // _, err = spacelift.NewStack(ctx, "k8s-cluster-cloudformation", &spacelift.StackArgs{ // Autodeploy: pulumi.Bool(true), // Branch: pulumi.String("master"), @@ -118,6 +123,7 @@ import ( // if err != nil { // return err // } +// // Pulumi stack using github.com as VCS // _, err = spacelift.NewStack(ctx, "k8s-cluster-pulumi", &spacelift.StackArgs{ // Autodeploy: pulumi.Bool(true), // Branch: pulumi.String("master"), @@ -133,6 +139,7 @@ import ( // if err != nil { // return err // } +// // Kubernetes stack using github.com as VCS // _, err = spacelift.NewStack(ctx, "k8s-core-kubernetes", &spacelift.StackArgs{ // Autodeploy: pulumi.Bool(true), // BeforeInits: pulumi.StringArray{ @@ -150,6 +157,7 @@ import ( // if err != nil { // return err // } +// // Ansible stack using github.com as VCS // _, err = spacelift.NewStack(ctx, "ansible-stack", &spacelift.StackArgs{ // Ansible: &spacelift.StackAnsibleArgs{ // Playbook: pulumi.String("main.yml"), @@ -749,12 +757,6 @@ func (i *Stack) ToStackOutputWithContext(ctx context.Context) StackOutput { return pulumi.ToOutputWithContext(ctx, i).(StackOutput) } -func (i *Stack) ToOutput(ctx context.Context) pulumix.Output[*Stack] { - return pulumix.Output[*Stack]{ - OutputState: i.ToStackOutputWithContext(ctx).OutputState, - } -} - // StackArrayInput is an input type that accepts StackArray and StackArrayOutput values. // You can construct a concrete instance of `StackArrayInput` via: // @@ -780,12 +782,6 @@ func (i StackArray) ToStackArrayOutputWithContext(ctx context.Context) StackArra return pulumi.ToOutputWithContext(ctx, i).(StackArrayOutput) } -func (i StackArray) ToOutput(ctx context.Context) pulumix.Output[[]*Stack] { - return pulumix.Output[[]*Stack]{ - OutputState: i.ToStackArrayOutputWithContext(ctx).OutputState, - } -} - // StackMapInput is an input type that accepts StackMap and StackMapOutput values. // You can construct a concrete instance of `StackMapInput` via: // @@ -811,12 +807,6 @@ func (i StackMap) ToStackMapOutputWithContext(ctx context.Context) StackMapOutpu return pulumi.ToOutputWithContext(ctx, i).(StackMapOutput) } -func (i StackMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*Stack] { - return pulumix.Output[map[string]*Stack]{ - OutputState: i.ToStackMapOutputWithContext(ctx).OutputState, - } -} - type StackOutput struct{ *pulumi.OutputState } func (StackOutput) ElementType() reflect.Type { @@ -831,12 +821,6 @@ func (o StackOutput) ToStackOutputWithContext(ctx context.Context) StackOutput { return o } -func (o StackOutput) ToOutput(ctx context.Context) pulumix.Output[*Stack] { - return pulumix.Output[*Stack]{ - OutputState: o.OutputState, - } -} - // Project globs is an optional list of paths to track changes of in addition to the project root. func (o StackOutput) AdditionalProjectGlobs() pulumi.StringArrayOutput { return o.ApplyT(func(v *Stack) pulumi.StringArrayOutput { return v.AdditionalProjectGlobs }).(pulumi.StringArrayOutput) @@ -1096,12 +1080,6 @@ func (o StackArrayOutput) ToStackArrayOutputWithContext(ctx context.Context) Sta return o } -func (o StackArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*Stack] { - return pulumix.Output[[]*Stack]{ - OutputState: o.OutputState, - } -} - func (o StackArrayOutput) Index(i pulumi.IntInput) StackOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *Stack { return vs[0].([]*Stack)[vs[1].(int)] @@ -1122,12 +1100,6 @@ func (o StackMapOutput) ToStackMapOutputWithContext(ctx context.Context) StackMa return o } -func (o StackMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*Stack] { - return pulumix.Output[map[string]*Stack]{ - OutputState: o.OutputState, - } -} - func (o StackMapOutput) MapIndex(k pulumi.StringInput) StackOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *Stack { return vs[0].(map[string]*Stack)[vs[1].(string)] diff --git a/sdk/go/spacelift/stackActivator.go b/sdk/go/spacelift/stackActivator.go index afa49f1..6f29ab0 100644 --- a/sdk/go/spacelift/stackActivator.go +++ b/sdk/go/spacelift/stackActivator.go @@ -9,7 +9,6 @@ import ( "errors" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" "github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift/internal" ) @@ -148,12 +147,6 @@ func (i *StackActivator) ToStackActivatorOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(StackActivatorOutput) } -func (i *StackActivator) ToOutput(ctx context.Context) pulumix.Output[*StackActivator] { - return pulumix.Output[*StackActivator]{ - OutputState: i.ToStackActivatorOutputWithContext(ctx).OutputState, - } -} - // StackActivatorArrayInput is an input type that accepts StackActivatorArray and StackActivatorArrayOutput values. // You can construct a concrete instance of `StackActivatorArrayInput` via: // @@ -179,12 +172,6 @@ func (i StackActivatorArray) ToStackActivatorArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(StackActivatorArrayOutput) } -func (i StackActivatorArray) ToOutput(ctx context.Context) pulumix.Output[[]*StackActivator] { - return pulumix.Output[[]*StackActivator]{ - OutputState: i.ToStackActivatorArrayOutputWithContext(ctx).OutputState, - } -} - // StackActivatorMapInput is an input type that accepts StackActivatorMap and StackActivatorMapOutput values. // You can construct a concrete instance of `StackActivatorMapInput` via: // @@ -210,12 +197,6 @@ func (i StackActivatorMap) ToStackActivatorMapOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(StackActivatorMapOutput) } -func (i StackActivatorMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*StackActivator] { - return pulumix.Output[map[string]*StackActivator]{ - OutputState: i.ToStackActivatorMapOutputWithContext(ctx).OutputState, - } -} - type StackActivatorOutput struct{ *pulumi.OutputState } func (StackActivatorOutput) ElementType() reflect.Type { @@ -230,12 +211,6 @@ func (o StackActivatorOutput) ToStackActivatorOutputWithContext(ctx context.Cont return o } -func (o StackActivatorOutput) ToOutput(ctx context.Context) pulumix.Output[*StackActivator] { - return pulumix.Output[*StackActivator]{ - OutputState: o.OutputState, - } -} - // Enable/disable stack func (o StackActivatorOutput) Enabled() pulumi.BoolOutput { return o.ApplyT(func(v *StackActivator) pulumi.BoolOutput { return v.Enabled }).(pulumi.BoolOutput) @@ -260,12 +235,6 @@ func (o StackActivatorArrayOutput) ToStackActivatorArrayOutputWithContext(ctx co return o } -func (o StackActivatorArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*StackActivator] { - return pulumix.Output[[]*StackActivator]{ - OutputState: o.OutputState, - } -} - func (o StackActivatorArrayOutput) Index(i pulumi.IntInput) StackActivatorOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *StackActivator { return vs[0].([]*StackActivator)[vs[1].(int)] @@ -286,12 +255,6 @@ func (o StackActivatorMapOutput) ToStackActivatorMapOutputWithContext(ctx contex return o } -func (o StackActivatorMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*StackActivator] { - return pulumix.Output[map[string]*StackActivator]{ - OutputState: o.OutputState, - } -} - func (o StackActivatorMapOutput) MapIndex(k pulumi.StringInput) StackActivatorOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *StackActivator { return vs[0].(map[string]*StackActivator)[vs[1].(string)] diff --git a/sdk/go/spacelift/stackAwsRole.go b/sdk/go/spacelift/stackAwsRole.go index 34eff42..08648b0 100644 --- a/sdk/go/spacelift/stackAwsRole.go +++ b/sdk/go/spacelift/stackAwsRole.go @@ -9,7 +9,6 @@ import ( "errors" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" "github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift/internal" ) @@ -159,12 +158,6 @@ func (i *StackAwsRole) ToStackAwsRoleOutputWithContext(ctx context.Context) Stac return pulumi.ToOutputWithContext(ctx, i).(StackAwsRoleOutput) } -func (i *StackAwsRole) ToOutput(ctx context.Context) pulumix.Output[*StackAwsRole] { - return pulumix.Output[*StackAwsRole]{ - OutputState: i.ToStackAwsRoleOutputWithContext(ctx).OutputState, - } -} - // StackAwsRoleArrayInput is an input type that accepts StackAwsRoleArray and StackAwsRoleArrayOutput values. // You can construct a concrete instance of `StackAwsRoleArrayInput` via: // @@ -190,12 +183,6 @@ func (i StackAwsRoleArray) ToStackAwsRoleArrayOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(StackAwsRoleArrayOutput) } -func (i StackAwsRoleArray) ToOutput(ctx context.Context) pulumix.Output[[]*StackAwsRole] { - return pulumix.Output[[]*StackAwsRole]{ - OutputState: i.ToStackAwsRoleArrayOutputWithContext(ctx).OutputState, - } -} - // StackAwsRoleMapInput is an input type that accepts StackAwsRoleMap and StackAwsRoleMapOutput values. // You can construct a concrete instance of `StackAwsRoleMapInput` via: // @@ -221,12 +208,6 @@ func (i StackAwsRoleMap) ToStackAwsRoleMapOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(StackAwsRoleMapOutput) } -func (i StackAwsRoleMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*StackAwsRole] { - return pulumix.Output[map[string]*StackAwsRole]{ - OutputState: i.ToStackAwsRoleMapOutputWithContext(ctx).OutputState, - } -} - type StackAwsRoleOutput struct{ *pulumi.OutputState } func (StackAwsRoleOutput) ElementType() reflect.Type { @@ -241,12 +222,6 @@ func (o StackAwsRoleOutput) ToStackAwsRoleOutputWithContext(ctx context.Context) return o } -func (o StackAwsRoleOutput) ToOutput(ctx context.Context) pulumix.Output[*StackAwsRole] { - return pulumix.Output[*StackAwsRole]{ - OutputState: o.OutputState, - } -} - // AWS IAM role session duration in seconds func (o StackAwsRoleOutput) DurationSeconds() pulumi.IntOutput { return o.ApplyT(func(v *StackAwsRole) pulumi.IntOutput { return v.DurationSeconds }).(pulumi.IntOutput) @@ -291,12 +266,6 @@ func (o StackAwsRoleArrayOutput) ToStackAwsRoleArrayOutputWithContext(ctx contex return o } -func (o StackAwsRoleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*StackAwsRole] { - return pulumix.Output[[]*StackAwsRole]{ - OutputState: o.OutputState, - } -} - func (o StackAwsRoleArrayOutput) Index(i pulumi.IntInput) StackAwsRoleOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *StackAwsRole { return vs[0].([]*StackAwsRole)[vs[1].(int)] @@ -317,12 +286,6 @@ func (o StackAwsRoleMapOutput) ToStackAwsRoleMapOutputWithContext(ctx context.Co return o } -func (o StackAwsRoleMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*StackAwsRole] { - return pulumix.Output[map[string]*StackAwsRole]{ - OutputState: o.OutputState, - } -} - func (o StackAwsRoleMapOutput) MapIndex(k pulumi.StringInput) StackAwsRoleOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *StackAwsRole { return vs[0].(map[string]*StackAwsRole)[vs[1].(string)] diff --git a/sdk/go/spacelift/stackDependency.go b/sdk/go/spacelift/stackDependency.go index 91709c8..260404e 100644 --- a/sdk/go/spacelift/stackDependency.go +++ b/sdk/go/spacelift/stackDependency.go @@ -9,7 +9,6 @@ import ( "errors" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" "github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift/internal" ) @@ -155,12 +154,6 @@ func (i *StackDependency) ToStackDependencyOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(StackDependencyOutput) } -func (i *StackDependency) ToOutput(ctx context.Context) pulumix.Output[*StackDependency] { - return pulumix.Output[*StackDependency]{ - OutputState: i.ToStackDependencyOutputWithContext(ctx).OutputState, - } -} - // StackDependencyArrayInput is an input type that accepts StackDependencyArray and StackDependencyArrayOutput values. // You can construct a concrete instance of `StackDependencyArrayInput` via: // @@ -186,12 +179,6 @@ func (i StackDependencyArray) ToStackDependencyArrayOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(StackDependencyArrayOutput) } -func (i StackDependencyArray) ToOutput(ctx context.Context) pulumix.Output[[]*StackDependency] { - return pulumix.Output[[]*StackDependency]{ - OutputState: i.ToStackDependencyArrayOutputWithContext(ctx).OutputState, - } -} - // StackDependencyMapInput is an input type that accepts StackDependencyMap and StackDependencyMapOutput values. // You can construct a concrete instance of `StackDependencyMapInput` via: // @@ -217,12 +204,6 @@ func (i StackDependencyMap) ToStackDependencyMapOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(StackDependencyMapOutput) } -func (i StackDependencyMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*StackDependency] { - return pulumix.Output[map[string]*StackDependency]{ - OutputState: i.ToStackDependencyMapOutputWithContext(ctx).OutputState, - } -} - type StackDependencyOutput struct{ *pulumi.OutputState } func (StackDependencyOutput) ElementType() reflect.Type { @@ -237,12 +218,6 @@ func (o StackDependencyOutput) ToStackDependencyOutputWithContext(ctx context.Co return o } -func (o StackDependencyOutput) ToOutput(ctx context.Context) pulumix.Output[*StackDependency] { - return pulumix.Output[*StackDependency]{ - OutputState: o.OutputState, - } -} - // immutable ID (slug) of stack to depend on. func (o StackDependencyOutput) DependsOnStackId() pulumi.StringOutput { return o.ApplyT(func(v *StackDependency) pulumi.StringOutput { return v.DependsOnStackId }).(pulumi.StringOutput) @@ -267,12 +242,6 @@ func (o StackDependencyArrayOutput) ToStackDependencyArrayOutputWithContext(ctx return o } -func (o StackDependencyArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*StackDependency] { - return pulumix.Output[[]*StackDependency]{ - OutputState: o.OutputState, - } -} - func (o StackDependencyArrayOutput) Index(i pulumi.IntInput) StackDependencyOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *StackDependency { return vs[0].([]*StackDependency)[vs[1].(int)] @@ -293,12 +262,6 @@ func (o StackDependencyMapOutput) ToStackDependencyMapOutputWithContext(ctx cont return o } -func (o StackDependencyMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*StackDependency] { - return pulumix.Output[map[string]*StackDependency]{ - OutputState: o.OutputState, - } -} - func (o StackDependencyMapOutput) MapIndex(k pulumi.StringInput) StackDependencyOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *StackDependency { return vs[0].(map[string]*StackDependency)[vs[1].(string)] diff --git a/sdk/go/spacelift/stackDependencyReference.go b/sdk/go/spacelift/stackDependencyReference.go index a4b08b3..da95eff 100644 --- a/sdk/go/spacelift/stackDependencyReference.go +++ b/sdk/go/spacelift/stackDependencyReference.go @@ -9,7 +9,6 @@ import ( "errors" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" "github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift/internal" ) @@ -176,12 +175,6 @@ func (i *StackDependencyReference) ToStackDependencyReferenceOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(StackDependencyReferenceOutput) } -func (i *StackDependencyReference) ToOutput(ctx context.Context) pulumix.Output[*StackDependencyReference] { - return pulumix.Output[*StackDependencyReference]{ - OutputState: i.ToStackDependencyReferenceOutputWithContext(ctx).OutputState, - } -} - // StackDependencyReferenceArrayInput is an input type that accepts StackDependencyReferenceArray and StackDependencyReferenceArrayOutput values. // You can construct a concrete instance of `StackDependencyReferenceArrayInput` via: // @@ -207,12 +200,6 @@ func (i StackDependencyReferenceArray) ToStackDependencyReferenceArrayOutputWith return pulumi.ToOutputWithContext(ctx, i).(StackDependencyReferenceArrayOutput) } -func (i StackDependencyReferenceArray) ToOutput(ctx context.Context) pulumix.Output[[]*StackDependencyReference] { - return pulumix.Output[[]*StackDependencyReference]{ - OutputState: i.ToStackDependencyReferenceArrayOutputWithContext(ctx).OutputState, - } -} - // StackDependencyReferenceMapInput is an input type that accepts StackDependencyReferenceMap and StackDependencyReferenceMapOutput values. // You can construct a concrete instance of `StackDependencyReferenceMapInput` via: // @@ -238,12 +225,6 @@ func (i StackDependencyReferenceMap) ToStackDependencyReferenceMapOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(StackDependencyReferenceMapOutput) } -func (i StackDependencyReferenceMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*StackDependencyReference] { - return pulumix.Output[map[string]*StackDependencyReference]{ - OutputState: i.ToStackDependencyReferenceMapOutputWithContext(ctx).OutputState, - } -} - type StackDependencyReferenceOutput struct{ *pulumi.OutputState } func (StackDependencyReferenceOutput) ElementType() reflect.Type { @@ -258,12 +239,6 @@ func (o StackDependencyReferenceOutput) ToStackDependencyReferenceOutputWithCont return o } -func (o StackDependencyReferenceOutput) ToOutput(ctx context.Context) pulumix.Output[*StackDependencyReference] { - return pulumix.Output[*StackDependencyReference]{ - OutputState: o.OutputState, - } -} - // Name of the input of the stack dependency reference func (o StackDependencyReferenceOutput) InputName() pulumi.StringOutput { return o.ApplyT(func(v *StackDependencyReference) pulumi.StringOutput { return v.InputName }).(pulumi.StringOutput) @@ -293,12 +268,6 @@ func (o StackDependencyReferenceArrayOutput) ToStackDependencyReferenceArrayOutp return o } -func (o StackDependencyReferenceArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*StackDependencyReference] { - return pulumix.Output[[]*StackDependencyReference]{ - OutputState: o.OutputState, - } -} - func (o StackDependencyReferenceArrayOutput) Index(i pulumi.IntInput) StackDependencyReferenceOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *StackDependencyReference { return vs[0].([]*StackDependencyReference)[vs[1].(int)] @@ -319,12 +288,6 @@ func (o StackDependencyReferenceMapOutput) ToStackDependencyReferenceMapOutputWi return o } -func (o StackDependencyReferenceMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*StackDependencyReference] { - return pulumix.Output[map[string]*StackDependencyReference]{ - OutputState: o.OutputState, - } -} - func (o StackDependencyReferenceMapOutput) MapIndex(k pulumi.StringInput) StackDependencyReferenceOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *StackDependencyReference { return vs[0].(map[string]*StackDependencyReference)[vs[1].(string)] diff --git a/sdk/go/spacelift/stackDestructor.go b/sdk/go/spacelift/stackDestructor.go index 553476b..6f65c10 100644 --- a/sdk/go/spacelift/stackDestructor.go +++ b/sdk/go/spacelift/stackDestructor.go @@ -9,7 +9,6 @@ import ( "errors" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" "github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift/internal" ) @@ -147,12 +146,6 @@ func (i *StackDestructor) ToStackDestructorOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(StackDestructorOutput) } -func (i *StackDestructor) ToOutput(ctx context.Context) pulumix.Output[*StackDestructor] { - return pulumix.Output[*StackDestructor]{ - OutputState: i.ToStackDestructorOutputWithContext(ctx).OutputState, - } -} - // StackDestructorArrayInput is an input type that accepts StackDestructorArray and StackDestructorArrayOutput values. // You can construct a concrete instance of `StackDestructorArrayInput` via: // @@ -178,12 +171,6 @@ func (i StackDestructorArray) ToStackDestructorArrayOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(StackDestructorArrayOutput) } -func (i StackDestructorArray) ToOutput(ctx context.Context) pulumix.Output[[]*StackDestructor] { - return pulumix.Output[[]*StackDestructor]{ - OutputState: i.ToStackDestructorArrayOutputWithContext(ctx).OutputState, - } -} - // StackDestructorMapInput is an input type that accepts StackDestructorMap and StackDestructorMapOutput values. // You can construct a concrete instance of `StackDestructorMapInput` via: // @@ -209,12 +196,6 @@ func (i StackDestructorMap) ToStackDestructorMapOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(StackDestructorMapOutput) } -func (i StackDestructorMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*StackDestructor] { - return pulumix.Output[map[string]*StackDestructor]{ - OutputState: i.ToStackDestructorMapOutputWithContext(ctx).OutputState, - } -} - type StackDestructorOutput struct{ *pulumi.OutputState } func (StackDestructorOutput) ElementType() reflect.Type { @@ -229,12 +210,6 @@ func (o StackDestructorOutput) ToStackDestructorOutputWithContext(ctx context.Co return o } -func (o StackDestructorOutput) ToOutput(ctx context.Context) pulumix.Output[*StackDestructor] { - return pulumix.Output[*StackDestructor]{ - OutputState: o.OutputState, - } -} - // If set to true, destruction won't delete the stack func (o StackDestructorOutput) Deactivated() pulumi.BoolPtrOutput { return o.ApplyT(func(v *StackDestructor) pulumi.BoolPtrOutput { return v.Deactivated }).(pulumi.BoolPtrOutput) @@ -259,12 +234,6 @@ func (o StackDestructorArrayOutput) ToStackDestructorArrayOutputWithContext(ctx return o } -func (o StackDestructorArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*StackDestructor] { - return pulumix.Output[[]*StackDestructor]{ - OutputState: o.OutputState, - } -} - func (o StackDestructorArrayOutput) Index(i pulumi.IntInput) StackDestructorOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *StackDestructor { return vs[0].([]*StackDestructor)[vs[1].(int)] @@ -285,12 +254,6 @@ func (o StackDestructorMapOutput) ToStackDestructorMapOutputWithContext(ctx cont return o } -func (o StackDestructorMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*StackDestructor] { - return pulumix.Output[map[string]*StackDestructor]{ - OutputState: o.OutputState, - } -} - func (o StackDestructorMapOutput) MapIndex(k pulumi.StringInput) StackDestructorOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *StackDestructor { return vs[0].(map[string]*StackDestructor)[vs[1].(string)] diff --git a/sdk/go/spacelift/stackGcpServiceAccount.go b/sdk/go/spacelift/stackGcpServiceAccount.go index ee3a861..66682ef 100644 --- a/sdk/go/spacelift/stackGcpServiceAccount.go +++ b/sdk/go/spacelift/stackGcpServiceAccount.go @@ -9,7 +9,6 @@ import ( "errors" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" "github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift/internal" ) @@ -184,12 +183,6 @@ func (i *StackGcpServiceAccount) ToStackGcpServiceAccountOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(StackGcpServiceAccountOutput) } -func (i *StackGcpServiceAccount) ToOutput(ctx context.Context) pulumix.Output[*StackGcpServiceAccount] { - return pulumix.Output[*StackGcpServiceAccount]{ - OutputState: i.ToStackGcpServiceAccountOutputWithContext(ctx).OutputState, - } -} - // StackGcpServiceAccountArrayInput is an input type that accepts StackGcpServiceAccountArray and StackGcpServiceAccountArrayOutput values. // You can construct a concrete instance of `StackGcpServiceAccountArrayInput` via: // @@ -215,12 +208,6 @@ func (i StackGcpServiceAccountArray) ToStackGcpServiceAccountArrayOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(StackGcpServiceAccountArrayOutput) } -func (i StackGcpServiceAccountArray) ToOutput(ctx context.Context) pulumix.Output[[]*StackGcpServiceAccount] { - return pulumix.Output[[]*StackGcpServiceAccount]{ - OutputState: i.ToStackGcpServiceAccountArrayOutputWithContext(ctx).OutputState, - } -} - // StackGcpServiceAccountMapInput is an input type that accepts StackGcpServiceAccountMap and StackGcpServiceAccountMapOutput values. // You can construct a concrete instance of `StackGcpServiceAccountMapInput` via: // @@ -246,12 +233,6 @@ func (i StackGcpServiceAccountMap) ToStackGcpServiceAccountMapOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(StackGcpServiceAccountMapOutput) } -func (i StackGcpServiceAccountMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*StackGcpServiceAccount] { - return pulumix.Output[map[string]*StackGcpServiceAccount]{ - OutputState: i.ToStackGcpServiceAccountMapOutputWithContext(ctx).OutputState, - } -} - type StackGcpServiceAccountOutput struct{ *pulumi.OutputState } func (StackGcpServiceAccountOutput) ElementType() reflect.Type { @@ -266,12 +247,6 @@ func (o StackGcpServiceAccountOutput) ToStackGcpServiceAccountOutputWithContext( return o } -func (o StackGcpServiceAccountOutput) ToOutput(ctx context.Context) pulumix.Output[*StackGcpServiceAccount] { - return pulumix.Output[*StackGcpServiceAccount]{ - OutputState: o.OutputState, - } -} - // ID of the module which uses GCP service account credentials func (o StackGcpServiceAccountOutput) ModuleId() pulumi.StringPtrOutput { return o.ApplyT(func(v *StackGcpServiceAccount) pulumi.StringPtrOutput { return v.ModuleId }).(pulumi.StringPtrOutput) @@ -306,12 +281,6 @@ func (o StackGcpServiceAccountArrayOutput) ToStackGcpServiceAccountArrayOutputWi return o } -func (o StackGcpServiceAccountArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*StackGcpServiceAccount] { - return pulumix.Output[[]*StackGcpServiceAccount]{ - OutputState: o.OutputState, - } -} - func (o StackGcpServiceAccountArrayOutput) Index(i pulumi.IntInput) StackGcpServiceAccountOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *StackGcpServiceAccount { return vs[0].([]*StackGcpServiceAccount)[vs[1].(int)] @@ -332,12 +301,6 @@ func (o StackGcpServiceAccountMapOutput) ToStackGcpServiceAccountMapOutputWithCo return o } -func (o StackGcpServiceAccountMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*StackGcpServiceAccount] { - return pulumix.Output[map[string]*StackGcpServiceAccount]{ - OutputState: o.OutputState, - } -} - func (o StackGcpServiceAccountMapOutput) MapIndex(k pulumi.StringInput) StackGcpServiceAccountOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *StackGcpServiceAccount { return vs[0].(map[string]*StackGcpServiceAccount)[vs[1].(string)] diff --git a/sdk/go/spacelift/terraformProvider.go b/sdk/go/spacelift/terraformProvider.go index 18bfbb5..aba7f03 100644 --- a/sdk/go/spacelift/terraformProvider.go +++ b/sdk/go/spacelift/terraformProvider.go @@ -9,7 +9,6 @@ import ( "errors" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" "github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift/internal" ) @@ -169,12 +168,6 @@ func (i *TerraformProvider) ToTerraformProviderOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(TerraformProviderOutput) } -func (i *TerraformProvider) ToOutput(ctx context.Context) pulumix.Output[*TerraformProvider] { - return pulumix.Output[*TerraformProvider]{ - OutputState: i.ToTerraformProviderOutputWithContext(ctx).OutputState, - } -} - // TerraformProviderArrayInput is an input type that accepts TerraformProviderArray and TerraformProviderArrayOutput values. // You can construct a concrete instance of `TerraformProviderArrayInput` via: // @@ -200,12 +193,6 @@ func (i TerraformProviderArray) ToTerraformProviderArrayOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(TerraformProviderArrayOutput) } -func (i TerraformProviderArray) ToOutput(ctx context.Context) pulumix.Output[[]*TerraformProvider] { - return pulumix.Output[[]*TerraformProvider]{ - OutputState: i.ToTerraformProviderArrayOutputWithContext(ctx).OutputState, - } -} - // TerraformProviderMapInput is an input type that accepts TerraformProviderMap and TerraformProviderMapOutput values. // You can construct a concrete instance of `TerraformProviderMapInput` via: // @@ -231,12 +218,6 @@ func (i TerraformProviderMap) ToTerraformProviderMapOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(TerraformProviderMapOutput) } -func (i TerraformProviderMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*TerraformProvider] { - return pulumix.Output[map[string]*TerraformProvider]{ - OutputState: i.ToTerraformProviderMapOutputWithContext(ctx).OutputState, - } -} - type TerraformProviderOutput struct{ *pulumi.OutputState } func (TerraformProviderOutput) ElementType() reflect.Type { @@ -251,12 +232,6 @@ func (o TerraformProviderOutput) ToTerraformProviderOutputWithContext(ctx contex return o } -func (o TerraformProviderOutput) ToOutput(ctx context.Context) pulumix.Output[*TerraformProvider] { - return pulumix.Output[*TerraformProvider]{ - OutputState: o.OutputState, - } -} - // Free-form description for human users, supports Markdown func (o TerraformProviderOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v *TerraformProvider) pulumi.StringPtrOutput { return v.Description }).(pulumi.StringPtrOutput) @@ -295,12 +270,6 @@ func (o TerraformProviderArrayOutput) ToTerraformProviderArrayOutputWithContext( return o } -func (o TerraformProviderArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*TerraformProvider] { - return pulumix.Output[[]*TerraformProvider]{ - OutputState: o.OutputState, - } -} - func (o TerraformProviderArrayOutput) Index(i pulumi.IntInput) TerraformProviderOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *TerraformProvider { return vs[0].([]*TerraformProvider)[vs[1].(int)] @@ -321,12 +290,6 @@ func (o TerraformProviderMapOutput) ToTerraformProviderMapOutputWithContext(ctx return o } -func (o TerraformProviderMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*TerraformProvider] { - return pulumix.Output[map[string]*TerraformProvider]{ - OutputState: o.OutputState, - } -} - func (o TerraformProviderMapOutput) MapIndex(k pulumi.StringInput) TerraformProviderOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *TerraformProvider { return vs[0].(map[string]*TerraformProvider)[vs[1].(string)] diff --git a/sdk/go/spacelift/user.go b/sdk/go/spacelift/user.go index 6ddaa3c..c0c1c6e 100644 --- a/sdk/go/spacelift/user.go +++ b/sdk/go/spacelift/user.go @@ -9,7 +9,6 @@ import ( "errors" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" "github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift/internal" ) @@ -122,12 +121,6 @@ func (i *User) ToUserOutputWithContext(ctx context.Context) UserOutput { return pulumi.ToOutputWithContext(ctx, i).(UserOutput) } -func (i *User) ToOutput(ctx context.Context) pulumix.Output[*User] { - return pulumix.Output[*User]{ - OutputState: i.ToUserOutputWithContext(ctx).OutputState, - } -} - // UserArrayInput is an input type that accepts UserArray and UserArrayOutput values. // You can construct a concrete instance of `UserArrayInput` via: // @@ -153,12 +146,6 @@ func (i UserArray) ToUserArrayOutputWithContext(ctx context.Context) UserArrayOu return pulumi.ToOutputWithContext(ctx, i).(UserArrayOutput) } -func (i UserArray) ToOutput(ctx context.Context) pulumix.Output[[]*User] { - return pulumix.Output[[]*User]{ - OutputState: i.ToUserArrayOutputWithContext(ctx).OutputState, - } -} - // UserMapInput is an input type that accepts UserMap and UserMapOutput values. // You can construct a concrete instance of `UserMapInput` via: // @@ -184,12 +171,6 @@ func (i UserMap) ToUserMapOutputWithContext(ctx context.Context) UserMapOutput { return pulumi.ToOutputWithContext(ctx, i).(UserMapOutput) } -func (i UserMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*User] { - return pulumix.Output[map[string]*User]{ - OutputState: i.ToUserMapOutputWithContext(ctx).OutputState, - } -} - type UserOutput struct{ *pulumi.OutputState } func (UserOutput) ElementType() reflect.Type { @@ -204,12 +185,6 @@ func (o UserOutput) ToUserOutputWithContext(ctx context.Context) UserOutput { return o } -func (o UserOutput) ToOutput(ctx context.Context) pulumix.Output[*User] { - return pulumix.Output[*User]{ - OutputState: o.OutputState, - } -} - // Email of the user. Used for sending an invitation. func (o UserOutput) InvitationEmail() pulumi.StringOutput { return o.ApplyT(func(v *User) pulumi.StringOutput { return v.InvitationEmail }).(pulumi.StringOutput) @@ -238,12 +213,6 @@ func (o UserArrayOutput) ToUserArrayOutputWithContext(ctx context.Context) UserA return o } -func (o UserArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*User] { - return pulumix.Output[[]*User]{ - OutputState: o.OutputState, - } -} - func (o UserArrayOutput) Index(i pulumi.IntInput) UserOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *User { return vs[0].([]*User)[vs[1].(int)] @@ -264,12 +233,6 @@ func (o UserMapOutput) ToUserMapOutputWithContext(ctx context.Context) UserMapOu return o } -func (o UserMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*User] { - return pulumix.Output[map[string]*User]{ - OutputState: o.OutputState, - } -} - func (o UserMapOutput) MapIndex(k pulumi.StringInput) UserOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *User { return vs[0].(map[string]*User)[vs[1].(string)] diff --git a/sdk/go/spacelift/vcsAgentPool.go b/sdk/go/spacelift/vcsAgentPool.go index dc4cc9a..ec614ab 100644 --- a/sdk/go/spacelift/vcsAgentPool.go +++ b/sdk/go/spacelift/vcsAgentPool.go @@ -8,7 +8,6 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" "github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift/internal" ) @@ -151,12 +150,6 @@ func (i *VcsAgentPool) ToVcsAgentPoolOutputWithContext(ctx context.Context) VcsA return pulumi.ToOutputWithContext(ctx, i).(VcsAgentPoolOutput) } -func (i *VcsAgentPool) ToOutput(ctx context.Context) pulumix.Output[*VcsAgentPool] { - return pulumix.Output[*VcsAgentPool]{ - OutputState: i.ToVcsAgentPoolOutputWithContext(ctx).OutputState, - } -} - // VcsAgentPoolArrayInput is an input type that accepts VcsAgentPoolArray and VcsAgentPoolArrayOutput values. // You can construct a concrete instance of `VcsAgentPoolArrayInput` via: // @@ -182,12 +175,6 @@ func (i VcsAgentPoolArray) ToVcsAgentPoolArrayOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(VcsAgentPoolArrayOutput) } -func (i VcsAgentPoolArray) ToOutput(ctx context.Context) pulumix.Output[[]*VcsAgentPool] { - return pulumix.Output[[]*VcsAgentPool]{ - OutputState: i.ToVcsAgentPoolArrayOutputWithContext(ctx).OutputState, - } -} - // VcsAgentPoolMapInput is an input type that accepts VcsAgentPoolMap and VcsAgentPoolMapOutput values. // You can construct a concrete instance of `VcsAgentPoolMapInput` via: // @@ -213,12 +200,6 @@ func (i VcsAgentPoolMap) ToVcsAgentPoolMapOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(VcsAgentPoolMapOutput) } -func (i VcsAgentPoolMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*VcsAgentPool] { - return pulumix.Output[map[string]*VcsAgentPool]{ - OutputState: i.ToVcsAgentPoolMapOutputWithContext(ctx).OutputState, - } -} - type VcsAgentPoolOutput struct{ *pulumi.OutputState } func (VcsAgentPoolOutput) ElementType() reflect.Type { @@ -233,12 +214,6 @@ func (o VcsAgentPoolOutput) ToVcsAgentPoolOutputWithContext(ctx context.Context) return o } -func (o VcsAgentPoolOutput) ToOutput(ctx context.Context) pulumix.Output[*VcsAgentPool] { - return pulumix.Output[*VcsAgentPool]{ - OutputState: o.OutputState, - } -} - // VCS agent pool configuration, encoded using base64 func (o VcsAgentPoolOutput) Config() pulumi.StringOutput { return o.ApplyT(func(v *VcsAgentPool) pulumi.StringOutput { return v.Config }).(pulumi.StringOutput) @@ -268,12 +243,6 @@ func (o VcsAgentPoolArrayOutput) ToVcsAgentPoolArrayOutputWithContext(ctx contex return o } -func (o VcsAgentPoolArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*VcsAgentPool] { - return pulumix.Output[[]*VcsAgentPool]{ - OutputState: o.OutputState, - } -} - func (o VcsAgentPoolArrayOutput) Index(i pulumi.IntInput) VcsAgentPoolOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *VcsAgentPool { return vs[0].([]*VcsAgentPool)[vs[1].(int)] @@ -294,12 +263,6 @@ func (o VcsAgentPoolMapOutput) ToVcsAgentPoolMapOutputWithContext(ctx context.Co return o } -func (o VcsAgentPoolMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*VcsAgentPool] { - return pulumix.Output[map[string]*VcsAgentPool]{ - OutputState: o.OutputState, - } -} - func (o VcsAgentPoolMapOutput) MapIndex(k pulumi.StringInput) VcsAgentPoolOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *VcsAgentPool { return vs[0].(map[string]*VcsAgentPool)[vs[1].(string)] diff --git a/sdk/go/spacelift/version.go b/sdk/go/spacelift/version.go index 5b34808..03dc1f8 100644 --- a/sdk/go/spacelift/version.go +++ b/sdk/go/spacelift/version.go @@ -9,7 +9,6 @@ import ( "errors" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" "github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift/internal" ) @@ -131,12 +130,6 @@ func (i *Version) ToVersionOutputWithContext(ctx context.Context) VersionOutput return pulumi.ToOutputWithContext(ctx, i).(VersionOutput) } -func (i *Version) ToOutput(ctx context.Context) pulumix.Output[*Version] { - return pulumix.Output[*Version]{ - OutputState: i.ToVersionOutputWithContext(ctx).OutputState, - } -} - // VersionArrayInput is an input type that accepts VersionArray and VersionArrayOutput values. // You can construct a concrete instance of `VersionArrayInput` via: // @@ -162,12 +155,6 @@ func (i VersionArray) ToVersionArrayOutputWithContext(ctx context.Context) Versi return pulumi.ToOutputWithContext(ctx, i).(VersionArrayOutput) } -func (i VersionArray) ToOutput(ctx context.Context) pulumix.Output[[]*Version] { - return pulumix.Output[[]*Version]{ - OutputState: i.ToVersionArrayOutputWithContext(ctx).OutputState, - } -} - // VersionMapInput is an input type that accepts VersionMap and VersionMapOutput values. // You can construct a concrete instance of `VersionMapInput` via: // @@ -193,12 +180,6 @@ func (i VersionMap) ToVersionMapOutputWithContext(ctx context.Context) VersionMa return pulumi.ToOutputWithContext(ctx, i).(VersionMapOutput) } -func (i VersionMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*Version] { - return pulumix.Output[map[string]*Version]{ - OutputState: i.ToVersionMapOutputWithContext(ctx).OutputState, - } -} - type VersionOutput struct{ *pulumi.OutputState } func (VersionOutput) ElementType() reflect.Type { @@ -213,12 +194,6 @@ func (o VersionOutput) ToVersionOutputWithContext(ctx context.Context) VersionOu return o } -func (o VersionOutput) ToOutput(ctx context.Context) pulumix.Output[*Version] { - return pulumix.Output[*Version]{ - OutputState: o.OutputState, - } -} - // The commit SHA for which to trigger a version. func (o VersionOutput) CommitSha() pulumi.StringPtrOutput { return o.ApplyT(func(v *Version) pulumi.StringPtrOutput { return v.CommitSha }).(pulumi.StringPtrOutput) @@ -253,12 +228,6 @@ func (o VersionArrayOutput) ToVersionArrayOutputWithContext(ctx context.Context) return o } -func (o VersionArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*Version] { - return pulumix.Output[[]*Version]{ - OutputState: o.OutputState, - } -} - func (o VersionArrayOutput) Index(i pulumi.IntInput) VersionOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *Version { return vs[0].([]*Version)[vs[1].(int)] @@ -279,12 +248,6 @@ func (o VersionMapOutput) ToVersionMapOutputWithContext(ctx context.Context) Ver return o } -func (o VersionMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*Version] { - return pulumix.Output[map[string]*Version]{ - OutputState: o.OutputState, - } -} - func (o VersionMapOutput) MapIndex(k pulumi.StringInput) VersionOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *Version { return vs[0].(map[string]*Version)[vs[1].(string)] diff --git a/sdk/go/spacelift/webhook.go b/sdk/go/spacelift/webhook.go index 985589c..7265e71 100644 --- a/sdk/go/spacelift/webhook.go +++ b/sdk/go/spacelift/webhook.go @@ -9,7 +9,6 @@ import ( "errors" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" "github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift/internal" ) @@ -183,12 +182,6 @@ func (i *Webhook) ToWebhookOutputWithContext(ctx context.Context) WebhookOutput return pulumi.ToOutputWithContext(ctx, i).(WebhookOutput) } -func (i *Webhook) ToOutput(ctx context.Context) pulumix.Output[*Webhook] { - return pulumix.Output[*Webhook]{ - OutputState: i.ToWebhookOutputWithContext(ctx).OutputState, - } -} - // WebhookArrayInput is an input type that accepts WebhookArray and WebhookArrayOutput values. // You can construct a concrete instance of `WebhookArrayInput` via: // @@ -214,12 +207,6 @@ func (i WebhookArray) ToWebhookArrayOutputWithContext(ctx context.Context) Webho return pulumi.ToOutputWithContext(ctx, i).(WebhookArrayOutput) } -func (i WebhookArray) ToOutput(ctx context.Context) pulumix.Output[[]*Webhook] { - return pulumix.Output[[]*Webhook]{ - OutputState: i.ToWebhookArrayOutputWithContext(ctx).OutputState, - } -} - // WebhookMapInput is an input type that accepts WebhookMap and WebhookMapOutput values. // You can construct a concrete instance of `WebhookMapInput` via: // @@ -245,12 +232,6 @@ func (i WebhookMap) ToWebhookMapOutputWithContext(ctx context.Context) WebhookMa return pulumi.ToOutputWithContext(ctx, i).(WebhookMapOutput) } -func (i WebhookMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*Webhook] { - return pulumix.Output[map[string]*Webhook]{ - OutputState: i.ToWebhookMapOutputWithContext(ctx).OutputState, - } -} - type WebhookOutput struct{ *pulumi.OutputState } func (WebhookOutput) ElementType() reflect.Type { @@ -265,12 +246,6 @@ func (o WebhookOutput) ToWebhookOutputWithContext(ctx context.Context) WebhookOu return o } -func (o WebhookOutput) ToOutput(ctx context.Context) pulumix.Output[*Webhook] { - return pulumix.Output[*Webhook]{ - OutputState: o.OutputState, - } -} - // enables or disables sending webhooks. Defaults to `true`. func (o WebhookOutput) Enabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v *Webhook) pulumi.BoolPtrOutput { return v.Enabled }).(pulumi.BoolPtrOutput) @@ -310,12 +285,6 @@ func (o WebhookArrayOutput) ToWebhookArrayOutputWithContext(ctx context.Context) return o } -func (o WebhookArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*Webhook] { - return pulumix.Output[[]*Webhook]{ - OutputState: o.OutputState, - } -} - func (o WebhookArrayOutput) Index(i pulumi.IntInput) WebhookOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *Webhook { return vs[0].([]*Webhook)[vs[1].(int)] @@ -336,12 +305,6 @@ func (o WebhookMapOutput) ToWebhookMapOutputWithContext(ctx context.Context) Web return o } -func (o WebhookMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*Webhook] { - return pulumix.Output[map[string]*Webhook]{ - OutputState: o.OutputState, - } -} - func (o WebhookMapOutput) MapIndex(k pulumi.StringInput) WebhookOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *Webhook { return vs[0].(map[string]*Webhook)[vs[1].(string)] diff --git a/sdk/go/spacelift/workerPool.go b/sdk/go/spacelift/workerPool.go index 7ccb607..c4a6e1e 100644 --- a/sdk/go/spacelift/workerPool.go +++ b/sdk/go/spacelift/workerPool.go @@ -8,7 +8,6 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" "github.com/spacelift-io/pulumi-spacelift/sdk/v2/go/spacelift/internal" ) @@ -29,9 +28,9 @@ import ( // // ) // -// func filebase64OrPanic(path string) pulumi.StringPtrInput { +// func filebase64OrPanic(path string) string { // if fileData, err := os.ReadFile(path); err == nil { -// return pulumi.String(base64.StdEncoding.EncodeToString(fileData[:])) +// return base64.StdEncoding.EncodeToString(fileData[:]) // } else { // panic(err.Error()) // } @@ -199,12 +198,6 @@ func (i *WorkerPool) ToWorkerPoolOutputWithContext(ctx context.Context) WorkerPo return pulumi.ToOutputWithContext(ctx, i).(WorkerPoolOutput) } -func (i *WorkerPool) ToOutput(ctx context.Context) pulumix.Output[*WorkerPool] { - return pulumix.Output[*WorkerPool]{ - OutputState: i.ToWorkerPoolOutputWithContext(ctx).OutputState, - } -} - // WorkerPoolArrayInput is an input type that accepts WorkerPoolArray and WorkerPoolArrayOutput values. // You can construct a concrete instance of `WorkerPoolArrayInput` via: // @@ -230,12 +223,6 @@ func (i WorkerPoolArray) ToWorkerPoolArrayOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(WorkerPoolArrayOutput) } -func (i WorkerPoolArray) ToOutput(ctx context.Context) pulumix.Output[[]*WorkerPool] { - return pulumix.Output[[]*WorkerPool]{ - OutputState: i.ToWorkerPoolArrayOutputWithContext(ctx).OutputState, - } -} - // WorkerPoolMapInput is an input type that accepts WorkerPoolMap and WorkerPoolMapOutput values. // You can construct a concrete instance of `WorkerPoolMapInput` via: // @@ -261,12 +248,6 @@ func (i WorkerPoolMap) ToWorkerPoolMapOutputWithContext(ctx context.Context) Wor return pulumi.ToOutputWithContext(ctx, i).(WorkerPoolMapOutput) } -func (i WorkerPoolMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*WorkerPool] { - return pulumix.Output[map[string]*WorkerPool]{ - OutputState: i.ToWorkerPoolMapOutputWithContext(ctx).OutputState, - } -} - type WorkerPoolOutput struct{ *pulumi.OutputState } func (WorkerPoolOutput) ElementType() reflect.Type { @@ -281,12 +262,6 @@ func (o WorkerPoolOutput) ToWorkerPoolOutputWithContext(ctx context.Context) Wor return o } -func (o WorkerPoolOutput) ToOutput(ctx context.Context) pulumix.Output[*WorkerPool] { - return pulumix.Output[*WorkerPool]{ - OutputState: o.OutputState, - } -} - // credentials necessary to connect WorkerPool's workers to the control plane func (o WorkerPoolOutput) Config() pulumi.StringOutput { return o.ApplyT(func(v *WorkerPool) pulumi.StringOutput { return v.Config }).(pulumi.StringOutput) @@ -335,12 +310,6 @@ func (o WorkerPoolArrayOutput) ToWorkerPoolArrayOutputWithContext(ctx context.Co return o } -func (o WorkerPoolArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*WorkerPool] { - return pulumix.Output[[]*WorkerPool]{ - OutputState: o.OutputState, - } -} - func (o WorkerPoolArrayOutput) Index(i pulumi.IntInput) WorkerPoolOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *WorkerPool { return vs[0].([]*WorkerPool)[vs[1].(int)] @@ -361,12 +330,6 @@ func (o WorkerPoolMapOutput) ToWorkerPoolMapOutputWithContext(ctx context.Contex return o } -func (o WorkerPoolMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*WorkerPool] { - return pulumix.Output[map[string]*WorkerPool]{ - OutputState: o.OutputState, - } -} - func (o WorkerPoolMapOutput) MapIndex(k pulumi.StringInput) WorkerPoolOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *WorkerPool { return vs[0].(map[string]*WorkerPool)[vs[1].(string)] diff --git a/sdk/nodejs/mountedfile.ts b/sdk/nodejs/mountedfile.ts index c39f5d9..3c31d83 100644 --- a/sdk/nodejs/mountedfile.ts +++ b/sdk/nodejs/mountedfile.ts @@ -18,19 +18,19 @@ import * as utilities from "./utilities"; * const ireland_kubeconfig = new spacelift.Mountedfile("ireland-kubeconfig", { * contextId: "prod-k8s-ie", * relativePath: "kubeconfig", - * content: Buffer.from(fs.readFileSync(`${path.module}/kubeconfig.json`), 'binary').toString('base64'), + * content: fs.readFileSync(`${path.module}/kubeconfig.json`, { encoding: "base64" }), * }); * // For a module * const module_kubeconfig = new spacelift.Mountedfile("module-kubeconfig", { * moduleId: "k8s-module", * relativePath: "kubeconfig", - * content: Buffer.from(fs.readFileSync(`${path.module}/kubeconfig.json`), 'binary').toString('base64'), + * content: fs.readFileSync(`${path.module}/kubeconfig.json`, { encoding: "base64" }), * }); * // For a stack * const core_kubeconfig = new spacelift.Mountedfile("core-kubeconfig", { * stackId: "k8s-core", * relativePath: "kubeconfig", - * content: Buffer.from(fs.readFileSync(`${path.module}/kubeconfig.json`), 'binary').toString('base64'), + * content: fs.readFileSync(`${path.module}/kubeconfig.json`, { encoding: "base64" }), * }); * ``` * diff --git a/sdk/nodejs/policy.ts b/sdk/nodejs/policy.ts index 08854ee..eda51ac 100644 --- a/sdk/nodejs/policy.ts +++ b/sdk/nodejs/policy.ts @@ -15,7 +15,7 @@ import * as utilities from "./utilities"; * import * as spacelift from "@spacelift-io/pulumi-spacelift"; * * const no_weekend_deploysPolicy = new spacelift.Policy("no-weekend-deploysPolicy", { - * body: fs.readFileSync(`${path.module}/policies/no-weekend-deploys.rego`), + * body: fs.readFileSync(`${path.module}/policies/no-weekend-deploys.rego`, "utf8"), * type: "PLAN", * }); * const core_infra_production = new spacelift.Stack("core-infra-production", { diff --git a/sdk/nodejs/policyAttachment.ts b/sdk/nodejs/policyAttachment.ts index 3bad50c..bd673fe 100644 --- a/sdk/nodejs/policyAttachment.ts +++ b/sdk/nodejs/policyAttachment.ts @@ -15,7 +15,7 @@ import * as utilities from "./utilities"; * import * as spacelift from "@spacelift-io/pulumi-spacelift"; * * const no_weekend_deploysPolicy = new spacelift.Policy("no-weekend-deploysPolicy", { - * body: fs.readFileSync("policies/no-weekend-deploys.rego"), + * body: fs.readFileSync("policies/no-weekend-deploys.rego", "utf8"), * type: "PLAN", * }); * const core_infra_production = new spacelift.Stack("core-infra-production", { diff --git a/sdk/nodejs/types/output.ts b/sdk/nodejs/types/output.ts index 2d8e04e..20d8c18 100644 --- a/sdk/nodejs/types/output.ts +++ b/sdk/nodejs/types/output.ts @@ -6,34 +6,97 @@ import * as inputs from "../types/input"; import * as outputs from "../types/output"; export interface GetAwsIntegrationsIntegration { + /** + * Duration in seconds for which the assumed role credentials should be valid + */ durationSeconds: number; + /** + * Custom external ID (works only for private workers). + */ externalId: string; + /** + * Generate AWS credentials in the private worker + */ generateCredentialsInWorker: boolean; + /** + * Immutable ID of the integration. + */ integrationId: string; labels: string[]; + /** + * Name of the AWS integration. + */ name: string; + /** + * ARN of the AWS IAM role to attach + */ roleArn: string; + /** + * ID (slug) of the space the integration is in + */ spaceId: string; } export interface GetAzureIntegrationsIntegration { + /** + * Indicates whether admin consent has been performed for the AAD Application. + */ adminConsentProvided: boolean; + /** + * The URL to use to provide admin consent to the application in the customer's tenant + */ adminConsentUrl: string; + /** + * The applicationId of the Azure AD application used by the integration. + */ applicationId: string; + /** + * The default subscription ID to use, if one isn't specified at the stack/module level + */ defaultSubscriptionId: string; + /** + * The display name for the application in Azure. This is automatically generated when the integration is created, and cannot be changed without deleting and recreating the integration. + */ displayName: string; + /** + * Immutable ID of the integration. + */ integrationId: string; + /** + * Labels to set on the integration + */ labels: string[]; + /** + * The friendly name of the integration. + */ name: string; + /** + * ID (slug) of the space the integration is in + */ spaceId: string; + /** + * The Azure AD tenant ID + */ tenantId: string; } export interface GetContextsContext { + /** + * immutable ID (slug) of the context + */ contextId: string; + /** + * free-form context description for users + */ description: string; labels: string[]; + /** + * name of the context + */ name: string; + /** + * ID (slug) of the space the context is in + */ spaceId: string; } @@ -42,109 +105,265 @@ export interface GetContextsLabel { } export interface GetModuleAzureDevop { + /** + * ID of the Azure Devops integration + */ id: string; + /** + * Indicates whether this is the default Azure Devops integration + */ isDefault: boolean; + /** + * The name of the Azure DevOps project + */ project: string; } export interface GetModuleBitbucketCloud { + /** + * ID of the Bitbucket Cloud integration + */ id: string; + /** + * Indicates whether this is the default Bitbucket Cloud integration + */ isDefault: boolean; + /** + * Bitbucket Cloud namespace of the stack's repository + */ namespace: string; } export interface GetModuleBitbucketDatacenter { + /** + * ID of the Bitbucket Datacenter integration + */ id: string; + /** + * Indicates whether this is the default Bitbucket Datacenter integration + */ isDefault: boolean; + /** + * Bitbucket Datacenter namespace of the stack's repository + */ namespace: string; } export interface GetModuleGithubEnterprise { + /** + * ID of the GitHub Enterprise integration + */ id: string; + /** + * Indicates whether this is the default GitHub Enterprise integration + */ isDefault: boolean; + /** + * GitHub Enterprise namespace of the stack's repository + */ namespace: string; } export interface GetModuleGitlab { + /** + * ID of the Gitlab integration + */ id: string; + /** + * Indicates whether this is the default Gitlab integration + */ isDefault: boolean; + /** + * GitLab namespace of the repository + */ namespace: string; } export interface GetPoliciesPolicy { + /** + * ID of the policy + */ id: string; labels: string[]; + /** + * Name of the policy + */ name: string; + /** + * ID (slug) of the space the policy is in + */ spaceId: string; + /** + * Type of the policy + */ type: string; } export interface GetSpacesSpace { + /** + * free-form space description for users + */ description: string; + /** + * indication whether access to this space inherits read access to entities from the parent space + */ inheritEntities: boolean; + /** + * list of labels describing a space + */ labels: string[]; + /** + * name of the space + */ name: string; + /** + * immutable ID (slug) of parent space + */ parentSpaceId: string; + /** + * immutable ID (slug) of the space + */ spaceId: string; } export interface GetStackAnsible { + /** + * The playbook the Ansible stack should run. + */ playbook: string; } export interface GetStackAzureDevop { + /** + * ID of the Azure Devops VCS integration + */ id: string; + /** + * Indicates whether this is the default Azure Devops VCS integration + */ isDefault: boolean; + /** + * The name of the Azure DevOps project + */ project: string; } export interface GetStackBitbucketCloud { + /** + * ID of the Bitbucket Cloud integration + */ id: string; + /** + * Indicates whether this is the default Bitbucket Cloud integration + */ isDefault: boolean; + /** + * Bitbucket Cloud namespace of the stack's repository + */ namespace: string; } export interface GetStackBitbucketDatacenter { + /** + * ID of the Bitbucket Datacenter integration + */ id: string; + /** + * Indicates whether this is the default Bitbucket Datacenter integration + */ isDefault: boolean; + /** + * Bitbucket Datacenter namespace of the stack's repository + */ namespace: string; } export interface GetStackCloudformation { + /** + * Template file `cloudformation package` will be called on + */ entryTemplateFile: string; + /** + * AWS region to use + */ region: string; + /** + * CloudFormation stack name + */ stackName: string; + /** + * S3 bucket to save CloudFormation templates to + */ templateBucket: string; } export interface GetStackGithubEnterprise { + /** + * ID of the GitHub Enterprise integration + */ id: string; + /** + * Indicates whether this is the default GitHub Enterprise integration + */ isDefault: boolean; + /** + * GitHub Enterprise namespace of the stack's repository + */ namespace: string; } export interface GetStackGitlab { + /** + * ID of the Gitlab integration + */ id: string; + /** + * Indicates whether this is the default Gitlab integration + */ isDefault: boolean; + /** + * GitLab namespace of the stack's repository + */ namespace: string; } export interface GetStackKubernete { + /** + * Kubectl version. + */ kubectlVersion: string; + /** + * Namespace of the Kubernetes cluster to run commands on. Leave empty for multi-namespace Stacks. + */ namespace: string; } export interface GetStackPulumi { + /** + * State backend to log into on Run initialize. + */ loginUrl: string; + /** + * Pulumi stack name to use with the state backend. + */ stackName: string; } export interface GetStackRawGit { + /** + * User-friendly namespace for the repository, this is for cosmetic purposes only + */ namespace: string; + /** + * HTTPS URL of the Git repository + */ url: string; } export interface GetStackShowcase { + /** + * GitHub namespace of the stack's repository + */ namespace: string; } @@ -181,110 +400,314 @@ export interface GetStacksRepository { } export interface GetStacksStack { + /** + * Project globs is an optional list of paths to track changes of in addition to the project root. + */ additionalProjectGlobs?: string[]; + /** + * indicates whether this stack can administer others + */ administrative: boolean; + /** + * List of after-apply scripts + */ afterApplies: string[]; + /** + * List of after-destroy scripts + */ afterDestroys: string[]; + /** + * List of after-init scripts + */ afterInits: string[]; + /** + * List of after-perform scripts + */ afterPerforms: string[]; + /** + * List of after-plan scripts + */ afterPlans: string[]; + /** + * List of after-run scripts + */ afterRuns?: string[]; + /** + * Ansible-specific configuration. Presence means this Stack is an Ansible Stack. + */ ansibles: outputs.GetStacksStackAnsible[]; + /** + * indicates whether changes to this stack can be automatically deployed + */ autodeploy: boolean; + /** + * indicates whether obsolete proposed changes should automatically be retried + */ autoretry: boolean; + /** + * AWS IAM assume role policy statement setting up trust relationship + */ awsAssumeRolePolicyStatement: string; + /** + * Azure DevOps VCS settings + */ azureDevops: outputs.GetStacksStackAzureDevop[]; + /** + * List of before-apply scripts + */ beforeApplies: string[]; + /** + * List of before-destroy scripts + */ beforeDestroys: string[]; + /** + * List of before-init scripts + */ beforeInits: string[]; + /** + * List of before-perform scripts + */ beforePerforms: string[]; + /** + * List of before-plan scripts + */ beforePlans: string[]; + /** + * Bitbucket Cloud VCS settings + */ bitbucketClouds: outputs.GetStacksStackBitbucketCloud[]; + /** + * Bitbucket Datacenter VCS settings + */ bitbucketDatacenters: outputs.GetStacksStackBitbucketDatacenter[]; + /** + * Repository branch to treat as the default 'main' branch + */ branch: string; + /** + * CloudFormation-specific configuration. Presence means this Stack is a CloudFormation Stack. + */ cloudformations: outputs.GetStacksStackCloudformation[]; + /** + * free-form stack description for users + */ description: string; + /** + * Indicates whether local preview runs can be triggered on this Stack. + */ enableLocalPreview: boolean; + /** + * GitHub Enterprise (self-hosted) VCS settings + */ githubEnterprises: outputs.GetStacksStackGithubEnterprise[]; + /** + * GitLab VCS settings + */ gitlabs: outputs.GetStacksStackGitlab[]; + /** + * Kubernetes-specific configuration. Presence means this Stack is a Kubernetes Stack. + */ kubernetes: outputs.GetStacksStackKubernete[]; labels: string[]; + /** + * Determines if Spacelift should manage state for this stack + */ manageState: boolean; + /** + * Name of the stack - should be unique in one account + */ name: string; + /** + * Project root is the optional directory relative to the workspace root containing the entrypoint to the Stack. + */ projectRoot: string; + /** + * Protect this stack from accidental deletion. If set, attempts to delete this stack will fail. + */ protectFromDeletion: boolean; + /** + * Pulumi-specific configuration. Presence means this Stack is a Pulumi Stack. + */ pulumis: outputs.GetStacksStackPulumi[]; + /** + * One-way VCS integration using a raw Git repository link + */ rawGits: outputs.GetStacksStackRawGit[]; + /** + * Name of the repository, without the owner part + */ repository: string; + /** + * Name of the Docker image used to process Runs + */ runnerImage: string; + /** + * Showcase-related attributes + */ showcases: outputs.GetStacksStackShowcase[]; + /** + * ID (slug) of the space the stack is in + */ spaceId: string; + /** + * ID (slug) of the stack + */ stackId: string; + /** + * Indicates whether you can access the Stack state file from other stacks or outside of Spacelift. + */ terraformExternalStateAccess: boolean; terraformSmartSanitization: boolean; terraformVersion: string; + /** + * Defines the tool that will be used to execute the workflow. This can be one of `OPEN_TOFU`, `TERRAFORM_FOSS` or `CUSTOM`. + */ terraformWorkflowTool: string; terraformWorkspace: string; + /** + * ID of the worker pool to use + */ workerPoolId: string; } export interface GetStacksStackAnsible { + /** + * The playbook the Ansible stack should run. + */ playbook: string; } export interface GetStacksStackAzureDevop { + /** + * ID of the Azure Devops VCS integration + */ id: string; + /** + * Indicates whether this is the default Azure Devops VCS integration + */ isDefault: boolean; + /** + * The name of the Azure DevOps project + */ project: string; } export interface GetStacksStackBitbucketCloud { + /** + * ID of the Bitbucket Cloud integration + */ id: string; + /** + * Indicates whether this is the default Bitbucket Cloud integration + */ isDefault: boolean; + /** + * Bitbucket Cloud namespace of the stack's repository + */ namespace: string; } export interface GetStacksStackBitbucketDatacenter { + /** + * ID of the Bitbucket Datacenter integration + */ id: string; + /** + * Indicates whether this is the default Bitbucket Datacenter integration + */ isDefault: boolean; + /** + * Bitbucket Datacenter namespace of the stack's repository + */ namespace: string; } export interface GetStacksStackCloudformation { + /** + * Template file `cloudformation package` will be called on + */ entryTemplateFile: string; + /** + * AWS region to use + */ region: string; + /** + * CloudFormation stack name + */ stackName: string; + /** + * S3 bucket to save CloudFormation templates to + */ templateBucket: string; } export interface GetStacksStackGithubEnterprise { + /** + * ID of the GitHub Enterprise integration + */ id: string; + /** + * Indicates whether this is the default GitHub Enterprise integration + */ isDefault: boolean; + /** + * GitHub Enterprise namespace of the stack's repository + */ namespace: string; } export interface GetStacksStackGitlab { + /** + * ID of the Gitlab integration + */ id: string; + /** + * Indicates whether this is the default Gitlab integration + */ isDefault: boolean; + /** + * GitLab namespace of the stack's repository + */ namespace: string; } export interface GetStacksStackKubernete { + /** + * Kubectl version. + */ kubectlVersion: string; + /** + * Namespace of the Kubernetes cluster to run commands on. Leave empty for multi-namespace Stacks. + */ namespace: string; } export interface GetStacksStackPulumi { + /** + * State backend to log into on Run initialize. + */ loginUrl: string; + /** + * Pulumi stack name to use with the state backend. + */ stackName: string; } export interface GetStacksStackRawGit { + /** + * User-friendly namespace for the repository, this is for cosmetic purposes only + */ namespace: string; + /** + * HTTPS URL of the Git repository + */ url: string; } export interface GetStacksStackShowcase { + /** + * GitHub namespace of the stack's repository + */ namespace: string; } @@ -301,16 +724,40 @@ export interface GetStacksWorkerPool { } export interface GetVcsAgentPoolsVcsAgentPool { + /** + * Free-form VCS agent pool description for users + */ description: string; + /** + * Name of the VCS agent pool + */ name: string; + /** + * ID of the VCS agent pool to retrieve + */ vcsAgentPoolId: string; } export interface GetWorkerPoolsWorkerPool { + /** + * credentials necessary to connect WorkerPool's workers to the control plane + */ config: string; + /** + * description of the worker pool + */ description: string; + /** + * name of the worker pool + */ name: string; + /** + * ID (slug) of the space the worker pool is in + */ spaceId: string; + /** + * ID of the worker pool + */ workerPoolId: string; } diff --git a/sdk/nodejs/utilities.ts b/sdk/nodejs/utilities.ts index 79f2200..18c49ab 100644 --- a/sdk/nodejs/utilities.ts +++ b/sdk/nodejs/utilities.ts @@ -2,6 +2,9 @@ // *** Do not edit by hand unless you're certain you know what you are doing! *** +import * as runtime from "@pulumi/pulumi/runtime"; +import * as pulumi from "@pulumi/pulumi"; + export function getEnv(...vars: string[]): string | undefined { for (const v of vars) { const value = process.env[v]; @@ -64,3 +67,29 @@ export function lazyLoad(exports: any, props: string[], loadModule: any) { }); } } + +export async function callAsync( + tok: string, + props: pulumi.Inputs, + res?: pulumi.Resource, + opts?: {property?: string}, +): Promise { + const o: any = runtime.call(tok, props, res); + const value = await o.promise(true /*withUnknowns*/); + const isKnown = await o.isKnown; + const isSecret = await o.isSecret; + const problem: string|undefined = + !isKnown ? "an unknown value" + : isSecret ? "a secret value" + : undefined; + // Ingoring o.resources silently. They are typically non-empty, r.f() calls include r as a dependency. + if (problem) { + throw new Error(`Plain resource method "${tok}" incorrectly returned ${problem}. ` + + "This is an error in the provider, please report this to the provider developer."); + } + // Extract a single property if requested. + if (opts && opts.property) { + return value[opts.property]; + } + return value; +} diff --git a/sdk/nodejs/workerPool.ts b/sdk/nodejs/workerPool.ts index 6cbfa56..fd8e159 100644 --- a/sdk/nodejs/workerPool.ts +++ b/sdk/nodejs/workerPool.ts @@ -15,7 +15,7 @@ import * as utilities from "./utilities"; * import * as spacelift from "@spacelift-io/pulumi-spacelift"; * * const k8s_core = new spacelift.WorkerPool("k8s-core", { - * csr: Buffer.from(fs.readFileSync("/path/to/csr"), 'binary').toString('base64'), + * csr: fs.readFileSync("/path/to/csr", { encoding: "base64" }), * description: "Used for all type jobs", * }); * ``` diff --git a/sdk/python/pulumi_spacelift/_inputs.py b/sdk/python/pulumi_spacelift/_inputs.py index 396bf07..beee201 100644 --- a/sdk/python/pulumi_spacelift/_inputs.py +++ b/sdk/python/pulumi_spacelift/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = [ @@ -52,27 +52,8 @@ def __init__(__self__, *, :param pulumi.Input[str] role: Type of access to the space. Possible values are: READ, WRITE, ADMIN :param pulumi.Input[str] space_id: ID (slug) of the space the user group has access to """ - IdpGroupMappingPolicyArgs._configure( - lambda key, value: pulumi.set(__self__, key, value), - role=role, - space_id=space_id, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - role: Optional[pulumi.Input[str]] = None, - space_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if role is None: - raise TypeError("Missing 'role' argument") - if space_id is None and 'spaceId' in kwargs: - space_id = kwargs['spaceId'] - if space_id is None: - raise TypeError("Missing 'space_id' argument") - - _setter("role", role) - _setter("space_id", space_id) + pulumi.set(__self__, "role", role) + pulumi.set(__self__, "space_id", space_id) @property @pulumi.getter @@ -110,30 +91,11 @@ def __init__(__self__, *, :param pulumi.Input[str] id: ID of the Azure Devops integration. If not specified, the default integration will be used. :param pulumi.Input[bool] is_default: Indicates whether this is the default Azure DevOps integration """ - ModuleAzureDevopsArgs._configure( - lambda key, value: pulumi.set(__self__, key, value), - project=project, - id=id, - is_default=is_default, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - project: Optional[pulumi.Input[str]] = None, - id: Optional[pulumi.Input[str]] = None, - is_default: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if project is None: - raise TypeError("Missing 'project' argument") - if is_default is None and 'isDefault' in kwargs: - is_default = kwargs['isDefault'] - - _setter("project", project) + pulumi.set(__self__, "project", project) if id is not None: - _setter("id", id) + pulumi.set(__self__, "id", id) if is_default is not None: - _setter("is_default", is_default) + pulumi.set(__self__, "is_default", is_default) @property @pulumi.getter @@ -183,30 +145,11 @@ def __init__(__self__, *, :param pulumi.Input[str] id: The ID of the Bitbucket Cloud integration. If not specified, the default integration will be used. :param pulumi.Input[bool] is_default: Indicates whether this is the default Bitbucket Cloud integration """ - ModuleBitbucketCloudArgs._configure( - lambda key, value: pulumi.set(__self__, key, value), - namespace=namespace, - id=id, - is_default=is_default, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - namespace: Optional[pulumi.Input[str]] = None, - id: Optional[pulumi.Input[str]] = None, - is_default: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if namespace is None: - raise TypeError("Missing 'namespace' argument") - if is_default is None and 'isDefault' in kwargs: - is_default = kwargs['isDefault'] - - _setter("namespace", namespace) + pulumi.set(__self__, "namespace", namespace) if id is not None: - _setter("id", id) + pulumi.set(__self__, "id", id) if is_default is not None: - _setter("is_default", is_default) + pulumi.set(__self__, "is_default", is_default) @property @pulumi.getter @@ -256,30 +199,11 @@ def __init__(__self__, *, :param pulumi.Input[str] id: The ID of the Bitbucket Datacenter integration. If not specified, the default integration will be used. :param pulumi.Input[bool] is_default: Indicates whether this is the default Bitbucket Datacenter integration """ - ModuleBitbucketDatacenterArgs._configure( - lambda key, value: pulumi.set(__self__, key, value), - namespace=namespace, - id=id, - is_default=is_default, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - namespace: Optional[pulumi.Input[str]] = None, - id: Optional[pulumi.Input[str]] = None, - is_default: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if namespace is None: - raise TypeError("Missing 'namespace' argument") - if is_default is None and 'isDefault' in kwargs: - is_default = kwargs['isDefault'] - - _setter("namespace", namespace) + pulumi.set(__self__, "namespace", namespace) if id is not None: - _setter("id", id) + pulumi.set(__self__, "id", id) if is_default is not None: - _setter("is_default", is_default) + pulumi.set(__self__, "is_default", is_default) @property @pulumi.getter @@ -329,30 +253,11 @@ def __init__(__self__, *, :param pulumi.Input[str] id: The ID of the GitHub Enterprise integration. If not specified, the default integration will be used. :param pulumi.Input[bool] is_default: Indicates whether this is the default GitHub Enterprise integration """ - ModuleGithubEnterpriseArgs._configure( - lambda key, value: pulumi.set(__self__, key, value), - namespace=namespace, - id=id, - is_default=is_default, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - namespace: Optional[pulumi.Input[str]] = None, - id: Optional[pulumi.Input[str]] = None, - is_default: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if namespace is None: - raise TypeError("Missing 'namespace' argument") - if is_default is None and 'isDefault' in kwargs: - is_default = kwargs['isDefault'] - - _setter("namespace", namespace) + pulumi.set(__self__, "namespace", namespace) if id is not None: - _setter("id", id) + pulumi.set(__self__, "id", id) if is_default is not None: - _setter("is_default", is_default) + pulumi.set(__self__, "is_default", is_default) @property @pulumi.getter @@ -402,30 +307,11 @@ def __init__(__self__, *, :param pulumi.Input[str] id: ID of the Gitlab integration. If not specified, the default integration will be used. :param pulumi.Input[bool] is_default: Indicates whether this is the default GitLab integration """ - ModuleGitlabArgs._configure( - lambda key, value: pulumi.set(__self__, key, value), - namespace=namespace, - id=id, - is_default=is_default, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - namespace: Optional[pulumi.Input[str]] = None, - id: Optional[pulumi.Input[str]] = None, - is_default: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if namespace is None: - raise TypeError("Missing 'namespace' argument") - if is_default is None and 'isDefault' in kwargs: - is_default = kwargs['isDefault'] - - _setter("namespace", namespace) + pulumi.set(__self__, "namespace", namespace) if id is not None: - _setter("id", id) + pulumi.set(__self__, "id", id) if is_default is not None: - _setter("is_default", is_default) + pulumi.set(__self__, "is_default", is_default) @property @pulumi.getter @@ -471,20 +357,7 @@ def __init__(__self__, *, """ :param pulumi.Input[str] playbook: The playbook Ansible should run. """ - StackAnsibleArgs._configure( - lambda key, value: pulumi.set(__self__, key, value), - playbook=playbook, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - playbook: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if playbook is None: - raise TypeError("Missing 'playbook' argument") - - _setter("playbook", playbook) + pulumi.set(__self__, "playbook", playbook) @property @pulumi.getter @@ -510,30 +383,11 @@ def __init__(__self__, *, :param pulumi.Input[str] id: The ID of the Azure Devops integration. If not specified, the default integration will be used. :param pulumi.Input[bool] is_default: Indicates whether this is the default Azure DevOps integration """ - StackAzureDevopsArgs._configure( - lambda key, value: pulumi.set(__self__, key, value), - project=project, - id=id, - is_default=is_default, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - project: Optional[pulumi.Input[str]] = None, - id: Optional[pulumi.Input[str]] = None, - is_default: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if project is None: - raise TypeError("Missing 'project' argument") - if is_default is None and 'isDefault' in kwargs: - is_default = kwargs['isDefault'] - - _setter("project", project) + pulumi.set(__self__, "project", project) if id is not None: - _setter("id", id) + pulumi.set(__self__, "id", id) if is_default is not None: - _setter("is_default", is_default) + pulumi.set(__self__, "is_default", is_default) @property @pulumi.getter @@ -583,30 +437,11 @@ def __init__(__self__, *, :param pulumi.Input[str] id: The ID of the Bitbucket Cloud integration. If not specified, the default integration will be used. :param pulumi.Input[bool] is_default: Indicates whether this is the default Bitbucket Cloud integration """ - StackBitbucketCloudArgs._configure( - lambda key, value: pulumi.set(__self__, key, value), - namespace=namespace, - id=id, - is_default=is_default, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - namespace: Optional[pulumi.Input[str]] = None, - id: Optional[pulumi.Input[str]] = None, - is_default: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if namespace is None: - raise TypeError("Missing 'namespace' argument") - if is_default is None and 'isDefault' in kwargs: - is_default = kwargs['isDefault'] - - _setter("namespace", namespace) + pulumi.set(__self__, "namespace", namespace) if id is not None: - _setter("id", id) + pulumi.set(__self__, "id", id) if is_default is not None: - _setter("is_default", is_default) + pulumi.set(__self__, "is_default", is_default) @property @pulumi.getter @@ -656,30 +491,11 @@ def __init__(__self__, *, :param pulumi.Input[str] id: The ID of the Bitbucket Datacenter integration. If not specified, the default integration will be used. :param pulumi.Input[bool] is_default: Indicates whether this is the default Bitbucket Datacenter integration """ - StackBitbucketDatacenterArgs._configure( - lambda key, value: pulumi.set(__self__, key, value), - namespace=namespace, - id=id, - is_default=is_default, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - namespace: Optional[pulumi.Input[str]] = None, - id: Optional[pulumi.Input[str]] = None, - is_default: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if namespace is None: - raise TypeError("Missing 'namespace' argument") - if is_default is None and 'isDefault' in kwargs: - is_default = kwargs['isDefault'] - - _setter("namespace", namespace) + pulumi.set(__self__, "namespace", namespace) if id is not None: - _setter("id", id) + pulumi.set(__self__, "id", id) if is_default is not None: - _setter("is_default", is_default) + pulumi.set(__self__, "is_default", is_default) @property @pulumi.getter @@ -731,41 +547,10 @@ def __init__(__self__, *, :param pulumi.Input[str] stack_name: CloudFormation stack name :param pulumi.Input[str] template_bucket: S3 bucket to save CloudFormation templates to """ - StackCloudformationArgs._configure( - lambda key, value: pulumi.set(__self__, key, value), - entry_template_file=entry_template_file, - region=region, - stack_name=stack_name, - template_bucket=template_bucket, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - entry_template_file: Optional[pulumi.Input[str]] = None, - region: Optional[pulumi.Input[str]] = None, - stack_name: Optional[pulumi.Input[str]] = None, - template_bucket: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if entry_template_file is None and 'entryTemplateFile' in kwargs: - entry_template_file = kwargs['entryTemplateFile'] - if entry_template_file is None: - raise TypeError("Missing 'entry_template_file' argument") - if region is None: - raise TypeError("Missing 'region' argument") - if stack_name is None and 'stackName' in kwargs: - stack_name = kwargs['stackName'] - if stack_name is None: - raise TypeError("Missing 'stack_name' argument") - if template_bucket is None and 'templateBucket' in kwargs: - template_bucket = kwargs['templateBucket'] - if template_bucket is None: - raise TypeError("Missing 'template_bucket' argument") - - _setter("entry_template_file", entry_template_file) - _setter("region", region) - _setter("stack_name", stack_name) - _setter("template_bucket", template_bucket) + pulumi.set(__self__, "entry_template_file", entry_template_file) + pulumi.set(__self__, "region", region) + pulumi.set(__self__, "stack_name", stack_name) + pulumi.set(__self__, "template_bucket", template_bucket) @property @pulumi.getter(name="entryTemplateFile") @@ -827,30 +612,11 @@ def __init__(__self__, *, :param pulumi.Input[str] id: The ID of the GitHub Enterprise integration. If not specified, the default integration will be used. :param pulumi.Input[bool] is_default: Indicates whether this is the default GitHub Enterprise integration """ - StackGithubEnterpriseArgs._configure( - lambda key, value: pulumi.set(__self__, key, value), - namespace=namespace, - id=id, - is_default=is_default, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - namespace: Optional[pulumi.Input[str]] = None, - id: Optional[pulumi.Input[str]] = None, - is_default: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if namespace is None: - raise TypeError("Missing 'namespace' argument") - if is_default is None and 'isDefault' in kwargs: - is_default = kwargs['isDefault'] - - _setter("namespace", namespace) + pulumi.set(__self__, "namespace", namespace) if id is not None: - _setter("id", id) + pulumi.set(__self__, "id", id) if is_default is not None: - _setter("is_default", is_default) + pulumi.set(__self__, "is_default", is_default) @property @pulumi.getter @@ -900,30 +666,11 @@ def __init__(__self__, *, :param pulumi.Input[str] id: The ID of the Gitlab integration. If not specified, the default integration will be used. :param pulumi.Input[bool] is_default: Indicates whether this is the default GitLab integration """ - StackGitlabArgs._configure( - lambda key, value: pulumi.set(__self__, key, value), - namespace=namespace, - id=id, - is_default=is_default, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - namespace: Optional[pulumi.Input[str]] = None, - id: Optional[pulumi.Input[str]] = None, - is_default: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if namespace is None: - raise TypeError("Missing 'namespace' argument") - if is_default is None and 'isDefault' in kwargs: - is_default = kwargs['isDefault'] - - _setter("namespace", namespace) + pulumi.set(__self__, "namespace", namespace) if id is not None: - _setter("id", id) + pulumi.set(__self__, "id", id) if is_default is not None: - _setter("is_default", is_default) + pulumi.set(__self__, "is_default", is_default) @property @pulumi.getter @@ -971,25 +718,10 @@ def __init__(__self__, *, :param pulumi.Input[str] kubectl_version: Kubectl version. :param pulumi.Input[str] namespace: Namespace of the Kubernetes cluster to run commands on. Leave empty for multi-namespace Stacks. """ - StackKubernetesArgs._configure( - lambda key, value: pulumi.set(__self__, key, value), - kubectl_version=kubectl_version, - namespace=namespace, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - kubectl_version: Optional[pulumi.Input[str]] = None, - namespace: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if kubectl_version is None and 'kubectlVersion' in kwargs: - kubectl_version = kwargs['kubectlVersion'] - if kubectl_version is not None: - _setter("kubectl_version", kubectl_version) + pulumi.set(__self__, "kubectl_version", kubectl_version) if namespace is not None: - _setter("namespace", namespace) + pulumi.set(__self__, "namespace", namespace) @property @pulumi.getter(name="kubectlVersion") @@ -1025,29 +757,8 @@ def __init__(__self__, *, :param pulumi.Input[str] login_url: State backend to log into on Run initialize. :param pulumi.Input[str] stack_name: Pulumi stack name to use with the state backend. """ - StackPulumiArgs._configure( - lambda key, value: pulumi.set(__self__, key, value), - login_url=login_url, - stack_name=stack_name, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - login_url: Optional[pulumi.Input[str]] = None, - stack_name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if login_url is None and 'loginUrl' in kwargs: - login_url = kwargs['loginUrl'] - if login_url is None: - raise TypeError("Missing 'login_url' argument") - if stack_name is None and 'stackName' in kwargs: - stack_name = kwargs['stackName'] - if stack_name is None: - raise TypeError("Missing 'stack_name' argument") - - _setter("login_url", login_url) - _setter("stack_name", stack_name) + pulumi.set(__self__, "login_url", login_url) + pulumi.set(__self__, "stack_name", stack_name) @property @pulumi.getter(name="loginUrl") @@ -1083,25 +794,8 @@ def __init__(__self__, *, :param pulumi.Input[str] namespace: User-friendly namespace for the repository, this is for cosmetic purposes only :param pulumi.Input[str] url: HTTPS URL of the Git repository """ - StackRawGitArgs._configure( - lambda key, value: pulumi.set(__self__, key, value), - namespace=namespace, - url=url, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - namespace: Optional[pulumi.Input[str]] = None, - url: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if namespace is None: - raise TypeError("Missing 'namespace' argument") - if url is None: - raise TypeError("Missing 'url' argument") - - _setter("namespace", namespace) - _setter("url", url) + pulumi.set(__self__, "namespace", namespace) + pulumi.set(__self__, "url", url) @property @pulumi.getter @@ -1132,20 +826,7 @@ def url(self, value: pulumi.Input[str]): class StackShowcaseArgs: def __init__(__self__, *, namespace: pulumi.Input[str]): - StackShowcaseArgs._configure( - lambda key, value: pulumi.set(__self__, key, value), - namespace=namespace, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - namespace: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if namespace is None: - raise TypeError("Missing 'namespace' argument") - - _setter("namespace", namespace) + pulumi.set(__self__, "namespace", namespace) @property @pulumi.getter @@ -1168,39 +849,14 @@ def __init__(__self__, *, :param pulumi.Input[str] terragrunt_version: Terragrunt version. :param pulumi.Input[bool] use_run_all: Whether to use `terragrunt run-all` instead of `terragrunt`. """ - StackTerragruntArgs._configure( - lambda key, value: pulumi.set(__self__, key, value), - terraform_version=terraform_version, - terragrunt_version=terragrunt_version, - use_run_all=use_run_all, - use_smart_sanitization=use_smart_sanitization, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - terraform_version: Optional[pulumi.Input[str]] = None, - terragrunt_version: Optional[pulumi.Input[str]] = None, - use_run_all: Optional[pulumi.Input[bool]] = None, - use_smart_sanitization: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if terraform_version is None and 'terraformVersion' in kwargs: - terraform_version = kwargs['terraformVersion'] - if terragrunt_version is None and 'terragruntVersion' in kwargs: - terragrunt_version = kwargs['terragruntVersion'] - if use_run_all is None and 'useRunAll' in kwargs: - use_run_all = kwargs['useRunAll'] - if use_smart_sanitization is None and 'useSmartSanitization' in kwargs: - use_smart_sanitization = kwargs['useSmartSanitization'] - if terraform_version is not None: - _setter("terraform_version", terraform_version) + pulumi.set(__self__, "terraform_version", terraform_version) if terragrunt_version is not None: - _setter("terragrunt_version", terragrunt_version) + pulumi.set(__self__, "terragrunt_version", terragrunt_version) if use_run_all is not None: - _setter("use_run_all", use_run_all) + pulumi.set(__self__, "use_run_all", use_run_all) if use_smart_sanitization is not None: - _setter("use_smart_sanitization", use_smart_sanitization) + pulumi.set(__self__, "use_smart_sanitization", use_smart_sanitization) @property @pulumi.getter(name="terraformVersion") @@ -1254,27 +910,8 @@ def __init__(__self__, *, :param pulumi.Input[str] role: Type of access to the space. Possible values are: READ, WRITE, ADMIN :param pulumi.Input[str] space_id: ID (slug) of the space the user has access to """ - UserPolicyArgs._configure( - lambda key, value: pulumi.set(__self__, key, value), - role=role, - space_id=space_id, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - role: Optional[pulumi.Input[str]] = None, - space_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if role is None: - raise TypeError("Missing 'role' argument") - if space_id is None and 'spaceId' in kwargs: - space_id = kwargs['spaceId'] - if space_id is None: - raise TypeError("Missing 'space_id' argument") - - _setter("role", role) - _setter("space_id", space_id) + pulumi.set(__self__, "role", role) + pulumi.set(__self__, "space_id", space_id) @property @pulumi.getter @@ -1305,22 +942,7 @@ def space_id(self, value: pulumi.Input[str]): class GetContextsLabelArgs: def __init__(__self__, *, any_ofs: Sequence[str]): - GetContextsLabelArgs._configure( - lambda key, value: pulumi.set(__self__, key, value), - any_ofs=any_ofs, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - any_ofs: Optional[Sequence[str]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if any_ofs is None and 'anyOfs' in kwargs: - any_ofs = kwargs['anyOfs'] - if any_ofs is None: - raise TypeError("Missing 'any_ofs' argument") - - _setter("any_ofs", any_ofs) + pulumi.set(__self__, "any_ofs", any_ofs) @property @pulumi.getter(name="anyOfs") @@ -1336,19 +958,8 @@ def any_ofs(self, value: Sequence[str]): class GetStacksAdministrativeArgs: def __init__(__self__, *, equals: Optional[bool] = None): - GetStacksAdministrativeArgs._configure( - lambda key, value: pulumi.set(__self__, key, value), - equals=equals, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - equals: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if equals is not None: - _setter("equals", equals) + pulumi.set(__self__, "equals", equals) @property @pulumi.getter @@ -1364,22 +975,7 @@ def equals(self, value: Optional[bool]): class GetStacksBranchArgs: def __init__(__self__, *, any_ofs: Sequence[str]): - GetStacksBranchArgs._configure( - lambda key, value: pulumi.set(__self__, key, value), - any_ofs=any_ofs, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - any_ofs: Optional[Sequence[str]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if any_ofs is None and 'anyOfs' in kwargs: - any_ofs = kwargs['anyOfs'] - if any_ofs is None: - raise TypeError("Missing 'any_ofs' argument") - - _setter("any_ofs", any_ofs) + pulumi.set(__self__, "any_ofs", any_ofs) @property @pulumi.getter(name="anyOfs") @@ -1395,22 +991,7 @@ def any_ofs(self, value: Sequence[str]): class GetStacksCommitArgs: def __init__(__self__, *, any_ofs: Sequence[str]): - GetStacksCommitArgs._configure( - lambda key, value: pulumi.set(__self__, key, value), - any_ofs=any_ofs, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - any_ofs: Optional[Sequence[str]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if any_ofs is None and 'anyOfs' in kwargs: - any_ofs = kwargs['anyOfs'] - if any_ofs is None: - raise TypeError("Missing 'any_ofs' argument") - - _setter("any_ofs", any_ofs) + pulumi.set(__self__, "any_ofs", any_ofs) @property @pulumi.getter(name="anyOfs") @@ -1426,22 +1007,7 @@ def any_ofs(self, value: Sequence[str]): class GetStacksLabelArgs: def __init__(__self__, *, any_ofs: Sequence[str]): - GetStacksLabelArgs._configure( - lambda key, value: pulumi.set(__self__, key, value), - any_ofs=any_ofs, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - any_ofs: Optional[Sequence[str]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if any_ofs is None and 'anyOfs' in kwargs: - any_ofs = kwargs['anyOfs'] - if any_ofs is None: - raise TypeError("Missing 'any_ofs' argument") - - _setter("any_ofs", any_ofs) + pulumi.set(__self__, "any_ofs", any_ofs) @property @pulumi.getter(name="anyOfs") @@ -1457,19 +1023,8 @@ def any_ofs(self, value: Sequence[str]): class GetStacksLockedArgs: def __init__(__self__, *, equals: Optional[bool] = None): - GetStacksLockedArgs._configure( - lambda key, value: pulumi.set(__self__, key, value), - equals=equals, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - equals: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if equals is not None: - _setter("equals", equals) + pulumi.set(__self__, "equals", equals) @property @pulumi.getter @@ -1485,22 +1040,7 @@ def equals(self, value: Optional[bool]): class GetStacksNameArgs: def __init__(__self__, *, any_ofs: Sequence[str]): - GetStacksNameArgs._configure( - lambda key, value: pulumi.set(__self__, key, value), - any_ofs=any_ofs, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - any_ofs: Optional[Sequence[str]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if any_ofs is None and 'anyOfs' in kwargs: - any_ofs = kwargs['anyOfs'] - if any_ofs is None: - raise TypeError("Missing 'any_ofs' argument") - - _setter("any_ofs", any_ofs) + pulumi.set(__self__, "any_ofs", any_ofs) @property @pulumi.getter(name="anyOfs") @@ -1516,22 +1056,7 @@ def any_ofs(self, value: Sequence[str]): class GetStacksProjectRootArgs: def __init__(__self__, *, any_ofs: Sequence[str]): - GetStacksProjectRootArgs._configure( - lambda key, value: pulumi.set(__self__, key, value), - any_ofs=any_ofs, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - any_ofs: Optional[Sequence[str]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if any_ofs is None and 'anyOfs' in kwargs: - any_ofs = kwargs['anyOfs'] - if any_ofs is None: - raise TypeError("Missing 'any_ofs' argument") - - _setter("any_ofs", any_ofs) + pulumi.set(__self__, "any_ofs", any_ofs) @property @pulumi.getter(name="anyOfs") @@ -1547,22 +1072,7 @@ def any_ofs(self, value: Sequence[str]): class GetStacksRepositoryArgs: def __init__(__self__, *, any_ofs: Sequence[str]): - GetStacksRepositoryArgs._configure( - lambda key, value: pulumi.set(__self__, key, value), - any_ofs=any_ofs, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - any_ofs: Optional[Sequence[str]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if any_ofs is None and 'anyOfs' in kwargs: - any_ofs = kwargs['anyOfs'] - if any_ofs is None: - raise TypeError("Missing 'any_ofs' argument") - - _setter("any_ofs", any_ofs) + pulumi.set(__self__, "any_ofs", any_ofs) @property @pulumi.getter(name="anyOfs") @@ -1578,22 +1088,7 @@ def any_ofs(self, value: Sequence[str]): class GetStacksStateArgs: def __init__(__self__, *, any_ofs: Sequence[str]): - GetStacksStateArgs._configure( - lambda key, value: pulumi.set(__self__, key, value), - any_ofs=any_ofs, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - any_ofs: Optional[Sequence[str]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if any_ofs is None and 'anyOfs' in kwargs: - any_ofs = kwargs['anyOfs'] - if any_ofs is None: - raise TypeError("Missing 'any_ofs' argument") - - _setter("any_ofs", any_ofs) + pulumi.set(__self__, "any_ofs", any_ofs) @property @pulumi.getter(name="anyOfs") @@ -1609,22 +1104,7 @@ def any_ofs(self, value: Sequence[str]): class GetStacksVendorArgs: def __init__(__self__, *, any_ofs: Sequence[str]): - GetStacksVendorArgs._configure( - lambda key, value: pulumi.set(__self__, key, value), - any_ofs=any_ofs, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - any_ofs: Optional[Sequence[str]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if any_ofs is None and 'anyOfs' in kwargs: - any_ofs = kwargs['anyOfs'] - if any_ofs is None: - raise TypeError("Missing 'any_ofs' argument") - - _setter("any_ofs", any_ofs) + pulumi.set(__self__, "any_ofs", any_ofs) @property @pulumi.getter(name="anyOfs") @@ -1640,22 +1120,7 @@ def any_ofs(self, value: Sequence[str]): class GetStacksWorkerPoolArgs: def __init__(__self__, *, any_ofs: Sequence[str]): - GetStacksWorkerPoolArgs._configure( - lambda key, value: pulumi.set(__self__, key, value), - any_ofs=any_ofs, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - any_ofs: Optional[Sequence[str]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if any_ofs is None and 'anyOfs' in kwargs: - any_ofs = kwargs['anyOfs'] - if any_ofs is None: - raise TypeError("Missing 'any_ofs' argument") - - _setter("any_ofs", any_ofs) + pulumi.set(__self__, "any_ofs", any_ofs) @property @pulumi.getter(name="anyOfs") diff --git a/sdk/python/pulumi_spacelift/_utilities.py b/sdk/python/pulumi_spacelift/_utilities.py index ce1ba37..01f33c4 100644 --- a/sdk/python/pulumi_spacelift/_utilities.py +++ b/sdk/python/pulumi_spacelift/_utilities.py @@ -3,16 +3,18 @@ # *** Do not edit by hand unless you're certain you know what you are doing! *** +import asyncio +import importlib.metadata import importlib.util import inspect import json import os -import pkg_resources import sys import typing import pulumi import pulumi.runtime +from pulumi.runtime.sync_await import _sync_await from semver import VersionInfo as SemverVersion from parver import Version as PEP440Version @@ -70,7 +72,7 @@ def _get_semver_version(): # to receive a valid semver string when receiving requests from the language host, so it's our # responsibility as the library to convert our own PEP440 version into a valid semver string. - pep440_version_string = pkg_resources.require(root_package)[0].version + pep440_version_string = importlib.metadata.version(root_package) pep440_version = PEP440Version.parse(pep440_version_string) (major, minor, patch) = pep440_version.release prerelease = None @@ -247,23 +249,43 @@ def lifted_func(*args, opts=None, **kwargs): return (lambda _: lifted_func) -def configure(val, cls: type, input: bool): - def _apply(v): - if isinstance(v, typing.Mapping): - def _setter(key, value): - v[key] = value - cls._configure(_setter, **v) - return v +def call_plain( + tok: str, + props: pulumi.Inputs, + res: typing.Optional[pulumi.Resource] = None, + typ: typing.Optional[type] = None, +) -> typing.Any: + """ + Wraps pulumi.runtime.plain to force the output and return it plainly. + """ + + output = pulumi.runtime.call(tok, props, res, typ) + + # Ingoring deps silently. They are typically non-empty, r.f() calls include r as a dependency. + result, known, secret, _ = _sync_await(asyncio.ensure_future(_await_output(output))) - # Check that cls has a static _configure method. External classes may - # not have it if it was generated with older codegen. - if hasattr(cls, "_configure"): - if isinstance(val, typing.Mapping): - return _apply(val) - elif input and val is not None and not isinstance(val, cls): - return pulumi.Output.from_input(val).apply(_apply) + problem = None + if not known: + problem = ' an unknown value' + elif secret: + problem = ' a secret value' - return val + if problem: + raise AssertionError( + f"Plain resource method '{tok}' incorrectly returned {problem}. " + + "This is an error in the provider, please report this to the provider developer." + ) + + return result + + +async def _await_output(o: pulumi.Output[typing.Any]) -> typing.Tuple[object, bool, bool, set]: + return ( + await o._future, + await o._is_known, + await o._is_secret, + await o._resources, + ) def get_plugin_download_url(): return "https://downloads.spacelift.io/pulumi-plugins" diff --git a/sdk/python/pulumi_spacelift/audit_trail_webhook.py b/sdk/python/pulumi_spacelift/audit_trail_webhook.py index 2663730..7778cd3 100644 --- a/sdk/python/pulumi_spacelift/audit_trail_webhook.py +++ b/sdk/python/pulumi_spacelift/audit_trail_webhook.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['AuditTrailWebhookArgs', 'AuditTrailWebhook'] @@ -25,36 +25,11 @@ def __init__(__self__, *, :param pulumi.Input[str] secret: `secret` is a secret that Spacelift will send with the request :param pulumi.Input[bool] include_runs: `include_runs` determines whether the webhook should include information about the run that triggered the event. """ - AuditTrailWebhookArgs._configure( - lambda key, value: pulumi.set(__self__, key, value), - enabled=enabled, - endpoint=endpoint, - secret=secret, - include_runs=include_runs, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - enabled: Optional[pulumi.Input[bool]] = None, - endpoint: Optional[pulumi.Input[str]] = None, - secret: Optional[pulumi.Input[str]] = None, - include_runs: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if enabled is None: - raise TypeError("Missing 'enabled' argument") - if endpoint is None: - raise TypeError("Missing 'endpoint' argument") - if secret is None: - raise TypeError("Missing 'secret' argument") - if include_runs is None and 'includeRuns' in kwargs: - include_runs = kwargs['includeRuns'] - - _setter("enabled", enabled) - _setter("endpoint", endpoint) - _setter("secret", secret) + pulumi.set(__self__, "enabled", enabled) + pulumi.set(__self__, "endpoint", endpoint) + pulumi.set(__self__, "secret", secret) if include_runs is not None: - _setter("include_runs", include_runs) + pulumi.set(__self__, "include_runs", include_runs) @property @pulumi.getter @@ -119,33 +94,14 @@ def __init__(__self__, *, :param pulumi.Input[bool] include_runs: `include_runs` determines whether the webhook should include information about the run that triggered the event. :param pulumi.Input[str] secret: `secret` is a secret that Spacelift will send with the request """ - _AuditTrailWebhookState._configure( - lambda key, value: pulumi.set(__self__, key, value), - enabled=enabled, - endpoint=endpoint, - include_runs=include_runs, - secret=secret, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - enabled: Optional[pulumi.Input[bool]] = None, - endpoint: Optional[pulumi.Input[str]] = None, - include_runs: Optional[pulumi.Input[bool]] = None, - secret: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if include_runs is None and 'includeRuns' in kwargs: - include_runs = kwargs['includeRuns'] - if enabled is not None: - _setter("enabled", enabled) + pulumi.set(__self__, "enabled", enabled) if endpoint is not None: - _setter("endpoint", endpoint) + pulumi.set(__self__, "endpoint", endpoint) if include_runs is not None: - _setter("include_runs", include_runs) + pulumi.set(__self__, "include_runs", include_runs) if secret is not None: - _setter("secret", secret) + pulumi.set(__self__, "secret", secret) @property @pulumi.getter @@ -259,10 +215,6 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: - kwargs = kwargs or {} - def _setter(key, value): - kwargs[key] = value - AuditTrailWebhookArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_spacelift/aws_integration.py b/sdk/python/pulumi_spacelift/aws_integration.py index ece5bb4..6f825fb 100644 --- a/sdk/python/pulumi_spacelift/aws_integration.py +++ b/sdk/python/pulumi_spacelift/aws_integration.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['AwsIntegrationArgs', 'AwsIntegration'] @@ -31,54 +31,19 @@ def __init__(__self__, *, :param pulumi.Input[str] name: The friendly name of the integration :param pulumi.Input[str] space_id: ID (slug) of the space the integration is in """ - AwsIntegrationArgs._configure( - lambda key, value: pulumi.set(__self__, key, value), - role_arn=role_arn, - duration_seconds=duration_seconds, - external_id=external_id, - generate_credentials_in_worker=generate_credentials_in_worker, - labels=labels, - name=name, - space_id=space_id, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - role_arn: Optional[pulumi.Input[str]] = None, - duration_seconds: Optional[pulumi.Input[int]] = None, - external_id: Optional[pulumi.Input[str]] = None, - generate_credentials_in_worker: Optional[pulumi.Input[bool]] = None, - labels: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - name: Optional[pulumi.Input[str]] = None, - space_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if role_arn is None and 'roleArn' in kwargs: - role_arn = kwargs['roleArn'] - if role_arn is None: - raise TypeError("Missing 'role_arn' argument") - if duration_seconds is None and 'durationSeconds' in kwargs: - duration_seconds = kwargs['durationSeconds'] - if external_id is None and 'externalId' in kwargs: - external_id = kwargs['externalId'] - if generate_credentials_in_worker is None and 'generateCredentialsInWorker' in kwargs: - generate_credentials_in_worker = kwargs['generateCredentialsInWorker'] - if space_id is None and 'spaceId' in kwargs: - space_id = kwargs['spaceId'] - - _setter("role_arn", role_arn) + pulumi.set(__self__, "role_arn", role_arn) if duration_seconds is not None: - _setter("duration_seconds", duration_seconds) + pulumi.set(__self__, "duration_seconds", duration_seconds) if external_id is not None: - _setter("external_id", external_id) + pulumi.set(__self__, "external_id", external_id) if generate_credentials_in_worker is not None: - _setter("generate_credentials_in_worker", generate_credentials_in_worker) + pulumi.set(__self__, "generate_credentials_in_worker", generate_credentials_in_worker) if labels is not None: - _setter("labels", labels) + pulumi.set(__self__, "labels", labels) if name is not None: - _setter("name", name) + pulumi.set(__self__, "name", name) if space_id is not None: - _setter("space_id", space_id) + pulumi.set(__self__, "space_id", space_id) @property @pulumi.getter(name="roleArn") @@ -185,53 +150,20 @@ def __init__(__self__, *, :param pulumi.Input[str] role_arn: ARN of the AWS IAM role to attach :param pulumi.Input[str] space_id: ID (slug) of the space the integration is in """ - _AwsIntegrationState._configure( - lambda key, value: pulumi.set(__self__, key, value), - duration_seconds=duration_seconds, - external_id=external_id, - generate_credentials_in_worker=generate_credentials_in_worker, - labels=labels, - name=name, - role_arn=role_arn, - space_id=space_id, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - duration_seconds: Optional[pulumi.Input[int]] = None, - external_id: Optional[pulumi.Input[str]] = None, - generate_credentials_in_worker: Optional[pulumi.Input[bool]] = None, - labels: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - name: Optional[pulumi.Input[str]] = None, - role_arn: Optional[pulumi.Input[str]] = None, - space_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if duration_seconds is None and 'durationSeconds' in kwargs: - duration_seconds = kwargs['durationSeconds'] - if external_id is None and 'externalId' in kwargs: - external_id = kwargs['externalId'] - if generate_credentials_in_worker is None and 'generateCredentialsInWorker' in kwargs: - generate_credentials_in_worker = kwargs['generateCredentialsInWorker'] - if role_arn is None and 'roleArn' in kwargs: - role_arn = kwargs['roleArn'] - if space_id is None and 'spaceId' in kwargs: - space_id = kwargs['spaceId'] - if duration_seconds is not None: - _setter("duration_seconds", duration_seconds) + pulumi.set(__self__, "duration_seconds", duration_seconds) if external_id is not None: - _setter("external_id", external_id) + pulumi.set(__self__, "external_id", external_id) if generate_credentials_in_worker is not None: - _setter("generate_credentials_in_worker", generate_credentials_in_worker) + pulumi.set(__self__, "generate_credentials_in_worker", generate_credentials_in_worker) if labels is not None: - _setter("labels", labels) + pulumi.set(__self__, "labels", labels) if name is not None: - _setter("name", name) + pulumi.set(__self__, "name", name) if role_arn is not None: - _setter("role_arn", role_arn) + pulumi.set(__self__, "role_arn", role_arn) if space_id is not None: - _setter("space_id", space_id) + pulumi.set(__self__, "space_id", space_id) @property @pulumi.getter(name="durationSeconds") @@ -379,10 +311,6 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: - kwargs = kwargs or {} - def _setter(key, value): - kwargs[key] = value - AwsIntegrationArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_spacelift/aws_integration_attachment.py b/sdk/python/pulumi_spacelift/aws_integration_attachment.py index 8851af1..135a778 100644 --- a/sdk/python/pulumi_spacelift/aws_integration_attachment.py +++ b/sdk/python/pulumi_spacelift/aws_integration_attachment.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['AwsIntegrationAttachmentArgs', 'AwsIntegrationAttachment'] @@ -27,42 +27,15 @@ def __init__(__self__, *, :param pulumi.Input[str] stack_id: ID of the stack to attach the integration to :param pulumi.Input[bool] write: Indicates whether this attachment is used for write operations. Defaults to `true`. """ - AwsIntegrationAttachmentArgs._configure( - lambda key, value: pulumi.set(__self__, key, value), - integration_id=integration_id, - module_id=module_id, - read=read, - stack_id=stack_id, - write=write, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - integration_id: Optional[pulumi.Input[str]] = None, - module_id: Optional[pulumi.Input[str]] = None, - read: Optional[pulumi.Input[bool]] = None, - stack_id: Optional[pulumi.Input[str]] = None, - write: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if integration_id is None and 'integrationId' in kwargs: - integration_id = kwargs['integrationId'] - if integration_id is None: - raise TypeError("Missing 'integration_id' argument") - if module_id is None and 'moduleId' in kwargs: - module_id = kwargs['moduleId'] - if stack_id is None and 'stackId' in kwargs: - stack_id = kwargs['stackId'] - - _setter("integration_id", integration_id) + pulumi.set(__self__, "integration_id", integration_id) if module_id is not None: - _setter("module_id", module_id) + pulumi.set(__self__, "module_id", module_id) if read is not None: - _setter("read", read) + pulumi.set(__self__, "read", read) if stack_id is not None: - _setter("stack_id", stack_id) + pulumi.set(__self__, "stack_id", stack_id) if write is not None: - _setter("write", write) + pulumi.set(__self__, "write", write) @property @pulumi.getter(name="integrationId") @@ -143,47 +116,18 @@ def __init__(__self__, *, :param pulumi.Input[str] stack_id: ID of the stack to attach the integration to :param pulumi.Input[bool] write: Indicates whether this attachment is used for write operations. Defaults to `true`. """ - _AwsIntegrationAttachmentState._configure( - lambda key, value: pulumi.set(__self__, key, value), - attachment_id=attachment_id, - integration_id=integration_id, - module_id=module_id, - read=read, - stack_id=stack_id, - write=write, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - attachment_id: Optional[pulumi.Input[str]] = None, - integration_id: Optional[pulumi.Input[str]] = None, - module_id: Optional[pulumi.Input[str]] = None, - read: Optional[pulumi.Input[bool]] = None, - stack_id: Optional[pulumi.Input[str]] = None, - write: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if attachment_id is None and 'attachmentId' in kwargs: - attachment_id = kwargs['attachmentId'] - if integration_id is None and 'integrationId' in kwargs: - integration_id = kwargs['integrationId'] - if module_id is None and 'moduleId' in kwargs: - module_id = kwargs['moduleId'] - if stack_id is None and 'stackId' in kwargs: - stack_id = kwargs['stackId'] - if attachment_id is not None: - _setter("attachment_id", attachment_id) + pulumi.set(__self__, "attachment_id", attachment_id) if integration_id is not None: - _setter("integration_id", integration_id) + pulumi.set(__self__, "integration_id", integration_id) if module_id is not None: - _setter("module_id", module_id) + pulumi.set(__self__, "module_id", module_id) if read is not None: - _setter("read", read) + pulumi.set(__self__, "read", read) if stack_id is not None: - _setter("stack_id", stack_id) + pulumi.set(__self__, "stack_id", stack_id) if write is not None: - _setter("write", write) + pulumi.set(__self__, "write", write) @property @pulumi.getter(name="attachmentId") @@ -355,10 +299,6 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: - kwargs = kwargs or {} - def _setter(key, value): - kwargs[key] = value - AwsIntegrationAttachmentArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_spacelift/aws_role.py b/sdk/python/pulumi_spacelift/aws_role.py index af1e1f5..bb14052 100644 --- a/sdk/python/pulumi_spacelift/aws_role.py +++ b/sdk/python/pulumi_spacelift/aws_role.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['AwsRoleArgs', 'AwsRole'] @@ -29,52 +29,17 @@ def __init__(__self__, *, :param pulumi.Input[str] module_id: ID of the module which assumes the AWS IAM role :param pulumi.Input[str] stack_id: ID of the stack which assumes the AWS IAM role """ - AwsRoleArgs._configure( - lambda key, value: pulumi.set(__self__, key, value), - role_arn=role_arn, - duration_seconds=duration_seconds, - external_id=external_id, - generate_credentials_in_worker=generate_credentials_in_worker, - module_id=module_id, - stack_id=stack_id, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - role_arn: Optional[pulumi.Input[str]] = None, - duration_seconds: Optional[pulumi.Input[int]] = None, - external_id: Optional[pulumi.Input[str]] = None, - generate_credentials_in_worker: Optional[pulumi.Input[bool]] = None, - module_id: Optional[pulumi.Input[str]] = None, - stack_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if role_arn is None and 'roleArn' in kwargs: - role_arn = kwargs['roleArn'] - if role_arn is None: - raise TypeError("Missing 'role_arn' argument") - if duration_seconds is None and 'durationSeconds' in kwargs: - duration_seconds = kwargs['durationSeconds'] - if external_id is None and 'externalId' in kwargs: - external_id = kwargs['externalId'] - if generate_credentials_in_worker is None and 'generateCredentialsInWorker' in kwargs: - generate_credentials_in_worker = kwargs['generateCredentialsInWorker'] - if module_id is None and 'moduleId' in kwargs: - module_id = kwargs['moduleId'] - if stack_id is None and 'stackId' in kwargs: - stack_id = kwargs['stackId'] - - _setter("role_arn", role_arn) + pulumi.set(__self__, "role_arn", role_arn) if duration_seconds is not None: - _setter("duration_seconds", duration_seconds) + pulumi.set(__self__, "duration_seconds", duration_seconds) if external_id is not None: - _setter("external_id", external_id) + pulumi.set(__self__, "external_id", external_id) if generate_credentials_in_worker is not None: - _setter("generate_credentials_in_worker", generate_credentials_in_worker) + pulumi.set(__self__, "generate_credentials_in_worker", generate_credentials_in_worker) if module_id is not None: - _setter("module_id", module_id) + pulumi.set(__self__, "module_id", module_id) if stack_id is not None: - _setter("stack_id", stack_id) + pulumi.set(__self__, "stack_id", stack_id) @property @pulumi.getter(name="roleArn") @@ -167,51 +132,18 @@ def __init__(__self__, *, :param pulumi.Input[str] role_arn: ARN of the AWS IAM role to attach :param pulumi.Input[str] stack_id: ID of the stack which assumes the AWS IAM role """ - _AwsRoleState._configure( - lambda key, value: pulumi.set(__self__, key, value), - duration_seconds=duration_seconds, - external_id=external_id, - generate_credentials_in_worker=generate_credentials_in_worker, - module_id=module_id, - role_arn=role_arn, - stack_id=stack_id, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - duration_seconds: Optional[pulumi.Input[int]] = None, - external_id: Optional[pulumi.Input[str]] = None, - generate_credentials_in_worker: Optional[pulumi.Input[bool]] = None, - module_id: Optional[pulumi.Input[str]] = None, - role_arn: Optional[pulumi.Input[str]] = None, - stack_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if duration_seconds is None and 'durationSeconds' in kwargs: - duration_seconds = kwargs['durationSeconds'] - if external_id is None and 'externalId' in kwargs: - external_id = kwargs['externalId'] - if generate_credentials_in_worker is None and 'generateCredentialsInWorker' in kwargs: - generate_credentials_in_worker = kwargs['generateCredentialsInWorker'] - if module_id is None and 'moduleId' in kwargs: - module_id = kwargs['moduleId'] - if role_arn is None and 'roleArn' in kwargs: - role_arn = kwargs['roleArn'] - if stack_id is None and 'stackId' in kwargs: - stack_id = kwargs['stackId'] - if duration_seconds is not None: - _setter("duration_seconds", duration_seconds) + pulumi.set(__self__, "duration_seconds", duration_seconds) if external_id is not None: - _setter("external_id", external_id) + pulumi.set(__self__, "external_id", external_id) if generate_credentials_in_worker is not None: - _setter("generate_credentials_in_worker", generate_credentials_in_worker) + pulumi.set(__self__, "generate_credentials_in_worker", generate_credentials_in_worker) if module_id is not None: - _setter("module_id", module_id) + pulumi.set(__self__, "module_id", module_id) if role_arn is not None: - _setter("role_arn", role_arn) + pulumi.set(__self__, "role_arn", role_arn) if stack_id is not None: - _setter("stack_id", stack_id) + pulumi.set(__self__, "stack_id", stack_id) @property @pulumi.getter(name="durationSeconds") @@ -361,10 +293,6 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: - kwargs = kwargs or {} - def _setter(key, value): - kwargs[key] = value - AwsRoleArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_spacelift/azure_integration.py b/sdk/python/pulumi_spacelift/azure_integration.py index fa4ea19..e784adb 100644 --- a/sdk/python/pulumi_spacelift/azure_integration.py +++ b/sdk/python/pulumi_spacelift/azure_integration.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['AzureIntegrationArgs', 'AzureIntegration'] @@ -27,42 +27,15 @@ def __init__(__self__, *, :param pulumi.Input[str] name: The friendly name of the integration :param pulumi.Input[str] space_id: ID (slug) of the space the integration is in """ - AzureIntegrationArgs._configure( - lambda key, value: pulumi.set(__self__, key, value), - tenant_id=tenant_id, - default_subscription_id=default_subscription_id, - labels=labels, - name=name, - space_id=space_id, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - tenant_id: Optional[pulumi.Input[str]] = None, - default_subscription_id: Optional[pulumi.Input[str]] = None, - labels: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - name: Optional[pulumi.Input[str]] = None, - space_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if tenant_id is None and 'tenantId' in kwargs: - tenant_id = kwargs['tenantId'] - if tenant_id is None: - raise TypeError("Missing 'tenant_id' argument") - if default_subscription_id is None and 'defaultSubscriptionId' in kwargs: - default_subscription_id = kwargs['defaultSubscriptionId'] - if space_id is None and 'spaceId' in kwargs: - space_id = kwargs['spaceId'] - - _setter("tenant_id", tenant_id) + pulumi.set(__self__, "tenant_id", tenant_id) if default_subscription_id is not None: - _setter("default_subscription_id", default_subscription_id) + pulumi.set(__self__, "default_subscription_id", default_subscription_id) if labels is not None: - _setter("labels", labels) + pulumi.set(__self__, "labels", labels) if name is not None: - _setter("name", name) + pulumi.set(__self__, "name", name) if space_id is not None: - _setter("space_id", space_id) + pulumi.set(__self__, "space_id", space_id) @property @pulumi.getter(name="tenantId") @@ -149,65 +122,24 @@ def __init__(__self__, *, :param pulumi.Input[str] space_id: ID (slug) of the space the integration is in :param pulumi.Input[str] tenant_id: The Azure AD tenant ID """ - _AzureIntegrationState._configure( - lambda key, value: pulumi.set(__self__, key, value), - admin_consent_provided=admin_consent_provided, - admin_consent_url=admin_consent_url, - application_id=application_id, - default_subscription_id=default_subscription_id, - display_name=display_name, - labels=labels, - name=name, - space_id=space_id, - tenant_id=tenant_id, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - admin_consent_provided: Optional[pulumi.Input[bool]] = None, - admin_consent_url: Optional[pulumi.Input[str]] = None, - application_id: Optional[pulumi.Input[str]] = None, - default_subscription_id: Optional[pulumi.Input[str]] = None, - display_name: Optional[pulumi.Input[str]] = None, - labels: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - name: Optional[pulumi.Input[str]] = None, - space_id: Optional[pulumi.Input[str]] = None, - tenant_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if admin_consent_provided is None and 'adminConsentProvided' in kwargs: - admin_consent_provided = kwargs['adminConsentProvided'] - if admin_consent_url is None and 'adminConsentUrl' in kwargs: - admin_consent_url = kwargs['adminConsentUrl'] - if application_id is None and 'applicationId' in kwargs: - application_id = kwargs['applicationId'] - if default_subscription_id is None and 'defaultSubscriptionId' in kwargs: - default_subscription_id = kwargs['defaultSubscriptionId'] - if display_name is None and 'displayName' in kwargs: - display_name = kwargs['displayName'] - if space_id is None and 'spaceId' in kwargs: - space_id = kwargs['spaceId'] - if tenant_id is None and 'tenantId' in kwargs: - tenant_id = kwargs['tenantId'] - if admin_consent_provided is not None: - _setter("admin_consent_provided", admin_consent_provided) + pulumi.set(__self__, "admin_consent_provided", admin_consent_provided) if admin_consent_url is not None: - _setter("admin_consent_url", admin_consent_url) + pulumi.set(__self__, "admin_consent_url", admin_consent_url) if application_id is not None: - _setter("application_id", application_id) + pulumi.set(__self__, "application_id", application_id) if default_subscription_id is not None: - _setter("default_subscription_id", default_subscription_id) + pulumi.set(__self__, "default_subscription_id", default_subscription_id) if display_name is not None: - _setter("display_name", display_name) + pulumi.set(__self__, "display_name", display_name) if labels is not None: - _setter("labels", labels) + pulumi.set(__self__, "labels", labels) if name is not None: - _setter("name", name) + pulumi.set(__self__, "name", name) if space_id is not None: - _setter("space_id", space_id) + pulumi.set(__self__, "space_id", space_id) if tenant_id is not None: - _setter("tenant_id", tenant_id) + pulumi.set(__self__, "tenant_id", tenant_id) @property @pulumi.getter(name="adminConsentProvided") @@ -401,10 +333,6 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: - kwargs = kwargs or {} - def _setter(key, value): - kwargs[key] = value - AzureIntegrationArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_spacelift/azure_integration_attachment.py b/sdk/python/pulumi_spacelift/azure_integration_attachment.py index 3f693fb..97bc5fc 100644 --- a/sdk/python/pulumi_spacelift/azure_integration_attachment.py +++ b/sdk/python/pulumi_spacelift/azure_integration_attachment.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['AzureIntegrationAttachmentArgs', 'AzureIntegrationAttachment'] @@ -29,48 +29,17 @@ def __init__(__self__, *, :param pulumi.Input[str] subscription_id: Contains the Azure subscription ID to use with this Stack. Overrides the default subscription ID set at the integration level. :param pulumi.Input[bool] write: Indicates whether this attachment is used for write operations. Defaults to `true`. """ - AzureIntegrationAttachmentArgs._configure( - lambda key, value: pulumi.set(__self__, key, value), - integration_id=integration_id, - module_id=module_id, - read=read, - stack_id=stack_id, - subscription_id=subscription_id, - write=write, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - integration_id: Optional[pulumi.Input[str]] = None, - module_id: Optional[pulumi.Input[str]] = None, - read: Optional[pulumi.Input[bool]] = None, - stack_id: Optional[pulumi.Input[str]] = None, - subscription_id: Optional[pulumi.Input[str]] = None, - write: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if integration_id is None and 'integrationId' in kwargs: - integration_id = kwargs['integrationId'] - if integration_id is None: - raise TypeError("Missing 'integration_id' argument") - if module_id is None and 'moduleId' in kwargs: - module_id = kwargs['moduleId'] - if stack_id is None and 'stackId' in kwargs: - stack_id = kwargs['stackId'] - if subscription_id is None and 'subscriptionId' in kwargs: - subscription_id = kwargs['subscriptionId'] - - _setter("integration_id", integration_id) + pulumi.set(__self__, "integration_id", integration_id) if module_id is not None: - _setter("module_id", module_id) + pulumi.set(__self__, "module_id", module_id) if read is not None: - _setter("read", read) + pulumi.set(__self__, "read", read) if stack_id is not None: - _setter("stack_id", stack_id) + pulumi.set(__self__, "stack_id", stack_id) if subscription_id is not None: - _setter("subscription_id", subscription_id) + pulumi.set(__self__, "subscription_id", subscription_id) if write is not None: - _setter("write", write) + pulumi.set(__self__, "write", write) @property @pulumi.getter(name="integrationId") @@ -165,53 +134,20 @@ def __init__(__self__, *, :param pulumi.Input[str] subscription_id: Contains the Azure subscription ID to use with this Stack. Overrides the default subscription ID set at the integration level. :param pulumi.Input[bool] write: Indicates whether this attachment is used for write operations. Defaults to `true`. """ - _AzureIntegrationAttachmentState._configure( - lambda key, value: pulumi.set(__self__, key, value), - attachment_id=attachment_id, - integration_id=integration_id, - module_id=module_id, - read=read, - stack_id=stack_id, - subscription_id=subscription_id, - write=write, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - attachment_id: Optional[pulumi.Input[str]] = None, - integration_id: Optional[pulumi.Input[str]] = None, - module_id: Optional[pulumi.Input[str]] = None, - read: Optional[pulumi.Input[bool]] = None, - stack_id: Optional[pulumi.Input[str]] = None, - subscription_id: Optional[pulumi.Input[str]] = None, - write: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if attachment_id is None and 'attachmentId' in kwargs: - attachment_id = kwargs['attachmentId'] - if integration_id is None and 'integrationId' in kwargs: - integration_id = kwargs['integrationId'] - if module_id is None and 'moduleId' in kwargs: - module_id = kwargs['moduleId'] - if stack_id is None and 'stackId' in kwargs: - stack_id = kwargs['stackId'] - if subscription_id is None and 'subscriptionId' in kwargs: - subscription_id = kwargs['subscriptionId'] - if attachment_id is not None: - _setter("attachment_id", attachment_id) + pulumi.set(__self__, "attachment_id", attachment_id) if integration_id is not None: - _setter("integration_id", integration_id) + pulumi.set(__self__, "integration_id", integration_id) if module_id is not None: - _setter("module_id", module_id) + pulumi.set(__self__, "module_id", module_id) if read is not None: - _setter("read", read) + pulumi.set(__self__, "read", read) if stack_id is not None: - _setter("stack_id", stack_id) + pulumi.set(__self__, "stack_id", stack_id) if subscription_id is not None: - _setter("subscription_id", subscription_id) + pulumi.set(__self__, "subscription_id", subscription_id) if write is not None: - _setter("write", write) + pulumi.set(__self__, "write", write) @property @pulumi.getter(name="attachmentId") @@ -401,10 +337,6 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: - kwargs = kwargs or {} - def _setter(key, value): - kwargs[key] = value - AzureIntegrationAttachmentArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_spacelift/blueprint.py b/sdk/python/pulumi_spacelift/blueprint.py index b3f43c3..b876637 100644 --- a/sdk/python/pulumi_spacelift/blueprint.py +++ b/sdk/python/pulumi_spacelift/blueprint.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['BlueprintArgs', 'Blueprint'] @@ -29,41 +29,16 @@ def __init__(__self__, *, :param pulumi.Input[str] name: Name of the blueprint :param pulumi.Input[str] template: Body of the blueprint. If `state` is set to `PUBLISHED`, this field is required. """ - BlueprintArgs._configure( - lambda key, value: pulumi.set(__self__, key, value), - space=space, - state=state, - description=description, - labels=labels, - name=name, - template=template, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - space: Optional[pulumi.Input[str]] = None, - state: Optional[pulumi.Input[str]] = None, - description: Optional[pulumi.Input[str]] = None, - labels: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - name: Optional[pulumi.Input[str]] = None, - template: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if space is None: - raise TypeError("Missing 'space' argument") - if state is None: - raise TypeError("Missing 'state' argument") - - _setter("space", space) - _setter("state", state) + pulumi.set(__self__, "space", space) + pulumi.set(__self__, "state", state) if description is not None: - _setter("description", description) + pulumi.set(__self__, "description", description) if labels is not None: - _setter("labels", labels) + pulumi.set(__self__, "labels", labels) if name is not None: - _setter("name", name) + pulumi.set(__self__, "name", name) if template is not None: - _setter("template", template) + pulumi.set(__self__, "template", template) @property @pulumi.getter @@ -156,39 +131,18 @@ def __init__(__self__, *, :param pulumi.Input[str] state: State of the blueprint. Value can be `DRAFT` or `PUBLISHED`. :param pulumi.Input[str] template: Body of the blueprint. If `state` is set to `PUBLISHED`, this field is required. """ - _BlueprintState._configure( - lambda key, value: pulumi.set(__self__, key, value), - description=description, - labels=labels, - name=name, - space=space, - state=state, - template=template, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - description: Optional[pulumi.Input[str]] = None, - labels: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - name: Optional[pulumi.Input[str]] = None, - space: Optional[pulumi.Input[str]] = None, - state: Optional[pulumi.Input[str]] = None, - template: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if description is not None: - _setter("description", description) + pulumi.set(__self__, "description", description) if labels is not None: - _setter("labels", labels) + pulumi.set(__self__, "labels", labels) if name is not None: - _setter("name", name) + pulumi.set(__self__, "name", name) if space is not None: - _setter("space", space) + pulumi.set(__self__, "space", space) if state is not None: - _setter("state", state) + pulumi.set(__self__, "state", state) if template is not None: - _setter("template", template) + pulumi.set(__self__, "template", template) @property @pulumi.getter @@ -304,10 +258,6 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: - kwargs = kwargs or {} - def _setter(key, value): - kwargs[key] = value - BlueprintArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_spacelift/config/__init__.pyi b/sdk/python/pulumi_spacelift/config/__init__.pyi index 66f33db..54d0c8b 100644 --- a/sdk/python/pulumi_spacelift/config/__init__.pyi +++ b/sdk/python/pulumi_spacelift/config/__init__.pyi @@ -6,7 +6,7 @@ import copy import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities apiKeyEndpoint: Optional[str] diff --git a/sdk/python/pulumi_spacelift/config/vars.py b/sdk/python/pulumi_spacelift/config/vars.py index aee3d6a..b097937 100644 --- a/sdk/python/pulumi_spacelift/config/vars.py +++ b/sdk/python/pulumi_spacelift/config/vars.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities import types diff --git a/sdk/python/pulumi_spacelift/context.py b/sdk/python/pulumi_spacelift/context.py index 8a45ef3..3db4996 100644 --- a/sdk/python/pulumi_spacelift/context.py +++ b/sdk/python/pulumi_spacelift/context.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['ContextArgs', 'Context'] @@ -46,99 +46,36 @@ def __init__(__self__, *, :param pulumi.Input[str] name: Name of the context - should be unique in one account :param pulumi.Input[str] space_id: ID (slug) of the space the context is in """ - ContextArgs._configure( - lambda key, value: pulumi.set(__self__, key, value), - after_applies=after_applies, - after_destroys=after_destroys, - after_inits=after_inits, - after_performs=after_performs, - after_plans=after_plans, - after_runs=after_runs, - before_applies=before_applies, - before_destroys=before_destroys, - before_inits=before_inits, - before_performs=before_performs, - before_plans=before_plans, - description=description, - labels=labels, - name=name, - space_id=space_id, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - after_applies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - after_destroys: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - after_inits: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - after_performs: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - after_plans: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - after_runs: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - before_applies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - before_destroys: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - before_inits: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - before_performs: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - before_plans: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - description: Optional[pulumi.Input[str]] = None, - labels: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - name: Optional[pulumi.Input[str]] = None, - space_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if after_applies is None and 'afterApplies' in kwargs: - after_applies = kwargs['afterApplies'] - if after_destroys is None and 'afterDestroys' in kwargs: - after_destroys = kwargs['afterDestroys'] - if after_inits is None and 'afterInits' in kwargs: - after_inits = kwargs['afterInits'] - if after_performs is None and 'afterPerforms' in kwargs: - after_performs = kwargs['afterPerforms'] - if after_plans is None and 'afterPlans' in kwargs: - after_plans = kwargs['afterPlans'] - if after_runs is None and 'afterRuns' in kwargs: - after_runs = kwargs['afterRuns'] - if before_applies is None and 'beforeApplies' in kwargs: - before_applies = kwargs['beforeApplies'] - if before_destroys is None and 'beforeDestroys' in kwargs: - before_destroys = kwargs['beforeDestroys'] - if before_inits is None and 'beforeInits' in kwargs: - before_inits = kwargs['beforeInits'] - if before_performs is None and 'beforePerforms' in kwargs: - before_performs = kwargs['beforePerforms'] - if before_plans is None and 'beforePlans' in kwargs: - before_plans = kwargs['beforePlans'] - if space_id is None and 'spaceId' in kwargs: - space_id = kwargs['spaceId'] - if after_applies is not None: - _setter("after_applies", after_applies) + pulumi.set(__self__, "after_applies", after_applies) if after_destroys is not None: - _setter("after_destroys", after_destroys) + pulumi.set(__self__, "after_destroys", after_destroys) if after_inits is not None: - _setter("after_inits", after_inits) + pulumi.set(__self__, "after_inits", after_inits) if after_performs is not None: - _setter("after_performs", after_performs) + pulumi.set(__self__, "after_performs", after_performs) if after_plans is not None: - _setter("after_plans", after_plans) + pulumi.set(__self__, "after_plans", after_plans) if after_runs is not None: - _setter("after_runs", after_runs) + pulumi.set(__self__, "after_runs", after_runs) if before_applies is not None: - _setter("before_applies", before_applies) + pulumi.set(__self__, "before_applies", before_applies) if before_destroys is not None: - _setter("before_destroys", before_destroys) + pulumi.set(__self__, "before_destroys", before_destroys) if before_inits is not None: - _setter("before_inits", before_inits) + pulumi.set(__self__, "before_inits", before_inits) if before_performs is not None: - _setter("before_performs", before_performs) + pulumi.set(__self__, "before_performs", before_performs) if before_plans is not None: - _setter("before_plans", before_plans) + pulumi.set(__self__, "before_plans", before_plans) if description is not None: - _setter("description", description) + pulumi.set(__self__, "description", description) if labels is not None: - _setter("labels", labels) + pulumi.set(__self__, "labels", labels) if name is not None: - _setter("name", name) + pulumi.set(__self__, "name", name) if space_id is not None: - _setter("space_id", space_id) + pulumi.set(__self__, "space_id", space_id) @property @pulumi.getter(name="afterApplies") @@ -353,99 +290,36 @@ def __init__(__self__, *, :param pulumi.Input[str] name: Name of the context - should be unique in one account :param pulumi.Input[str] space_id: ID (slug) of the space the context is in """ - _ContextState._configure( - lambda key, value: pulumi.set(__self__, key, value), - after_applies=after_applies, - after_destroys=after_destroys, - after_inits=after_inits, - after_performs=after_performs, - after_plans=after_plans, - after_runs=after_runs, - before_applies=before_applies, - before_destroys=before_destroys, - before_inits=before_inits, - before_performs=before_performs, - before_plans=before_plans, - description=description, - labels=labels, - name=name, - space_id=space_id, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - after_applies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - after_destroys: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - after_inits: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - after_performs: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - after_plans: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - after_runs: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - before_applies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - before_destroys: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - before_inits: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - before_performs: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - before_plans: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - description: Optional[pulumi.Input[str]] = None, - labels: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - name: Optional[pulumi.Input[str]] = None, - space_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if after_applies is None and 'afterApplies' in kwargs: - after_applies = kwargs['afterApplies'] - if after_destroys is None and 'afterDestroys' in kwargs: - after_destroys = kwargs['afterDestroys'] - if after_inits is None and 'afterInits' in kwargs: - after_inits = kwargs['afterInits'] - if after_performs is None and 'afterPerforms' in kwargs: - after_performs = kwargs['afterPerforms'] - if after_plans is None and 'afterPlans' in kwargs: - after_plans = kwargs['afterPlans'] - if after_runs is None and 'afterRuns' in kwargs: - after_runs = kwargs['afterRuns'] - if before_applies is None and 'beforeApplies' in kwargs: - before_applies = kwargs['beforeApplies'] - if before_destroys is None and 'beforeDestroys' in kwargs: - before_destroys = kwargs['beforeDestroys'] - if before_inits is None and 'beforeInits' in kwargs: - before_inits = kwargs['beforeInits'] - if before_performs is None and 'beforePerforms' in kwargs: - before_performs = kwargs['beforePerforms'] - if before_plans is None and 'beforePlans' in kwargs: - before_plans = kwargs['beforePlans'] - if space_id is None and 'spaceId' in kwargs: - space_id = kwargs['spaceId'] - if after_applies is not None: - _setter("after_applies", after_applies) + pulumi.set(__self__, "after_applies", after_applies) if after_destroys is not None: - _setter("after_destroys", after_destroys) + pulumi.set(__self__, "after_destroys", after_destroys) if after_inits is not None: - _setter("after_inits", after_inits) + pulumi.set(__self__, "after_inits", after_inits) if after_performs is not None: - _setter("after_performs", after_performs) + pulumi.set(__self__, "after_performs", after_performs) if after_plans is not None: - _setter("after_plans", after_plans) + pulumi.set(__self__, "after_plans", after_plans) if after_runs is not None: - _setter("after_runs", after_runs) + pulumi.set(__self__, "after_runs", after_runs) if before_applies is not None: - _setter("before_applies", before_applies) + pulumi.set(__self__, "before_applies", before_applies) if before_destroys is not None: - _setter("before_destroys", before_destroys) + pulumi.set(__self__, "before_destroys", before_destroys) if before_inits is not None: - _setter("before_inits", before_inits) + pulumi.set(__self__, "before_inits", before_inits) if before_performs is not None: - _setter("before_performs", before_performs) + pulumi.set(__self__, "before_performs", before_performs) if before_plans is not None: - _setter("before_plans", before_plans) + pulumi.set(__self__, "before_plans", before_plans) if description is not None: - _setter("description", description) + pulumi.set(__self__, "description", description) if labels is not None: - _setter("labels", labels) + pulumi.set(__self__, "labels", labels) if name is not None: - _setter("name", name) + pulumi.set(__self__, "name", name) if space_id is not None: - _setter("space_id", space_id) + pulumi.set(__self__, "space_id", space_id) @property @pulumi.getter(name="afterApplies") @@ -715,10 +589,6 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: - kwargs = kwargs or {} - def _setter(key, value): - kwargs[key] = value - ContextArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_spacelift/context_attachment.py b/sdk/python/pulumi_spacelift/context_attachment.py index d84218a..e392841 100644 --- a/sdk/python/pulumi_spacelift/context_attachment.py +++ b/sdk/python/pulumi_spacelift/context_attachment.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['ContextAttachmentArgs', 'ContextAttachment'] @@ -25,38 +25,13 @@ def __init__(__self__, *, :param pulumi.Input[int] priority: Priority of the context attachment. All the contexts attached to a stack are sorted by priority (lowest first), though values don't need to be unique. This ordering establishes precedence rules between contexts should there be a conflict and multiple contexts define the same value. Defaults to `0`. :param pulumi.Input[str] stack_id: ID of the stack to attach the context to """ - ContextAttachmentArgs._configure( - lambda key, value: pulumi.set(__self__, key, value), - context_id=context_id, - module_id=module_id, - priority=priority, - stack_id=stack_id, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - context_id: Optional[pulumi.Input[str]] = None, - module_id: Optional[pulumi.Input[str]] = None, - priority: Optional[pulumi.Input[int]] = None, - stack_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if context_id is None and 'contextId' in kwargs: - context_id = kwargs['contextId'] - if context_id is None: - raise TypeError("Missing 'context_id' argument") - if module_id is None and 'moduleId' in kwargs: - module_id = kwargs['moduleId'] - if stack_id is None and 'stackId' in kwargs: - stack_id = kwargs['stackId'] - - _setter("context_id", context_id) + pulumi.set(__self__, "context_id", context_id) if module_id is not None: - _setter("module_id", module_id) + pulumi.set(__self__, "module_id", module_id) if priority is not None: - _setter("priority", priority) + pulumi.set(__self__, "priority", priority) if stack_id is not None: - _setter("stack_id", stack_id) + pulumi.set(__self__, "stack_id", stack_id) @property @pulumi.getter(name="contextId") @@ -121,37 +96,14 @@ def __init__(__self__, *, :param pulumi.Input[int] priority: Priority of the context attachment. All the contexts attached to a stack are sorted by priority (lowest first), though values don't need to be unique. This ordering establishes precedence rules between contexts should there be a conflict and multiple contexts define the same value. Defaults to `0`. :param pulumi.Input[str] stack_id: ID of the stack to attach the context to """ - _ContextAttachmentState._configure( - lambda key, value: pulumi.set(__self__, key, value), - context_id=context_id, - module_id=module_id, - priority=priority, - stack_id=stack_id, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - context_id: Optional[pulumi.Input[str]] = None, - module_id: Optional[pulumi.Input[str]] = None, - priority: Optional[pulumi.Input[int]] = None, - stack_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if context_id is None and 'contextId' in kwargs: - context_id = kwargs['contextId'] - if module_id is None and 'moduleId' in kwargs: - module_id = kwargs['moduleId'] - if stack_id is None and 'stackId' in kwargs: - stack_id = kwargs['stackId'] - if context_id is not None: - _setter("context_id", context_id) + pulumi.set(__self__, "context_id", context_id) if module_id is not None: - _setter("module_id", module_id) + pulumi.set(__self__, "module_id", module_id) if priority is not None: - _setter("priority", priority) + pulumi.set(__self__, "priority", priority) if stack_id is not None: - _setter("stack_id", stack_id) + pulumi.set(__self__, "stack_id", stack_id) @property @pulumi.getter(name="contextId") @@ -279,10 +231,6 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: - kwargs = kwargs or {} - def _setter(key, value): - kwargs[key] = value - ContextAttachmentArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_spacelift/drift_detection.py b/sdk/python/pulumi_spacelift/drift_detection.py index 458c815..f2983d4 100644 --- a/sdk/python/pulumi_spacelift/drift_detection.py +++ b/sdk/python/pulumi_spacelift/drift_detection.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['DriftDetectionArgs', 'DriftDetection'] @@ -27,41 +27,14 @@ def __init__(__self__, *, :param pulumi.Input[bool] reconcile: Whether a tracked run should be triggered when drift is detected. :param pulumi.Input[str] timezone: Timezone in which the schedule is expressed. Defaults to `UTC`. """ - DriftDetectionArgs._configure( - lambda key, value: pulumi.set(__self__, key, value), - schedules=schedules, - stack_id=stack_id, - ignore_state=ignore_state, - reconcile=reconcile, - timezone=timezone, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - schedules: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - stack_id: Optional[pulumi.Input[str]] = None, - ignore_state: Optional[pulumi.Input[bool]] = None, - reconcile: Optional[pulumi.Input[bool]] = None, - timezone: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if schedules is None: - raise TypeError("Missing 'schedules' argument") - if stack_id is None and 'stackId' in kwargs: - stack_id = kwargs['stackId'] - if stack_id is None: - raise TypeError("Missing 'stack_id' argument") - if ignore_state is None and 'ignoreState' in kwargs: - ignore_state = kwargs['ignoreState'] - - _setter("schedules", schedules) - _setter("stack_id", stack_id) + pulumi.set(__self__, "schedules", schedules) + pulumi.set(__self__, "stack_id", stack_id) if ignore_state is not None: - _setter("ignore_state", ignore_state) + pulumi.set(__self__, "ignore_state", ignore_state) if reconcile is not None: - _setter("reconcile", reconcile) + pulumi.set(__self__, "reconcile", reconcile) if timezone is not None: - _setter("timezone", timezone) + pulumi.set(__self__, "timezone", timezone) @property @pulumi.getter @@ -140,39 +113,16 @@ def __init__(__self__, *, :param pulumi.Input[str] stack_id: ID of the stack for which to set up drift detection :param pulumi.Input[str] timezone: Timezone in which the schedule is expressed. Defaults to `UTC`. """ - _DriftDetectionState._configure( - lambda key, value: pulumi.set(__self__, key, value), - ignore_state=ignore_state, - reconcile=reconcile, - schedules=schedules, - stack_id=stack_id, - timezone=timezone, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - ignore_state: Optional[pulumi.Input[bool]] = None, - reconcile: Optional[pulumi.Input[bool]] = None, - schedules: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - stack_id: Optional[pulumi.Input[str]] = None, - timezone: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if ignore_state is None and 'ignoreState' in kwargs: - ignore_state = kwargs['ignoreState'] - if stack_id is None and 'stackId' in kwargs: - stack_id = kwargs['stackId'] - if ignore_state is not None: - _setter("ignore_state", ignore_state) + pulumi.set(__self__, "ignore_state", ignore_state) if reconcile is not None: - _setter("reconcile", reconcile) + pulumi.set(__self__, "reconcile", reconcile) if schedules is not None: - _setter("schedules", schedules) + pulumi.set(__self__, "schedules", schedules) if stack_id is not None: - _setter("stack_id", stack_id) + pulumi.set(__self__, "stack_id", stack_id) if timezone is not None: - _setter("timezone", timezone) + pulumi.set(__self__, "timezone", timezone) @property @pulumi.getter(name="ignoreState") @@ -328,10 +278,6 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: - kwargs = kwargs or {} - def _setter(key, value): - kwargs[key] = value - DriftDetectionArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_spacelift/environment_variable.py b/sdk/python/pulumi_spacelift/environment_variable.py index 19cc7e1..b5dcff7 100644 --- a/sdk/python/pulumi_spacelift/environment_variable.py +++ b/sdk/python/pulumi_spacelift/environment_variable.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['EnvironmentVariableArgs', 'EnvironmentVariable'] @@ -29,47 +29,18 @@ def __init__(__self__, *, :param pulumi.Input[str] value: Value of the environment variable. Defaults to an empty string. :param pulumi.Input[bool] write_only: Indicates whether the value is secret or not. Defaults to `true`. """ - EnvironmentVariableArgs._configure( - lambda key, value: pulumi.set(__self__, key, value), - context_id=context_id, - module_id=module_id, - name=name, - stack_id=stack_id, - value=value, - write_only=write_only, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - context_id: Optional[pulumi.Input[str]] = None, - module_id: Optional[pulumi.Input[str]] = None, - name: Optional[pulumi.Input[str]] = None, - stack_id: Optional[pulumi.Input[str]] = None, - value: Optional[pulumi.Input[str]] = None, - write_only: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if context_id is None and 'contextId' in kwargs: - context_id = kwargs['contextId'] - if module_id is None and 'moduleId' in kwargs: - module_id = kwargs['moduleId'] - if stack_id is None and 'stackId' in kwargs: - stack_id = kwargs['stackId'] - if write_only is None and 'writeOnly' in kwargs: - write_only = kwargs['writeOnly'] - if context_id is not None: - _setter("context_id", context_id) + pulumi.set(__self__, "context_id", context_id) if module_id is not None: - _setter("module_id", module_id) + pulumi.set(__self__, "module_id", module_id) if name is not None: - _setter("name", name) + pulumi.set(__self__, "name", name) if stack_id is not None: - _setter("stack_id", stack_id) + pulumi.set(__self__, "stack_id", stack_id) if value is not None: - _setter("value", value) + pulumi.set(__self__, "value", value) if write_only is not None: - _setter("write_only", write_only) + pulumi.set(__self__, "write_only", write_only) @property @pulumi.getter(name="contextId") @@ -164,51 +135,20 @@ def __init__(__self__, *, :param pulumi.Input[str] value: Value of the environment variable. Defaults to an empty string. :param pulumi.Input[bool] write_only: Indicates whether the value is secret or not. Defaults to `true`. """ - _EnvironmentVariableState._configure( - lambda key, value: pulumi.set(__self__, key, value), - checksum=checksum, - context_id=context_id, - module_id=module_id, - name=name, - stack_id=stack_id, - value=value, - write_only=write_only, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - checksum: Optional[pulumi.Input[str]] = None, - context_id: Optional[pulumi.Input[str]] = None, - module_id: Optional[pulumi.Input[str]] = None, - name: Optional[pulumi.Input[str]] = None, - stack_id: Optional[pulumi.Input[str]] = None, - value: Optional[pulumi.Input[str]] = None, - write_only: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if context_id is None and 'contextId' in kwargs: - context_id = kwargs['contextId'] - if module_id is None and 'moduleId' in kwargs: - module_id = kwargs['moduleId'] - if stack_id is None and 'stackId' in kwargs: - stack_id = kwargs['stackId'] - if write_only is None and 'writeOnly' in kwargs: - write_only = kwargs['writeOnly'] - if checksum is not None: - _setter("checksum", checksum) + pulumi.set(__self__, "checksum", checksum) if context_id is not None: - _setter("context_id", context_id) + pulumi.set(__self__, "context_id", context_id) if module_id is not None: - _setter("module_id", module_id) + pulumi.set(__self__, "module_id", module_id) if name is not None: - _setter("name", name) + pulumi.set(__self__, "name", name) if stack_id is not None: - _setter("stack_id", stack_id) + pulumi.set(__self__, "stack_id", stack_id) if value is not None: - _setter("value", value) + pulumi.set(__self__, "value", value) if write_only is not None: - _setter("write_only", write_only) + pulumi.set(__self__, "write_only", write_only) @property @pulumi.getter @@ -412,10 +352,6 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: - kwargs = kwargs or {} - def _setter(key, value): - kwargs[key] = value - EnvironmentVariableArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_spacelift/gcp_service_account.py b/sdk/python/pulumi_spacelift/gcp_service_account.py index 2a4d95d..d8693cd 100644 --- a/sdk/python/pulumi_spacelift/gcp_service_account.py +++ b/sdk/python/pulumi_spacelift/gcp_service_account.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['GcpServiceAccountArgs', 'GcpServiceAccount'] @@ -23,34 +23,11 @@ def __init__(__self__, *, :param pulumi.Input[str] module_id: ID of the module which uses GCP service account credentials :param pulumi.Input[str] stack_id: ID of the stack which uses GCP service account credentials """ - GcpServiceAccountArgs._configure( - lambda key, value: pulumi.set(__self__, key, value), - token_scopes=token_scopes, - module_id=module_id, - stack_id=stack_id, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - token_scopes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - module_id: Optional[pulumi.Input[str]] = None, - stack_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if token_scopes is None and 'tokenScopes' in kwargs: - token_scopes = kwargs['tokenScopes'] - if token_scopes is None: - raise TypeError("Missing 'token_scopes' argument") - if module_id is None and 'moduleId' in kwargs: - module_id = kwargs['moduleId'] - if stack_id is None and 'stackId' in kwargs: - stack_id = kwargs['stackId'] - - _setter("token_scopes", token_scopes) + pulumi.set(__self__, "token_scopes", token_scopes) if module_id is not None: - _setter("module_id", module_id) + pulumi.set(__self__, "module_id", module_id) if stack_id is not None: - _setter("stack_id", stack_id) + pulumi.set(__self__, "stack_id", stack_id) @property @pulumi.getter(name="tokenScopes") @@ -103,39 +80,14 @@ def __init__(__self__, *, :param pulumi.Input[str] stack_id: ID of the stack which uses GCP service account credentials :param pulumi.Input[Sequence[pulumi.Input[str]]] token_scopes: List of scopes that will be requested when generating temporary GCP service account credentials """ - _GcpServiceAccountState._configure( - lambda key, value: pulumi.set(__self__, key, value), - module_id=module_id, - service_account_email=service_account_email, - stack_id=stack_id, - token_scopes=token_scopes, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - module_id: Optional[pulumi.Input[str]] = None, - service_account_email: Optional[pulumi.Input[str]] = None, - stack_id: Optional[pulumi.Input[str]] = None, - token_scopes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if module_id is None and 'moduleId' in kwargs: - module_id = kwargs['moduleId'] - if service_account_email is None and 'serviceAccountEmail' in kwargs: - service_account_email = kwargs['serviceAccountEmail'] - if stack_id is None and 'stackId' in kwargs: - stack_id = kwargs['stackId'] - if token_scopes is None and 'tokenScopes' in kwargs: - token_scopes = kwargs['tokenScopes'] - if module_id is not None: - _setter("module_id", module_id) + pulumi.set(__self__, "module_id", module_id) if service_account_email is not None: - _setter("service_account_email", service_account_email) + pulumi.set(__self__, "service_account_email", service_account_email) if stack_id is not None: - _setter("stack_id", stack_id) + pulumi.set(__self__, "stack_id", stack_id) if token_scopes is not None: - _setter("token_scopes", token_scopes) + pulumi.set(__self__, "token_scopes", token_scopes) @property @pulumi.getter(name="moduleId") @@ -291,10 +243,6 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: - kwargs = kwargs or {} - def _setter(key, value): - kwargs[key] = value - GcpServiceAccountArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_spacelift/get_account.py b/sdk/python/pulumi_spacelift/get_account.py index 18675bf..8a23243 100644 --- a/sdk/python/pulumi_spacelift/get_account.py +++ b/sdk/python/pulumi_spacelift/get_account.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = [ diff --git a/sdk/python/pulumi_spacelift/get_aws_integration.py b/sdk/python/pulumi_spacelift/get_aws_integration.py index b6be94c..5b60411 100644 --- a/sdk/python/pulumi_spacelift/get_aws_integration.py +++ b/sdk/python/pulumi_spacelift/get_aws_integration.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = [ diff --git a/sdk/python/pulumi_spacelift/get_aws_integration_attachment.py b/sdk/python/pulumi_spacelift/get_aws_integration_attachment.py index 8518f02..6c59f55 100644 --- a/sdk/python/pulumi_spacelift/get_aws_integration_attachment.py +++ b/sdk/python/pulumi_spacelift/get_aws_integration_attachment.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = [ diff --git a/sdk/python/pulumi_spacelift/get_aws_integration_attachment_external_id.py b/sdk/python/pulumi_spacelift/get_aws_integration_attachment_external_id.py index 0b65395..2b6ec4a 100644 --- a/sdk/python/pulumi_spacelift/get_aws_integration_attachment_external_id.py +++ b/sdk/python/pulumi_spacelift/get_aws_integration_attachment_external_id.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = [ diff --git a/sdk/python/pulumi_spacelift/get_aws_integrations.py b/sdk/python/pulumi_spacelift/get_aws_integrations.py index 41193b9..79af730 100644 --- a/sdk/python/pulumi_spacelift/get_aws_integrations.py +++ b/sdk/python/pulumi_spacelift/get_aws_integrations.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from . import _utilities from . import outputs diff --git a/sdk/python/pulumi_spacelift/get_aws_role.py b/sdk/python/pulumi_spacelift/get_aws_role.py index 31f3a82..65bc656 100644 --- a/sdk/python/pulumi_spacelift/get_aws_role.py +++ b/sdk/python/pulumi_spacelift/get_aws_role.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = [ diff --git a/sdk/python/pulumi_spacelift/get_azure_devops_integration.py b/sdk/python/pulumi_spacelift/get_azure_devops_integration.py index 4b2ab8f..87691ad 100644 --- a/sdk/python/pulumi_spacelift/get_azure_devops_integration.py +++ b/sdk/python/pulumi_spacelift/get_azure_devops_integration.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = [ diff --git a/sdk/python/pulumi_spacelift/get_azure_integration.py b/sdk/python/pulumi_spacelift/get_azure_integration.py index 1d79ac0..bcbc48d 100644 --- a/sdk/python/pulumi_spacelift/get_azure_integration.py +++ b/sdk/python/pulumi_spacelift/get_azure_integration.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = [ diff --git a/sdk/python/pulumi_spacelift/get_azure_integration_attachment.py b/sdk/python/pulumi_spacelift/get_azure_integration_attachment.py index 799670f..193efe2 100644 --- a/sdk/python/pulumi_spacelift/get_azure_integration_attachment.py +++ b/sdk/python/pulumi_spacelift/get_azure_integration_attachment.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = [ diff --git a/sdk/python/pulumi_spacelift/get_azure_integrations.py b/sdk/python/pulumi_spacelift/get_azure_integrations.py index 868161f..db5f994 100644 --- a/sdk/python/pulumi_spacelift/get_azure_integrations.py +++ b/sdk/python/pulumi_spacelift/get_azure_integrations.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from . import _utilities from . import outputs diff --git a/sdk/python/pulumi_spacelift/get_bitbucket_cloud_integration.py b/sdk/python/pulumi_spacelift/get_bitbucket_cloud_integration.py index 1f52c88..d481e67 100644 --- a/sdk/python/pulumi_spacelift/get_bitbucket_cloud_integration.py +++ b/sdk/python/pulumi_spacelift/get_bitbucket_cloud_integration.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = [ diff --git a/sdk/python/pulumi_spacelift/get_bitbucket_datacenter_integration.py b/sdk/python/pulumi_spacelift/get_bitbucket_datacenter_integration.py index 4f9f778..87414c4 100644 --- a/sdk/python/pulumi_spacelift/get_bitbucket_datacenter_integration.py +++ b/sdk/python/pulumi_spacelift/get_bitbucket_datacenter_integration.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = [ diff --git a/sdk/python/pulumi_spacelift/get_context.py b/sdk/python/pulumi_spacelift/get_context.py index f243aac..c26c0df 100644 --- a/sdk/python/pulumi_spacelift/get_context.py +++ b/sdk/python/pulumi_spacelift/get_context.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = [ diff --git a/sdk/python/pulumi_spacelift/get_context_attachment.py b/sdk/python/pulumi_spacelift/get_context_attachment.py index d907035..a691e35 100644 --- a/sdk/python/pulumi_spacelift/get_context_attachment.py +++ b/sdk/python/pulumi_spacelift/get_context_attachment.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = [ diff --git a/sdk/python/pulumi_spacelift/get_contexts.py b/sdk/python/pulumi_spacelift/get_contexts.py index ccff7b2..e33e92b 100644 --- a/sdk/python/pulumi_spacelift/get_contexts.py +++ b/sdk/python/pulumi_spacelift/get_contexts.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from . import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_spacelift/get_current_space.py b/sdk/python/pulumi_spacelift/get_current_space.py index ba611c8..8293b78 100644 --- a/sdk/python/pulumi_spacelift/get_current_space.py +++ b/sdk/python/pulumi_spacelift/get_current_space.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = [ diff --git a/sdk/python/pulumi_spacelift/get_current_stack.py b/sdk/python/pulumi_spacelift/get_current_stack.py index d9de066..6badda2 100644 --- a/sdk/python/pulumi_spacelift/get_current_stack.py +++ b/sdk/python/pulumi_spacelift/get_current_stack.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = [ diff --git a/sdk/python/pulumi_spacelift/get_drift_detection.py b/sdk/python/pulumi_spacelift/get_drift_detection.py index b6d1d6f..990bf73 100644 --- a/sdk/python/pulumi_spacelift/get_drift_detection.py +++ b/sdk/python/pulumi_spacelift/get_drift_detection.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = [ diff --git a/sdk/python/pulumi_spacelift/get_environment_variable.py b/sdk/python/pulumi_spacelift/get_environment_variable.py index 278b454..1f5b0d2 100644 --- a/sdk/python/pulumi_spacelift/get_environment_variable.py +++ b/sdk/python/pulumi_spacelift/get_environment_variable.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = [ diff --git a/sdk/python/pulumi_spacelift/get_gcp_service_account.py b/sdk/python/pulumi_spacelift/get_gcp_service_account.py index 2585bb9..eea7234 100644 --- a/sdk/python/pulumi_spacelift/get_gcp_service_account.py +++ b/sdk/python/pulumi_spacelift/get_gcp_service_account.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = [ diff --git a/sdk/python/pulumi_spacelift/get_github_enterprise_integration.py b/sdk/python/pulumi_spacelift/get_github_enterprise_integration.py index d5e31e9..ab89317 100644 --- a/sdk/python/pulumi_spacelift/get_github_enterprise_integration.py +++ b/sdk/python/pulumi_spacelift/get_github_enterprise_integration.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = [ diff --git a/sdk/python/pulumi_spacelift/get_gitlab_integration.py b/sdk/python/pulumi_spacelift/get_gitlab_integration.py index efbb657..e63d67f 100644 --- a/sdk/python/pulumi_spacelift/get_gitlab_integration.py +++ b/sdk/python/pulumi_spacelift/get_gitlab_integration.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = [ diff --git a/sdk/python/pulumi_spacelift/get_gitlab_webhook_endpoint.py b/sdk/python/pulumi_spacelift/get_gitlab_webhook_endpoint.py index b3af39b..39b8e3c 100644 --- a/sdk/python/pulumi_spacelift/get_gitlab_webhook_endpoint.py +++ b/sdk/python/pulumi_spacelift/get_gitlab_webhook_endpoint.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = [ diff --git a/sdk/python/pulumi_spacelift/get_ips.py b/sdk/python/pulumi_spacelift/get_ips.py index e435825..1126883 100644 --- a/sdk/python/pulumi_spacelift/get_ips.py +++ b/sdk/python/pulumi_spacelift/get_ips.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = [ diff --git a/sdk/python/pulumi_spacelift/get_module.py b/sdk/python/pulumi_spacelift/get_module.py index 9454da4..a6fc89f 100644 --- a/sdk/python/pulumi_spacelift/get_module.py +++ b/sdk/python/pulumi_spacelift/get_module.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from . import _utilities from . import outputs diff --git a/sdk/python/pulumi_spacelift/get_mountedfile.py b/sdk/python/pulumi_spacelift/get_mountedfile.py index 4f600fc..e857368 100644 --- a/sdk/python/pulumi_spacelift/get_mountedfile.py +++ b/sdk/python/pulumi_spacelift/get_mountedfile.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = [ diff --git a/sdk/python/pulumi_spacelift/get_named_webhook.py b/sdk/python/pulumi_spacelift/get_named_webhook.py index a1820bd..c330858 100644 --- a/sdk/python/pulumi_spacelift/get_named_webhook.py +++ b/sdk/python/pulumi_spacelift/get_named_webhook.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = [ diff --git a/sdk/python/pulumi_spacelift/get_policies.py b/sdk/python/pulumi_spacelift/get_policies.py index 1b1cb8b..75313d7 100644 --- a/sdk/python/pulumi_spacelift/get_policies.py +++ b/sdk/python/pulumi_spacelift/get_policies.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from . import _utilities from . import outputs diff --git a/sdk/python/pulumi_spacelift/get_policy.py b/sdk/python/pulumi_spacelift/get_policy.py index b5ed049..4b57a6d 100644 --- a/sdk/python/pulumi_spacelift/get_policy.py +++ b/sdk/python/pulumi_spacelift/get_policy.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = [ diff --git a/sdk/python/pulumi_spacelift/get_scheduled_delete_stack.py b/sdk/python/pulumi_spacelift/get_scheduled_delete_stack.py index 1432dda..ff5fba2 100644 --- a/sdk/python/pulumi_spacelift/get_scheduled_delete_stack.py +++ b/sdk/python/pulumi_spacelift/get_scheduled_delete_stack.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = [ diff --git a/sdk/python/pulumi_spacelift/get_scheduled_task.py b/sdk/python/pulumi_spacelift/get_scheduled_task.py index d817485..29eeb05 100644 --- a/sdk/python/pulumi_spacelift/get_scheduled_task.py +++ b/sdk/python/pulumi_spacelift/get_scheduled_task.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = [ diff --git a/sdk/python/pulumi_spacelift/get_space.py b/sdk/python/pulumi_spacelift/get_space.py index e184746..f811b23 100644 --- a/sdk/python/pulumi_spacelift/get_space.py +++ b/sdk/python/pulumi_spacelift/get_space.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = [ diff --git a/sdk/python/pulumi_spacelift/get_space_by_path.py b/sdk/python/pulumi_spacelift/get_space_by_path.py index 8686884..d0fa7b8 100644 --- a/sdk/python/pulumi_spacelift/get_space_by_path.py +++ b/sdk/python/pulumi_spacelift/get_space_by_path.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = [ diff --git a/sdk/python/pulumi_spacelift/get_spaces.py b/sdk/python/pulumi_spacelift/get_spaces.py index dffb09e..9ca5457 100644 --- a/sdk/python/pulumi_spacelift/get_spaces.py +++ b/sdk/python/pulumi_spacelift/get_spaces.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from . import _utilities from . import outputs diff --git a/sdk/python/pulumi_spacelift/get_stack.py b/sdk/python/pulumi_spacelift/get_stack.py index a14ceaf..10c2ced 100644 --- a/sdk/python/pulumi_spacelift/get_stack.py +++ b/sdk/python/pulumi_spacelift/get_stack.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from . import _utilities from . import outputs diff --git a/sdk/python/pulumi_spacelift/get_stack_aws_role.py b/sdk/python/pulumi_spacelift/get_stack_aws_role.py index ecd438c..59b7ae4 100644 --- a/sdk/python/pulumi_spacelift/get_stack_aws_role.py +++ b/sdk/python/pulumi_spacelift/get_stack_aws_role.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = [ diff --git a/sdk/python/pulumi_spacelift/get_stack_gcp_service_account.py b/sdk/python/pulumi_spacelift/get_stack_gcp_service_account.py index 0051c2c..83098e7 100644 --- a/sdk/python/pulumi_spacelift/get_stack_gcp_service_account.py +++ b/sdk/python/pulumi_spacelift/get_stack_gcp_service_account.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = [ diff --git a/sdk/python/pulumi_spacelift/get_stacks.py b/sdk/python/pulumi_spacelift/get_stacks.py index e660de9..c7eec89 100644 --- a/sdk/python/pulumi_spacelift/get_stacks.py +++ b/sdk/python/pulumi_spacelift/get_stacks.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from . import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_spacelift/get_vcs_agent_pool.py b/sdk/python/pulumi_spacelift/get_vcs_agent_pool.py index e7c220e..7f5cf97 100644 --- a/sdk/python/pulumi_spacelift/get_vcs_agent_pool.py +++ b/sdk/python/pulumi_spacelift/get_vcs_agent_pool.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = [ diff --git a/sdk/python/pulumi_spacelift/get_vcs_agent_pools.py b/sdk/python/pulumi_spacelift/get_vcs_agent_pools.py index ddedae7..ebe7e94 100644 --- a/sdk/python/pulumi_spacelift/get_vcs_agent_pools.py +++ b/sdk/python/pulumi_spacelift/get_vcs_agent_pools.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from . import _utilities from . import outputs diff --git a/sdk/python/pulumi_spacelift/get_webhook.py b/sdk/python/pulumi_spacelift/get_webhook.py index 73160d1..6911c2d 100644 --- a/sdk/python/pulumi_spacelift/get_webhook.py +++ b/sdk/python/pulumi_spacelift/get_webhook.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = [ diff --git a/sdk/python/pulumi_spacelift/get_worker_pool.py b/sdk/python/pulumi_spacelift/get_worker_pool.py index f74bf1d..0893132 100644 --- a/sdk/python/pulumi_spacelift/get_worker_pool.py +++ b/sdk/python/pulumi_spacelift/get_worker_pool.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = [ diff --git a/sdk/python/pulumi_spacelift/get_worker_pools.py b/sdk/python/pulumi_spacelift/get_worker_pools.py index 521a720..bd10413 100644 --- a/sdk/python/pulumi_spacelift/get_worker_pools.py +++ b/sdk/python/pulumi_spacelift/get_worker_pools.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from . import _utilities from . import outputs diff --git a/sdk/python/pulumi_spacelift/idp_group_mapping.py b/sdk/python/pulumi_spacelift/idp_group_mapping.py index 56572d1..7f89303 100644 --- a/sdk/python/pulumi_spacelift/idp_group_mapping.py +++ b/sdk/python/pulumi_spacelift/idp_group_mapping.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from . import _utilities from . import outputs from ._inputs import * @@ -22,24 +22,9 @@ def __init__(__self__, *, The set of arguments for constructing a IdpGroupMapping resource. :param pulumi.Input[str] name: Name of the user group - should be unique in one account """ - IdpGroupMappingArgs._configure( - lambda key, value: pulumi.set(__self__, key, value), - policies=policies, - name=name, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - policies: Optional[pulumi.Input[Sequence[pulumi.Input['IdpGroupMappingPolicyArgs']]]] = None, - name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if policies is None: - raise TypeError("Missing 'policies' argument") - - _setter("policies", policies) + pulumi.set(__self__, "policies", policies) if name is not None: - _setter("name", name) + pulumi.set(__self__, "name", name) @property @pulumi.getter @@ -72,23 +57,10 @@ def __init__(__self__, *, Input properties used for looking up and filtering IdpGroupMapping resources. :param pulumi.Input[str] name: Name of the user group - should be unique in one account """ - _IdpGroupMappingState._configure( - lambda key, value: pulumi.set(__self__, key, value), - name=name, - policies=policies, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - name: Optional[pulumi.Input[str]] = None, - policies: Optional[pulumi.Input[Sequence[pulumi.Input['IdpGroupMappingPolicyArgs']]]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if name is not None: - _setter("name", name) + pulumi.set(__self__, "name", name) if policies is not None: - _setter("policies", policies) + pulumi.set(__self__, "policies", policies) @property @pulumi.getter @@ -182,10 +154,6 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: - kwargs = kwargs or {} - def _setter(key, value): - kwargs[key] = value - IdpGroupMappingArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_spacelift/module.py b/sdk/python/pulumi_spacelift/module.py index e414bc3..4aeea0c 100644 --- a/sdk/python/pulumi_spacelift/module.py +++ b/sdk/python/pulumi_spacelift/module.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from . import _utilities from . import outputs from ._inputs import * @@ -60,117 +60,42 @@ def __init__(__self__, *, :param pulumi.Input[str] worker_pool_id: ID of the worker pool to use. NOTE: worker*pool*id is required when using a self-hosted instance of Spacelift. :param pulumi.Input[str] workflow_tool: 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`. """ - ModuleArgs._configure( - lambda key, value: pulumi.set(__self__, key, value), - branch=branch, - repository=repository, - administrative=administrative, - azure_devops=azure_devops, - bitbucket_cloud=bitbucket_cloud, - bitbucket_datacenter=bitbucket_datacenter, - description=description, - enable_local_preview=enable_local_preview, - github_enterprise=github_enterprise, - gitlab=gitlab, - labels=labels, - name=name, - project_root=project_root, - protect_from_deletion=protect_from_deletion, - shared_accounts=shared_accounts, - space_id=space_id, - terraform_provider=terraform_provider, - worker_pool_id=worker_pool_id, - workflow_tool=workflow_tool, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - branch: Optional[pulumi.Input[str]] = None, - repository: Optional[pulumi.Input[str]] = None, - administrative: Optional[pulumi.Input[bool]] = None, - azure_devops: Optional[pulumi.Input['ModuleAzureDevopsArgs']] = None, - bitbucket_cloud: Optional[pulumi.Input['ModuleBitbucketCloudArgs']] = None, - bitbucket_datacenter: Optional[pulumi.Input['ModuleBitbucketDatacenterArgs']] = None, - description: Optional[pulumi.Input[str]] = None, - enable_local_preview: Optional[pulumi.Input[bool]] = None, - github_enterprise: Optional[pulumi.Input['ModuleGithubEnterpriseArgs']] = None, - gitlab: Optional[pulumi.Input['ModuleGitlabArgs']] = None, - labels: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - name: Optional[pulumi.Input[str]] = None, - project_root: Optional[pulumi.Input[str]] = None, - protect_from_deletion: Optional[pulumi.Input[bool]] = None, - shared_accounts: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - space_id: Optional[pulumi.Input[str]] = None, - terraform_provider: Optional[pulumi.Input[str]] = None, - worker_pool_id: Optional[pulumi.Input[str]] = None, - workflow_tool: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if branch is None: - raise TypeError("Missing 'branch' argument") - if repository is None: - raise TypeError("Missing 'repository' argument") - if azure_devops is None and 'azureDevops' in kwargs: - azure_devops = kwargs['azureDevops'] - if bitbucket_cloud is None and 'bitbucketCloud' in kwargs: - bitbucket_cloud = kwargs['bitbucketCloud'] - if bitbucket_datacenter is None and 'bitbucketDatacenter' in kwargs: - bitbucket_datacenter = kwargs['bitbucketDatacenter'] - if enable_local_preview is None and 'enableLocalPreview' in kwargs: - enable_local_preview = kwargs['enableLocalPreview'] - if github_enterprise is None and 'githubEnterprise' in kwargs: - github_enterprise = kwargs['githubEnterprise'] - if project_root is None and 'projectRoot' in kwargs: - project_root = kwargs['projectRoot'] - if protect_from_deletion is None and 'protectFromDeletion' in kwargs: - protect_from_deletion = kwargs['protectFromDeletion'] - if shared_accounts is None and 'sharedAccounts' in kwargs: - shared_accounts = kwargs['sharedAccounts'] - if space_id is None and 'spaceId' in kwargs: - space_id = kwargs['spaceId'] - if terraform_provider is None and 'terraformProvider' in kwargs: - terraform_provider = kwargs['terraformProvider'] - if worker_pool_id is None and 'workerPoolId' in kwargs: - worker_pool_id = kwargs['workerPoolId'] - if workflow_tool is None and 'workflowTool' in kwargs: - workflow_tool = kwargs['workflowTool'] - - _setter("branch", branch) - _setter("repository", repository) + pulumi.set(__self__, "branch", branch) + pulumi.set(__self__, "repository", repository) if administrative is not None: - _setter("administrative", administrative) + pulumi.set(__self__, "administrative", administrative) if azure_devops is not None: - _setter("azure_devops", azure_devops) + pulumi.set(__self__, "azure_devops", azure_devops) if bitbucket_cloud is not None: - _setter("bitbucket_cloud", bitbucket_cloud) + pulumi.set(__self__, "bitbucket_cloud", bitbucket_cloud) if bitbucket_datacenter is not None: - _setter("bitbucket_datacenter", bitbucket_datacenter) + pulumi.set(__self__, "bitbucket_datacenter", bitbucket_datacenter) if description is not None: - _setter("description", description) + pulumi.set(__self__, "description", description) if enable_local_preview is not None: - _setter("enable_local_preview", enable_local_preview) + pulumi.set(__self__, "enable_local_preview", enable_local_preview) if github_enterprise is not None: - _setter("github_enterprise", github_enterprise) + pulumi.set(__self__, "github_enterprise", github_enterprise) if gitlab is not None: - _setter("gitlab", gitlab) + pulumi.set(__self__, "gitlab", gitlab) if labels is not None: - _setter("labels", labels) + pulumi.set(__self__, "labels", labels) if name is not None: - _setter("name", name) + pulumi.set(__self__, "name", name) if project_root is not None: - _setter("project_root", project_root) + pulumi.set(__self__, "project_root", project_root) if protect_from_deletion is not None: - _setter("protect_from_deletion", protect_from_deletion) + pulumi.set(__self__, "protect_from_deletion", protect_from_deletion) if shared_accounts is not None: - _setter("shared_accounts", shared_accounts) + pulumi.set(__self__, "shared_accounts", shared_accounts) if space_id is not None: - _setter("space_id", space_id) + pulumi.set(__self__, "space_id", space_id) if terraform_provider is not None: - _setter("terraform_provider", terraform_provider) + pulumi.set(__self__, "terraform_provider", terraform_provider) if worker_pool_id is not None: - _setter("worker_pool_id", worker_pool_id) + pulumi.set(__self__, "worker_pool_id", worker_pool_id) if workflow_tool is not None: - _setter("workflow_tool", workflow_tool) + pulumi.set(__self__, "workflow_tool", workflow_tool) @property @pulumi.getter @@ -451,121 +376,46 @@ def __init__(__self__, *, :param pulumi.Input[str] worker_pool_id: ID of the worker pool to use. NOTE: worker*pool*id is required when using a self-hosted instance of Spacelift. :param pulumi.Input[str] workflow_tool: 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`. """ - _ModuleState._configure( - lambda key, value: pulumi.set(__self__, key, value), - administrative=administrative, - aws_assume_role_policy_statement=aws_assume_role_policy_statement, - azure_devops=azure_devops, - bitbucket_cloud=bitbucket_cloud, - bitbucket_datacenter=bitbucket_datacenter, - branch=branch, - description=description, - enable_local_preview=enable_local_preview, - github_enterprise=github_enterprise, - gitlab=gitlab, - labels=labels, - name=name, - project_root=project_root, - protect_from_deletion=protect_from_deletion, - repository=repository, - shared_accounts=shared_accounts, - space_id=space_id, - terraform_provider=terraform_provider, - worker_pool_id=worker_pool_id, - workflow_tool=workflow_tool, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - administrative: Optional[pulumi.Input[bool]] = None, - aws_assume_role_policy_statement: Optional[pulumi.Input[str]] = None, - azure_devops: Optional[pulumi.Input['ModuleAzureDevopsArgs']] = None, - bitbucket_cloud: Optional[pulumi.Input['ModuleBitbucketCloudArgs']] = None, - bitbucket_datacenter: Optional[pulumi.Input['ModuleBitbucketDatacenterArgs']] = None, - branch: Optional[pulumi.Input[str]] = None, - description: Optional[pulumi.Input[str]] = None, - enable_local_preview: Optional[pulumi.Input[bool]] = None, - github_enterprise: Optional[pulumi.Input['ModuleGithubEnterpriseArgs']] = None, - gitlab: Optional[pulumi.Input['ModuleGitlabArgs']] = None, - labels: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - name: Optional[pulumi.Input[str]] = None, - project_root: Optional[pulumi.Input[str]] = None, - protect_from_deletion: Optional[pulumi.Input[bool]] = None, - repository: Optional[pulumi.Input[str]] = None, - shared_accounts: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - space_id: Optional[pulumi.Input[str]] = None, - terraform_provider: Optional[pulumi.Input[str]] = None, - worker_pool_id: Optional[pulumi.Input[str]] = None, - workflow_tool: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if aws_assume_role_policy_statement is None and 'awsAssumeRolePolicyStatement' in kwargs: - aws_assume_role_policy_statement = kwargs['awsAssumeRolePolicyStatement'] - if azure_devops is None and 'azureDevops' in kwargs: - azure_devops = kwargs['azureDevops'] - if bitbucket_cloud is None and 'bitbucketCloud' in kwargs: - bitbucket_cloud = kwargs['bitbucketCloud'] - if bitbucket_datacenter is None and 'bitbucketDatacenter' in kwargs: - bitbucket_datacenter = kwargs['bitbucketDatacenter'] - if enable_local_preview is None and 'enableLocalPreview' in kwargs: - enable_local_preview = kwargs['enableLocalPreview'] - if github_enterprise is None and 'githubEnterprise' in kwargs: - github_enterprise = kwargs['githubEnterprise'] - if project_root is None and 'projectRoot' in kwargs: - project_root = kwargs['projectRoot'] - if protect_from_deletion is None and 'protectFromDeletion' in kwargs: - protect_from_deletion = kwargs['protectFromDeletion'] - if shared_accounts is None and 'sharedAccounts' in kwargs: - shared_accounts = kwargs['sharedAccounts'] - if space_id is None and 'spaceId' in kwargs: - space_id = kwargs['spaceId'] - if terraform_provider is None and 'terraformProvider' in kwargs: - terraform_provider = kwargs['terraformProvider'] - if worker_pool_id is None and 'workerPoolId' in kwargs: - worker_pool_id = kwargs['workerPoolId'] - if workflow_tool is None and 'workflowTool' in kwargs: - workflow_tool = kwargs['workflowTool'] - if administrative is not None: - _setter("administrative", administrative) + pulumi.set(__self__, "administrative", administrative) if aws_assume_role_policy_statement is not None: - _setter("aws_assume_role_policy_statement", aws_assume_role_policy_statement) + pulumi.set(__self__, "aws_assume_role_policy_statement", aws_assume_role_policy_statement) if azure_devops is not None: - _setter("azure_devops", azure_devops) + pulumi.set(__self__, "azure_devops", azure_devops) if bitbucket_cloud is not None: - _setter("bitbucket_cloud", bitbucket_cloud) + pulumi.set(__self__, "bitbucket_cloud", bitbucket_cloud) if bitbucket_datacenter is not None: - _setter("bitbucket_datacenter", bitbucket_datacenter) + pulumi.set(__self__, "bitbucket_datacenter", bitbucket_datacenter) if branch is not None: - _setter("branch", branch) + pulumi.set(__self__, "branch", branch) if description is not None: - _setter("description", description) + pulumi.set(__self__, "description", description) if enable_local_preview is not None: - _setter("enable_local_preview", enable_local_preview) + pulumi.set(__self__, "enable_local_preview", enable_local_preview) if github_enterprise is not None: - _setter("github_enterprise", github_enterprise) + pulumi.set(__self__, "github_enterprise", github_enterprise) if gitlab is not None: - _setter("gitlab", gitlab) + pulumi.set(__self__, "gitlab", gitlab) if labels is not None: - _setter("labels", labels) + pulumi.set(__self__, "labels", labels) if name is not None: - _setter("name", name) + pulumi.set(__self__, "name", name) if project_root is not None: - _setter("project_root", project_root) + pulumi.set(__self__, "project_root", project_root) if protect_from_deletion is not None: - _setter("protect_from_deletion", protect_from_deletion) + pulumi.set(__self__, "protect_from_deletion", protect_from_deletion) if repository is not None: - _setter("repository", repository) + pulumi.set(__self__, "repository", repository) if shared_accounts is not None: - _setter("shared_accounts", shared_accounts) + pulumi.set(__self__, "shared_accounts", shared_accounts) if space_id is not None: - _setter("space_id", space_id) + pulumi.set(__self__, "space_id", space_id) if terraform_provider is not None: - _setter("terraform_provider", terraform_provider) + pulumi.set(__self__, "terraform_provider", terraform_provider) if worker_pool_id is not None: - _setter("worker_pool_id", worker_pool_id) + pulumi.set(__self__, "worker_pool_id", worker_pool_id) if workflow_tool is not None: - _setter("workflow_tool", workflow_tool) + pulumi.set(__self__, "workflow_tool", workflow_tool) @property @pulumi.getter @@ -933,10 +783,6 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: - kwargs = kwargs or {} - def _setter(key, value): - kwargs[key] = value - ModuleArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -971,20 +817,15 @@ def _internal_init(__self__, __props__ = ModuleArgs.__new__(ModuleArgs) __props__.__dict__["administrative"] = administrative - azure_devops = _utilities.configure(azure_devops, ModuleAzureDevopsArgs, True) __props__.__dict__["azure_devops"] = azure_devops - bitbucket_cloud = _utilities.configure(bitbucket_cloud, ModuleBitbucketCloudArgs, True) __props__.__dict__["bitbucket_cloud"] = bitbucket_cloud - bitbucket_datacenter = _utilities.configure(bitbucket_datacenter, ModuleBitbucketDatacenterArgs, True) __props__.__dict__["bitbucket_datacenter"] = bitbucket_datacenter if branch is None and not opts.urn: raise TypeError("Missing required property 'branch'") __props__.__dict__["branch"] = branch __props__.__dict__["description"] = description __props__.__dict__["enable_local_preview"] = enable_local_preview - github_enterprise = _utilities.configure(github_enterprise, ModuleGithubEnterpriseArgs, True) __props__.__dict__["github_enterprise"] = github_enterprise - gitlab = _utilities.configure(gitlab, ModuleGitlabArgs, True) __props__.__dict__["gitlab"] = gitlab __props__.__dict__["labels"] = labels __props__.__dict__["name"] = name diff --git a/sdk/python/pulumi_spacelift/mountedfile.py b/sdk/python/pulumi_spacelift/mountedfile.py index 8180c1c..b50ce67 100644 --- a/sdk/python/pulumi_spacelift/mountedfile.py +++ b/sdk/python/pulumi_spacelift/mountedfile.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['MountedfileArgs', 'Mountedfile'] @@ -29,51 +29,16 @@ def __init__(__self__, *, :param pulumi.Input[str] stack_id: ID of the stack on which the mounted file is defined :param pulumi.Input[bool] write_only: Indicates whether the content can be read back outside a Run. Defaults to `true`. """ - MountedfileArgs._configure( - lambda key, value: pulumi.set(__self__, key, value), - content=content, - relative_path=relative_path, - context_id=context_id, - module_id=module_id, - stack_id=stack_id, - write_only=write_only, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - content: Optional[pulumi.Input[str]] = None, - relative_path: Optional[pulumi.Input[str]] = None, - context_id: Optional[pulumi.Input[str]] = None, - module_id: Optional[pulumi.Input[str]] = None, - stack_id: Optional[pulumi.Input[str]] = None, - write_only: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if content is None: - raise TypeError("Missing 'content' argument") - if relative_path is None and 'relativePath' in kwargs: - relative_path = kwargs['relativePath'] - if relative_path is None: - raise TypeError("Missing 'relative_path' argument") - if context_id is None and 'contextId' in kwargs: - context_id = kwargs['contextId'] - if module_id is None and 'moduleId' in kwargs: - module_id = kwargs['moduleId'] - if stack_id is None and 'stackId' in kwargs: - stack_id = kwargs['stackId'] - if write_only is None and 'writeOnly' in kwargs: - write_only = kwargs['writeOnly'] - - _setter("content", content) - _setter("relative_path", relative_path) + pulumi.set(__self__, "content", content) + pulumi.set(__self__, "relative_path", relative_path) if context_id is not None: - _setter("context_id", context_id) + pulumi.set(__self__, "context_id", context_id) if module_id is not None: - _setter("module_id", module_id) + pulumi.set(__self__, "module_id", module_id) if stack_id is not None: - _setter("stack_id", stack_id) + pulumi.set(__self__, "stack_id", stack_id) if write_only is not None: - _setter("write_only", write_only) + pulumi.set(__self__, "write_only", write_only) @property @pulumi.getter @@ -168,53 +133,20 @@ def __init__(__self__, *, :param pulumi.Input[str] stack_id: ID of the stack on which the mounted file is defined :param pulumi.Input[bool] write_only: Indicates whether the content can be read back outside a Run. Defaults to `true`. """ - _MountedfileState._configure( - lambda key, value: pulumi.set(__self__, key, value), - checksum=checksum, - content=content, - context_id=context_id, - module_id=module_id, - relative_path=relative_path, - stack_id=stack_id, - write_only=write_only, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - checksum: Optional[pulumi.Input[str]] = None, - content: Optional[pulumi.Input[str]] = None, - context_id: Optional[pulumi.Input[str]] = None, - module_id: Optional[pulumi.Input[str]] = None, - relative_path: Optional[pulumi.Input[str]] = None, - stack_id: Optional[pulumi.Input[str]] = None, - write_only: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if context_id is None and 'contextId' in kwargs: - context_id = kwargs['contextId'] - if module_id is None and 'moduleId' in kwargs: - module_id = kwargs['moduleId'] - if relative_path is None and 'relativePath' in kwargs: - relative_path = kwargs['relativePath'] - if stack_id is None and 'stackId' in kwargs: - stack_id = kwargs['stackId'] - if write_only is None and 'writeOnly' in kwargs: - write_only = kwargs['writeOnly'] - if checksum is not None: - _setter("checksum", checksum) + pulumi.set(__self__, "checksum", checksum) if content is not None: - _setter("content", content) + pulumi.set(__self__, "content", content) if context_id is not None: - _setter("context_id", context_id) + pulumi.set(__self__, "context_id", context_id) if module_id is not None: - _setter("module_id", module_id) + pulumi.set(__self__, "module_id", module_id) if relative_path is not None: - _setter("relative_path", relative_path) + pulumi.set(__self__, "relative_path", relative_path) if stack_id is not None: - _setter("stack_id", stack_id) + pulumi.set(__self__, "stack_id", stack_id) if write_only is not None: - _setter("write_only", write_only) + pulumi.set(__self__, "write_only", write_only) @property @pulumi.getter @@ -420,10 +352,6 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: - kwargs = kwargs or {} - def _setter(key, value): - kwargs[key] = value - MountedfileArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_spacelift/named_webhook.py b/sdk/python/pulumi_spacelift/named_webhook.py index 0afd57f..47ac2a5 100644 --- a/sdk/python/pulumi_spacelift/named_webhook.py +++ b/sdk/python/pulumi_spacelift/named_webhook.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['NamedWebhookArgs', 'NamedWebhook'] @@ -29,44 +29,15 @@ def __init__(__self__, *, :param pulumi.Input[str] name: the name for the webhook which will also be used to generate the id :param pulumi.Input[str] secret: secret used to sign each request so you're able to verify that the request comes from us. Defaults to an empty value. """ - NamedWebhookArgs._configure( - lambda key, value: pulumi.set(__self__, key, value), - enabled=enabled, - endpoint=endpoint, - space_id=space_id, - labels=labels, - name=name, - secret=secret, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - enabled: Optional[pulumi.Input[bool]] = None, - endpoint: Optional[pulumi.Input[str]] = None, - space_id: Optional[pulumi.Input[str]] = None, - labels: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - name: Optional[pulumi.Input[str]] = None, - secret: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if enabled is None: - raise TypeError("Missing 'enabled' argument") - if endpoint is None: - raise TypeError("Missing 'endpoint' argument") - if space_id is None and 'spaceId' in kwargs: - space_id = kwargs['spaceId'] - if space_id is None: - raise TypeError("Missing 'space_id' argument") - - _setter("enabled", enabled) - _setter("endpoint", endpoint) - _setter("space_id", space_id) + pulumi.set(__self__, "enabled", enabled) + pulumi.set(__self__, "endpoint", endpoint) + pulumi.set(__self__, "space_id", space_id) if labels is not None: - _setter("labels", labels) + pulumi.set(__self__, "labels", labels) if name is not None: - _setter("name", name) + pulumi.set(__self__, "name", name) if secret is not None: - _setter("secret", secret) + pulumi.set(__self__, "secret", secret) @property @pulumi.getter @@ -159,41 +130,18 @@ def __init__(__self__, *, :param pulumi.Input[str] secret: secret used to sign each request so you're able to verify that the request comes from us. Defaults to an empty value. :param pulumi.Input[str] space_id: ID of the space the webhook is in """ - _NamedWebhookState._configure( - lambda key, value: pulumi.set(__self__, key, value), - enabled=enabled, - endpoint=endpoint, - labels=labels, - name=name, - secret=secret, - space_id=space_id, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - enabled: Optional[pulumi.Input[bool]] = None, - endpoint: Optional[pulumi.Input[str]] = None, - labels: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - name: Optional[pulumi.Input[str]] = None, - secret: Optional[pulumi.Input[str]] = None, - space_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if space_id is None and 'spaceId' in kwargs: - space_id = kwargs['spaceId'] - if enabled is not None: - _setter("enabled", enabled) + pulumi.set(__self__, "enabled", enabled) if endpoint is not None: - _setter("endpoint", endpoint) + pulumi.set(__self__, "endpoint", endpoint) if labels is not None: - _setter("labels", labels) + pulumi.set(__self__, "labels", labels) if name is not None: - _setter("name", name) + pulumi.set(__self__, "name", name) if secret is not None: - _setter("secret", secret) + pulumi.set(__self__, "secret", secret) if space_id is not None: - _setter("space_id", space_id) + pulumi.set(__self__, "space_id", space_id) @property @pulumi.getter @@ -311,10 +259,6 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: - kwargs = kwargs or {} - def _setter(key, value): - kwargs[key] = value - NamedWebhookArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_spacelift/named_webhook_secret_header.py b/sdk/python/pulumi_spacelift/named_webhook_secret_header.py index 0e4fe7a..d03c486 100644 --- a/sdk/python/pulumi_spacelift/named_webhook_secret_header.py +++ b/sdk/python/pulumi_spacelift/named_webhook_secret_header.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['NamedWebhookSecretHeaderArgs', 'NamedWebhookSecretHeader'] @@ -23,32 +23,9 @@ def __init__(__self__, *, :param pulumi.Input[str] value: value for the header :param pulumi.Input[str] webhook_id: ID of the stack on which the environment variable is defined """ - NamedWebhookSecretHeaderArgs._configure( - lambda key, value: pulumi.set(__self__, key, value), - key=key, - value=value, - webhook_id=webhook_id, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - key: Optional[pulumi.Input[str]] = None, - value: Optional[pulumi.Input[str]] = None, - webhook_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if key is None: - raise TypeError("Missing 'key' argument") - if value is None: - raise TypeError("Missing 'value' argument") - if webhook_id is None and 'webhookId' in kwargs: - webhook_id = kwargs['webhookId'] - if webhook_id is None: - raise TypeError("Missing 'webhook_id' argument") - - _setter("key", key) - _setter("value", value) - _setter("webhook_id", webhook_id) + pulumi.set(__self__, "key", key) + pulumi.set(__self__, "value", value) + pulumi.set(__self__, "webhook_id", webhook_id) @property @pulumi.getter @@ -99,29 +76,12 @@ def __init__(__self__, *, :param pulumi.Input[str] value: value for the header :param pulumi.Input[str] webhook_id: ID of the stack on which the environment variable is defined """ - _NamedWebhookSecretHeaderState._configure( - lambda key, value: pulumi.set(__self__, key, value), - key=key, - value=value, - webhook_id=webhook_id, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - key: Optional[pulumi.Input[str]] = None, - value: Optional[pulumi.Input[str]] = None, - webhook_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if webhook_id is None and 'webhookId' in kwargs: - webhook_id = kwargs['webhookId'] - if key is not None: - _setter("key", key) + pulumi.set(__self__, "key", key) if value is not None: - _setter("value", value) + pulumi.set(__self__, "value", value) if webhook_id is not None: - _setter("webhook_id", webhook_id) + pulumi.set(__self__, "webhook_id", webhook_id) @property @pulumi.getter @@ -197,10 +157,6 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: - kwargs = kwargs or {} - def _setter(key, value): - kwargs[key] = value - NamedWebhookSecretHeaderArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_spacelift/outputs.py b/sdk/python/pulumi_spacelift/outputs.py index 72d6d31..e6dd891 100644 --- a/sdk/python/pulumi_spacelift/outputs.py +++ b/sdk/python/pulumi_spacelift/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from . import _utilities from . import outputs @@ -105,27 +105,8 @@ def __init__(__self__, *, :param str role: Type of access to the space. Possible values are: READ, WRITE, ADMIN :param str space_id: ID (slug) of the space the user group has access to """ - IdpGroupMappingPolicy._configure( - lambda key, value: pulumi.set(__self__, key, value), - role=role, - space_id=space_id, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - role: Optional[str] = None, - space_id: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if role is None: - raise TypeError("Missing 'role' argument") - if space_id is None and 'spaceId' in kwargs: - space_id = kwargs['spaceId'] - if space_id is None: - raise TypeError("Missing 'space_id' argument") - - _setter("role", role) - _setter("space_id", space_id) + pulumi.set(__self__, "role", role) + pulumi.set(__self__, "space_id", space_id) @property @pulumi.getter @@ -172,30 +153,11 @@ def __init__(__self__, *, :param str id: ID of the Azure Devops integration. If not specified, the default integration will be used. :param bool is_default: Indicates whether this is the default Azure DevOps integration """ - ModuleAzureDevops._configure( - lambda key, value: pulumi.set(__self__, key, value), - project=project, - id=id, - is_default=is_default, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - project: Optional[str] = None, - id: Optional[str] = None, - is_default: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if project is None: - raise TypeError("Missing 'project' argument") - if is_default is None and 'isDefault' in kwargs: - is_default = kwargs['isDefault'] - - _setter("project", project) + pulumi.set(__self__, "project", project) if id is not None: - _setter("id", id) + pulumi.set(__self__, "id", id) if is_default is not None: - _setter("is_default", is_default) + pulumi.set(__self__, "is_default", is_default) @property @pulumi.getter @@ -250,30 +212,11 @@ def __init__(__self__, *, :param str id: The ID of the Bitbucket Cloud integration. If not specified, the default integration will be used. :param bool is_default: Indicates whether this is the default Bitbucket Cloud integration """ - ModuleBitbucketCloud._configure( - lambda key, value: pulumi.set(__self__, key, value), - namespace=namespace, - id=id, - is_default=is_default, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - namespace: Optional[str] = None, - id: Optional[str] = None, - is_default: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if namespace is None: - raise TypeError("Missing 'namespace' argument") - if is_default is None and 'isDefault' in kwargs: - is_default = kwargs['isDefault'] - - _setter("namespace", namespace) + pulumi.set(__self__, "namespace", namespace) if id is not None: - _setter("id", id) + pulumi.set(__self__, "id", id) if is_default is not None: - _setter("is_default", is_default) + pulumi.set(__self__, "is_default", is_default) @property @pulumi.getter @@ -328,30 +271,11 @@ def __init__(__self__, *, :param str id: The ID of the Bitbucket Datacenter integration. If not specified, the default integration will be used. :param bool is_default: Indicates whether this is the default Bitbucket Datacenter integration """ - ModuleBitbucketDatacenter._configure( - lambda key, value: pulumi.set(__self__, key, value), - namespace=namespace, - id=id, - is_default=is_default, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - namespace: Optional[str] = None, - id: Optional[str] = None, - is_default: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if namespace is None: - raise TypeError("Missing 'namespace' argument") - if is_default is None and 'isDefault' in kwargs: - is_default = kwargs['isDefault'] - - _setter("namespace", namespace) + pulumi.set(__self__, "namespace", namespace) if id is not None: - _setter("id", id) + pulumi.set(__self__, "id", id) if is_default is not None: - _setter("is_default", is_default) + pulumi.set(__self__, "is_default", is_default) @property @pulumi.getter @@ -406,30 +330,11 @@ def __init__(__self__, *, :param str id: The ID of the GitHub Enterprise integration. If not specified, the default integration will be used. :param bool is_default: Indicates whether this is the default GitHub Enterprise integration """ - ModuleGithubEnterprise._configure( - lambda key, value: pulumi.set(__self__, key, value), - namespace=namespace, - id=id, - is_default=is_default, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - namespace: Optional[str] = None, - id: Optional[str] = None, - is_default: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if namespace is None: - raise TypeError("Missing 'namespace' argument") - if is_default is None and 'isDefault' in kwargs: - is_default = kwargs['isDefault'] - - _setter("namespace", namespace) + pulumi.set(__self__, "namespace", namespace) if id is not None: - _setter("id", id) + pulumi.set(__self__, "id", id) if is_default is not None: - _setter("is_default", is_default) + pulumi.set(__self__, "is_default", is_default) @property @pulumi.getter @@ -484,30 +389,11 @@ def __init__(__self__, *, :param str id: ID of the Gitlab integration. If not specified, the default integration will be used. :param bool is_default: Indicates whether this is the default GitLab integration """ - ModuleGitlab._configure( - lambda key, value: pulumi.set(__self__, key, value), - namespace=namespace, - id=id, - is_default=is_default, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - namespace: Optional[str] = None, - id: Optional[str] = None, - is_default: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if namespace is None: - raise TypeError("Missing 'namespace' argument") - if is_default is None and 'isDefault' in kwargs: - is_default = kwargs['isDefault'] - - _setter("namespace", namespace) + pulumi.set(__self__, "namespace", namespace) if id is not None: - _setter("id", id) + pulumi.set(__self__, "id", id) if is_default is not None: - _setter("is_default", is_default) + pulumi.set(__self__, "is_default", is_default) @property @pulumi.getter @@ -541,20 +427,7 @@ def __init__(__self__, *, """ :param str playbook: The playbook Ansible should run. """ - StackAnsible._configure( - lambda key, value: pulumi.set(__self__, key, value), - playbook=playbook, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - playbook: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if playbook is None: - raise TypeError("Missing 'playbook' argument") - - _setter("playbook", playbook) + pulumi.set(__self__, "playbook", playbook) @property @pulumi.getter @@ -593,30 +466,11 @@ def __init__(__self__, *, :param str id: The ID of the Azure Devops integration. If not specified, the default integration will be used. :param bool is_default: Indicates whether this is the default Azure DevOps integration """ - StackAzureDevops._configure( - lambda key, value: pulumi.set(__self__, key, value), - project=project, - id=id, - is_default=is_default, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - project: Optional[str] = None, - id: Optional[str] = None, - is_default: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if project is None: - raise TypeError("Missing 'project' argument") - if is_default is None and 'isDefault' in kwargs: - is_default = kwargs['isDefault'] - - _setter("project", project) + pulumi.set(__self__, "project", project) if id is not None: - _setter("id", id) + pulumi.set(__self__, "id", id) if is_default is not None: - _setter("is_default", is_default) + pulumi.set(__self__, "is_default", is_default) @property @pulumi.getter @@ -671,30 +525,11 @@ def __init__(__self__, *, :param str id: The ID of the Bitbucket Cloud integration. If not specified, the default integration will be used. :param bool is_default: Indicates whether this is the default Bitbucket Cloud integration """ - StackBitbucketCloud._configure( - lambda key, value: pulumi.set(__self__, key, value), - namespace=namespace, - id=id, - is_default=is_default, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - namespace: Optional[str] = None, - id: Optional[str] = None, - is_default: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if namespace is None: - raise TypeError("Missing 'namespace' argument") - if is_default is None and 'isDefault' in kwargs: - is_default = kwargs['isDefault'] - - _setter("namespace", namespace) + pulumi.set(__self__, "namespace", namespace) if id is not None: - _setter("id", id) + pulumi.set(__self__, "id", id) if is_default is not None: - _setter("is_default", is_default) + pulumi.set(__self__, "is_default", is_default) @property @pulumi.getter @@ -749,30 +584,11 @@ def __init__(__self__, *, :param str id: The ID of the Bitbucket Datacenter integration. If not specified, the default integration will be used. :param bool is_default: Indicates whether this is the default Bitbucket Datacenter integration """ - StackBitbucketDatacenter._configure( - lambda key, value: pulumi.set(__self__, key, value), - namespace=namespace, - id=id, - is_default=is_default, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - namespace: Optional[str] = None, - id: Optional[str] = None, - is_default: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if namespace is None: - raise TypeError("Missing 'namespace' argument") - if is_default is None and 'isDefault' in kwargs: - is_default = kwargs['isDefault'] - - _setter("namespace", namespace) + pulumi.set(__self__, "namespace", namespace) if id is not None: - _setter("id", id) + pulumi.set(__self__, "id", id) if is_default is not None: - _setter("is_default", is_default) + pulumi.set(__self__, "is_default", is_default) @property @pulumi.getter @@ -833,41 +649,10 @@ def __init__(__self__, *, :param str stack_name: CloudFormation stack name :param str template_bucket: S3 bucket to save CloudFormation templates to """ - StackCloudformation._configure( - lambda key, value: pulumi.set(__self__, key, value), - entry_template_file=entry_template_file, - region=region, - stack_name=stack_name, - template_bucket=template_bucket, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - entry_template_file: Optional[str] = None, - region: Optional[str] = None, - stack_name: Optional[str] = None, - template_bucket: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if entry_template_file is None and 'entryTemplateFile' in kwargs: - entry_template_file = kwargs['entryTemplateFile'] - if entry_template_file is None: - raise TypeError("Missing 'entry_template_file' argument") - if region is None: - raise TypeError("Missing 'region' argument") - if stack_name is None and 'stackName' in kwargs: - stack_name = kwargs['stackName'] - if stack_name is None: - raise TypeError("Missing 'stack_name' argument") - if template_bucket is None and 'templateBucket' in kwargs: - template_bucket = kwargs['templateBucket'] - if template_bucket is None: - raise TypeError("Missing 'template_bucket' argument") - - _setter("entry_template_file", entry_template_file) - _setter("region", region) - _setter("stack_name", stack_name) - _setter("template_bucket", template_bucket) + pulumi.set(__self__, "entry_template_file", entry_template_file) + pulumi.set(__self__, "region", region) + pulumi.set(__self__, "stack_name", stack_name) + pulumi.set(__self__, "template_bucket", template_bucket) @property @pulumi.getter(name="entryTemplateFile") @@ -930,30 +715,11 @@ def __init__(__self__, *, :param str id: The ID of the GitHub Enterprise integration. If not specified, the default integration will be used. :param bool is_default: Indicates whether this is the default GitHub Enterprise integration """ - StackGithubEnterprise._configure( - lambda key, value: pulumi.set(__self__, key, value), - namespace=namespace, - id=id, - is_default=is_default, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - namespace: Optional[str] = None, - id: Optional[str] = None, - is_default: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if namespace is None: - raise TypeError("Missing 'namespace' argument") - if is_default is None and 'isDefault' in kwargs: - is_default = kwargs['isDefault'] - - _setter("namespace", namespace) + pulumi.set(__self__, "namespace", namespace) if id is not None: - _setter("id", id) + pulumi.set(__self__, "id", id) if is_default is not None: - _setter("is_default", is_default) + pulumi.set(__self__, "is_default", is_default) @property @pulumi.getter @@ -1008,30 +774,11 @@ def __init__(__self__, *, :param str id: The ID of the Gitlab integration. If not specified, the default integration will be used. :param bool is_default: Indicates whether this is the default GitLab integration """ - StackGitlab._configure( - lambda key, value: pulumi.set(__self__, key, value), - namespace=namespace, - id=id, - is_default=is_default, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - namespace: Optional[str] = None, - id: Optional[str] = None, - is_default: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if namespace is None: - raise TypeError("Missing 'namespace' argument") - if is_default is None and 'isDefault' in kwargs: - is_default = kwargs['isDefault'] - - _setter("namespace", namespace) + pulumi.set(__self__, "namespace", namespace) if id is not None: - _setter("id", id) + pulumi.set(__self__, "id", id) if is_default is not None: - _setter("is_default", is_default) + pulumi.set(__self__, "is_default", is_default) @property @pulumi.getter @@ -1084,25 +831,10 @@ def __init__(__self__, *, :param str kubectl_version: Kubectl version. :param str namespace: Namespace of the Kubernetes cluster to run commands on. Leave empty for multi-namespace Stacks. """ - StackKubernetes._configure( - lambda key, value: pulumi.set(__self__, key, value), - kubectl_version=kubectl_version, - namespace=namespace, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - kubectl_version: Optional[str] = None, - namespace: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if kubectl_version is None and 'kubectlVersion' in kwargs: - kubectl_version = kwargs['kubectlVersion'] - if kubectl_version is not None: - _setter("kubectl_version", kubectl_version) + pulumi.set(__self__, "kubectl_version", kubectl_version) if namespace is not None: - _setter("namespace", namespace) + pulumi.set(__self__, "namespace", namespace) @property @pulumi.getter(name="kubectlVersion") @@ -1149,29 +881,8 @@ def __init__(__self__, *, :param str login_url: State backend to log into on Run initialize. :param str stack_name: Pulumi stack name to use with the state backend. """ - StackPulumi._configure( - lambda key, value: pulumi.set(__self__, key, value), - login_url=login_url, - stack_name=stack_name, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - login_url: Optional[str] = None, - stack_name: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if login_url is None and 'loginUrl' in kwargs: - login_url = kwargs['loginUrl'] - if login_url is None: - raise TypeError("Missing 'login_url' argument") - if stack_name is None and 'stackName' in kwargs: - stack_name = kwargs['stackName'] - if stack_name is None: - raise TypeError("Missing 'stack_name' argument") - - _setter("login_url", login_url) - _setter("stack_name", stack_name) + pulumi.set(__self__, "login_url", login_url) + pulumi.set(__self__, "stack_name", stack_name) @property @pulumi.getter(name="loginUrl") @@ -1199,25 +910,8 @@ def __init__(__self__, *, :param str namespace: User-friendly namespace for the repository, this is for cosmetic purposes only :param str url: HTTPS URL of the Git repository """ - StackRawGit._configure( - lambda key, value: pulumi.set(__self__, key, value), - namespace=namespace, - url=url, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - namespace: Optional[str] = None, - url: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if namespace is None: - raise TypeError("Missing 'namespace' argument") - if url is None: - raise TypeError("Missing 'url' argument") - - _setter("namespace", namespace) - _setter("url", url) + pulumi.set(__self__, "namespace", namespace) + pulumi.set(__self__, "url", url) @property @pulumi.getter @@ -1240,20 +934,7 @@ def url(self) -> str: class StackShowcase(dict): def __init__(__self__, *, namespace: str): - StackShowcase._configure( - lambda key, value: pulumi.set(__self__, key, value), - namespace=namespace, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - namespace: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if namespace is None: - raise TypeError("Missing 'namespace' argument") - - _setter("namespace", namespace) + pulumi.set(__self__, "namespace", namespace) @property @pulumi.getter @@ -1295,39 +976,14 @@ def __init__(__self__, *, :param str terragrunt_version: Terragrunt version. :param bool use_run_all: Whether to use `terragrunt run-all` instead of `terragrunt`. """ - StackTerragrunt._configure( - lambda key, value: pulumi.set(__self__, key, value), - terraform_version=terraform_version, - terragrunt_version=terragrunt_version, - use_run_all=use_run_all, - use_smart_sanitization=use_smart_sanitization, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - terraform_version: Optional[str] = None, - terragrunt_version: Optional[str] = None, - use_run_all: Optional[bool] = None, - use_smart_sanitization: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if terraform_version is None and 'terraformVersion' in kwargs: - terraform_version = kwargs['terraformVersion'] - if terragrunt_version is None and 'terragruntVersion' in kwargs: - terragrunt_version = kwargs['terragruntVersion'] - if use_run_all is None and 'useRunAll' in kwargs: - use_run_all = kwargs['useRunAll'] - if use_smart_sanitization is None and 'useSmartSanitization' in kwargs: - use_smart_sanitization = kwargs['useSmartSanitization'] - if terraform_version is not None: - _setter("terraform_version", terraform_version) + pulumi.set(__self__, "terraform_version", terraform_version) if terragrunt_version is not None: - _setter("terragrunt_version", terragrunt_version) + pulumi.set(__self__, "terragrunt_version", terragrunt_version) if use_run_all is not None: - _setter("use_run_all", use_run_all) + pulumi.set(__self__, "use_run_all", use_run_all) if use_smart_sanitization is not None: - _setter("use_smart_sanitization", use_smart_sanitization) + pulumi.set(__self__, "use_smart_sanitization", use_smart_sanitization) @property @pulumi.getter(name="terraformVersion") @@ -1382,27 +1038,8 @@ def __init__(__self__, *, :param str role: Type of access to the space. Possible values are: READ, WRITE, ADMIN :param str space_id: ID (slug) of the space the user has access to """ - UserPolicy._configure( - lambda key, value: pulumi.set(__self__, key, value), - role=role, - space_id=space_id, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - role: Optional[str] = None, - space_id: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if role is None: - raise TypeError("Missing 'role' argument") - if space_id is None and 'spaceId' in kwargs: - space_id = kwargs['spaceId'] - if space_id is None: - raise TypeError("Missing 'space_id' argument") - - _setter("role", role) - _setter("space_id", space_id) + pulumi.set(__self__, "role", role) + pulumi.set(__self__, "space_id", space_id) @property @pulumi.getter @@ -1432,86 +1069,54 @@ def __init__(__self__, *, name: str, role_arn: str, space_id: str): - GetAwsIntegrationsIntegrationResult._configure( - lambda key, value: pulumi.set(__self__, key, value), - duration_seconds=duration_seconds, - external_id=external_id, - generate_credentials_in_worker=generate_credentials_in_worker, - integration_id=integration_id, - labels=labels, - name=name, - role_arn=role_arn, - space_id=space_id, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - duration_seconds: Optional[int] = None, - external_id: Optional[str] = None, - generate_credentials_in_worker: Optional[bool] = None, - integration_id: Optional[str] = None, - labels: Optional[Sequence[str]] = None, - name: Optional[str] = None, - role_arn: Optional[str] = None, - space_id: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if duration_seconds is None and 'durationSeconds' in kwargs: - duration_seconds = kwargs['durationSeconds'] - if duration_seconds is None: - raise TypeError("Missing 'duration_seconds' argument") - if external_id is None and 'externalId' in kwargs: - external_id = kwargs['externalId'] - if external_id is None: - raise TypeError("Missing 'external_id' argument") - if generate_credentials_in_worker is None and 'generateCredentialsInWorker' in kwargs: - generate_credentials_in_worker = kwargs['generateCredentialsInWorker'] - if generate_credentials_in_worker is None: - raise TypeError("Missing 'generate_credentials_in_worker' argument") - if integration_id is None and 'integrationId' in kwargs: - integration_id = kwargs['integrationId'] - if integration_id is None: - raise TypeError("Missing 'integration_id' argument") - if labels is None: - raise TypeError("Missing 'labels' argument") - if name is None: - raise TypeError("Missing 'name' argument") - if role_arn is None and 'roleArn' in kwargs: - role_arn = kwargs['roleArn'] - if role_arn is None: - raise TypeError("Missing 'role_arn' argument") - if space_id is None and 'spaceId' in kwargs: - space_id = kwargs['spaceId'] - if space_id is None: - raise TypeError("Missing 'space_id' argument") - - _setter("duration_seconds", duration_seconds) - _setter("external_id", external_id) - _setter("generate_credentials_in_worker", generate_credentials_in_worker) - _setter("integration_id", integration_id) - _setter("labels", labels) - _setter("name", name) - _setter("role_arn", role_arn) - _setter("space_id", space_id) + """ + :param int duration_seconds: Duration in seconds for which the assumed role credentials should be valid + :param str external_id: Custom external ID (works only for private workers). + :param bool generate_credentials_in_worker: Generate AWS credentials in the private worker + :param str integration_id: Immutable ID of the integration. + :param str name: Name of the AWS integration. + :param str role_arn: ARN of the AWS IAM role to attach + :param str space_id: ID (slug) of the space the integration is in + """ + pulumi.set(__self__, "duration_seconds", duration_seconds) + pulumi.set(__self__, "external_id", external_id) + pulumi.set(__self__, "generate_credentials_in_worker", generate_credentials_in_worker) + pulumi.set(__self__, "integration_id", integration_id) + pulumi.set(__self__, "labels", labels) + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "role_arn", role_arn) + pulumi.set(__self__, "space_id", space_id) @property @pulumi.getter(name="durationSeconds") def duration_seconds(self) -> int: + """ + Duration in seconds for which the assumed role credentials should be valid + """ return pulumi.get(self, "duration_seconds") @property @pulumi.getter(name="externalId") def external_id(self) -> str: + """ + Custom external ID (works only for private workers). + """ return pulumi.get(self, "external_id") @property @pulumi.getter(name="generateCredentialsInWorker") def generate_credentials_in_worker(self) -> bool: + """ + Generate AWS credentials in the private worker + """ return pulumi.get(self, "generate_credentials_in_worker") @property @pulumi.getter(name="integrationId") def integration_id(self) -> str: + """ + Immutable ID of the integration. + """ return pulumi.get(self, "integration_id") @property @@ -1522,16 +1127,25 @@ def labels(self) -> Sequence[str]: @property @pulumi.getter def name(self) -> str: + """ + Name of the AWS integration. + """ return pulumi.get(self, "name") @property @pulumi.getter(name="roleArn") def role_arn(self) -> str: + """ + ARN of the AWS IAM role to attach + """ return pulumi.get(self, "role_arn") @property @pulumi.getter(name="spaceId") def space_id(self) -> str: + """ + ID (slug) of the space the integration is in + """ return pulumi.get(self, "space_id") @@ -1548,130 +1162,107 @@ def __init__(__self__, *, name: str, space_id: str, tenant_id: str): - GetAzureIntegrationsIntegrationResult._configure( - lambda key, value: pulumi.set(__self__, key, value), - admin_consent_provided=admin_consent_provided, - admin_consent_url=admin_consent_url, - application_id=application_id, - default_subscription_id=default_subscription_id, - display_name=display_name, - integration_id=integration_id, - labels=labels, - name=name, - space_id=space_id, - tenant_id=tenant_id, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - admin_consent_provided: Optional[bool] = None, - admin_consent_url: Optional[str] = None, - application_id: Optional[str] = None, - default_subscription_id: Optional[str] = None, - display_name: Optional[str] = None, - integration_id: Optional[str] = None, - labels: Optional[Sequence[str]] = None, - name: Optional[str] = None, - space_id: Optional[str] = None, - tenant_id: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if admin_consent_provided is None and 'adminConsentProvided' in kwargs: - admin_consent_provided = kwargs['adminConsentProvided'] - if admin_consent_provided is None: - raise TypeError("Missing 'admin_consent_provided' argument") - if admin_consent_url is None and 'adminConsentUrl' in kwargs: - admin_consent_url = kwargs['adminConsentUrl'] - if admin_consent_url is None: - raise TypeError("Missing 'admin_consent_url' argument") - if application_id is None and 'applicationId' in kwargs: - application_id = kwargs['applicationId'] - if application_id is None: - raise TypeError("Missing 'application_id' argument") - if default_subscription_id is None and 'defaultSubscriptionId' in kwargs: - default_subscription_id = kwargs['defaultSubscriptionId'] - if default_subscription_id is None: - raise TypeError("Missing 'default_subscription_id' argument") - if display_name is None and 'displayName' in kwargs: - display_name = kwargs['displayName'] - if display_name is None: - raise TypeError("Missing 'display_name' argument") - if integration_id is None and 'integrationId' in kwargs: - integration_id = kwargs['integrationId'] - if integration_id is None: - raise TypeError("Missing 'integration_id' argument") - if labels is None: - raise TypeError("Missing 'labels' argument") - if name is None: - raise TypeError("Missing 'name' argument") - if space_id is None and 'spaceId' in kwargs: - space_id = kwargs['spaceId'] - if space_id is None: - raise TypeError("Missing 'space_id' argument") - if tenant_id is None and 'tenantId' in kwargs: - tenant_id = kwargs['tenantId'] - if tenant_id is None: - raise TypeError("Missing 'tenant_id' argument") - - _setter("admin_consent_provided", admin_consent_provided) - _setter("admin_consent_url", admin_consent_url) - _setter("application_id", application_id) - _setter("default_subscription_id", default_subscription_id) - _setter("display_name", display_name) - _setter("integration_id", integration_id) - _setter("labels", labels) - _setter("name", name) - _setter("space_id", space_id) - _setter("tenant_id", tenant_id) + """ + :param bool admin_consent_provided: Indicates whether admin consent has been performed for the AAD Application. + :param str admin_consent_url: The URL to use to provide admin consent to the application in the customer's tenant + :param str application_id: The applicationId of the Azure AD application used by the integration. + :param str default_subscription_id: The default subscription ID to use, if one isn't specified at the stack/module level + :param str display_name: The display name for the application in Azure. This is automatically generated when the integration is created, and cannot be changed without deleting and recreating the integration. + :param str integration_id: Immutable ID of the integration. + :param Sequence[str] labels: Labels to set on the integration + :param str name: The friendly name of the integration. + :param str space_id: ID (slug) of the space the integration is in + :param str tenant_id: The Azure AD tenant ID + """ + pulumi.set(__self__, "admin_consent_provided", admin_consent_provided) + pulumi.set(__self__, "admin_consent_url", admin_consent_url) + pulumi.set(__self__, "application_id", application_id) + pulumi.set(__self__, "default_subscription_id", default_subscription_id) + pulumi.set(__self__, "display_name", display_name) + pulumi.set(__self__, "integration_id", integration_id) + pulumi.set(__self__, "labels", labels) + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "space_id", space_id) + pulumi.set(__self__, "tenant_id", tenant_id) @property @pulumi.getter(name="adminConsentProvided") def admin_consent_provided(self) -> bool: + """ + Indicates whether admin consent has been performed for the AAD Application. + """ return pulumi.get(self, "admin_consent_provided") @property @pulumi.getter(name="adminConsentUrl") def admin_consent_url(self) -> str: + """ + The URL to use to provide admin consent to the application in the customer's tenant + """ return pulumi.get(self, "admin_consent_url") @property @pulumi.getter(name="applicationId") def application_id(self) -> str: + """ + The applicationId of the Azure AD application used by the integration. + """ return pulumi.get(self, "application_id") @property @pulumi.getter(name="defaultSubscriptionId") def default_subscription_id(self) -> str: + """ + The default subscription ID to use, if one isn't specified at the stack/module level + """ return pulumi.get(self, "default_subscription_id") @property @pulumi.getter(name="displayName") def display_name(self) -> str: + """ + The display name for the application in Azure. This is automatically generated when the integration is created, and cannot be changed without deleting and recreating the integration. + """ return pulumi.get(self, "display_name") @property @pulumi.getter(name="integrationId") def integration_id(self) -> str: + """ + Immutable ID of the integration. + """ return pulumi.get(self, "integration_id") @property @pulumi.getter def labels(self) -> Sequence[str]: + """ + Labels to set on the integration + """ return pulumi.get(self, "labels") @property @pulumi.getter def name(self) -> str: + """ + The friendly name of the integration. + """ return pulumi.get(self, "name") @property @pulumi.getter(name="spaceId") def space_id(self) -> str: + """ + ID (slug) of the space the integration is in + """ return pulumi.get(self, "space_id") @property @pulumi.getter(name="tenantId") def tenant_id(self) -> str: + """ + The Azure AD tenant ID + """ return pulumi.get(self, "tenant_id") @@ -1683,53 +1274,32 @@ def __init__(__self__, *, labels: Sequence[str], name: str, space_id: str): - GetContextsContextResult._configure( - lambda key, value: pulumi.set(__self__, key, value), - context_id=context_id, - description=description, - labels=labels, - name=name, - space_id=space_id, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - context_id: Optional[str] = None, - description: Optional[str] = None, - labels: Optional[Sequence[str]] = None, - name: Optional[str] = None, - space_id: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if context_id is None and 'contextId' in kwargs: - context_id = kwargs['contextId'] - if context_id is None: - raise TypeError("Missing 'context_id' argument") - if description is None: - raise TypeError("Missing 'description' argument") - if labels is None: - raise TypeError("Missing 'labels' argument") - if name is None: - raise TypeError("Missing 'name' argument") - if space_id is None and 'spaceId' in kwargs: - space_id = kwargs['spaceId'] - if space_id is None: - raise TypeError("Missing 'space_id' argument") - - _setter("context_id", context_id) - _setter("description", description) - _setter("labels", labels) - _setter("name", name) - _setter("space_id", space_id) + """ + :param str context_id: immutable ID (slug) of the context + :param str description: free-form context description for users + :param str name: name of the context + :param str space_id: ID (slug) of the space the context is in + """ + pulumi.set(__self__, "context_id", context_id) + pulumi.set(__self__, "description", description) + pulumi.set(__self__, "labels", labels) + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "space_id", space_id) @property @pulumi.getter(name="contextId") def context_id(self) -> str: + """ + immutable ID (slug) of the context + """ return pulumi.get(self, "context_id") @property @pulumi.getter def description(self) -> str: + """ + free-form context description for users + """ return pulumi.get(self, "description") @property @@ -1740,11 +1310,17 @@ def labels(self) -> Sequence[str]: @property @pulumi.getter def name(self) -> str: + """ + name of the context + """ return pulumi.get(self, "name") @property @pulumi.getter(name="spaceId") def space_id(self) -> str: + """ + ID (slug) of the space the context is in + """ return pulumi.get(self, "space_id") @@ -1752,22 +1328,7 @@ def space_id(self) -> str: class GetContextsLabelResult(dict): def __init__(__self__, *, any_ofs: Sequence[str]): - GetContextsLabelResult._configure( - lambda key, value: pulumi.set(__self__, key, value), - any_ofs=any_ofs, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - any_ofs: Optional[Sequence[str]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if any_ofs is None and 'anyOfs' in kwargs: - any_ofs = kwargs['anyOfs'] - if any_ofs is None: - raise TypeError("Missing 'any_ofs' argument") - - _setter("any_ofs", any_ofs) + pulumi.set(__self__, "any_ofs", any_ofs) @property @pulumi.getter(name="anyOfs") @@ -1781,46 +1342,37 @@ def __init__(__self__, *, id: str, is_default: bool, project: str): - GetModuleAzureDevopResult._configure( - lambda key, value: pulumi.set(__self__, key, value), - id=id, - is_default=is_default, - project=project, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - id: Optional[str] = None, - is_default: Optional[bool] = None, - project: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if id is None: - raise TypeError("Missing 'id' argument") - if is_default is None and 'isDefault' in kwargs: - is_default = kwargs['isDefault'] - if is_default is None: - raise TypeError("Missing 'is_default' argument") - if project is None: - raise TypeError("Missing 'project' argument") - - _setter("id", id) - _setter("is_default", is_default) - _setter("project", project) + """ + :param str id: ID of the Azure Devops integration + :param bool is_default: Indicates whether this is the default Azure Devops integration + :param str project: The name of the Azure DevOps project + """ + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "is_default", is_default) + pulumi.set(__self__, "project", project) @property @pulumi.getter def id(self) -> str: + """ + ID of the Azure Devops integration + """ return pulumi.get(self, "id") @property @pulumi.getter(name="isDefault") def is_default(self) -> bool: + """ + Indicates whether this is the default Azure Devops integration + """ return pulumi.get(self, "is_default") @property @pulumi.getter def project(self) -> str: + """ + The name of the Azure DevOps project + """ return pulumi.get(self, "project") @@ -1830,46 +1382,37 @@ def __init__(__self__, *, id: str, is_default: bool, namespace: str): - GetModuleBitbucketCloudResult._configure( - lambda key, value: pulumi.set(__self__, key, value), - id=id, - is_default=is_default, - namespace=namespace, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - id: Optional[str] = None, - is_default: Optional[bool] = None, - namespace: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if id is None: - raise TypeError("Missing 'id' argument") - if is_default is None and 'isDefault' in kwargs: - is_default = kwargs['isDefault'] - if is_default is None: - raise TypeError("Missing 'is_default' argument") - if namespace is None: - raise TypeError("Missing 'namespace' argument") - - _setter("id", id) - _setter("is_default", is_default) - _setter("namespace", namespace) + """ + :param str id: ID of the Bitbucket Cloud integration + :param bool is_default: Indicates whether this is the default Bitbucket Cloud integration + :param str namespace: Bitbucket Cloud namespace of the stack's repository + """ + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "is_default", is_default) + pulumi.set(__self__, "namespace", namespace) @property @pulumi.getter def id(self) -> str: + """ + ID of the Bitbucket Cloud integration + """ return pulumi.get(self, "id") @property @pulumi.getter(name="isDefault") def is_default(self) -> bool: + """ + Indicates whether this is the default Bitbucket Cloud integration + """ return pulumi.get(self, "is_default") @property @pulumi.getter def namespace(self) -> str: + """ + Bitbucket Cloud namespace of the stack's repository + """ return pulumi.get(self, "namespace") @@ -1879,46 +1422,37 @@ def __init__(__self__, *, id: str, is_default: bool, namespace: str): - GetModuleBitbucketDatacenterResult._configure( - lambda key, value: pulumi.set(__self__, key, value), - id=id, - is_default=is_default, - namespace=namespace, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - id: Optional[str] = None, - is_default: Optional[bool] = None, - namespace: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if id is None: - raise TypeError("Missing 'id' argument") - if is_default is None and 'isDefault' in kwargs: - is_default = kwargs['isDefault'] - if is_default is None: - raise TypeError("Missing 'is_default' argument") - if namespace is None: - raise TypeError("Missing 'namespace' argument") - - _setter("id", id) - _setter("is_default", is_default) - _setter("namespace", namespace) + """ + :param str id: ID of the Bitbucket Datacenter integration + :param bool is_default: Indicates whether this is the default Bitbucket Datacenter integration + :param str namespace: Bitbucket Datacenter namespace of the stack's repository + """ + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "is_default", is_default) + pulumi.set(__self__, "namespace", namespace) @property @pulumi.getter def id(self) -> str: + """ + ID of the Bitbucket Datacenter integration + """ return pulumi.get(self, "id") @property @pulumi.getter(name="isDefault") def is_default(self) -> bool: + """ + Indicates whether this is the default Bitbucket Datacenter integration + """ return pulumi.get(self, "is_default") @property @pulumi.getter def namespace(self) -> str: + """ + Bitbucket Datacenter namespace of the stack's repository + """ return pulumi.get(self, "namespace") @@ -1928,46 +1462,37 @@ def __init__(__self__, *, id: str, is_default: bool, namespace: str): - GetModuleGithubEnterpriseResult._configure( - lambda key, value: pulumi.set(__self__, key, value), - id=id, - is_default=is_default, - namespace=namespace, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - id: Optional[str] = None, - is_default: Optional[bool] = None, - namespace: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if id is None: - raise TypeError("Missing 'id' argument") - if is_default is None and 'isDefault' in kwargs: - is_default = kwargs['isDefault'] - if is_default is None: - raise TypeError("Missing 'is_default' argument") - if namespace is None: - raise TypeError("Missing 'namespace' argument") - - _setter("id", id) - _setter("is_default", is_default) - _setter("namespace", namespace) + """ + :param str id: ID of the GitHub Enterprise integration + :param bool is_default: Indicates whether this is the default GitHub Enterprise integration + :param str namespace: GitHub Enterprise namespace of the stack's repository + """ + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "is_default", is_default) + pulumi.set(__self__, "namespace", namespace) @property @pulumi.getter def id(self) -> str: + """ + ID of the GitHub Enterprise integration + """ return pulumi.get(self, "id") @property @pulumi.getter(name="isDefault") def is_default(self) -> bool: + """ + Indicates whether this is the default GitHub Enterprise integration + """ return pulumi.get(self, "is_default") @property @pulumi.getter def namespace(self) -> str: + """ + GitHub Enterprise namespace of the stack's repository + """ return pulumi.get(self, "namespace") @@ -1977,46 +1502,37 @@ def __init__(__self__, *, id: str, is_default: bool, namespace: str): - GetModuleGitlabResult._configure( - lambda key, value: pulumi.set(__self__, key, value), - id=id, - is_default=is_default, - namespace=namespace, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - id: Optional[str] = None, - is_default: Optional[bool] = None, - namespace: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if id is None: - raise TypeError("Missing 'id' argument") - if is_default is None and 'isDefault' in kwargs: - is_default = kwargs['isDefault'] - if is_default is None: - raise TypeError("Missing 'is_default' argument") - if namespace is None: - raise TypeError("Missing 'namespace' argument") - - _setter("id", id) - _setter("is_default", is_default) - _setter("namespace", namespace) + """ + :param str id: ID of the Gitlab integration + :param bool is_default: Indicates whether this is the default Gitlab integration + :param str namespace: GitLab namespace of the repository + """ + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "is_default", is_default) + pulumi.set(__self__, "namespace", namespace) @property @pulumi.getter def id(self) -> str: + """ + ID of the Gitlab integration + """ return pulumi.get(self, "id") @property @pulumi.getter(name="isDefault") def is_default(self) -> bool: + """ + Indicates whether this is the default Gitlab integration + """ return pulumi.get(self, "is_default") @property @pulumi.getter def namespace(self) -> str: + """ + GitLab namespace of the repository + """ return pulumi.get(self, "namespace") @@ -2028,46 +1544,24 @@ def __init__(__self__, *, name: str, space_id: str, type: str): - GetPoliciesPolicyResult._configure( - lambda key, value: pulumi.set(__self__, key, value), - id=id, - labels=labels, - name=name, - space_id=space_id, - type=type, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - id: Optional[str] = None, - labels: Optional[Sequence[str]] = None, - name: Optional[str] = None, - space_id: Optional[str] = None, - type: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if id is None: - raise TypeError("Missing 'id' argument") - if labels is None: - raise TypeError("Missing 'labels' argument") - if name is None: - raise TypeError("Missing 'name' argument") - if space_id is None and 'spaceId' in kwargs: - space_id = kwargs['spaceId'] - if space_id is None: - raise TypeError("Missing 'space_id' argument") - if type is None: - raise TypeError("Missing 'type' argument") - - _setter("id", id) - _setter("labels", labels) - _setter("name", name) - _setter("space_id", space_id) - _setter("type", type) + """ + :param str id: ID of the policy + :param str name: Name of the policy + :param str space_id: ID (slug) of the space the policy is in + :param str type: Type of the policy + """ + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "labels", labels) + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "space_id", space_id) + pulumi.set(__self__, "type", type) @property @pulumi.getter def id(self) -> str: + """ + ID of the policy + """ return pulumi.get(self, "id") @property @@ -2078,16 +1572,25 @@ def labels(self) -> Sequence[str]: @property @pulumi.getter def name(self) -> str: + """ + Name of the policy + """ return pulumi.get(self, "name") @property @pulumi.getter(name="spaceId") def space_id(self) -> str: + """ + ID (slug) of the space the policy is in + """ return pulumi.get(self, "space_id") @property @pulumi.getter def type(self) -> str: + """ + Type of the policy + """ return pulumi.get(self, "type") @@ -2100,80 +1603,67 @@ def __init__(__self__, *, name: str, parent_space_id: str, space_id: str): - GetSpacesSpaceResult._configure( - lambda key, value: pulumi.set(__self__, key, value), - description=description, - inherit_entities=inherit_entities, - labels=labels, - name=name, - parent_space_id=parent_space_id, - space_id=space_id, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - description: Optional[str] = None, - inherit_entities: Optional[bool] = None, - labels: Optional[Sequence[str]] = None, - name: Optional[str] = None, - parent_space_id: Optional[str] = None, - space_id: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if description is None: - raise TypeError("Missing 'description' argument") - if inherit_entities is None and 'inheritEntities' in kwargs: - inherit_entities = kwargs['inheritEntities'] - if inherit_entities is None: - raise TypeError("Missing 'inherit_entities' argument") - if labels is None: - raise TypeError("Missing 'labels' argument") - if name is None: - raise TypeError("Missing 'name' argument") - if parent_space_id is None and 'parentSpaceId' in kwargs: - parent_space_id = kwargs['parentSpaceId'] - if parent_space_id is None: - raise TypeError("Missing 'parent_space_id' argument") - if space_id is None and 'spaceId' in kwargs: - space_id = kwargs['spaceId'] - if space_id is None: - raise TypeError("Missing 'space_id' argument") - - _setter("description", description) - _setter("inherit_entities", inherit_entities) - _setter("labels", labels) - _setter("name", name) - _setter("parent_space_id", parent_space_id) - _setter("space_id", space_id) + """ + :param str description: free-form space description for users + :param bool inherit_entities: indication whether access to this space inherits read access to entities from the parent space + :param Sequence[str] labels: list of labels describing a space + :param str name: name of the space + :param str parent_space_id: immutable ID (slug) of parent space + :param str space_id: immutable ID (slug) of the space + """ + pulumi.set(__self__, "description", description) + pulumi.set(__self__, "inherit_entities", inherit_entities) + pulumi.set(__self__, "labels", labels) + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "parent_space_id", parent_space_id) + pulumi.set(__self__, "space_id", space_id) @property @pulumi.getter def description(self) -> str: + """ + free-form space description for users + """ return pulumi.get(self, "description") @property @pulumi.getter(name="inheritEntities") def inherit_entities(self) -> bool: + """ + indication whether access to this space inherits read access to entities from the parent space + """ return pulumi.get(self, "inherit_entities") @property @pulumi.getter def labels(self) -> Sequence[str]: + """ + list of labels describing a space + """ return pulumi.get(self, "labels") @property @pulumi.getter def name(self) -> str: + """ + name of the space + """ return pulumi.get(self, "name") @property @pulumi.getter(name="parentSpaceId") def parent_space_id(self) -> str: + """ + immutable ID (slug) of parent space + """ return pulumi.get(self, "parent_space_id") @property @pulumi.getter(name="spaceId") def space_id(self) -> str: + """ + immutable ID (slug) of the space + """ return pulumi.get(self, "space_id") @@ -2181,24 +1671,17 @@ def space_id(self) -> str: class GetStackAnsibleResult(dict): def __init__(__self__, *, playbook: str): - GetStackAnsibleResult._configure( - lambda key, value: pulumi.set(__self__, key, value), - playbook=playbook, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - playbook: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if playbook is None: - raise TypeError("Missing 'playbook' argument") - - _setter("playbook", playbook) + """ + :param str playbook: The playbook the Ansible stack should run. + """ + pulumi.set(__self__, "playbook", playbook) @property @pulumi.getter def playbook(self) -> str: + """ + The playbook the Ansible stack should run. + """ return pulumi.get(self, "playbook") @@ -2208,46 +1691,37 @@ def __init__(__self__, *, id: str, is_default: bool, project: str): - GetStackAzureDevopResult._configure( - lambda key, value: pulumi.set(__self__, key, value), - id=id, - is_default=is_default, - project=project, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - id: Optional[str] = None, - is_default: Optional[bool] = None, - project: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if id is None: - raise TypeError("Missing 'id' argument") - if is_default is None and 'isDefault' in kwargs: - is_default = kwargs['isDefault'] - if is_default is None: - raise TypeError("Missing 'is_default' argument") - if project is None: - raise TypeError("Missing 'project' argument") - - _setter("id", id) - _setter("is_default", is_default) - _setter("project", project) + """ + :param str id: ID of the Azure Devops VCS integration + :param bool is_default: Indicates whether this is the default Azure Devops VCS integration + :param str project: The name of the Azure DevOps project + """ + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "is_default", is_default) + pulumi.set(__self__, "project", project) @property @pulumi.getter def id(self) -> str: + """ + ID of the Azure Devops VCS integration + """ return pulumi.get(self, "id") @property @pulumi.getter(name="isDefault") def is_default(self) -> bool: + """ + Indicates whether this is the default Azure Devops VCS integration + """ return pulumi.get(self, "is_default") @property @pulumi.getter def project(self) -> str: + """ + The name of the Azure DevOps project + """ return pulumi.get(self, "project") @@ -2257,46 +1731,37 @@ def __init__(__self__, *, id: str, is_default: bool, namespace: str): - GetStackBitbucketCloudResult._configure( - lambda key, value: pulumi.set(__self__, key, value), - id=id, - is_default=is_default, - namespace=namespace, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - id: Optional[str] = None, - is_default: Optional[bool] = None, - namespace: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if id is None: - raise TypeError("Missing 'id' argument") - if is_default is None and 'isDefault' in kwargs: - is_default = kwargs['isDefault'] - if is_default is None: - raise TypeError("Missing 'is_default' argument") - if namespace is None: - raise TypeError("Missing 'namespace' argument") - - _setter("id", id) - _setter("is_default", is_default) - _setter("namespace", namespace) + """ + :param str id: ID of the Bitbucket Cloud integration + :param bool is_default: Indicates whether this is the default Bitbucket Cloud integration + :param str namespace: Bitbucket Cloud namespace of the stack's repository + """ + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "is_default", is_default) + pulumi.set(__self__, "namespace", namespace) @property @pulumi.getter def id(self) -> str: + """ + ID of the Bitbucket Cloud integration + """ return pulumi.get(self, "id") @property @pulumi.getter(name="isDefault") def is_default(self) -> bool: + """ + Indicates whether this is the default Bitbucket Cloud integration + """ return pulumi.get(self, "is_default") @property @pulumi.getter def namespace(self) -> str: + """ + Bitbucket Cloud namespace of the stack's repository + """ return pulumi.get(self, "namespace") @@ -2306,46 +1771,37 @@ def __init__(__self__, *, id: str, is_default: bool, namespace: str): - GetStackBitbucketDatacenterResult._configure( - lambda key, value: pulumi.set(__self__, key, value), - id=id, - is_default=is_default, - namespace=namespace, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - id: Optional[str] = None, - is_default: Optional[bool] = None, - namespace: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if id is None: - raise TypeError("Missing 'id' argument") - if is_default is None and 'isDefault' in kwargs: - is_default = kwargs['isDefault'] - if is_default is None: - raise TypeError("Missing 'is_default' argument") - if namespace is None: - raise TypeError("Missing 'namespace' argument") - - _setter("id", id) - _setter("is_default", is_default) - _setter("namespace", namespace) + """ + :param str id: ID of the Bitbucket Datacenter integration + :param bool is_default: Indicates whether this is the default Bitbucket Datacenter integration + :param str namespace: Bitbucket Datacenter namespace of the stack's repository + """ + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "is_default", is_default) + pulumi.set(__self__, "namespace", namespace) @property @pulumi.getter def id(self) -> str: + """ + ID of the Bitbucket Datacenter integration + """ return pulumi.get(self, "id") @property @pulumi.getter(name="isDefault") def is_default(self) -> bool: + """ + Indicates whether this is the default Bitbucket Datacenter integration + """ return pulumi.get(self, "is_default") @property @pulumi.getter def namespace(self) -> str: + """ + Bitbucket Datacenter namespace of the stack's repository + """ return pulumi.get(self, "namespace") @@ -2356,60 +1812,47 @@ def __init__(__self__, *, region: str, stack_name: str, template_bucket: str): - GetStackCloudformationResult._configure( - lambda key, value: pulumi.set(__self__, key, value), - entry_template_file=entry_template_file, - region=region, - stack_name=stack_name, - template_bucket=template_bucket, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - entry_template_file: Optional[str] = None, - region: Optional[str] = None, - stack_name: Optional[str] = None, - template_bucket: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if entry_template_file is None and 'entryTemplateFile' in kwargs: - entry_template_file = kwargs['entryTemplateFile'] - if entry_template_file is None: - raise TypeError("Missing 'entry_template_file' argument") - if region is None: - raise TypeError("Missing 'region' argument") - if stack_name is None and 'stackName' in kwargs: - stack_name = kwargs['stackName'] - if stack_name is None: - raise TypeError("Missing 'stack_name' argument") - if template_bucket is None and 'templateBucket' in kwargs: - template_bucket = kwargs['templateBucket'] - if template_bucket is None: - raise TypeError("Missing 'template_bucket' argument") - - _setter("entry_template_file", entry_template_file) - _setter("region", region) - _setter("stack_name", stack_name) - _setter("template_bucket", template_bucket) + """ + :param str entry_template_file: Template file `cloudformation package` will be called on + :param str region: AWS region to use + :param str stack_name: CloudFormation stack name + :param str template_bucket: S3 bucket to save CloudFormation templates to + """ + pulumi.set(__self__, "entry_template_file", entry_template_file) + pulumi.set(__self__, "region", region) + pulumi.set(__self__, "stack_name", stack_name) + pulumi.set(__self__, "template_bucket", template_bucket) @property @pulumi.getter(name="entryTemplateFile") def entry_template_file(self) -> str: + """ + Template file `cloudformation package` will be called on + """ return pulumi.get(self, "entry_template_file") @property @pulumi.getter def region(self) -> str: + """ + AWS region to use + """ return pulumi.get(self, "region") @property @pulumi.getter(name="stackName") def stack_name(self) -> str: + """ + CloudFormation stack name + """ return pulumi.get(self, "stack_name") @property @pulumi.getter(name="templateBucket") def template_bucket(self) -> str: + """ + S3 bucket to save CloudFormation templates to + """ return pulumi.get(self, "template_bucket") @@ -2419,46 +1862,37 @@ def __init__(__self__, *, id: str, is_default: bool, namespace: str): - GetStackGithubEnterpriseResult._configure( - lambda key, value: pulumi.set(__self__, key, value), - id=id, - is_default=is_default, - namespace=namespace, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - id: Optional[str] = None, - is_default: Optional[bool] = None, - namespace: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if id is None: - raise TypeError("Missing 'id' argument") - if is_default is None and 'isDefault' in kwargs: - is_default = kwargs['isDefault'] - if is_default is None: - raise TypeError("Missing 'is_default' argument") - if namespace is None: - raise TypeError("Missing 'namespace' argument") - - _setter("id", id) - _setter("is_default", is_default) - _setter("namespace", namespace) + """ + :param str id: ID of the GitHub Enterprise integration + :param bool is_default: Indicates whether this is the default GitHub Enterprise integration + :param str namespace: GitHub Enterprise namespace of the stack's repository + """ + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "is_default", is_default) + pulumi.set(__self__, "namespace", namespace) @property @pulumi.getter def id(self) -> str: + """ + ID of the GitHub Enterprise integration + """ return pulumi.get(self, "id") @property @pulumi.getter(name="isDefault") def is_default(self) -> bool: + """ + Indicates whether this is the default GitHub Enterprise integration + """ return pulumi.get(self, "is_default") @property @pulumi.getter def namespace(self) -> str: + """ + GitHub Enterprise namespace of the stack's repository + """ return pulumi.get(self, "namespace") @@ -2468,46 +1902,37 @@ def __init__(__self__, *, id: str, is_default: bool, namespace: str): - GetStackGitlabResult._configure( - lambda key, value: pulumi.set(__self__, key, value), - id=id, - is_default=is_default, - namespace=namespace, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - id: Optional[str] = None, - is_default: Optional[bool] = None, - namespace: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if id is None: - raise TypeError("Missing 'id' argument") - if is_default is None and 'isDefault' in kwargs: - is_default = kwargs['isDefault'] - if is_default is None: - raise TypeError("Missing 'is_default' argument") - if namespace is None: - raise TypeError("Missing 'namespace' argument") - - _setter("id", id) - _setter("is_default", is_default) - _setter("namespace", namespace) + """ + :param str id: ID of the Gitlab integration + :param bool is_default: Indicates whether this is the default Gitlab integration + :param str namespace: GitLab namespace of the stack's repository + """ + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "is_default", is_default) + pulumi.set(__self__, "namespace", namespace) @property @pulumi.getter def id(self) -> str: + """ + ID of the Gitlab integration + """ return pulumi.get(self, "id") @property @pulumi.getter(name="isDefault") def is_default(self) -> bool: + """ + Indicates whether this is the default Gitlab integration + """ return pulumi.get(self, "is_default") @property @pulumi.getter def namespace(self) -> str: + """ + GitLab namespace of the stack's repository + """ return pulumi.get(self, "namespace") @@ -2516,36 +1941,27 @@ class GetStackKuberneteResult(dict): def __init__(__self__, *, kubectl_version: str, namespace: str): - GetStackKuberneteResult._configure( - lambda key, value: pulumi.set(__self__, key, value), - kubectl_version=kubectl_version, - namespace=namespace, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - kubectl_version: Optional[str] = None, - namespace: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if kubectl_version is None and 'kubectlVersion' in kwargs: - kubectl_version = kwargs['kubectlVersion'] - if kubectl_version is None: - raise TypeError("Missing 'kubectl_version' argument") - if namespace is None: - raise TypeError("Missing 'namespace' argument") - - _setter("kubectl_version", kubectl_version) - _setter("namespace", namespace) + """ + :param str kubectl_version: Kubectl version. + :param str namespace: Namespace of the Kubernetes cluster to run commands on. Leave empty for multi-namespace Stacks. + """ + pulumi.set(__self__, "kubectl_version", kubectl_version) + pulumi.set(__self__, "namespace", namespace) @property @pulumi.getter(name="kubectlVersion") def kubectl_version(self) -> str: + """ + Kubectl version. + """ return pulumi.get(self, "kubectl_version") @property @pulumi.getter def namespace(self) -> str: + """ + Namespace of the Kubernetes cluster to run commands on. Leave empty for multi-namespace Stacks. + """ return pulumi.get(self, "namespace") @@ -2554,38 +1970,27 @@ class GetStackPulumiResult(dict): def __init__(__self__, *, login_url: str, stack_name: str): - GetStackPulumiResult._configure( - lambda key, value: pulumi.set(__self__, key, value), - login_url=login_url, - stack_name=stack_name, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - login_url: Optional[str] = None, - stack_name: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if login_url is None and 'loginUrl' in kwargs: - login_url = kwargs['loginUrl'] - if login_url is None: - raise TypeError("Missing 'login_url' argument") - if stack_name is None and 'stackName' in kwargs: - stack_name = kwargs['stackName'] - if stack_name is None: - raise TypeError("Missing 'stack_name' argument") - - _setter("login_url", login_url) - _setter("stack_name", stack_name) + """ + :param str login_url: State backend to log into on Run initialize. + :param str stack_name: Pulumi stack name to use with the state backend. + """ + pulumi.set(__self__, "login_url", login_url) + pulumi.set(__self__, "stack_name", stack_name) @property @pulumi.getter(name="loginUrl") def login_url(self) -> str: + """ + State backend to log into on Run initialize. + """ return pulumi.get(self, "login_url") @property @pulumi.getter(name="stackName") def stack_name(self) -> str: + """ + Pulumi stack name to use with the state backend. + """ return pulumi.get(self, "stack_name") @@ -2594,34 +1999,27 @@ class GetStackRawGitResult(dict): def __init__(__self__, *, namespace: str, url: str): - GetStackRawGitResult._configure( - lambda key, value: pulumi.set(__self__, key, value), - namespace=namespace, - url=url, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - namespace: Optional[str] = None, - url: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if namespace is None: - raise TypeError("Missing 'namespace' argument") - if url is None: - raise TypeError("Missing 'url' argument") - - _setter("namespace", namespace) - _setter("url", url) + """ + :param str namespace: User-friendly namespace for the repository, this is for cosmetic purposes only + :param str url: HTTPS URL of the Git repository + """ + pulumi.set(__self__, "namespace", namespace) + pulumi.set(__self__, "url", url) @property @pulumi.getter def namespace(self) -> str: + """ + User-friendly namespace for the repository, this is for cosmetic purposes only + """ return pulumi.get(self, "namespace") @property @pulumi.getter def url(self) -> str: + """ + HTTPS URL of the Git repository + """ return pulumi.get(self, "url") @@ -2629,24 +2027,17 @@ def url(self) -> str: class GetStackShowcaseResult(dict): def __init__(__self__, *, namespace: str): - GetStackShowcaseResult._configure( - lambda key, value: pulumi.set(__self__, key, value), - namespace=namespace, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - namespace: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if namespace is None: - raise TypeError("Missing 'namespace' argument") - - _setter("namespace", namespace) + """ + :param str namespace: GitHub namespace of the stack's repository + """ + pulumi.set(__self__, "namespace", namespace) @property @pulumi.getter def namespace(self) -> str: + """ + GitHub namespace of the stack's repository + """ return pulumi.get(self, "namespace") @@ -2654,19 +2045,8 @@ def namespace(self) -> str: class GetStacksAdministrativeResult(dict): def __init__(__self__, *, equals: Optional[bool] = None): - GetStacksAdministrativeResult._configure( - lambda key, value: pulumi.set(__self__, key, value), - equals=equals, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - equals: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if equals is not None: - _setter("equals", equals) + pulumi.set(__self__, "equals", equals) @property @pulumi.getter @@ -2678,22 +2058,7 @@ def equals(self) -> Optional[bool]: class GetStacksBranchResult(dict): def __init__(__self__, *, any_ofs: Sequence[str]): - GetStacksBranchResult._configure( - lambda key, value: pulumi.set(__self__, key, value), - any_ofs=any_ofs, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - any_ofs: Optional[Sequence[str]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if any_ofs is None and 'anyOfs' in kwargs: - any_ofs = kwargs['anyOfs'] - if any_ofs is None: - raise TypeError("Missing 'any_ofs' argument") - - _setter("any_ofs", any_ofs) + pulumi.set(__self__, "any_ofs", any_ofs) @property @pulumi.getter(name="anyOfs") @@ -2705,22 +2070,7 @@ def any_ofs(self) -> Sequence[str]: class GetStacksCommitResult(dict): def __init__(__self__, *, any_ofs: Sequence[str]): - GetStacksCommitResult._configure( - lambda key, value: pulumi.set(__self__, key, value), - any_ofs=any_ofs, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - any_ofs: Optional[Sequence[str]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if any_ofs is None and 'anyOfs' in kwargs: - any_ofs = kwargs['anyOfs'] - if any_ofs is None: - raise TypeError("Missing 'any_ofs' argument") - - _setter("any_ofs", any_ofs) + pulumi.set(__self__, "any_ofs", any_ofs) @property @pulumi.getter(name="anyOfs") @@ -2732,22 +2082,7 @@ def any_ofs(self) -> Sequence[str]: class GetStacksLabelResult(dict): def __init__(__self__, *, any_ofs: Sequence[str]): - GetStacksLabelResult._configure( - lambda key, value: pulumi.set(__self__, key, value), - any_ofs=any_ofs, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - any_ofs: Optional[Sequence[str]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if any_ofs is None and 'anyOfs' in kwargs: - any_ofs = kwargs['anyOfs'] - if any_ofs is None: - raise TypeError("Missing 'any_ofs' argument") - - _setter("any_ofs", any_ofs) + pulumi.set(__self__, "any_ofs", any_ofs) @property @pulumi.getter(name="anyOfs") @@ -2759,19 +2094,8 @@ def any_ofs(self) -> Sequence[str]: class GetStacksLockedResult(dict): def __init__(__self__, *, equals: Optional[bool] = None): - GetStacksLockedResult._configure( - lambda key, value: pulumi.set(__self__, key, value), - equals=equals, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - equals: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if equals is not None: - _setter("equals", equals) + pulumi.set(__self__, "equals", equals) @property @pulumi.getter @@ -2783,22 +2107,7 @@ def equals(self) -> Optional[bool]: class GetStacksNameResult(dict): def __init__(__self__, *, any_ofs: Sequence[str]): - GetStacksNameResult._configure( - lambda key, value: pulumi.set(__self__, key, value), - any_ofs=any_ofs, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - any_ofs: Optional[Sequence[str]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if any_ofs is None and 'anyOfs' in kwargs: - any_ofs = kwargs['anyOfs'] - if any_ofs is None: - raise TypeError("Missing 'any_ofs' argument") - - _setter("any_ofs", any_ofs) + pulumi.set(__self__, "any_ofs", any_ofs) @property @pulumi.getter(name="anyOfs") @@ -2810,22 +2119,7 @@ def any_ofs(self) -> Sequence[str]: class GetStacksProjectRootResult(dict): def __init__(__self__, *, any_ofs: Sequence[str]): - GetStacksProjectRootResult._configure( - lambda key, value: pulumi.set(__self__, key, value), - any_ofs=any_ofs, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - any_ofs: Optional[Sequence[str]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if any_ofs is None and 'anyOfs' in kwargs: - any_ofs = kwargs['anyOfs'] - if any_ofs is None: - raise TypeError("Missing 'any_ofs' argument") - - _setter("any_ofs", any_ofs) + pulumi.set(__self__, "any_ofs", any_ofs) @property @pulumi.getter(name="anyOfs") @@ -2837,22 +2131,7 @@ def any_ofs(self) -> Sequence[str]: class GetStacksRepositoryResult(dict): def __init__(__self__, *, any_ofs: Sequence[str]): - GetStacksRepositoryResult._configure( - lambda key, value: pulumi.set(__self__, key, value), - any_ofs=any_ofs, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - any_ofs: Optional[Sequence[str]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if any_ofs is None and 'anyOfs' in kwargs: - any_ofs = kwargs['anyOfs'] - if any_ofs is None: - raise TypeError("Missing 'any_ofs' argument") - - _setter("any_ofs", any_ofs) + pulumi.set(__self__, "any_ofs", any_ofs) @property @pulumi.getter(name="anyOfs") @@ -2908,424 +2187,295 @@ def __init__(__self__, *, worker_pool_id: str, additional_project_globs: Optional[Sequence[str]] = None, after_runs: Optional[Sequence[str]] = None): - GetStacksStackResult._configure( - lambda key, value: pulumi.set(__self__, key, value), - administrative=administrative, - after_applies=after_applies, - after_destroys=after_destroys, - after_inits=after_inits, - after_performs=after_performs, - after_plans=after_plans, - ansibles=ansibles, - autodeploy=autodeploy, - autoretry=autoretry, - aws_assume_role_policy_statement=aws_assume_role_policy_statement, - azure_devops=azure_devops, - before_applies=before_applies, - before_destroys=before_destroys, - before_inits=before_inits, - before_performs=before_performs, - before_plans=before_plans, - bitbucket_clouds=bitbucket_clouds, - bitbucket_datacenters=bitbucket_datacenters, - branch=branch, - cloudformations=cloudformations, - description=description, - enable_local_preview=enable_local_preview, - github_enterprises=github_enterprises, - gitlabs=gitlabs, - kubernetes=kubernetes, - labels=labels, - manage_state=manage_state, - name=name, - project_root=project_root, - protect_from_deletion=protect_from_deletion, - pulumis=pulumis, - raw_gits=raw_gits, - repository=repository, - runner_image=runner_image, - showcases=showcases, - space_id=space_id, - stack_id=stack_id, - terraform_external_state_access=terraform_external_state_access, - terraform_smart_sanitization=terraform_smart_sanitization, - terraform_version=terraform_version, - terraform_workflow_tool=terraform_workflow_tool, - terraform_workspace=terraform_workspace, - worker_pool_id=worker_pool_id, - additional_project_globs=additional_project_globs, - after_runs=after_runs, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - administrative: Optional[bool] = None, - after_applies: Optional[Sequence[str]] = None, - after_destroys: Optional[Sequence[str]] = None, - after_inits: Optional[Sequence[str]] = None, - after_performs: Optional[Sequence[str]] = None, - after_plans: Optional[Sequence[str]] = None, - ansibles: Optional[Sequence['outputs.GetStacksStackAnsibleResult']] = None, - autodeploy: Optional[bool] = None, - autoretry: Optional[bool] = None, - aws_assume_role_policy_statement: Optional[str] = None, - azure_devops: Optional[Sequence['outputs.GetStacksStackAzureDevopResult']] = None, - before_applies: Optional[Sequence[str]] = None, - before_destroys: Optional[Sequence[str]] = None, - before_inits: Optional[Sequence[str]] = None, - before_performs: Optional[Sequence[str]] = None, - before_plans: Optional[Sequence[str]] = None, - bitbucket_clouds: Optional[Sequence['outputs.GetStacksStackBitbucketCloudResult']] = None, - bitbucket_datacenters: Optional[Sequence['outputs.GetStacksStackBitbucketDatacenterResult']] = None, - branch: Optional[str] = None, - cloudformations: Optional[Sequence['outputs.GetStacksStackCloudformationResult']] = None, - description: Optional[str] = None, - enable_local_preview: Optional[bool] = None, - github_enterprises: Optional[Sequence['outputs.GetStacksStackGithubEnterpriseResult']] = None, - gitlabs: Optional[Sequence['outputs.GetStacksStackGitlabResult']] = None, - kubernetes: Optional[Sequence['outputs.GetStacksStackKuberneteResult']] = None, - labels: Optional[Sequence[str]] = None, - manage_state: Optional[bool] = None, - name: Optional[str] = None, - project_root: Optional[str] = None, - protect_from_deletion: Optional[bool] = None, - pulumis: Optional[Sequence['outputs.GetStacksStackPulumiResult']] = None, - raw_gits: Optional[Sequence['outputs.GetStacksStackRawGitResult']] = None, - repository: Optional[str] = None, - runner_image: Optional[str] = None, - showcases: Optional[Sequence['outputs.GetStacksStackShowcaseResult']] = None, - space_id: Optional[str] = None, - stack_id: Optional[str] = None, - terraform_external_state_access: Optional[bool] = None, - terraform_smart_sanitization: Optional[bool] = None, - terraform_version: Optional[str] = None, - terraform_workflow_tool: Optional[str] = None, - terraform_workspace: Optional[str] = None, - worker_pool_id: Optional[str] = None, - additional_project_globs: Optional[Sequence[str]] = None, - after_runs: Optional[Sequence[str]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if administrative is None: - raise TypeError("Missing 'administrative' argument") - if after_applies is None and 'afterApplies' in kwargs: - after_applies = kwargs['afterApplies'] - if after_applies is None: - raise TypeError("Missing 'after_applies' argument") - if after_destroys is None and 'afterDestroys' in kwargs: - after_destroys = kwargs['afterDestroys'] - if after_destroys is None: - raise TypeError("Missing 'after_destroys' argument") - if after_inits is None and 'afterInits' in kwargs: - after_inits = kwargs['afterInits'] - if after_inits is None: - raise TypeError("Missing 'after_inits' argument") - if after_performs is None and 'afterPerforms' in kwargs: - after_performs = kwargs['afterPerforms'] - if after_performs is None: - raise TypeError("Missing 'after_performs' argument") - if after_plans is None and 'afterPlans' in kwargs: - after_plans = kwargs['afterPlans'] - if after_plans is None: - raise TypeError("Missing 'after_plans' argument") - if ansibles is None: - raise TypeError("Missing 'ansibles' argument") - if autodeploy is None: - raise TypeError("Missing 'autodeploy' argument") - if autoretry is None: - raise TypeError("Missing 'autoretry' argument") - if aws_assume_role_policy_statement is None and 'awsAssumeRolePolicyStatement' in kwargs: - aws_assume_role_policy_statement = kwargs['awsAssumeRolePolicyStatement'] - if aws_assume_role_policy_statement is None: - raise TypeError("Missing 'aws_assume_role_policy_statement' argument") - if azure_devops is None and 'azureDevops' in kwargs: - azure_devops = kwargs['azureDevops'] - if azure_devops is None: - raise TypeError("Missing 'azure_devops' argument") - if before_applies is None and 'beforeApplies' in kwargs: - before_applies = kwargs['beforeApplies'] - if before_applies is None: - raise TypeError("Missing 'before_applies' argument") - if before_destroys is None and 'beforeDestroys' in kwargs: - before_destroys = kwargs['beforeDestroys'] - if before_destroys is None: - raise TypeError("Missing 'before_destroys' argument") - if before_inits is None and 'beforeInits' in kwargs: - before_inits = kwargs['beforeInits'] - if before_inits is None: - raise TypeError("Missing 'before_inits' argument") - if before_performs is None and 'beforePerforms' in kwargs: - before_performs = kwargs['beforePerforms'] - if before_performs is None: - raise TypeError("Missing 'before_performs' argument") - if before_plans is None and 'beforePlans' in kwargs: - before_plans = kwargs['beforePlans'] - if before_plans is None: - raise TypeError("Missing 'before_plans' argument") - if bitbucket_clouds is None and 'bitbucketClouds' in kwargs: - bitbucket_clouds = kwargs['bitbucketClouds'] - if bitbucket_clouds is None: - raise TypeError("Missing 'bitbucket_clouds' argument") - if bitbucket_datacenters is None and 'bitbucketDatacenters' in kwargs: - bitbucket_datacenters = kwargs['bitbucketDatacenters'] - if bitbucket_datacenters is None: - raise TypeError("Missing 'bitbucket_datacenters' argument") - if branch is None: - raise TypeError("Missing 'branch' argument") - if cloudformations is None: - raise TypeError("Missing 'cloudformations' argument") - if description is None: - raise TypeError("Missing 'description' argument") - if enable_local_preview is None and 'enableLocalPreview' in kwargs: - enable_local_preview = kwargs['enableLocalPreview'] - if enable_local_preview is None: - raise TypeError("Missing 'enable_local_preview' argument") - if github_enterprises is None and 'githubEnterprises' in kwargs: - github_enterprises = kwargs['githubEnterprises'] - if github_enterprises is None: - raise TypeError("Missing 'github_enterprises' argument") - if gitlabs is None: - raise TypeError("Missing 'gitlabs' argument") - if kubernetes is None: - raise TypeError("Missing 'kubernetes' argument") - if labels is None: - raise TypeError("Missing 'labels' argument") - if manage_state is None and 'manageState' in kwargs: - manage_state = kwargs['manageState'] - if manage_state is None: - raise TypeError("Missing 'manage_state' argument") - if name is None: - raise TypeError("Missing 'name' argument") - if project_root is None and 'projectRoot' in kwargs: - project_root = kwargs['projectRoot'] - if project_root is None: - raise TypeError("Missing 'project_root' argument") - if protect_from_deletion is None and 'protectFromDeletion' in kwargs: - protect_from_deletion = kwargs['protectFromDeletion'] - if protect_from_deletion is None: - raise TypeError("Missing 'protect_from_deletion' argument") - if pulumis is None: - raise TypeError("Missing 'pulumis' argument") - if raw_gits is None and 'rawGits' in kwargs: - raw_gits = kwargs['rawGits'] - if raw_gits is None: - raise TypeError("Missing 'raw_gits' argument") - if repository is None: - raise TypeError("Missing 'repository' argument") - if runner_image is None and 'runnerImage' in kwargs: - runner_image = kwargs['runnerImage'] - if runner_image is None: - raise TypeError("Missing 'runner_image' argument") - if showcases is None: - raise TypeError("Missing 'showcases' argument") - if space_id is None and 'spaceId' in kwargs: - space_id = kwargs['spaceId'] - if space_id is None: - raise TypeError("Missing 'space_id' argument") - if stack_id is None and 'stackId' in kwargs: - stack_id = kwargs['stackId'] - if stack_id is None: - raise TypeError("Missing 'stack_id' argument") - if terraform_external_state_access is None and 'terraformExternalStateAccess' in kwargs: - terraform_external_state_access = kwargs['terraformExternalStateAccess'] - if terraform_external_state_access is None: - raise TypeError("Missing 'terraform_external_state_access' argument") - if terraform_smart_sanitization is None and 'terraformSmartSanitization' in kwargs: - terraform_smart_sanitization = kwargs['terraformSmartSanitization'] - if terraform_smart_sanitization is None: - raise TypeError("Missing 'terraform_smart_sanitization' argument") - if terraform_version is None and 'terraformVersion' in kwargs: - terraform_version = kwargs['terraformVersion'] - if terraform_version is None: - raise TypeError("Missing 'terraform_version' argument") - if terraform_workflow_tool is None and 'terraformWorkflowTool' in kwargs: - terraform_workflow_tool = kwargs['terraformWorkflowTool'] - if terraform_workflow_tool is None: - raise TypeError("Missing 'terraform_workflow_tool' argument") - if terraform_workspace is None and 'terraformWorkspace' in kwargs: - terraform_workspace = kwargs['terraformWorkspace'] - if terraform_workspace is None: - raise TypeError("Missing 'terraform_workspace' argument") - if worker_pool_id is None and 'workerPoolId' in kwargs: - worker_pool_id = kwargs['workerPoolId'] - if worker_pool_id is None: - raise TypeError("Missing 'worker_pool_id' argument") - if additional_project_globs is None and 'additionalProjectGlobs' in kwargs: - additional_project_globs = kwargs['additionalProjectGlobs'] - if after_runs is None and 'afterRuns' in kwargs: - after_runs = kwargs['afterRuns'] - - _setter("administrative", administrative) - _setter("after_applies", after_applies) - _setter("after_destroys", after_destroys) - _setter("after_inits", after_inits) - _setter("after_performs", after_performs) - _setter("after_plans", after_plans) - _setter("ansibles", ansibles) - _setter("autodeploy", autodeploy) - _setter("autoretry", autoretry) - _setter("aws_assume_role_policy_statement", aws_assume_role_policy_statement) - _setter("azure_devops", azure_devops) - _setter("before_applies", before_applies) - _setter("before_destroys", before_destroys) - _setter("before_inits", before_inits) - _setter("before_performs", before_performs) - _setter("before_plans", before_plans) - _setter("bitbucket_clouds", bitbucket_clouds) - _setter("bitbucket_datacenters", bitbucket_datacenters) - _setter("branch", branch) - _setter("cloudformations", cloudformations) - _setter("description", description) - _setter("enable_local_preview", enable_local_preview) - _setter("github_enterprises", github_enterprises) - _setter("gitlabs", gitlabs) - _setter("kubernetes", kubernetes) - _setter("labels", labels) - _setter("manage_state", manage_state) - _setter("name", name) - _setter("project_root", project_root) - _setter("protect_from_deletion", protect_from_deletion) - _setter("pulumis", pulumis) - _setter("raw_gits", raw_gits) - _setter("repository", repository) - _setter("runner_image", runner_image) - _setter("showcases", showcases) - _setter("space_id", space_id) - _setter("stack_id", stack_id) - _setter("terraform_external_state_access", terraform_external_state_access) - _setter("terraform_smart_sanitization", terraform_smart_sanitization) - _setter("terraform_version", terraform_version) - _setter("terraform_workflow_tool", terraform_workflow_tool) - _setter("terraform_workspace", terraform_workspace) - _setter("worker_pool_id", worker_pool_id) + """ + :param bool administrative: indicates whether this stack can administer others + :param Sequence[str] after_applies: List of after-apply scripts + :param Sequence[str] after_destroys: List of after-destroy scripts + :param Sequence[str] after_inits: List of after-init scripts + :param Sequence[str] after_performs: List of after-perform scripts + :param Sequence[str] after_plans: List of after-plan scripts + :param Sequence['GetStacksStackAnsibleArgs'] ansibles: Ansible-specific configuration. Presence means this Stack is an Ansible Stack. + :param bool autodeploy: indicates whether changes to this stack can be automatically deployed + :param bool autoretry: indicates whether obsolete proposed changes should automatically be retried + :param str aws_assume_role_policy_statement: AWS IAM assume role policy statement setting up trust relationship + :param Sequence['GetStacksStackAzureDevopArgs'] azure_devops: Azure DevOps VCS settings + :param Sequence[str] before_applies: List of before-apply scripts + :param Sequence[str] before_destroys: List of before-destroy scripts + :param Sequence[str] before_inits: List of before-init scripts + :param Sequence[str] before_performs: List of before-perform scripts + :param Sequence[str] before_plans: List of before-plan scripts + :param Sequence['GetStacksStackBitbucketCloudArgs'] bitbucket_clouds: Bitbucket Cloud VCS settings + :param Sequence['GetStacksStackBitbucketDatacenterArgs'] bitbucket_datacenters: Bitbucket Datacenter VCS settings + :param str branch: Repository branch to treat as the default 'main' branch + :param Sequence['GetStacksStackCloudformationArgs'] cloudformations: CloudFormation-specific configuration. Presence means this Stack is a CloudFormation Stack. + :param str description: free-form stack description for users + :param bool enable_local_preview: Indicates whether local preview runs can be triggered on this Stack. + :param Sequence['GetStacksStackGithubEnterpriseArgs'] github_enterprises: GitHub Enterprise (self-hosted) VCS settings + :param Sequence['GetStacksStackGitlabArgs'] gitlabs: GitLab VCS settings + :param Sequence['GetStacksStackKuberneteArgs'] kubernetes: Kubernetes-specific configuration. Presence means this Stack is a Kubernetes Stack. + :param bool manage_state: Determines if Spacelift should manage state for this stack + :param str name: Name of the stack - should be unique in one account + :param str project_root: Project root is the optional directory relative to the workspace root containing the entrypoint to the Stack. + :param bool protect_from_deletion: Protect this stack from accidental deletion. If set, attempts to delete this stack will fail. + :param Sequence['GetStacksStackPulumiArgs'] pulumis: Pulumi-specific configuration. Presence means this Stack is a Pulumi Stack. + :param Sequence['GetStacksStackRawGitArgs'] raw_gits: One-way VCS integration using a raw Git repository link + :param str repository: Name of the repository, without the owner part + :param str runner_image: Name of the Docker image used to process Runs + :param Sequence['GetStacksStackShowcaseArgs'] showcases: Showcase-related attributes + :param str space_id: ID (slug) of the space the stack is in + :param str stack_id: ID (slug) of the stack + :param bool terraform_external_state_access: Indicates whether you can access the Stack state file from other stacks or outside of Spacelift. + :param str terraform_workflow_tool: Defines the tool that will be used to execute the workflow. This can be one of `OPEN_TOFU`, `TERRAFORM_FOSS` or `CUSTOM`. + :param str worker_pool_id: ID of the worker pool to use + :param Sequence[str] additional_project_globs: Project globs is an optional list of paths to track changes of in addition to the project root. + :param Sequence[str] after_runs: List of after-run scripts + """ + pulumi.set(__self__, "administrative", administrative) + pulumi.set(__self__, "after_applies", after_applies) + pulumi.set(__self__, "after_destroys", after_destroys) + pulumi.set(__self__, "after_inits", after_inits) + pulumi.set(__self__, "after_performs", after_performs) + pulumi.set(__self__, "after_plans", after_plans) + pulumi.set(__self__, "ansibles", ansibles) + pulumi.set(__self__, "autodeploy", autodeploy) + pulumi.set(__self__, "autoretry", autoretry) + pulumi.set(__self__, "aws_assume_role_policy_statement", aws_assume_role_policy_statement) + pulumi.set(__self__, "azure_devops", azure_devops) + pulumi.set(__self__, "before_applies", before_applies) + pulumi.set(__self__, "before_destroys", before_destroys) + pulumi.set(__self__, "before_inits", before_inits) + pulumi.set(__self__, "before_performs", before_performs) + pulumi.set(__self__, "before_plans", before_plans) + pulumi.set(__self__, "bitbucket_clouds", bitbucket_clouds) + pulumi.set(__self__, "bitbucket_datacenters", bitbucket_datacenters) + pulumi.set(__self__, "branch", branch) + pulumi.set(__self__, "cloudformations", cloudformations) + pulumi.set(__self__, "description", description) + pulumi.set(__self__, "enable_local_preview", enable_local_preview) + pulumi.set(__self__, "github_enterprises", github_enterprises) + pulumi.set(__self__, "gitlabs", gitlabs) + pulumi.set(__self__, "kubernetes", kubernetes) + pulumi.set(__self__, "labels", labels) + pulumi.set(__self__, "manage_state", manage_state) + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "project_root", project_root) + pulumi.set(__self__, "protect_from_deletion", protect_from_deletion) + pulumi.set(__self__, "pulumis", pulumis) + pulumi.set(__self__, "raw_gits", raw_gits) + pulumi.set(__self__, "repository", repository) + pulumi.set(__self__, "runner_image", runner_image) + pulumi.set(__self__, "showcases", showcases) + pulumi.set(__self__, "space_id", space_id) + pulumi.set(__self__, "stack_id", stack_id) + pulumi.set(__self__, "terraform_external_state_access", terraform_external_state_access) + pulumi.set(__self__, "terraform_smart_sanitization", terraform_smart_sanitization) + pulumi.set(__self__, "terraform_version", terraform_version) + pulumi.set(__self__, "terraform_workflow_tool", terraform_workflow_tool) + pulumi.set(__self__, "terraform_workspace", terraform_workspace) + pulumi.set(__self__, "worker_pool_id", worker_pool_id) if additional_project_globs is not None: - _setter("additional_project_globs", additional_project_globs) + pulumi.set(__self__, "additional_project_globs", additional_project_globs) if after_runs is not None: - _setter("after_runs", after_runs) + pulumi.set(__self__, "after_runs", after_runs) @property @pulumi.getter def administrative(self) -> bool: + """ + indicates whether this stack can administer others + """ return pulumi.get(self, "administrative") @property @pulumi.getter(name="afterApplies") def after_applies(self) -> Sequence[str]: + """ + List of after-apply scripts + """ return pulumi.get(self, "after_applies") @property @pulumi.getter(name="afterDestroys") def after_destroys(self) -> Sequence[str]: + """ + List of after-destroy scripts + """ return pulumi.get(self, "after_destroys") @property @pulumi.getter(name="afterInits") def after_inits(self) -> Sequence[str]: + """ + List of after-init scripts + """ return pulumi.get(self, "after_inits") @property @pulumi.getter(name="afterPerforms") def after_performs(self) -> Sequence[str]: + """ + List of after-perform scripts + """ return pulumi.get(self, "after_performs") @property @pulumi.getter(name="afterPlans") def after_plans(self) -> Sequence[str]: + """ + List of after-plan scripts + """ return pulumi.get(self, "after_plans") @property @pulumi.getter def ansibles(self) -> Sequence['outputs.GetStacksStackAnsibleResult']: + """ + Ansible-specific configuration. Presence means this Stack is an Ansible Stack. + """ return pulumi.get(self, "ansibles") @property @pulumi.getter def autodeploy(self) -> bool: + """ + indicates whether changes to this stack can be automatically deployed + """ return pulumi.get(self, "autodeploy") @property @pulumi.getter def autoretry(self) -> bool: + """ + indicates whether obsolete proposed changes should automatically be retried + """ return pulumi.get(self, "autoretry") @property @pulumi.getter(name="awsAssumeRolePolicyStatement") def aws_assume_role_policy_statement(self) -> str: + """ + AWS IAM assume role policy statement setting up trust relationship + """ return pulumi.get(self, "aws_assume_role_policy_statement") @property @pulumi.getter(name="azureDevops") def azure_devops(self) -> Sequence['outputs.GetStacksStackAzureDevopResult']: + """ + Azure DevOps VCS settings + """ return pulumi.get(self, "azure_devops") @property @pulumi.getter(name="beforeApplies") def before_applies(self) -> Sequence[str]: + """ + List of before-apply scripts + """ return pulumi.get(self, "before_applies") @property @pulumi.getter(name="beforeDestroys") def before_destroys(self) -> Sequence[str]: + """ + List of before-destroy scripts + """ return pulumi.get(self, "before_destroys") @property @pulumi.getter(name="beforeInits") def before_inits(self) -> Sequence[str]: + """ + List of before-init scripts + """ return pulumi.get(self, "before_inits") @property @pulumi.getter(name="beforePerforms") def before_performs(self) -> Sequence[str]: + """ + List of before-perform scripts + """ return pulumi.get(self, "before_performs") @property @pulumi.getter(name="beforePlans") def before_plans(self) -> Sequence[str]: + """ + List of before-plan scripts + """ return pulumi.get(self, "before_plans") @property @pulumi.getter(name="bitbucketClouds") def bitbucket_clouds(self) -> Sequence['outputs.GetStacksStackBitbucketCloudResult']: + """ + Bitbucket Cloud VCS settings + """ return pulumi.get(self, "bitbucket_clouds") @property @pulumi.getter(name="bitbucketDatacenters") def bitbucket_datacenters(self) -> Sequence['outputs.GetStacksStackBitbucketDatacenterResult']: + """ + Bitbucket Datacenter VCS settings + """ return pulumi.get(self, "bitbucket_datacenters") @property @pulumi.getter def branch(self) -> str: + """ + Repository branch to treat as the default 'main' branch + """ return pulumi.get(self, "branch") @property @pulumi.getter def cloudformations(self) -> Sequence['outputs.GetStacksStackCloudformationResult']: + """ + CloudFormation-specific configuration. Presence means this Stack is a CloudFormation Stack. + """ return pulumi.get(self, "cloudformations") @property @pulumi.getter def description(self) -> str: + """ + free-form stack description for users + """ return pulumi.get(self, "description") @property @pulumi.getter(name="enableLocalPreview") def enable_local_preview(self) -> bool: + """ + Indicates whether local preview runs can be triggered on this Stack. + """ return pulumi.get(self, "enable_local_preview") @property @pulumi.getter(name="githubEnterprises") def github_enterprises(self) -> Sequence['outputs.GetStacksStackGithubEnterpriseResult']: + """ + GitHub Enterprise (self-hosted) VCS settings + """ return pulumi.get(self, "github_enterprises") @property @pulumi.getter def gitlabs(self) -> Sequence['outputs.GetStacksStackGitlabResult']: + """ + GitLab VCS settings + """ return pulumi.get(self, "gitlabs") @property @pulumi.getter def kubernetes(self) -> Sequence['outputs.GetStacksStackKuberneteResult']: + """ + Kubernetes-specific configuration. Presence means this Stack is a Kubernetes Stack. + """ return pulumi.get(self, "kubernetes") @property @@ -3336,61 +2486,97 @@ def labels(self) -> Sequence[str]: @property @pulumi.getter(name="manageState") def manage_state(self) -> bool: + """ + Determines if Spacelift should manage state for this stack + """ return pulumi.get(self, "manage_state") @property @pulumi.getter def name(self) -> str: + """ + Name of the stack - should be unique in one account + """ return pulumi.get(self, "name") @property @pulumi.getter(name="projectRoot") def project_root(self) -> str: + """ + Project root is the optional directory relative to the workspace root containing the entrypoint to the Stack. + """ return pulumi.get(self, "project_root") @property @pulumi.getter(name="protectFromDeletion") def protect_from_deletion(self) -> bool: + """ + Protect this stack from accidental deletion. If set, attempts to delete this stack will fail. + """ return pulumi.get(self, "protect_from_deletion") @property @pulumi.getter def pulumis(self) -> Sequence['outputs.GetStacksStackPulumiResult']: + """ + Pulumi-specific configuration. Presence means this Stack is a Pulumi Stack. + """ return pulumi.get(self, "pulumis") @property @pulumi.getter(name="rawGits") def raw_gits(self) -> Sequence['outputs.GetStacksStackRawGitResult']: + """ + One-way VCS integration using a raw Git repository link + """ return pulumi.get(self, "raw_gits") @property @pulumi.getter def repository(self) -> str: + """ + Name of the repository, without the owner part + """ return pulumi.get(self, "repository") @property @pulumi.getter(name="runnerImage") def runner_image(self) -> str: + """ + Name of the Docker image used to process Runs + """ return pulumi.get(self, "runner_image") @property @pulumi.getter def showcases(self) -> Sequence['outputs.GetStacksStackShowcaseResult']: + """ + Showcase-related attributes + """ return pulumi.get(self, "showcases") @property @pulumi.getter(name="spaceId") def space_id(self) -> str: + """ + ID (slug) of the space the stack is in + """ return pulumi.get(self, "space_id") @property @pulumi.getter(name="stackId") def stack_id(self) -> str: + """ + ID (slug) of the stack + """ return pulumi.get(self, "stack_id") @property @pulumi.getter(name="terraformExternalStateAccess") def terraform_external_state_access(self) -> bool: + """ + Indicates whether you can access the Stack state file from other stacks or outside of Spacelift. + """ return pulumi.get(self, "terraform_external_state_access") @property @@ -3406,6 +2592,9 @@ def terraform_version(self) -> str: @property @pulumi.getter(name="terraformWorkflowTool") def terraform_workflow_tool(self) -> str: + """ + Defines the tool that will be used to execute the workflow. This can be one of `OPEN_TOFU`, `TERRAFORM_FOSS` or `CUSTOM`. + """ return pulumi.get(self, "terraform_workflow_tool") @property @@ -3416,16 +2605,25 @@ def terraform_workspace(self) -> str: @property @pulumi.getter(name="workerPoolId") def worker_pool_id(self) -> str: + """ + ID of the worker pool to use + """ return pulumi.get(self, "worker_pool_id") @property @pulumi.getter(name="additionalProjectGlobs") def additional_project_globs(self) -> Optional[Sequence[str]]: + """ + Project globs is an optional list of paths to track changes of in addition to the project root. + """ return pulumi.get(self, "additional_project_globs") @property @pulumi.getter(name="afterRuns") def after_runs(self) -> Optional[Sequence[str]]: + """ + List of after-run scripts + """ return pulumi.get(self, "after_runs") @@ -3433,24 +2631,17 @@ def after_runs(self) -> Optional[Sequence[str]]: class GetStacksStackAnsibleResult(dict): def __init__(__self__, *, playbook: str): - GetStacksStackAnsibleResult._configure( - lambda key, value: pulumi.set(__self__, key, value), - playbook=playbook, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - playbook: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if playbook is None: - raise TypeError("Missing 'playbook' argument") - - _setter("playbook", playbook) + """ + :param str playbook: The playbook the Ansible stack should run. + """ + pulumi.set(__self__, "playbook", playbook) @property @pulumi.getter def playbook(self) -> str: + """ + The playbook the Ansible stack should run. + """ return pulumi.get(self, "playbook") @@ -3460,46 +2651,37 @@ def __init__(__self__, *, id: str, is_default: bool, project: str): - GetStacksStackAzureDevopResult._configure( - lambda key, value: pulumi.set(__self__, key, value), - id=id, - is_default=is_default, - project=project, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - id: Optional[str] = None, - is_default: Optional[bool] = None, - project: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if id is None: - raise TypeError("Missing 'id' argument") - if is_default is None and 'isDefault' in kwargs: - is_default = kwargs['isDefault'] - if is_default is None: - raise TypeError("Missing 'is_default' argument") - if project is None: - raise TypeError("Missing 'project' argument") - - _setter("id", id) - _setter("is_default", is_default) - _setter("project", project) + """ + :param str id: ID of the Azure Devops VCS integration + :param bool is_default: Indicates whether this is the default Azure Devops VCS integration + :param str project: The name of the Azure DevOps project + """ + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "is_default", is_default) + pulumi.set(__self__, "project", project) @property @pulumi.getter def id(self) -> str: + """ + ID of the Azure Devops VCS integration + """ return pulumi.get(self, "id") @property @pulumi.getter(name="isDefault") def is_default(self) -> bool: + """ + Indicates whether this is the default Azure Devops VCS integration + """ return pulumi.get(self, "is_default") @property @pulumi.getter def project(self) -> str: + """ + The name of the Azure DevOps project + """ return pulumi.get(self, "project") @@ -3509,46 +2691,37 @@ def __init__(__self__, *, id: str, is_default: bool, namespace: str): - GetStacksStackBitbucketCloudResult._configure( - lambda key, value: pulumi.set(__self__, key, value), - id=id, - is_default=is_default, - namespace=namespace, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - id: Optional[str] = None, - is_default: Optional[bool] = None, - namespace: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if id is None: - raise TypeError("Missing 'id' argument") - if is_default is None and 'isDefault' in kwargs: - is_default = kwargs['isDefault'] - if is_default is None: - raise TypeError("Missing 'is_default' argument") - if namespace is None: - raise TypeError("Missing 'namespace' argument") - - _setter("id", id) - _setter("is_default", is_default) - _setter("namespace", namespace) + """ + :param str id: ID of the Bitbucket Cloud integration + :param bool is_default: Indicates whether this is the default Bitbucket Cloud integration + :param str namespace: Bitbucket Cloud namespace of the stack's repository + """ + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "is_default", is_default) + pulumi.set(__self__, "namespace", namespace) @property @pulumi.getter def id(self) -> str: + """ + ID of the Bitbucket Cloud integration + """ return pulumi.get(self, "id") @property @pulumi.getter(name="isDefault") def is_default(self) -> bool: + """ + Indicates whether this is the default Bitbucket Cloud integration + """ return pulumi.get(self, "is_default") @property @pulumi.getter def namespace(self) -> str: + """ + Bitbucket Cloud namespace of the stack's repository + """ return pulumi.get(self, "namespace") @@ -3558,46 +2731,37 @@ def __init__(__self__, *, id: str, is_default: bool, namespace: str): - GetStacksStackBitbucketDatacenterResult._configure( - lambda key, value: pulumi.set(__self__, key, value), - id=id, - is_default=is_default, - namespace=namespace, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - id: Optional[str] = None, - is_default: Optional[bool] = None, - namespace: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if id is None: - raise TypeError("Missing 'id' argument") - if is_default is None and 'isDefault' in kwargs: - is_default = kwargs['isDefault'] - if is_default is None: - raise TypeError("Missing 'is_default' argument") - if namespace is None: - raise TypeError("Missing 'namespace' argument") - - _setter("id", id) - _setter("is_default", is_default) - _setter("namespace", namespace) + """ + :param str id: ID of the Bitbucket Datacenter integration + :param bool is_default: Indicates whether this is the default Bitbucket Datacenter integration + :param str namespace: Bitbucket Datacenter namespace of the stack's repository + """ + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "is_default", is_default) + pulumi.set(__self__, "namespace", namespace) @property @pulumi.getter def id(self) -> str: + """ + ID of the Bitbucket Datacenter integration + """ return pulumi.get(self, "id") @property @pulumi.getter(name="isDefault") def is_default(self) -> bool: + """ + Indicates whether this is the default Bitbucket Datacenter integration + """ return pulumi.get(self, "is_default") @property @pulumi.getter def namespace(self) -> str: + """ + Bitbucket Datacenter namespace of the stack's repository + """ return pulumi.get(self, "namespace") @@ -3608,60 +2772,47 @@ def __init__(__self__, *, region: str, stack_name: str, template_bucket: str): - GetStacksStackCloudformationResult._configure( - lambda key, value: pulumi.set(__self__, key, value), - entry_template_file=entry_template_file, - region=region, - stack_name=stack_name, - template_bucket=template_bucket, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - entry_template_file: Optional[str] = None, - region: Optional[str] = None, - stack_name: Optional[str] = None, - template_bucket: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if entry_template_file is None and 'entryTemplateFile' in kwargs: - entry_template_file = kwargs['entryTemplateFile'] - if entry_template_file is None: - raise TypeError("Missing 'entry_template_file' argument") - if region is None: - raise TypeError("Missing 'region' argument") - if stack_name is None and 'stackName' in kwargs: - stack_name = kwargs['stackName'] - if stack_name is None: - raise TypeError("Missing 'stack_name' argument") - if template_bucket is None and 'templateBucket' in kwargs: - template_bucket = kwargs['templateBucket'] - if template_bucket is None: - raise TypeError("Missing 'template_bucket' argument") - - _setter("entry_template_file", entry_template_file) - _setter("region", region) - _setter("stack_name", stack_name) - _setter("template_bucket", template_bucket) + """ + :param str entry_template_file: Template file `cloudformation package` will be called on + :param str region: AWS region to use + :param str stack_name: CloudFormation stack name + :param str template_bucket: S3 bucket to save CloudFormation templates to + """ + pulumi.set(__self__, "entry_template_file", entry_template_file) + pulumi.set(__self__, "region", region) + pulumi.set(__self__, "stack_name", stack_name) + pulumi.set(__self__, "template_bucket", template_bucket) @property @pulumi.getter(name="entryTemplateFile") def entry_template_file(self) -> str: + """ + Template file `cloudformation package` will be called on + """ return pulumi.get(self, "entry_template_file") @property @pulumi.getter def region(self) -> str: + """ + AWS region to use + """ return pulumi.get(self, "region") @property @pulumi.getter(name="stackName") def stack_name(self) -> str: + """ + CloudFormation stack name + """ return pulumi.get(self, "stack_name") @property @pulumi.getter(name="templateBucket") def template_bucket(self) -> str: + """ + S3 bucket to save CloudFormation templates to + """ return pulumi.get(self, "template_bucket") @@ -3671,46 +2822,37 @@ def __init__(__self__, *, id: str, is_default: bool, namespace: str): - GetStacksStackGithubEnterpriseResult._configure( - lambda key, value: pulumi.set(__self__, key, value), - id=id, - is_default=is_default, - namespace=namespace, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - id: Optional[str] = None, - is_default: Optional[bool] = None, - namespace: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if id is None: - raise TypeError("Missing 'id' argument") - if is_default is None and 'isDefault' in kwargs: - is_default = kwargs['isDefault'] - if is_default is None: - raise TypeError("Missing 'is_default' argument") - if namespace is None: - raise TypeError("Missing 'namespace' argument") - - _setter("id", id) - _setter("is_default", is_default) - _setter("namespace", namespace) + """ + :param str id: ID of the GitHub Enterprise integration + :param bool is_default: Indicates whether this is the default GitHub Enterprise integration + :param str namespace: GitHub Enterprise namespace of the stack's repository + """ + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "is_default", is_default) + pulumi.set(__self__, "namespace", namespace) @property @pulumi.getter def id(self) -> str: + """ + ID of the GitHub Enterprise integration + """ return pulumi.get(self, "id") @property @pulumi.getter(name="isDefault") def is_default(self) -> bool: + """ + Indicates whether this is the default GitHub Enterprise integration + """ return pulumi.get(self, "is_default") @property @pulumi.getter def namespace(self) -> str: + """ + GitHub Enterprise namespace of the stack's repository + """ return pulumi.get(self, "namespace") @@ -3720,46 +2862,37 @@ def __init__(__self__, *, id: str, is_default: bool, namespace: str): - GetStacksStackGitlabResult._configure( - lambda key, value: pulumi.set(__self__, key, value), - id=id, - is_default=is_default, - namespace=namespace, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - id: Optional[str] = None, - is_default: Optional[bool] = None, - namespace: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if id is None: - raise TypeError("Missing 'id' argument") - if is_default is None and 'isDefault' in kwargs: - is_default = kwargs['isDefault'] - if is_default is None: - raise TypeError("Missing 'is_default' argument") - if namespace is None: - raise TypeError("Missing 'namespace' argument") - - _setter("id", id) - _setter("is_default", is_default) - _setter("namespace", namespace) + """ + :param str id: ID of the Gitlab integration + :param bool is_default: Indicates whether this is the default Gitlab integration + :param str namespace: GitLab namespace of the stack's repository + """ + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "is_default", is_default) + pulumi.set(__self__, "namespace", namespace) @property @pulumi.getter def id(self) -> str: + """ + ID of the Gitlab integration + """ return pulumi.get(self, "id") @property @pulumi.getter(name="isDefault") def is_default(self) -> bool: + """ + Indicates whether this is the default Gitlab integration + """ return pulumi.get(self, "is_default") @property @pulumi.getter def namespace(self) -> str: + """ + GitLab namespace of the stack's repository + """ return pulumi.get(self, "namespace") @@ -3768,36 +2901,27 @@ class GetStacksStackKuberneteResult(dict): def __init__(__self__, *, kubectl_version: str, namespace: str): - GetStacksStackKuberneteResult._configure( - lambda key, value: pulumi.set(__self__, key, value), - kubectl_version=kubectl_version, - namespace=namespace, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - kubectl_version: Optional[str] = None, - namespace: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if kubectl_version is None and 'kubectlVersion' in kwargs: - kubectl_version = kwargs['kubectlVersion'] - if kubectl_version is None: - raise TypeError("Missing 'kubectl_version' argument") - if namespace is None: - raise TypeError("Missing 'namespace' argument") - - _setter("kubectl_version", kubectl_version) - _setter("namespace", namespace) + """ + :param str kubectl_version: Kubectl version. + :param str namespace: Namespace of the Kubernetes cluster to run commands on. Leave empty for multi-namespace Stacks. + """ + pulumi.set(__self__, "kubectl_version", kubectl_version) + pulumi.set(__self__, "namespace", namespace) @property @pulumi.getter(name="kubectlVersion") def kubectl_version(self) -> str: + """ + Kubectl version. + """ return pulumi.get(self, "kubectl_version") @property @pulumi.getter def namespace(self) -> str: + """ + Namespace of the Kubernetes cluster to run commands on. Leave empty for multi-namespace Stacks. + """ return pulumi.get(self, "namespace") @@ -3806,38 +2930,27 @@ class GetStacksStackPulumiResult(dict): def __init__(__self__, *, login_url: str, stack_name: str): - GetStacksStackPulumiResult._configure( - lambda key, value: pulumi.set(__self__, key, value), - login_url=login_url, - stack_name=stack_name, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - login_url: Optional[str] = None, - stack_name: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if login_url is None and 'loginUrl' in kwargs: - login_url = kwargs['loginUrl'] - if login_url is None: - raise TypeError("Missing 'login_url' argument") - if stack_name is None and 'stackName' in kwargs: - stack_name = kwargs['stackName'] - if stack_name is None: - raise TypeError("Missing 'stack_name' argument") - - _setter("login_url", login_url) - _setter("stack_name", stack_name) + """ + :param str login_url: State backend to log into on Run initialize. + :param str stack_name: Pulumi stack name to use with the state backend. + """ + pulumi.set(__self__, "login_url", login_url) + pulumi.set(__self__, "stack_name", stack_name) @property @pulumi.getter(name="loginUrl") def login_url(self) -> str: + """ + State backend to log into on Run initialize. + """ return pulumi.get(self, "login_url") @property @pulumi.getter(name="stackName") def stack_name(self) -> str: + """ + Pulumi stack name to use with the state backend. + """ return pulumi.get(self, "stack_name") @@ -3846,34 +2959,27 @@ class GetStacksStackRawGitResult(dict): def __init__(__self__, *, namespace: str, url: str): - GetStacksStackRawGitResult._configure( - lambda key, value: pulumi.set(__self__, key, value), - namespace=namespace, - url=url, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - namespace: Optional[str] = None, - url: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if namespace is None: - raise TypeError("Missing 'namespace' argument") - if url is None: - raise TypeError("Missing 'url' argument") - - _setter("namespace", namespace) - _setter("url", url) + """ + :param str namespace: User-friendly namespace for the repository, this is for cosmetic purposes only + :param str url: HTTPS URL of the Git repository + """ + pulumi.set(__self__, "namespace", namespace) + pulumi.set(__self__, "url", url) @property @pulumi.getter def namespace(self) -> str: + """ + User-friendly namespace for the repository, this is for cosmetic purposes only + """ return pulumi.get(self, "namespace") @property @pulumi.getter def url(self) -> str: + """ + HTTPS URL of the Git repository + """ return pulumi.get(self, "url") @@ -3881,24 +2987,17 @@ def url(self) -> str: class GetStacksStackShowcaseResult(dict): def __init__(__self__, *, namespace: str): - GetStacksStackShowcaseResult._configure( - lambda key, value: pulumi.set(__self__, key, value), - namespace=namespace, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - namespace: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if namespace is None: - raise TypeError("Missing 'namespace' argument") - - _setter("namespace", namespace) + """ + :param str namespace: GitHub namespace of the stack's repository + """ + pulumi.set(__self__, "namespace", namespace) @property @pulumi.getter def namespace(self) -> str: + """ + GitHub namespace of the stack's repository + """ return pulumi.get(self, "namespace") @@ -3906,22 +3005,7 @@ def namespace(self) -> str: class GetStacksStateResult(dict): def __init__(__self__, *, any_ofs: Sequence[str]): - GetStacksStateResult._configure( - lambda key, value: pulumi.set(__self__, key, value), - any_ofs=any_ofs, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - any_ofs: Optional[Sequence[str]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if any_ofs is None and 'anyOfs' in kwargs: - any_ofs = kwargs['anyOfs'] - if any_ofs is None: - raise TypeError("Missing 'any_ofs' argument") - - _setter("any_ofs", any_ofs) + pulumi.set(__self__, "any_ofs", any_ofs) @property @pulumi.getter(name="anyOfs") @@ -3933,22 +3017,7 @@ def any_ofs(self) -> Sequence[str]: class GetStacksVendorResult(dict): def __init__(__self__, *, any_ofs: Sequence[str]): - GetStacksVendorResult._configure( - lambda key, value: pulumi.set(__self__, key, value), - any_ofs=any_ofs, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - any_ofs: Optional[Sequence[str]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if any_ofs is None and 'anyOfs' in kwargs: - any_ofs = kwargs['anyOfs'] - if any_ofs is None: - raise TypeError("Missing 'any_ofs' argument") - - _setter("any_ofs", any_ofs) + pulumi.set(__self__, "any_ofs", any_ofs) @property @pulumi.getter(name="anyOfs") @@ -3960,22 +3029,7 @@ def any_ofs(self) -> Sequence[str]: class GetStacksWorkerPoolResult(dict): def __init__(__self__, *, any_ofs: Sequence[str]): - GetStacksWorkerPoolResult._configure( - lambda key, value: pulumi.set(__self__, key, value), - any_ofs=any_ofs, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - any_ofs: Optional[Sequence[str]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if any_ofs is None and 'anyOfs' in kwargs: - any_ofs = kwargs['anyOfs'] - if any_ofs is None: - raise TypeError("Missing 'any_ofs' argument") - - _setter("any_ofs", any_ofs) + pulumi.set(__self__, "any_ofs", any_ofs) @property @pulumi.getter(name="anyOfs") @@ -3989,46 +3043,37 @@ def __init__(__self__, *, description: str, name: str, vcs_agent_pool_id: str): - GetVcsAgentPoolsVcsAgentPoolResult._configure( - lambda key, value: pulumi.set(__self__, key, value), - description=description, - name=name, - vcs_agent_pool_id=vcs_agent_pool_id, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - description: Optional[str] = None, - name: Optional[str] = None, - vcs_agent_pool_id: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if description is None: - raise TypeError("Missing 'description' argument") - if name is None: - raise TypeError("Missing 'name' argument") - if vcs_agent_pool_id is None and 'vcsAgentPoolId' in kwargs: - vcs_agent_pool_id = kwargs['vcsAgentPoolId'] - if vcs_agent_pool_id is None: - raise TypeError("Missing 'vcs_agent_pool_id' argument") - - _setter("description", description) - _setter("name", name) - _setter("vcs_agent_pool_id", vcs_agent_pool_id) + """ + :param str description: Free-form VCS agent pool description for users + :param str name: Name of the VCS agent pool + :param str vcs_agent_pool_id: ID of the VCS agent pool to retrieve + """ + pulumi.set(__self__, "description", description) + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "vcs_agent_pool_id", vcs_agent_pool_id) @property @pulumi.getter def description(self) -> str: + """ + Free-form VCS agent pool description for users + """ return pulumi.get(self, "description") @property @pulumi.getter def name(self) -> str: + """ + Name of the VCS agent pool + """ return pulumi.get(self, "name") @property @pulumi.getter(name="vcsAgentPoolId") def vcs_agent_pool_id(self) -> str: + """ + ID of the VCS agent pool to retrieve + """ return pulumi.get(self, "vcs_agent_pool_id") @@ -4040,68 +3085,57 @@ def __init__(__self__, *, name: str, space_id: str, worker_pool_id: str): - GetWorkerPoolsWorkerPoolResult._configure( - lambda key, value: pulumi.set(__self__, key, value), - config=config, - description=description, - name=name, - space_id=space_id, - worker_pool_id=worker_pool_id, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - config: Optional[str] = None, - description: Optional[str] = None, - name: Optional[str] = None, - space_id: Optional[str] = None, - worker_pool_id: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if config is None: - raise TypeError("Missing 'config' argument") - if description is None: - raise TypeError("Missing 'description' argument") - if name is None: - raise TypeError("Missing 'name' argument") - if space_id is None and 'spaceId' in kwargs: - space_id = kwargs['spaceId'] - if space_id is None: - raise TypeError("Missing 'space_id' argument") - if worker_pool_id is None and 'workerPoolId' in kwargs: - worker_pool_id = kwargs['workerPoolId'] - if worker_pool_id is None: - raise TypeError("Missing 'worker_pool_id' argument") - - _setter("config", config) - _setter("description", description) - _setter("name", name) - _setter("space_id", space_id) - _setter("worker_pool_id", worker_pool_id) + """ + :param str config: credentials necessary to connect WorkerPool's workers to the control plane + :param str description: description of the worker pool + :param str name: name of the worker pool + :param str space_id: ID (slug) of the space the worker pool is in + :param str worker_pool_id: ID of the worker pool + """ + pulumi.set(__self__, "config", config) + pulumi.set(__self__, "description", description) + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "space_id", space_id) + pulumi.set(__self__, "worker_pool_id", worker_pool_id) @property @pulumi.getter def config(self) -> str: + """ + credentials necessary to connect WorkerPool's workers to the control plane + """ return pulumi.get(self, "config") @property @pulumi.getter def description(self) -> str: + """ + description of the worker pool + """ return pulumi.get(self, "description") @property @pulumi.getter def name(self) -> str: + """ + name of the worker pool + """ return pulumi.get(self, "name") @property @pulumi.getter(name="spaceId") def space_id(self) -> str: + """ + ID (slug) of the space the worker pool is in + """ return pulumi.get(self, "space_id") @property @pulumi.getter(name="workerPoolId") def worker_pool_id(self) -> str: + """ + ID of the worker pool + """ return pulumi.get(self, "worker_pool_id") diff --git a/sdk/python/pulumi_spacelift/policy.py b/sdk/python/pulumi_spacelift/policy.py index d85cc07..15ffb75 100644 --- a/sdk/python/pulumi_spacelift/policy.py +++ b/sdk/python/pulumi_spacelift/policy.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['PolicyArgs', 'Policy'] @@ -26,39 +26,14 @@ def __init__(__self__, *, :param pulumi.Input[str] name: Name of the policy - should be unique in one account :param pulumi.Input[str] space_id: ID (slug) of the space the policy is in """ - PolicyArgs._configure( - lambda key, value: pulumi.set(__self__, key, value), - body=body, - type=type, - labels=labels, - name=name, - space_id=space_id, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - body: Optional[pulumi.Input[str]] = None, - type: Optional[pulumi.Input[str]] = None, - labels: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - name: Optional[pulumi.Input[str]] = None, - space_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if body is None: - raise TypeError("Missing 'body' argument") - if type is None: - raise TypeError("Missing 'type' argument") - if space_id is None and 'spaceId' in kwargs: - space_id = kwargs['spaceId'] - - _setter("body", body) - _setter("type", type) + pulumi.set(__self__, "body", body) + pulumi.set(__self__, "type", type) if labels is not None: - _setter("labels", labels) + pulumi.set(__self__, "labels", labels) if name is not None: - _setter("name", name) + pulumi.set(__self__, "name", name) if space_id is not None: - _setter("space_id", space_id) + pulumi.set(__self__, "space_id", space_id) @property @pulumi.getter @@ -133,37 +108,16 @@ def __init__(__self__, *, :param pulumi.Input[str] space_id: ID (slug) of the space the policy is in :param pulumi.Input[str] type: Type of the policy. Possible values are `ACCESS`, `APPROVAL`, `GIT_PUSH`, `INITIALIZATION`, `LOGIN`, `PLAN`, `TASK`, `TRIGGER` and `NOTIFICATION`. Deprecated values are `STACK_ACCESS` (use `ACCESS` instead), `TASK_RUN` (use `TASK` instead), and `TERRAFORM_PLAN` (use `PLAN` instead). """ - _PolicyState._configure( - lambda key, value: pulumi.set(__self__, key, value), - body=body, - labels=labels, - name=name, - space_id=space_id, - type=type, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - body: Optional[pulumi.Input[str]] = None, - labels: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - name: Optional[pulumi.Input[str]] = None, - space_id: Optional[pulumi.Input[str]] = None, - type: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if space_id is None and 'spaceId' in kwargs: - space_id = kwargs['spaceId'] - if body is not None: - _setter("body", body) + pulumi.set(__self__, "body", body) if labels is not None: - _setter("labels", labels) + pulumi.set(__self__, "labels", labels) if name is not None: - _setter("name", name) + pulumi.set(__self__, "name", name) if space_id is not None: - _setter("space_id", space_id) + pulumi.set(__self__, "space_id", space_id) if type is not None: - _setter("type", type) + pulumi.set(__self__, "type", type) @property @pulumi.getter @@ -309,10 +263,6 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: - kwargs = kwargs or {} - def _setter(key, value): - kwargs[key] = value - PolicyArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_spacelift/policy_attachment.py b/sdk/python/pulumi_spacelift/policy_attachment.py index 9795d37..cd10c17 100644 --- a/sdk/python/pulumi_spacelift/policy_attachment.py +++ b/sdk/python/pulumi_spacelift/policy_attachment.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['PolicyAttachmentArgs', 'PolicyAttachment'] @@ -23,34 +23,11 @@ def __init__(__self__, *, :param pulumi.Input[str] module_id: ID of the module to attach the policy to :param pulumi.Input[str] stack_id: ID of the stack to attach the policy to """ - PolicyAttachmentArgs._configure( - lambda key, value: pulumi.set(__self__, key, value), - policy_id=policy_id, - module_id=module_id, - stack_id=stack_id, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - policy_id: Optional[pulumi.Input[str]] = None, - module_id: Optional[pulumi.Input[str]] = None, - stack_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if policy_id is None and 'policyId' in kwargs: - policy_id = kwargs['policyId'] - if policy_id is None: - raise TypeError("Missing 'policy_id' argument") - if module_id is None and 'moduleId' in kwargs: - module_id = kwargs['moduleId'] - if stack_id is None and 'stackId' in kwargs: - stack_id = kwargs['stackId'] - - _setter("policy_id", policy_id) + pulumi.set(__self__, "policy_id", policy_id) if module_id is not None: - _setter("module_id", module_id) + pulumi.set(__self__, "module_id", module_id) if stack_id is not None: - _setter("stack_id", stack_id) + pulumi.set(__self__, "stack_id", stack_id) @property @pulumi.getter(name="policyId") @@ -101,33 +78,12 @@ def __init__(__self__, *, :param pulumi.Input[str] policy_id: ID of the policy to attach :param pulumi.Input[str] stack_id: ID of the stack to attach the policy to """ - _PolicyAttachmentState._configure( - lambda key, value: pulumi.set(__self__, key, value), - module_id=module_id, - policy_id=policy_id, - stack_id=stack_id, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - module_id: Optional[pulumi.Input[str]] = None, - policy_id: Optional[pulumi.Input[str]] = None, - stack_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if module_id is None and 'moduleId' in kwargs: - module_id = kwargs['moduleId'] - if policy_id is None and 'policyId' in kwargs: - policy_id = kwargs['policyId'] - if stack_id is None and 'stackId' in kwargs: - stack_id = kwargs['stackId'] - if module_id is not None: - _setter("module_id", module_id) + pulumi.set(__self__, "module_id", module_id) if policy_id is not None: - _setter("policy_id", policy_id) + pulumi.set(__self__, "policy_id", policy_id) if stack_id is not None: - _setter("stack_id", stack_id) + pulumi.set(__self__, "stack_id", stack_id) @property @pulumi.getter(name="moduleId") @@ -249,10 +205,6 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: - kwargs = kwargs or {} - def _setter(key, value): - kwargs[key] = value - PolicyAttachmentArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_spacelift/provider.py b/sdk/python/pulumi_spacelift/provider.py index 7444552..8978654 100644 --- a/sdk/python/pulumi_spacelift/provider.py +++ b/sdk/python/pulumi_spacelift/provider.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['ProviderArgs', 'Provider'] @@ -25,47 +25,22 @@ def __init__(__self__, *, :param pulumi.Input[str] api_key_secret: API key secret to use when executing outside of Spacelift :param pulumi.Input[str] api_token: Spacelift token generated by a run, only useful from within Spacelift """ - ProviderArgs._configure( - lambda key, value: pulumi.set(__self__, key, value), - api_key_endpoint=api_key_endpoint, - api_key_id=api_key_id, - api_key_secret=api_key_secret, - api_token=api_token, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - api_key_endpoint: Optional[pulumi.Input[str]] = None, - api_key_id: Optional[pulumi.Input[str]] = None, - api_key_secret: Optional[pulumi.Input[str]] = None, - api_token: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if api_key_endpoint is None and 'apiKeyEndpoint' in kwargs: - api_key_endpoint = kwargs['apiKeyEndpoint'] - if api_key_id is None and 'apiKeyId' in kwargs: - api_key_id = kwargs['apiKeyId'] - if api_key_secret is None and 'apiKeySecret' in kwargs: - api_key_secret = kwargs['apiKeySecret'] - if api_token is None and 'apiToken' in kwargs: - api_token = kwargs['apiToken'] - if api_key_endpoint is None: api_key_endpoint = _utilities.get_env('SPACELIFT_API_KEY_ENDPOINT') if api_key_endpoint is not None: - _setter("api_key_endpoint", api_key_endpoint) + pulumi.set(__self__, "api_key_endpoint", api_key_endpoint) if api_key_id is None: api_key_id = _utilities.get_env('SPACELIFT_API_KEY_ID') if api_key_id is not None: - _setter("api_key_id", api_key_id) + pulumi.set(__self__, "api_key_id", api_key_id) if api_key_secret is None: api_key_secret = _utilities.get_env('SPACELIFT_API_KEY_SECRET') if api_key_secret is not None: - _setter("api_key_secret", api_key_secret) + pulumi.set(__self__, "api_key_secret", api_key_secret) if api_token is None: api_token = _utilities.get_env('SPACELIFT_API_TOKEN') if api_token is not None: - _setter("api_token", api_token) + pulumi.set(__self__, "api_token", api_token) @property @pulumi.getter(name="apiKeyEndpoint") @@ -161,10 +136,6 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: - kwargs = kwargs or {} - def _setter(key, value): - kwargs[key] = value - ProviderArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_spacelift/run.py b/sdk/python/pulumi_spacelift/run.py index ae77856..2ecba5c 100644 --- a/sdk/python/pulumi_spacelift/run.py +++ b/sdk/python/pulumi_spacelift/run.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['RunArgs', 'Run'] @@ -25,36 +25,13 @@ def __init__(__self__, *, :param pulumi.Input[Mapping[str, Any]] keepers: Arbitrary map of values that, when changed, will trigger recreation of the resource. :param pulumi.Input[bool] proposed: Whether the run is a proposed run. Defaults to `false`. """ - RunArgs._configure( - lambda key, value: pulumi.set(__self__, key, value), - stack_id=stack_id, - commit_sha=commit_sha, - keepers=keepers, - proposed=proposed, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - stack_id: Optional[pulumi.Input[str]] = None, - commit_sha: Optional[pulumi.Input[str]] = None, - keepers: Optional[pulumi.Input[Mapping[str, Any]]] = None, - proposed: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if stack_id is None and 'stackId' in kwargs: - stack_id = kwargs['stackId'] - if stack_id is None: - raise TypeError("Missing 'stack_id' argument") - if commit_sha is None and 'commitSha' in kwargs: - commit_sha = kwargs['commitSha'] - - _setter("stack_id", stack_id) + pulumi.set(__self__, "stack_id", stack_id) if commit_sha is not None: - _setter("commit_sha", commit_sha) + pulumi.set(__self__, "commit_sha", commit_sha) if keepers is not None: - _setter("keepers", keepers) + pulumi.set(__self__, "keepers", keepers) if proposed is not None: - _setter("proposed", proposed) + pulumi.set(__self__, "proposed", proposed) @property @pulumi.getter(name="stackId") @@ -119,35 +96,14 @@ def __init__(__self__, *, :param pulumi.Input[bool] proposed: Whether the run is a proposed run. Defaults to `false`. :param pulumi.Input[str] stack_id: ID of the stack on which the run is to be triggered. """ - _RunState._configure( - lambda key, value: pulumi.set(__self__, key, value), - commit_sha=commit_sha, - keepers=keepers, - proposed=proposed, - stack_id=stack_id, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - commit_sha: Optional[pulumi.Input[str]] = None, - keepers: Optional[pulumi.Input[Mapping[str, Any]]] = None, - proposed: Optional[pulumi.Input[bool]] = None, - stack_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if commit_sha is None and 'commitSha' in kwargs: - commit_sha = kwargs['commitSha'] - if stack_id is None and 'stackId' in kwargs: - stack_id = kwargs['stackId'] - if commit_sha is not None: - _setter("commit_sha", commit_sha) + pulumi.set(__self__, "commit_sha", commit_sha) if keepers is not None: - _setter("keepers", keepers) + pulumi.set(__self__, "keepers", keepers) if proposed is not None: - _setter("proposed", proposed) + pulumi.set(__self__, "proposed", proposed) if stack_id is not None: - _setter("stack_id", stack_id) + pulumi.set(__self__, "stack_id", stack_id) @property @pulumi.getter(name="commitSha") @@ -269,10 +225,6 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: - kwargs = kwargs or {} - def _setter(key, value): - kwargs[key] = value - RunArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_spacelift/scheduled_delete_task.py b/sdk/python/pulumi_spacelift/scheduled_delete_task.py index 4e297e0..c9bd833 100644 --- a/sdk/python/pulumi_spacelift/scheduled_delete_task.py +++ b/sdk/python/pulumi_spacelift/scheduled_delete_task.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['ScheduledDeleteTaskArgs', 'ScheduledDeleteTask'] @@ -25,39 +25,12 @@ def __init__(__self__, *, :param pulumi.Input[bool] delete_resources: Indicates whether the resources of the stack should be deleted. :param pulumi.Input[str] schedule_id: ID of the schedule """ - ScheduledDeleteTaskArgs._configure( - lambda key, value: pulumi.set(__self__, key, value), - at=at, - stack_id=stack_id, - delete_resources=delete_resources, - schedule_id=schedule_id, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - at: Optional[pulumi.Input[int]] = None, - stack_id: Optional[pulumi.Input[str]] = None, - delete_resources: Optional[pulumi.Input[bool]] = None, - schedule_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if at is None: - raise TypeError("Missing 'at' argument") - if stack_id is None and 'stackId' in kwargs: - stack_id = kwargs['stackId'] - if stack_id is None: - raise TypeError("Missing 'stack_id' argument") - if delete_resources is None and 'deleteResources' in kwargs: - delete_resources = kwargs['deleteResources'] - if schedule_id is None and 'scheduleId' in kwargs: - schedule_id = kwargs['scheduleId'] - - _setter("at", at) - _setter("stack_id", stack_id) + pulumi.set(__self__, "at", at) + pulumi.set(__self__, "stack_id", stack_id) if delete_resources is not None: - _setter("delete_resources", delete_resources) + pulumi.set(__self__, "delete_resources", delete_resources) if schedule_id is not None: - _setter("schedule_id", schedule_id) + pulumi.set(__self__, "schedule_id", schedule_id) @property @pulumi.getter @@ -122,37 +95,14 @@ def __init__(__self__, *, :param pulumi.Input[str] schedule_id: ID of the schedule :param pulumi.Input[str] stack_id: ID of the stack for which to set up scheduling """ - _ScheduledDeleteTaskState._configure( - lambda key, value: pulumi.set(__self__, key, value), - at=at, - delete_resources=delete_resources, - schedule_id=schedule_id, - stack_id=stack_id, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - at: Optional[pulumi.Input[int]] = None, - delete_resources: Optional[pulumi.Input[bool]] = None, - schedule_id: Optional[pulumi.Input[str]] = None, - stack_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if delete_resources is None and 'deleteResources' in kwargs: - delete_resources = kwargs['deleteResources'] - if schedule_id is None and 'scheduleId' in kwargs: - schedule_id = kwargs['scheduleId'] - if stack_id is None and 'stackId' in kwargs: - stack_id = kwargs['stackId'] - if at is not None: - _setter("at", at) + pulumi.set(__self__, "at", at) if delete_resources is not None: - _setter("delete_resources", delete_resources) + pulumi.set(__self__, "delete_resources", delete_resources) if schedule_id is not None: - _setter("schedule_id", schedule_id) + pulumi.set(__self__, "schedule_id", schedule_id) if stack_id is not None: - _setter("stack_id", stack_id) + pulumi.set(__self__, "stack_id", stack_id) @property @pulumi.getter @@ -284,10 +234,6 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: - kwargs = kwargs or {} - def _setter(key, value): - kwargs[key] = value - ScheduledDeleteTaskArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_spacelift/scheduled_task.py b/sdk/python/pulumi_spacelift/scheduled_task.py index 98c7d6a..1748786 100644 --- a/sdk/python/pulumi_spacelift/scheduled_task.py +++ b/sdk/python/pulumi_spacelift/scheduled_task.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['ScheduledTaskArgs', 'ScheduledTask'] @@ -29,45 +29,16 @@ def __init__(__self__, *, :param pulumi.Input[str] schedule_id: ID of the schedule :param pulumi.Input[str] timezone: Timezone in which the schedule is expressed. Defaults to `UTC`. """ - ScheduledTaskArgs._configure( - lambda key, value: pulumi.set(__self__, key, value), - command=command, - stack_id=stack_id, - at=at, - everies=everies, - schedule_id=schedule_id, - timezone=timezone, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - command: Optional[pulumi.Input[str]] = None, - stack_id: Optional[pulumi.Input[str]] = None, - at: Optional[pulumi.Input[int]] = None, - everies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - schedule_id: Optional[pulumi.Input[str]] = None, - timezone: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if command is None: - raise TypeError("Missing 'command' argument") - if stack_id is None and 'stackId' in kwargs: - stack_id = kwargs['stackId'] - if stack_id is None: - raise TypeError("Missing 'stack_id' argument") - if schedule_id is None and 'scheduleId' in kwargs: - schedule_id = kwargs['scheduleId'] - - _setter("command", command) - _setter("stack_id", stack_id) + pulumi.set(__self__, "command", command) + pulumi.set(__self__, "stack_id", stack_id) if at is not None: - _setter("at", at) + pulumi.set(__self__, "at", at) if everies is not None: - _setter("everies", everies) + pulumi.set(__self__, "everies", everies) if schedule_id is not None: - _setter("schedule_id", schedule_id) + pulumi.set(__self__, "schedule_id", schedule_id) if timezone is not None: - _setter("timezone", timezone) + pulumi.set(__self__, "timezone", timezone) @property @pulumi.getter @@ -160,43 +131,18 @@ def __init__(__self__, *, :param pulumi.Input[str] stack_id: ID of the stack for which to set up the scheduled task :param pulumi.Input[str] timezone: Timezone in which the schedule is expressed. Defaults to `UTC`. """ - _ScheduledTaskState._configure( - lambda key, value: pulumi.set(__self__, key, value), - at=at, - command=command, - everies=everies, - schedule_id=schedule_id, - stack_id=stack_id, - timezone=timezone, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - at: Optional[pulumi.Input[int]] = None, - command: Optional[pulumi.Input[str]] = None, - everies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - schedule_id: Optional[pulumi.Input[str]] = None, - stack_id: Optional[pulumi.Input[str]] = None, - timezone: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if schedule_id is None and 'scheduleId' in kwargs: - schedule_id = kwargs['scheduleId'] - if stack_id is None and 'stackId' in kwargs: - stack_id = kwargs['stackId'] - if at is not None: - _setter("at", at) + pulumi.set(__self__, "at", at) if command is not None: - _setter("command", command) + pulumi.set(__self__, "command", command) if everies is not None: - _setter("everies", everies) + pulumi.set(__self__, "everies", everies) if schedule_id is not None: - _setter("schedule_id", schedule_id) + pulumi.set(__self__, "schedule_id", schedule_id) if stack_id is not None: - _setter("stack_id", stack_id) + pulumi.set(__self__, "stack_id", stack_id) if timezone is not None: - _setter("timezone", timezone) + pulumi.set(__self__, "timezone", timezone) @property @pulumi.getter @@ -380,10 +326,6 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: - kwargs = kwargs or {} - def _setter(key, value): - kwargs[key] = value - ScheduledTaskArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_spacelift/security_email.py b/sdk/python/pulumi_spacelift/security_email.py index bc93b38..db669c9 100644 --- a/sdk/python/pulumi_spacelift/security_email.py +++ b/sdk/python/pulumi_spacelift/security_email.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['SecurityEmailArgs', 'SecurityEmail'] @@ -19,20 +19,7 @@ def __init__(__self__, *, The set of arguments for constructing a SecurityEmail resource. :param pulumi.Input[str] email: Email address to which the security notifications are sent """ - SecurityEmailArgs._configure( - lambda key, value: pulumi.set(__self__, key, value), - email=email, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - email: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if email is None: - raise TypeError("Missing 'email' argument") - - _setter("email", email) + pulumi.set(__self__, "email", email) @property @pulumi.getter @@ -55,19 +42,8 @@ def __init__(__self__, *, Input properties used for looking up and filtering SecurityEmail resources. :param pulumi.Input[str] email: Email address to which the security notifications are sent """ - _SecurityEmailState._configure( - lambda key, value: pulumi.set(__self__, key, value), - email=email, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - email: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if email is not None: - _setter("email", email) + pulumi.set(__self__, "email", email) @property @pulumi.getter @@ -133,10 +109,6 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: - kwargs = kwargs or {} - def _setter(key, value): - kwargs[key] = value - SecurityEmailArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_spacelift/space.py b/sdk/python/pulumi_spacelift/space.py index 07a6567..06947fd 100644 --- a/sdk/python/pulumi_spacelift/space.py +++ b/sdk/python/pulumi_spacelift/space.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['SpaceArgs', 'Space'] @@ -27,39 +27,16 @@ def __init__(__self__, *, :param pulumi.Input[str] name: name of the space :param pulumi.Input[str] parent_space_id: immutable ID (slug) of parent space. Defaults to `root`. """ - SpaceArgs._configure( - lambda key, value: pulumi.set(__self__, key, value), - description=description, - inherit_entities=inherit_entities, - labels=labels, - name=name, - parent_space_id=parent_space_id, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - description: Optional[pulumi.Input[str]] = None, - inherit_entities: Optional[pulumi.Input[bool]] = None, - labels: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - name: Optional[pulumi.Input[str]] = None, - parent_space_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if inherit_entities is None and 'inheritEntities' in kwargs: - inherit_entities = kwargs['inheritEntities'] - if parent_space_id is None and 'parentSpaceId' in kwargs: - parent_space_id = kwargs['parentSpaceId'] - if description is not None: - _setter("description", description) + pulumi.set(__self__, "description", description) if inherit_entities is not None: - _setter("inherit_entities", inherit_entities) + pulumi.set(__self__, "inherit_entities", inherit_entities) if labels is not None: - _setter("labels", labels) + pulumi.set(__self__, "labels", labels) if name is not None: - _setter("name", name) + pulumi.set(__self__, "name", name) if parent_space_id is not None: - _setter("parent_space_id", parent_space_id) + pulumi.set(__self__, "parent_space_id", parent_space_id) @property @pulumi.getter @@ -138,39 +115,16 @@ def __init__(__self__, *, :param pulumi.Input[str] name: name of the space :param pulumi.Input[str] parent_space_id: immutable ID (slug) of parent space. Defaults to `root`. """ - _SpaceState._configure( - lambda key, value: pulumi.set(__self__, key, value), - description=description, - inherit_entities=inherit_entities, - labels=labels, - name=name, - parent_space_id=parent_space_id, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - description: Optional[pulumi.Input[str]] = None, - inherit_entities: Optional[pulumi.Input[bool]] = None, - labels: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - name: Optional[pulumi.Input[str]] = None, - parent_space_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if inherit_entities is None and 'inheritEntities' in kwargs: - inherit_entities = kwargs['inheritEntities'] - if parent_space_id is None and 'parentSpaceId' in kwargs: - parent_space_id = kwargs['parentSpaceId'] - if description is not None: - _setter("description", description) + pulumi.set(__self__, "description", description) if inherit_entities is not None: - _setter("inherit_entities", inherit_entities) + pulumi.set(__self__, "inherit_entities", inherit_entities) if labels is not None: - _setter("labels", labels) + pulumi.set(__self__, "labels", labels) if name is not None: - _setter("name", name) + pulumi.set(__self__, "name", name) if parent_space_id is not None: - _setter("parent_space_id", parent_space_id) + pulumi.set(__self__, "parent_space_id", parent_space_id) @property @pulumi.getter @@ -318,10 +272,6 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: - kwargs = kwargs or {} - def _setter(key, value): - kwargs[key] = value - SpaceArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_spacelift/stack.py b/sdk/python/pulumi_spacelift/stack.py index 422465e..0d5bb15 100644 --- a/sdk/python/pulumi_spacelift/stack.py +++ b/sdk/python/pulumi_spacelift/stack.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from . import _utilities from . import outputs from ._inputs import * @@ -115,273 +115,100 @@ def __init__(__self__, *, :param pulumilib.Input['StackTerragruntArgs'] terragrunt: Terragrunt-specific configuration. Presence means this Stack is an Terragrunt Stack. :param pulumilib.Input[str] worker_pool_id: ID of the worker pool to use. NOTE: worker*pool*id is required when using a self-hosted instance of Spacelift. """ - StackArgs._configure( - lambda key, value: pulumilib.set(__self__, key, value), - branch=branch, - repository=repository, - additional_project_globs=additional_project_globs, - administrative=administrative, - after_applies=after_applies, - after_destroys=after_destroys, - after_inits=after_inits, - after_performs=after_performs, - after_plans=after_plans, - after_runs=after_runs, - ansible=ansible, - autodeploy=autodeploy, - autoretry=autoretry, - azure_devops=azure_devops, - before_applies=before_applies, - before_destroys=before_destroys, - before_inits=before_inits, - before_performs=before_performs, - before_plans=before_plans, - bitbucket_cloud=bitbucket_cloud, - bitbucket_datacenter=bitbucket_datacenter, - cloudformation=cloudformation, - description=description, - enable_local_preview=enable_local_preview, - github_action_deploy=github_action_deploy, - github_enterprise=github_enterprise, - gitlab=gitlab, - import_state=import_state, - import_state_file=import_state_file, - kubernetes=kubernetes, - labels=labels, - manage_state=manage_state, - name=name, - project_root=project_root, - protect_from_deletion=protect_from_deletion, - pulumi=pulumi, - raw_git=raw_git, - runner_image=runner_image, - showcase=showcase, - slug=slug, - space_id=space_id, - terraform_external_state_access=terraform_external_state_access, - terraform_smart_sanitization=terraform_smart_sanitization, - terraform_version=terraform_version, - terraform_workflow_tool=terraform_workflow_tool, - terraform_workspace=terraform_workspace, - terragrunt=terragrunt, - worker_pool_id=worker_pool_id, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - branch: Optional[pulumilib.Input[str]] = None, - repository: Optional[pulumilib.Input[str]] = None, - additional_project_globs: Optional[pulumilib.Input[Sequence[pulumilib.Input[str]]]] = None, - administrative: Optional[pulumilib.Input[bool]] = None, - after_applies: Optional[pulumilib.Input[Sequence[pulumilib.Input[str]]]] = None, - after_destroys: Optional[pulumilib.Input[Sequence[pulumilib.Input[str]]]] = None, - after_inits: Optional[pulumilib.Input[Sequence[pulumilib.Input[str]]]] = None, - after_performs: Optional[pulumilib.Input[Sequence[pulumilib.Input[str]]]] = None, - after_plans: Optional[pulumilib.Input[Sequence[pulumilib.Input[str]]]] = None, - after_runs: Optional[pulumilib.Input[Sequence[pulumilib.Input[str]]]] = None, - ansible: Optional[pulumilib.Input['StackAnsibleArgs']] = None, - autodeploy: Optional[pulumilib.Input[bool]] = None, - autoretry: Optional[pulumilib.Input[bool]] = None, - azure_devops: Optional[pulumilib.Input['StackAzureDevopsArgs']] = None, - before_applies: Optional[pulumilib.Input[Sequence[pulumilib.Input[str]]]] = None, - before_destroys: Optional[pulumilib.Input[Sequence[pulumilib.Input[str]]]] = None, - before_inits: Optional[pulumilib.Input[Sequence[pulumilib.Input[str]]]] = None, - before_performs: Optional[pulumilib.Input[Sequence[pulumilib.Input[str]]]] = None, - before_plans: Optional[pulumilib.Input[Sequence[pulumilib.Input[str]]]] = None, - bitbucket_cloud: Optional[pulumilib.Input['StackBitbucketCloudArgs']] = None, - bitbucket_datacenter: Optional[pulumilib.Input['StackBitbucketDatacenterArgs']] = None, - cloudformation: Optional[pulumilib.Input['StackCloudformationArgs']] = None, - description: Optional[pulumilib.Input[str]] = None, - enable_local_preview: Optional[pulumilib.Input[bool]] = None, - github_action_deploy: Optional[pulumilib.Input[bool]] = None, - github_enterprise: Optional[pulumilib.Input['StackGithubEnterpriseArgs']] = None, - gitlab: Optional[pulumilib.Input['StackGitlabArgs']] = None, - import_state: Optional[pulumilib.Input[str]] = None, - import_state_file: Optional[pulumilib.Input[str]] = None, - kubernetes: Optional[pulumilib.Input['StackKubernetesArgs']] = None, - labels: Optional[pulumilib.Input[Sequence[pulumilib.Input[str]]]] = None, - manage_state: Optional[pulumilib.Input[bool]] = None, - name: Optional[pulumilib.Input[str]] = None, - project_root: Optional[pulumilib.Input[str]] = None, - protect_from_deletion: Optional[pulumilib.Input[bool]] = None, - pulumi: Optional[pulumilib.Input['StackPulumiArgs']] = None, - raw_git: Optional[pulumilib.Input['StackRawGitArgs']] = None, - runner_image: Optional[pulumilib.Input[str]] = None, - showcase: Optional[pulumilib.Input['StackShowcaseArgs']] = None, - slug: Optional[pulumilib.Input[str]] = None, - space_id: Optional[pulumilib.Input[str]] = None, - terraform_external_state_access: Optional[pulumilib.Input[bool]] = None, - terraform_smart_sanitization: Optional[pulumilib.Input[bool]] = None, - terraform_version: Optional[pulumilib.Input[str]] = None, - terraform_workflow_tool: Optional[pulumilib.Input[str]] = None, - terraform_workspace: Optional[pulumilib.Input[str]] = None, - terragrunt: Optional[pulumilib.Input['StackTerragruntArgs']] = None, - worker_pool_id: Optional[pulumilib.Input[str]] = None, - opts: Optional[pulumilib.ResourceOptions] = None, - **kwargs): - if branch is None: - raise TypeError("Missing 'branch' argument") - if repository is None: - raise TypeError("Missing 'repository' argument") - if additional_project_globs is None and 'additionalProjectGlobs' in kwargs: - additional_project_globs = kwargs['additionalProjectGlobs'] - if after_applies is None and 'afterApplies' in kwargs: - after_applies = kwargs['afterApplies'] - if after_destroys is None and 'afterDestroys' in kwargs: - after_destroys = kwargs['afterDestroys'] - if after_inits is None and 'afterInits' in kwargs: - after_inits = kwargs['afterInits'] - if after_performs is None and 'afterPerforms' in kwargs: - after_performs = kwargs['afterPerforms'] - if after_plans is None and 'afterPlans' in kwargs: - after_plans = kwargs['afterPlans'] - if after_runs is None and 'afterRuns' in kwargs: - after_runs = kwargs['afterRuns'] - if azure_devops is None and 'azureDevops' in kwargs: - azure_devops = kwargs['azureDevops'] - if before_applies is None and 'beforeApplies' in kwargs: - before_applies = kwargs['beforeApplies'] - if before_destroys is None and 'beforeDestroys' in kwargs: - before_destroys = kwargs['beforeDestroys'] - if before_inits is None and 'beforeInits' in kwargs: - before_inits = kwargs['beforeInits'] - if before_performs is None and 'beforePerforms' in kwargs: - before_performs = kwargs['beforePerforms'] - if before_plans is None and 'beforePlans' in kwargs: - before_plans = kwargs['beforePlans'] - if bitbucket_cloud is None and 'bitbucketCloud' in kwargs: - bitbucket_cloud = kwargs['bitbucketCloud'] - if bitbucket_datacenter is None and 'bitbucketDatacenter' in kwargs: - bitbucket_datacenter = kwargs['bitbucketDatacenter'] - if enable_local_preview is None and 'enableLocalPreview' in kwargs: - enable_local_preview = kwargs['enableLocalPreview'] - if github_action_deploy is None and 'githubActionDeploy' in kwargs: - github_action_deploy = kwargs['githubActionDeploy'] - if github_enterprise is None and 'githubEnterprise' in kwargs: - github_enterprise = kwargs['githubEnterprise'] - if import_state is None and 'importState' in kwargs: - import_state = kwargs['importState'] - if import_state_file is None and 'importStateFile' in kwargs: - import_state_file = kwargs['importStateFile'] - if manage_state is None and 'manageState' in kwargs: - manage_state = kwargs['manageState'] - if project_root is None and 'projectRoot' in kwargs: - project_root = kwargs['projectRoot'] - if protect_from_deletion is None and 'protectFromDeletion' in kwargs: - protect_from_deletion = kwargs['protectFromDeletion'] - if raw_git is None and 'rawGit' in kwargs: - raw_git = kwargs['rawGit'] - if runner_image is None and 'runnerImage' in kwargs: - runner_image = kwargs['runnerImage'] - if space_id is None and 'spaceId' in kwargs: - space_id = kwargs['spaceId'] - if terraform_external_state_access is None and 'terraformExternalStateAccess' in kwargs: - terraform_external_state_access = kwargs['terraformExternalStateAccess'] - if terraform_smart_sanitization is None and 'terraformSmartSanitization' in kwargs: - terraform_smart_sanitization = kwargs['terraformSmartSanitization'] - if terraform_version is None and 'terraformVersion' in kwargs: - terraform_version = kwargs['terraformVersion'] - if terraform_workflow_tool is None and 'terraformWorkflowTool' in kwargs: - terraform_workflow_tool = kwargs['terraformWorkflowTool'] - if terraform_workspace is None and 'terraformWorkspace' in kwargs: - terraform_workspace = kwargs['terraformWorkspace'] - if worker_pool_id is None and 'workerPoolId' in kwargs: - worker_pool_id = kwargs['workerPoolId'] - - _setter("branch", branch) - _setter("repository", repository) + pulumilib.set(__self__, "branch", branch) + pulumilib.set(__self__, "repository", repository) if additional_project_globs is not None: - _setter("additional_project_globs", additional_project_globs) + pulumilib.set(__self__, "additional_project_globs", additional_project_globs) if administrative is not None: - _setter("administrative", administrative) + pulumilib.set(__self__, "administrative", administrative) if after_applies is not None: - _setter("after_applies", after_applies) + pulumilib.set(__self__, "after_applies", after_applies) if after_destroys is not None: - _setter("after_destroys", after_destroys) + pulumilib.set(__self__, "after_destroys", after_destroys) if after_inits is not None: - _setter("after_inits", after_inits) + pulumilib.set(__self__, "after_inits", after_inits) if after_performs is not None: - _setter("after_performs", after_performs) + pulumilib.set(__self__, "after_performs", after_performs) if after_plans is not None: - _setter("after_plans", after_plans) + pulumilib.set(__self__, "after_plans", after_plans) if after_runs is not None: - _setter("after_runs", after_runs) + pulumilib.set(__self__, "after_runs", after_runs) if ansible is not None: - _setter("ansible", ansible) + pulumilib.set(__self__, "ansible", ansible) if autodeploy is not None: - _setter("autodeploy", autodeploy) + pulumilib.set(__self__, "autodeploy", autodeploy) if autoretry is not None: - _setter("autoretry", autoretry) + pulumilib.set(__self__, "autoretry", autoretry) if azure_devops is not None: - _setter("azure_devops", azure_devops) + pulumilib.set(__self__, "azure_devops", azure_devops) if before_applies is not None: - _setter("before_applies", before_applies) + pulumilib.set(__self__, "before_applies", before_applies) if before_destroys is not None: - _setter("before_destroys", before_destroys) + pulumilib.set(__self__, "before_destroys", before_destroys) if before_inits is not None: - _setter("before_inits", before_inits) + pulumilib.set(__self__, "before_inits", before_inits) if before_performs is not None: - _setter("before_performs", before_performs) + pulumilib.set(__self__, "before_performs", before_performs) if before_plans is not None: - _setter("before_plans", before_plans) + pulumilib.set(__self__, "before_plans", before_plans) if bitbucket_cloud is not None: - _setter("bitbucket_cloud", bitbucket_cloud) + pulumilib.set(__self__, "bitbucket_cloud", bitbucket_cloud) if bitbucket_datacenter is not None: - _setter("bitbucket_datacenter", bitbucket_datacenter) + pulumilib.set(__self__, "bitbucket_datacenter", bitbucket_datacenter) if cloudformation is not None: - _setter("cloudformation", cloudformation) + pulumilib.set(__self__, "cloudformation", cloudformation) if description is not None: - _setter("description", description) + pulumilib.set(__self__, "description", description) if enable_local_preview is not None: - _setter("enable_local_preview", enable_local_preview) + pulumilib.set(__self__, "enable_local_preview", enable_local_preview) if github_action_deploy is not None: - _setter("github_action_deploy", github_action_deploy) + pulumilib.set(__self__, "github_action_deploy", github_action_deploy) if github_enterprise is not None: - _setter("github_enterprise", github_enterprise) + pulumilib.set(__self__, "github_enterprise", github_enterprise) if gitlab is not None: - _setter("gitlab", gitlab) + pulumilib.set(__self__, "gitlab", gitlab) if import_state is not None: - _setter("import_state", import_state) + pulumilib.set(__self__, "import_state", import_state) if import_state_file is not None: - _setter("import_state_file", import_state_file) + pulumilib.set(__self__, "import_state_file", import_state_file) if kubernetes is not None: - _setter("kubernetes", kubernetes) + pulumilib.set(__self__, "kubernetes", kubernetes) if labels is not None: - _setter("labels", labels) + pulumilib.set(__self__, "labels", labels) if manage_state is not None: - _setter("manage_state", manage_state) + pulumilib.set(__self__, "manage_state", manage_state) if name is not None: - _setter("name", name) + pulumilib.set(__self__, "name", name) if project_root is not None: - _setter("project_root", project_root) + pulumilib.set(__self__, "project_root", project_root) if protect_from_deletion is not None: - _setter("protect_from_deletion", protect_from_deletion) + pulumilib.set(__self__, "protect_from_deletion", protect_from_deletion) if pulumi is not None: - _setter("pulumi", pulumi) + pulumilib.set(__self__, "pulumi", pulumi) if raw_git is not None: - _setter("raw_git", raw_git) + pulumilib.set(__self__, "raw_git", raw_git) if runner_image is not None: - _setter("runner_image", runner_image) + pulumilib.set(__self__, "runner_image", runner_image) if showcase is not None: - _setter("showcase", showcase) + pulumilib.set(__self__, "showcase", showcase) if slug is not None: - _setter("slug", slug) + pulumilib.set(__self__, "slug", slug) if space_id is not None: - _setter("space_id", space_id) + pulumilib.set(__self__, "space_id", space_id) if terraform_external_state_access is not None: - _setter("terraform_external_state_access", terraform_external_state_access) + pulumilib.set(__self__, "terraform_external_state_access", terraform_external_state_access) if terraform_smart_sanitization is not None: - _setter("terraform_smart_sanitization", terraform_smart_sanitization) + pulumilib.set(__self__, "terraform_smart_sanitization", terraform_smart_sanitization) if terraform_version is not None: - _setter("terraform_version", terraform_version) + pulumilib.set(__self__, "terraform_version", terraform_version) if terraform_workflow_tool is not None: - _setter("terraform_workflow_tool", terraform_workflow_tool) + pulumilib.set(__self__, "terraform_workflow_tool", terraform_workflow_tool) if terraform_workspace is not None: - _setter("terraform_workspace", terraform_workspace) + pulumilib.set(__self__, "terraform_workspace", terraform_workspace) if terragrunt is not None: - _setter("terragrunt", terragrunt) + pulumilib.set(__self__, "terragrunt", terragrunt) if worker_pool_id is not None: - _setter("worker_pool_id", worker_pool_id) + pulumilib.set(__self__, "worker_pool_id", worker_pool_id) @property @pulumilib.getter @@ -1060,277 +887,104 @@ def __init__(__self__, *, :param pulumilib.Input['StackTerragruntArgs'] terragrunt: Terragrunt-specific configuration. Presence means this Stack is an Terragrunt Stack. :param pulumilib.Input[str] worker_pool_id: ID of the worker pool to use. NOTE: worker*pool*id is required when using a self-hosted instance of Spacelift. """ - _StackState._configure( - lambda key, value: pulumilib.set(__self__, key, value), - additional_project_globs=additional_project_globs, - administrative=administrative, - after_applies=after_applies, - after_destroys=after_destroys, - after_inits=after_inits, - after_performs=after_performs, - after_plans=after_plans, - after_runs=after_runs, - ansible=ansible, - autodeploy=autodeploy, - autoretry=autoretry, - aws_assume_role_policy_statement=aws_assume_role_policy_statement, - azure_devops=azure_devops, - before_applies=before_applies, - before_destroys=before_destroys, - before_inits=before_inits, - before_performs=before_performs, - before_plans=before_plans, - bitbucket_cloud=bitbucket_cloud, - bitbucket_datacenter=bitbucket_datacenter, - branch=branch, - cloudformation=cloudformation, - description=description, - enable_local_preview=enable_local_preview, - github_action_deploy=github_action_deploy, - github_enterprise=github_enterprise, - gitlab=gitlab, - import_state=import_state, - import_state_file=import_state_file, - kubernetes=kubernetes, - labels=labels, - manage_state=manage_state, - name=name, - project_root=project_root, - protect_from_deletion=protect_from_deletion, - pulumi=pulumi, - raw_git=raw_git, - repository=repository, - runner_image=runner_image, - showcase=showcase, - slug=slug, - space_id=space_id, - terraform_external_state_access=terraform_external_state_access, - terraform_smart_sanitization=terraform_smart_sanitization, - terraform_version=terraform_version, - terraform_workflow_tool=terraform_workflow_tool, - terraform_workspace=terraform_workspace, - terragrunt=terragrunt, - worker_pool_id=worker_pool_id, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - additional_project_globs: Optional[pulumilib.Input[Sequence[pulumilib.Input[str]]]] = None, - administrative: Optional[pulumilib.Input[bool]] = None, - after_applies: Optional[pulumilib.Input[Sequence[pulumilib.Input[str]]]] = None, - after_destroys: Optional[pulumilib.Input[Sequence[pulumilib.Input[str]]]] = None, - after_inits: Optional[pulumilib.Input[Sequence[pulumilib.Input[str]]]] = None, - after_performs: Optional[pulumilib.Input[Sequence[pulumilib.Input[str]]]] = None, - after_plans: Optional[pulumilib.Input[Sequence[pulumilib.Input[str]]]] = None, - after_runs: Optional[pulumilib.Input[Sequence[pulumilib.Input[str]]]] = None, - ansible: Optional[pulumilib.Input['StackAnsibleArgs']] = None, - autodeploy: Optional[pulumilib.Input[bool]] = None, - autoretry: Optional[pulumilib.Input[bool]] = None, - aws_assume_role_policy_statement: Optional[pulumilib.Input[str]] = None, - azure_devops: Optional[pulumilib.Input['StackAzureDevopsArgs']] = None, - before_applies: Optional[pulumilib.Input[Sequence[pulumilib.Input[str]]]] = None, - before_destroys: Optional[pulumilib.Input[Sequence[pulumilib.Input[str]]]] = None, - before_inits: Optional[pulumilib.Input[Sequence[pulumilib.Input[str]]]] = None, - before_performs: Optional[pulumilib.Input[Sequence[pulumilib.Input[str]]]] = None, - before_plans: Optional[pulumilib.Input[Sequence[pulumilib.Input[str]]]] = None, - bitbucket_cloud: Optional[pulumilib.Input['StackBitbucketCloudArgs']] = None, - bitbucket_datacenter: Optional[pulumilib.Input['StackBitbucketDatacenterArgs']] = None, - branch: Optional[pulumilib.Input[str]] = None, - cloudformation: Optional[pulumilib.Input['StackCloudformationArgs']] = None, - description: Optional[pulumilib.Input[str]] = None, - enable_local_preview: Optional[pulumilib.Input[bool]] = None, - github_action_deploy: Optional[pulumilib.Input[bool]] = None, - github_enterprise: Optional[pulumilib.Input['StackGithubEnterpriseArgs']] = None, - gitlab: Optional[pulumilib.Input['StackGitlabArgs']] = None, - import_state: Optional[pulumilib.Input[str]] = None, - import_state_file: Optional[pulumilib.Input[str]] = None, - kubernetes: Optional[pulumilib.Input['StackKubernetesArgs']] = None, - labels: Optional[pulumilib.Input[Sequence[pulumilib.Input[str]]]] = None, - manage_state: Optional[pulumilib.Input[bool]] = None, - name: Optional[pulumilib.Input[str]] = None, - project_root: Optional[pulumilib.Input[str]] = None, - protect_from_deletion: Optional[pulumilib.Input[bool]] = None, - pulumi: Optional[pulumilib.Input['StackPulumiArgs']] = None, - raw_git: Optional[pulumilib.Input['StackRawGitArgs']] = None, - repository: Optional[pulumilib.Input[str]] = None, - runner_image: Optional[pulumilib.Input[str]] = None, - showcase: Optional[pulumilib.Input['StackShowcaseArgs']] = None, - slug: Optional[pulumilib.Input[str]] = None, - space_id: Optional[pulumilib.Input[str]] = None, - terraform_external_state_access: Optional[pulumilib.Input[bool]] = None, - terraform_smart_sanitization: Optional[pulumilib.Input[bool]] = None, - terraform_version: Optional[pulumilib.Input[str]] = None, - terraform_workflow_tool: Optional[pulumilib.Input[str]] = None, - terraform_workspace: Optional[pulumilib.Input[str]] = None, - terragrunt: Optional[pulumilib.Input['StackTerragruntArgs']] = None, - worker_pool_id: Optional[pulumilib.Input[str]] = None, - opts: Optional[pulumilib.ResourceOptions] = None, - **kwargs): - if additional_project_globs is None and 'additionalProjectGlobs' in kwargs: - additional_project_globs = kwargs['additionalProjectGlobs'] - if after_applies is None and 'afterApplies' in kwargs: - after_applies = kwargs['afterApplies'] - if after_destroys is None and 'afterDestroys' in kwargs: - after_destroys = kwargs['afterDestroys'] - if after_inits is None and 'afterInits' in kwargs: - after_inits = kwargs['afterInits'] - if after_performs is None and 'afterPerforms' in kwargs: - after_performs = kwargs['afterPerforms'] - if after_plans is None and 'afterPlans' in kwargs: - after_plans = kwargs['afterPlans'] - if after_runs is None and 'afterRuns' in kwargs: - after_runs = kwargs['afterRuns'] - if aws_assume_role_policy_statement is None and 'awsAssumeRolePolicyStatement' in kwargs: - aws_assume_role_policy_statement = kwargs['awsAssumeRolePolicyStatement'] - if azure_devops is None and 'azureDevops' in kwargs: - azure_devops = kwargs['azureDevops'] - if before_applies is None and 'beforeApplies' in kwargs: - before_applies = kwargs['beforeApplies'] - if before_destroys is None and 'beforeDestroys' in kwargs: - before_destroys = kwargs['beforeDestroys'] - if before_inits is None and 'beforeInits' in kwargs: - before_inits = kwargs['beforeInits'] - if before_performs is None and 'beforePerforms' in kwargs: - before_performs = kwargs['beforePerforms'] - if before_plans is None and 'beforePlans' in kwargs: - before_plans = kwargs['beforePlans'] - if bitbucket_cloud is None and 'bitbucketCloud' in kwargs: - bitbucket_cloud = kwargs['bitbucketCloud'] - if bitbucket_datacenter is None and 'bitbucketDatacenter' in kwargs: - bitbucket_datacenter = kwargs['bitbucketDatacenter'] - if enable_local_preview is None and 'enableLocalPreview' in kwargs: - enable_local_preview = kwargs['enableLocalPreview'] - if github_action_deploy is None and 'githubActionDeploy' in kwargs: - github_action_deploy = kwargs['githubActionDeploy'] - if github_enterprise is None and 'githubEnterprise' in kwargs: - github_enterprise = kwargs['githubEnterprise'] - if import_state is None and 'importState' in kwargs: - import_state = kwargs['importState'] - if import_state_file is None and 'importStateFile' in kwargs: - import_state_file = kwargs['importStateFile'] - if manage_state is None and 'manageState' in kwargs: - manage_state = kwargs['manageState'] - if project_root is None and 'projectRoot' in kwargs: - project_root = kwargs['projectRoot'] - if protect_from_deletion is None and 'protectFromDeletion' in kwargs: - protect_from_deletion = kwargs['protectFromDeletion'] - if raw_git is None and 'rawGit' in kwargs: - raw_git = kwargs['rawGit'] - if runner_image is None and 'runnerImage' in kwargs: - runner_image = kwargs['runnerImage'] - if space_id is None and 'spaceId' in kwargs: - space_id = kwargs['spaceId'] - if terraform_external_state_access is None and 'terraformExternalStateAccess' in kwargs: - terraform_external_state_access = kwargs['terraformExternalStateAccess'] - if terraform_smart_sanitization is None and 'terraformSmartSanitization' in kwargs: - terraform_smart_sanitization = kwargs['terraformSmartSanitization'] - if terraform_version is None and 'terraformVersion' in kwargs: - terraform_version = kwargs['terraformVersion'] - if terraform_workflow_tool is None and 'terraformWorkflowTool' in kwargs: - terraform_workflow_tool = kwargs['terraformWorkflowTool'] - if terraform_workspace is None and 'terraformWorkspace' in kwargs: - terraform_workspace = kwargs['terraformWorkspace'] - if worker_pool_id is None and 'workerPoolId' in kwargs: - worker_pool_id = kwargs['workerPoolId'] - if additional_project_globs is not None: - _setter("additional_project_globs", additional_project_globs) + pulumilib.set(__self__, "additional_project_globs", additional_project_globs) if administrative is not None: - _setter("administrative", administrative) + pulumilib.set(__self__, "administrative", administrative) if after_applies is not None: - _setter("after_applies", after_applies) + pulumilib.set(__self__, "after_applies", after_applies) if after_destroys is not None: - _setter("after_destroys", after_destroys) + pulumilib.set(__self__, "after_destroys", after_destroys) if after_inits is not None: - _setter("after_inits", after_inits) + pulumilib.set(__self__, "after_inits", after_inits) if after_performs is not None: - _setter("after_performs", after_performs) + pulumilib.set(__self__, "after_performs", after_performs) if after_plans is not None: - _setter("after_plans", after_plans) + pulumilib.set(__self__, "after_plans", after_plans) if after_runs is not None: - _setter("after_runs", after_runs) + pulumilib.set(__self__, "after_runs", after_runs) if ansible is not None: - _setter("ansible", ansible) + pulumilib.set(__self__, "ansible", ansible) if autodeploy is not None: - _setter("autodeploy", autodeploy) + pulumilib.set(__self__, "autodeploy", autodeploy) if autoretry is not None: - _setter("autoretry", autoretry) + pulumilib.set(__self__, "autoretry", autoretry) if aws_assume_role_policy_statement is not None: - _setter("aws_assume_role_policy_statement", aws_assume_role_policy_statement) + pulumilib.set(__self__, "aws_assume_role_policy_statement", aws_assume_role_policy_statement) if azure_devops is not None: - _setter("azure_devops", azure_devops) + pulumilib.set(__self__, "azure_devops", azure_devops) if before_applies is not None: - _setter("before_applies", before_applies) + pulumilib.set(__self__, "before_applies", before_applies) if before_destroys is not None: - _setter("before_destroys", before_destroys) + pulumilib.set(__self__, "before_destroys", before_destroys) if before_inits is not None: - _setter("before_inits", before_inits) + pulumilib.set(__self__, "before_inits", before_inits) if before_performs is not None: - _setter("before_performs", before_performs) + pulumilib.set(__self__, "before_performs", before_performs) if before_plans is not None: - _setter("before_plans", before_plans) + pulumilib.set(__self__, "before_plans", before_plans) if bitbucket_cloud is not None: - _setter("bitbucket_cloud", bitbucket_cloud) + pulumilib.set(__self__, "bitbucket_cloud", bitbucket_cloud) if bitbucket_datacenter is not None: - _setter("bitbucket_datacenter", bitbucket_datacenter) + pulumilib.set(__self__, "bitbucket_datacenter", bitbucket_datacenter) if branch is not None: - _setter("branch", branch) + pulumilib.set(__self__, "branch", branch) if cloudformation is not None: - _setter("cloudformation", cloudformation) + pulumilib.set(__self__, "cloudformation", cloudformation) if description is not None: - _setter("description", description) + pulumilib.set(__self__, "description", description) if enable_local_preview is not None: - _setter("enable_local_preview", enable_local_preview) + pulumilib.set(__self__, "enable_local_preview", enable_local_preview) if github_action_deploy is not None: - _setter("github_action_deploy", github_action_deploy) + pulumilib.set(__self__, "github_action_deploy", github_action_deploy) if github_enterprise is not None: - _setter("github_enterprise", github_enterprise) + pulumilib.set(__self__, "github_enterprise", github_enterprise) if gitlab is not None: - _setter("gitlab", gitlab) + pulumilib.set(__self__, "gitlab", gitlab) if import_state is not None: - _setter("import_state", import_state) + pulumilib.set(__self__, "import_state", import_state) if import_state_file is not None: - _setter("import_state_file", import_state_file) + pulumilib.set(__self__, "import_state_file", import_state_file) if kubernetes is not None: - _setter("kubernetes", kubernetes) + pulumilib.set(__self__, "kubernetes", kubernetes) if labels is not None: - _setter("labels", labels) + pulumilib.set(__self__, "labels", labels) if manage_state is not None: - _setter("manage_state", manage_state) + pulumilib.set(__self__, "manage_state", manage_state) if name is not None: - _setter("name", name) + pulumilib.set(__self__, "name", name) if project_root is not None: - _setter("project_root", project_root) + pulumilib.set(__self__, "project_root", project_root) if protect_from_deletion is not None: - _setter("protect_from_deletion", protect_from_deletion) + pulumilib.set(__self__, "protect_from_deletion", protect_from_deletion) if pulumi is not None: - _setter("pulumi", pulumi) + pulumilib.set(__self__, "pulumi", pulumi) if raw_git is not None: - _setter("raw_git", raw_git) + pulumilib.set(__self__, "raw_git", raw_git) if repository is not None: - _setter("repository", repository) + pulumilib.set(__self__, "repository", repository) if runner_image is not None: - _setter("runner_image", runner_image) + pulumilib.set(__self__, "runner_image", runner_image) if showcase is not None: - _setter("showcase", showcase) + pulumilib.set(__self__, "showcase", showcase) if slug is not None: - _setter("slug", slug) + pulumilib.set(__self__, "slug", slug) if space_id is not None: - _setter("space_id", space_id) + pulumilib.set(__self__, "space_id", space_id) if terraform_external_state_access is not None: - _setter("terraform_external_state_access", terraform_external_state_access) + pulumilib.set(__self__, "terraform_external_state_access", terraform_external_state_access) if terraform_smart_sanitization is not None: - _setter("terraform_smart_sanitization", terraform_smart_sanitization) + pulumilib.set(__self__, "terraform_smart_sanitization", terraform_smart_sanitization) if terraform_version is not None: - _setter("terraform_version", terraform_version) + pulumilib.set(__self__, "terraform_version", terraform_version) if terraform_workflow_tool is not None: - _setter("terraform_workflow_tool", terraform_workflow_tool) + pulumilib.set(__self__, "terraform_workflow_tool", terraform_workflow_tool) if terraform_workspace is not None: - _setter("terraform_workspace", terraform_workspace) + pulumilib.set(__self__, "terraform_workspace", terraform_workspace) if terragrunt is not None: - _setter("terragrunt", terragrunt) + pulumilib.set(__self__, "terragrunt", terragrunt) if worker_pool_id is not None: - _setter("worker_pool_id", worker_pool_id) + pulumilib.set(__self__, "worker_pool_id", worker_pool_id) @property @pulumilib.getter(name="additionalProjectGlobs") @@ -2282,10 +1936,6 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: - kwargs = kwargs or {} - def _setter(key, value): - kwargs[key] = value - StackArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -2356,51 +2006,40 @@ def _internal_init(__self__, __props__.__dict__["after_performs"] = after_performs __props__.__dict__["after_plans"] = after_plans __props__.__dict__["after_runs"] = after_runs - ansible = _utilities.configure(ansible, StackAnsibleArgs, True) __props__.__dict__["ansible"] = ansible __props__.__dict__["autodeploy"] = autodeploy __props__.__dict__["autoretry"] = autoretry - azure_devops = _utilities.configure(azure_devops, StackAzureDevopsArgs, True) __props__.__dict__["azure_devops"] = azure_devops __props__.__dict__["before_applies"] = before_applies __props__.__dict__["before_destroys"] = before_destroys __props__.__dict__["before_inits"] = before_inits __props__.__dict__["before_performs"] = before_performs __props__.__dict__["before_plans"] = before_plans - bitbucket_cloud = _utilities.configure(bitbucket_cloud, StackBitbucketCloudArgs, True) __props__.__dict__["bitbucket_cloud"] = bitbucket_cloud - bitbucket_datacenter = _utilities.configure(bitbucket_datacenter, StackBitbucketDatacenterArgs, True) __props__.__dict__["bitbucket_datacenter"] = bitbucket_datacenter if branch is None and not opts.urn: raise TypeError("Missing required property 'branch'") __props__.__dict__["branch"] = branch - cloudformation = _utilities.configure(cloudformation, StackCloudformationArgs, True) __props__.__dict__["cloudformation"] = cloudformation __props__.__dict__["description"] = description __props__.__dict__["enable_local_preview"] = enable_local_preview __props__.__dict__["github_action_deploy"] = github_action_deploy - github_enterprise = _utilities.configure(github_enterprise, StackGithubEnterpriseArgs, True) __props__.__dict__["github_enterprise"] = github_enterprise - gitlab = _utilities.configure(gitlab, StackGitlabArgs, True) __props__.__dict__["gitlab"] = gitlab __props__.__dict__["import_state"] = None if import_state is None else pulumilib.Output.secret(import_state) __props__.__dict__["import_state_file"] = import_state_file - kubernetes = _utilities.configure(kubernetes, StackKubernetesArgs, True) __props__.__dict__["kubernetes"] = kubernetes __props__.__dict__["labels"] = labels __props__.__dict__["manage_state"] = manage_state __props__.__dict__["name"] = name __props__.__dict__["project_root"] = project_root __props__.__dict__["protect_from_deletion"] = protect_from_deletion - pulumi = _utilities.configure(pulumi, StackPulumiArgs, True) __props__.__dict__["pulumi"] = pulumi - raw_git = _utilities.configure(raw_git, StackRawGitArgs, True) __props__.__dict__["raw_git"] = raw_git if repository is None and not opts.urn: raise TypeError("Missing required property 'repository'") __props__.__dict__["repository"] = repository __props__.__dict__["runner_image"] = runner_image - showcase = _utilities.configure(showcase, StackShowcaseArgs, True) __props__.__dict__["showcase"] = showcase __props__.__dict__["slug"] = slug __props__.__dict__["space_id"] = space_id @@ -2409,7 +2048,6 @@ def _internal_init(__self__, __props__.__dict__["terraform_version"] = terraform_version __props__.__dict__["terraform_workflow_tool"] = terraform_workflow_tool __props__.__dict__["terraform_workspace"] = terraform_workspace - terragrunt = _utilities.configure(terragrunt, StackTerragruntArgs, True) __props__.__dict__["terragrunt"] = terragrunt __props__.__dict__["worker_pool_id"] = worker_pool_id __props__.__dict__["aws_assume_role_policy_statement"] = None diff --git a/sdk/python/pulumi_spacelift/stack_activator.py b/sdk/python/pulumi_spacelift/stack_activator.py index 3782419..80d3da3 100644 --- a/sdk/python/pulumi_spacelift/stack_activator.py +++ b/sdk/python/pulumi_spacelift/stack_activator.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['StackActivatorArgs', 'StackActivator'] @@ -21,27 +21,8 @@ def __init__(__self__, *, :param pulumi.Input[bool] enabled: Enable/disable stack :param pulumi.Input[str] stack_id: ID of the stack to enable/disable """ - StackActivatorArgs._configure( - lambda key, value: pulumi.set(__self__, key, value), - enabled=enabled, - stack_id=stack_id, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - enabled: Optional[pulumi.Input[bool]] = None, - stack_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if enabled is None: - raise TypeError("Missing 'enabled' argument") - if stack_id is None and 'stackId' in kwargs: - stack_id = kwargs['stackId'] - if stack_id is None: - raise TypeError("Missing 'stack_id' argument") - - _setter("enabled", enabled) - _setter("stack_id", stack_id) + pulumi.set(__self__, "enabled", enabled) + pulumi.set(__self__, "stack_id", stack_id) @property @pulumi.getter @@ -78,25 +59,10 @@ def __init__(__self__, *, :param pulumi.Input[bool] enabled: Enable/disable stack :param pulumi.Input[str] stack_id: ID of the stack to enable/disable """ - _StackActivatorState._configure( - lambda key, value: pulumi.set(__self__, key, value), - enabled=enabled, - stack_id=stack_id, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - enabled: Optional[pulumi.Input[bool]] = None, - stack_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if stack_id is None and 'stackId' in kwargs: - stack_id = kwargs['stackId'] - if enabled is not None: - _setter("enabled", enabled) + pulumi.set(__self__, "enabled", enabled) if stack_id is not None: - _setter("stack_id", stack_id) + pulumi.set(__self__, "stack_id", stack_id) @property @pulumi.getter @@ -186,10 +152,6 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: - kwargs = kwargs or {} - def _setter(key, value): - kwargs[key] = value - StackActivatorArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_spacelift/stack_aws_role.py b/sdk/python/pulumi_spacelift/stack_aws_role.py index 66b57db..b97fb14 100644 --- a/sdk/python/pulumi_spacelift/stack_aws_role.py +++ b/sdk/python/pulumi_spacelift/stack_aws_role.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['StackAwsRoleArgs', 'StackAwsRole'] @@ -29,52 +29,17 @@ def __init__(__self__, *, :param pulumi.Input[str] module_id: ID of the module which assumes the AWS IAM role :param pulumi.Input[str] stack_id: ID of the stack which assumes the AWS IAM role """ - StackAwsRoleArgs._configure( - lambda key, value: pulumi.set(__self__, key, value), - role_arn=role_arn, - duration_seconds=duration_seconds, - external_id=external_id, - generate_credentials_in_worker=generate_credentials_in_worker, - module_id=module_id, - stack_id=stack_id, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - role_arn: Optional[pulumi.Input[str]] = None, - duration_seconds: Optional[pulumi.Input[int]] = None, - external_id: Optional[pulumi.Input[str]] = None, - generate_credentials_in_worker: Optional[pulumi.Input[bool]] = None, - module_id: Optional[pulumi.Input[str]] = None, - stack_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if role_arn is None and 'roleArn' in kwargs: - role_arn = kwargs['roleArn'] - if role_arn is None: - raise TypeError("Missing 'role_arn' argument") - if duration_seconds is None and 'durationSeconds' in kwargs: - duration_seconds = kwargs['durationSeconds'] - if external_id is None and 'externalId' in kwargs: - external_id = kwargs['externalId'] - if generate_credentials_in_worker is None and 'generateCredentialsInWorker' in kwargs: - generate_credentials_in_worker = kwargs['generateCredentialsInWorker'] - if module_id is None and 'moduleId' in kwargs: - module_id = kwargs['moduleId'] - if stack_id is None and 'stackId' in kwargs: - stack_id = kwargs['stackId'] - - _setter("role_arn", role_arn) + pulumi.set(__self__, "role_arn", role_arn) if duration_seconds is not None: - _setter("duration_seconds", duration_seconds) + pulumi.set(__self__, "duration_seconds", duration_seconds) if external_id is not None: - _setter("external_id", external_id) + pulumi.set(__self__, "external_id", external_id) if generate_credentials_in_worker is not None: - _setter("generate_credentials_in_worker", generate_credentials_in_worker) + pulumi.set(__self__, "generate_credentials_in_worker", generate_credentials_in_worker) if module_id is not None: - _setter("module_id", module_id) + pulumi.set(__self__, "module_id", module_id) if stack_id is not None: - _setter("stack_id", stack_id) + pulumi.set(__self__, "stack_id", stack_id) @property @pulumi.getter(name="roleArn") @@ -167,51 +132,18 @@ def __init__(__self__, *, :param pulumi.Input[str] role_arn: ARN of the AWS IAM role to attach :param pulumi.Input[str] stack_id: ID of the stack which assumes the AWS IAM role """ - _StackAwsRoleState._configure( - lambda key, value: pulumi.set(__self__, key, value), - duration_seconds=duration_seconds, - external_id=external_id, - generate_credentials_in_worker=generate_credentials_in_worker, - module_id=module_id, - role_arn=role_arn, - stack_id=stack_id, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - duration_seconds: Optional[pulumi.Input[int]] = None, - external_id: Optional[pulumi.Input[str]] = None, - generate_credentials_in_worker: Optional[pulumi.Input[bool]] = None, - module_id: Optional[pulumi.Input[str]] = None, - role_arn: Optional[pulumi.Input[str]] = None, - stack_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if duration_seconds is None and 'durationSeconds' in kwargs: - duration_seconds = kwargs['durationSeconds'] - if external_id is None and 'externalId' in kwargs: - external_id = kwargs['externalId'] - if generate_credentials_in_worker is None and 'generateCredentialsInWorker' in kwargs: - generate_credentials_in_worker = kwargs['generateCredentialsInWorker'] - if module_id is None and 'moduleId' in kwargs: - module_id = kwargs['moduleId'] - if role_arn is None and 'roleArn' in kwargs: - role_arn = kwargs['roleArn'] - if stack_id is None and 'stackId' in kwargs: - stack_id = kwargs['stackId'] - if duration_seconds is not None: - _setter("duration_seconds", duration_seconds) + pulumi.set(__self__, "duration_seconds", duration_seconds) if external_id is not None: - _setter("external_id", external_id) + pulumi.set(__self__, "external_id", external_id) if generate_credentials_in_worker is not None: - _setter("generate_credentials_in_worker", generate_credentials_in_worker) + pulumi.set(__self__, "generate_credentials_in_worker", generate_credentials_in_worker) if module_id is not None: - _setter("module_id", module_id) + pulumi.set(__self__, "module_id", module_id) if role_arn is not None: - _setter("role_arn", role_arn) + pulumi.set(__self__, "role_arn", role_arn) if stack_id is not None: - _setter("stack_id", stack_id) + pulumi.set(__self__, "stack_id", stack_id) @property @pulumi.getter(name="durationSeconds") @@ -345,10 +277,6 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: - kwargs = kwargs or {} - def _setter(key, value): - kwargs[key] = value - StackAwsRoleArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_spacelift/stack_dependency.py b/sdk/python/pulumi_spacelift/stack_dependency.py index 8d07403..e57bf42 100644 --- a/sdk/python/pulumi_spacelift/stack_dependency.py +++ b/sdk/python/pulumi_spacelift/stack_dependency.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['StackDependencyArgs', 'StackDependency'] @@ -21,29 +21,8 @@ def __init__(__self__, *, :param pulumi.Input[str] depends_on_stack_id: immutable ID (slug) of stack to depend on. :param pulumi.Input[str] stack_id: immutable ID (slug) of stack which has a dependency. """ - StackDependencyArgs._configure( - lambda key, value: pulumi.set(__self__, key, value), - depends_on_stack_id=depends_on_stack_id, - stack_id=stack_id, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - depends_on_stack_id: Optional[pulumi.Input[str]] = None, - stack_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if depends_on_stack_id is None and 'dependsOnStackId' in kwargs: - depends_on_stack_id = kwargs['dependsOnStackId'] - if depends_on_stack_id is None: - raise TypeError("Missing 'depends_on_stack_id' argument") - if stack_id is None and 'stackId' in kwargs: - stack_id = kwargs['stackId'] - if stack_id is None: - raise TypeError("Missing 'stack_id' argument") - - _setter("depends_on_stack_id", depends_on_stack_id) - _setter("stack_id", stack_id) + pulumi.set(__self__, "depends_on_stack_id", depends_on_stack_id) + pulumi.set(__self__, "stack_id", stack_id) @property @pulumi.getter(name="dependsOnStackId") @@ -80,27 +59,10 @@ def __init__(__self__, *, :param pulumi.Input[str] depends_on_stack_id: immutable ID (slug) of stack to depend on. :param pulumi.Input[str] stack_id: immutable ID (slug) of stack which has a dependency. """ - _StackDependencyState._configure( - lambda key, value: pulumi.set(__self__, key, value), - depends_on_stack_id=depends_on_stack_id, - stack_id=stack_id, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - depends_on_stack_id: Optional[pulumi.Input[str]] = None, - stack_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if depends_on_stack_id is None and 'dependsOnStackId' in kwargs: - depends_on_stack_id = kwargs['dependsOnStackId'] - if stack_id is None and 'stackId' in kwargs: - stack_id = kwargs['stackId'] - if depends_on_stack_id is not None: - _setter("depends_on_stack_id", depends_on_stack_id) + pulumi.set(__self__, "depends_on_stack_id", depends_on_stack_id) if stack_id is not None: - _setter("stack_id", stack_id) + pulumi.set(__self__, "stack_id", stack_id) @property @pulumi.getter(name="dependsOnStackId") @@ -196,10 +158,6 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: - kwargs = kwargs or {} - def _setter(key, value): - kwargs[key] = value - StackDependencyArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_spacelift/stack_dependency_reference.py b/sdk/python/pulumi_spacelift/stack_dependency_reference.py index af714f8..7972a32 100644 --- a/sdk/python/pulumi_spacelift/stack_dependency_reference.py +++ b/sdk/python/pulumi_spacelift/stack_dependency_reference.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['StackDependencyReferenceArgs', 'StackDependencyReference'] @@ -23,36 +23,9 @@ def __init__(__self__, *, :param pulumi.Input[str] output_name: Name of the output of stack to depend on :param pulumi.Input[str] stack_dependency_id: Immutable ID of stack dependency """ - StackDependencyReferenceArgs._configure( - lambda key, value: pulumi.set(__self__, key, value), - input_name=input_name, - output_name=output_name, - stack_dependency_id=stack_dependency_id, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - input_name: Optional[pulumi.Input[str]] = None, - output_name: Optional[pulumi.Input[str]] = None, - stack_dependency_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if input_name is None and 'inputName' in kwargs: - input_name = kwargs['inputName'] - if input_name is None: - raise TypeError("Missing 'input_name' argument") - if output_name is None and 'outputName' in kwargs: - output_name = kwargs['outputName'] - if output_name is None: - raise TypeError("Missing 'output_name' argument") - if stack_dependency_id is None and 'stackDependencyId' in kwargs: - stack_dependency_id = kwargs['stackDependencyId'] - if stack_dependency_id is None: - raise TypeError("Missing 'stack_dependency_id' argument") - - _setter("input_name", input_name) - _setter("output_name", output_name) - _setter("stack_dependency_id", stack_dependency_id) + pulumi.set(__self__, "input_name", input_name) + pulumi.set(__self__, "output_name", output_name) + pulumi.set(__self__, "stack_dependency_id", stack_dependency_id) @property @pulumi.getter(name="inputName") @@ -103,33 +76,12 @@ def __init__(__self__, *, :param pulumi.Input[str] output_name: Name of the output of stack to depend on :param pulumi.Input[str] stack_dependency_id: Immutable ID of stack dependency """ - _StackDependencyReferenceState._configure( - lambda key, value: pulumi.set(__self__, key, value), - input_name=input_name, - output_name=output_name, - stack_dependency_id=stack_dependency_id, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - input_name: Optional[pulumi.Input[str]] = None, - output_name: Optional[pulumi.Input[str]] = None, - stack_dependency_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if input_name is None and 'inputName' in kwargs: - input_name = kwargs['inputName'] - if output_name is None and 'outputName' in kwargs: - output_name = kwargs['outputName'] - if stack_dependency_id is None and 'stackDependencyId' in kwargs: - stack_dependency_id = kwargs['stackDependencyId'] - if input_name is not None: - _setter("input_name", input_name) + pulumi.set(__self__, "input_name", input_name) if output_name is not None: - _setter("output_name", output_name) + pulumi.set(__self__, "output_name", output_name) if stack_dependency_id is not None: - _setter("stack_dependency_id", stack_dependency_id) + pulumi.set(__self__, "stack_dependency_id", stack_dependency_id) @property @pulumi.getter(name="inputName") @@ -247,10 +199,6 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: - kwargs = kwargs or {} - def _setter(key, value): - kwargs[key] = value - StackDependencyReferenceArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_spacelift/stack_destructor.py b/sdk/python/pulumi_spacelift/stack_destructor.py index 07513c9..de8564d 100644 --- a/sdk/python/pulumi_spacelift/stack_destructor.py +++ b/sdk/python/pulumi_spacelift/stack_destructor.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['StackDestructorArgs', 'StackDestructor'] @@ -21,26 +21,9 @@ def __init__(__self__, *, :param pulumi.Input[str] stack_id: ID of the stack to delete and destroy on destruction :param pulumi.Input[bool] deactivated: If set to true, destruction won't delete the stack """ - StackDestructorArgs._configure( - lambda key, value: pulumi.set(__self__, key, value), - stack_id=stack_id, - deactivated=deactivated, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - stack_id: Optional[pulumi.Input[str]] = None, - deactivated: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if stack_id is None and 'stackId' in kwargs: - stack_id = kwargs['stackId'] - if stack_id is None: - raise TypeError("Missing 'stack_id' argument") - - _setter("stack_id", stack_id) + pulumi.set(__self__, "stack_id", stack_id) if deactivated is not None: - _setter("deactivated", deactivated) + pulumi.set(__self__, "deactivated", deactivated) @property @pulumi.getter(name="stackId") @@ -77,25 +60,10 @@ def __init__(__self__, *, :param pulumi.Input[bool] deactivated: If set to true, destruction won't delete the stack :param pulumi.Input[str] stack_id: ID of the stack to delete and destroy on destruction """ - _StackDestructorState._configure( - lambda key, value: pulumi.set(__self__, key, value), - deactivated=deactivated, - stack_id=stack_id, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - deactivated: Optional[pulumi.Input[bool]] = None, - stack_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if stack_id is None and 'stackId' in kwargs: - stack_id = kwargs['stackId'] - if deactivated is not None: - _setter("deactivated", deactivated) + pulumi.set(__self__, "deactivated", deactivated) if stack_id is not None: - _setter("stack_id", stack_id) + pulumi.set(__self__, "stack_id", stack_id) @property @pulumi.getter @@ -185,10 +153,6 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: - kwargs = kwargs or {} - def _setter(key, value): - kwargs[key] = value - StackDestructorArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_spacelift/stack_gcp_service_account.py b/sdk/python/pulumi_spacelift/stack_gcp_service_account.py index d225378..5f068fd 100644 --- a/sdk/python/pulumi_spacelift/stack_gcp_service_account.py +++ b/sdk/python/pulumi_spacelift/stack_gcp_service_account.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['StackGcpServiceAccountArgs', 'StackGcpServiceAccount'] @@ -23,34 +23,11 @@ def __init__(__self__, *, :param pulumi.Input[str] module_id: ID of the module which uses GCP service account credentials :param pulumi.Input[str] stack_id: ID of the stack which uses GCP service account credentials """ - StackGcpServiceAccountArgs._configure( - lambda key, value: pulumi.set(__self__, key, value), - token_scopes=token_scopes, - module_id=module_id, - stack_id=stack_id, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - token_scopes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - module_id: Optional[pulumi.Input[str]] = None, - stack_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if token_scopes is None and 'tokenScopes' in kwargs: - token_scopes = kwargs['tokenScopes'] - if token_scopes is None: - raise TypeError("Missing 'token_scopes' argument") - if module_id is None and 'moduleId' in kwargs: - module_id = kwargs['moduleId'] - if stack_id is None and 'stackId' in kwargs: - stack_id = kwargs['stackId'] - - _setter("token_scopes", token_scopes) + pulumi.set(__self__, "token_scopes", token_scopes) if module_id is not None: - _setter("module_id", module_id) + pulumi.set(__self__, "module_id", module_id) if stack_id is not None: - _setter("stack_id", stack_id) + pulumi.set(__self__, "stack_id", stack_id) @property @pulumi.getter(name="tokenScopes") @@ -103,39 +80,14 @@ def __init__(__self__, *, :param pulumi.Input[str] stack_id: ID of the stack which uses GCP service account credentials :param pulumi.Input[Sequence[pulumi.Input[str]]] token_scopes: List of scopes that will be requested when generating temporary GCP service account credentials """ - _StackGcpServiceAccountState._configure( - lambda key, value: pulumi.set(__self__, key, value), - module_id=module_id, - service_account_email=service_account_email, - stack_id=stack_id, - token_scopes=token_scopes, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - module_id: Optional[pulumi.Input[str]] = None, - service_account_email: Optional[pulumi.Input[str]] = None, - stack_id: Optional[pulumi.Input[str]] = None, - token_scopes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if module_id is None and 'moduleId' in kwargs: - module_id = kwargs['moduleId'] - if service_account_email is None and 'serviceAccountEmail' in kwargs: - service_account_email = kwargs['serviceAccountEmail'] - if stack_id is None and 'stackId' in kwargs: - stack_id = kwargs['stackId'] - if token_scopes is None and 'tokenScopes' in kwargs: - token_scopes = kwargs['tokenScopes'] - if module_id is not None: - _setter("module_id", module_id) + pulumi.set(__self__, "module_id", module_id) if service_account_email is not None: - _setter("service_account_email", service_account_email) + pulumi.set(__self__, "service_account_email", service_account_email) if stack_id is not None: - _setter("stack_id", stack_id) + pulumi.set(__self__, "stack_id", stack_id) if token_scopes is not None: - _setter("token_scopes", token_scopes) + pulumi.set(__self__, "token_scopes", token_scopes) @property @pulumi.getter(name="moduleId") @@ -271,10 +223,6 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: - kwargs = kwargs or {} - def _setter(key, value): - kwargs[key] = value - StackGcpServiceAccountArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_spacelift/terraform_provider.py b/sdk/python/pulumi_spacelift/terraform_provider.py index 7fc26b3..19c9267 100644 --- a/sdk/python/pulumi_spacelift/terraform_provider.py +++ b/sdk/python/pulumi_spacelift/terraform_provider.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['TerraformProviderArgs', 'TerraformProvider'] @@ -26,39 +26,14 @@ def __init__(__self__, *, :param pulumi.Input[str] description: Free-form description for human users, supports Markdown :param pulumi.Input[bool] public: Whether the provider is public or not, defaults to false (private) """ - TerraformProviderArgs._configure( - lambda key, value: pulumi.set(__self__, key, value), - space_id=space_id, - type=type, - description=description, - labels=labels, - public=public, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - space_id: Optional[pulumi.Input[str]] = None, - type: Optional[pulumi.Input[str]] = None, - description: Optional[pulumi.Input[str]] = None, - labels: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - public: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if space_id is None and 'spaceId' in kwargs: - space_id = kwargs['spaceId'] - if space_id is None: - raise TypeError("Missing 'space_id' argument") - if type is None: - raise TypeError("Missing 'type' argument") - - _setter("space_id", space_id) - _setter("type", type) + pulumi.set(__self__, "space_id", space_id) + pulumi.set(__self__, "type", type) if description is not None: - _setter("description", description) + pulumi.set(__self__, "description", description) if labels is not None: - _setter("labels", labels) + pulumi.set(__self__, "labels", labels) if public is not None: - _setter("public", public) + pulumi.set(__self__, "public", public) @property @pulumi.getter(name="spaceId") @@ -133,37 +108,16 @@ def __init__(__self__, *, :param pulumi.Input[str] space_id: ID (slug) of the space the provider is in :param pulumi.Input[str] type: Type of the provider - should be unique in one account """ - _TerraformProviderState._configure( - lambda key, value: pulumi.set(__self__, key, value), - description=description, - labels=labels, - public=public, - space_id=space_id, - type=type, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - description: Optional[pulumi.Input[str]] = None, - labels: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - public: Optional[pulumi.Input[bool]] = None, - space_id: Optional[pulumi.Input[str]] = None, - type: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if space_id is None and 'spaceId' in kwargs: - space_id = kwargs['spaceId'] - if description is not None: - _setter("description", description) + pulumi.set(__self__, "description", description) if labels is not None: - _setter("labels", labels) + pulumi.set(__self__, "labels", labels) if public is not None: - _setter("public", public) + pulumi.set(__self__, "public", public) if space_id is not None: - _setter("space_id", space_id) + pulumi.set(__self__, "space_id", space_id) if type is not None: - _setter("type", type) + pulumi.set(__self__, "type", type) @property @pulumi.getter @@ -287,10 +241,6 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: - kwargs = kwargs or {} - def _setter(key, value): - kwargs[key] = value - TerraformProviderArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_spacelift/user.py b/sdk/python/pulumi_spacelift/user.py index 7f08896..242d332 100644 --- a/sdk/python/pulumi_spacelift/user.py +++ b/sdk/python/pulumi_spacelift/user.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from . import _utilities from . import outputs from ._inputs import * @@ -24,32 +24,9 @@ def __init__(__self__, *, :param pulumi.Input[str] invitation_email: Email of the user. Used for sending an invitation. :param pulumi.Input[str] username: Username of the user """ - UserArgs._configure( - lambda key, value: pulumi.set(__self__, key, value), - invitation_email=invitation_email, - policies=policies, - username=username, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - invitation_email: Optional[pulumi.Input[str]] = None, - policies: Optional[pulumi.Input[Sequence[pulumi.Input['UserPolicyArgs']]]] = None, - username: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if invitation_email is None and 'invitationEmail' in kwargs: - invitation_email = kwargs['invitationEmail'] - if invitation_email is None: - raise TypeError("Missing 'invitation_email' argument") - if policies is None: - raise TypeError("Missing 'policies' argument") - if username is None: - raise TypeError("Missing 'username' argument") - - _setter("invitation_email", invitation_email) - _setter("policies", policies) - _setter("username", username) + pulumi.set(__self__, "invitation_email", invitation_email) + pulumi.set(__self__, "policies", policies) + pulumi.set(__self__, "username", username) @property @pulumi.getter(name="invitationEmail") @@ -96,29 +73,12 @@ def __init__(__self__, *, :param pulumi.Input[str] invitation_email: Email of the user. Used for sending an invitation. :param pulumi.Input[str] username: Username of the user """ - _UserState._configure( - lambda key, value: pulumi.set(__self__, key, value), - invitation_email=invitation_email, - policies=policies, - username=username, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - invitation_email: Optional[pulumi.Input[str]] = None, - policies: Optional[pulumi.Input[Sequence[pulumi.Input['UserPolicyArgs']]]] = None, - username: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if invitation_email is None and 'invitationEmail' in kwargs: - invitation_email = kwargs['invitationEmail'] - if invitation_email is not None: - _setter("invitation_email", invitation_email) + pulumi.set(__self__, "invitation_email", invitation_email) if policies is not None: - _setter("policies", policies) + pulumi.set(__self__, "policies", policies) if username is not None: - _setter("username", username) + pulumi.set(__self__, "username", username) @property @pulumi.getter(name="invitationEmail") @@ -190,10 +150,6 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: - kwargs = kwargs or {} - def _setter(key, value): - kwargs[key] = value - UserArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_spacelift/vcs_agent_pool.py b/sdk/python/pulumi_spacelift/vcs_agent_pool.py index d25505e..6a9aa09 100644 --- a/sdk/python/pulumi_spacelift/vcs_agent_pool.py +++ b/sdk/python/pulumi_spacelift/vcs_agent_pool.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['VcsAgentPoolArgs', 'VcsAgentPool'] @@ -21,23 +21,10 @@ def __init__(__self__, *, :param pulumi.Input[str] description: Free-form VCS agent pool description for users :param pulumi.Input[str] name: Name of the VCS agent pool, must be unique within an account """ - VcsAgentPoolArgs._configure( - lambda key, value: pulumi.set(__self__, key, value), - description=description, - name=name, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - description: Optional[pulumi.Input[str]] = None, - name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if description is not None: - _setter("description", description) + pulumi.set(__self__, "description", description) if name is not None: - _setter("name", name) + pulumi.set(__self__, "name", name) @property @pulumi.getter @@ -76,27 +63,12 @@ def __init__(__self__, *, :param pulumi.Input[str] description: Free-form VCS agent pool description for users :param pulumi.Input[str] name: Name of the VCS agent pool, must be unique within an account """ - _VcsAgentPoolState._configure( - lambda key, value: pulumi.set(__self__, key, value), - config=config, - description=description, - name=name, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - config: Optional[pulumi.Input[str]] = None, - description: Optional[pulumi.Input[str]] = None, - name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if config is not None: - _setter("config", config) + pulumi.set(__self__, "config", config) if description is not None: - _setter("description", description) + pulumi.set(__self__, "description", description) if name is not None: - _setter("name", name) + pulumi.set(__self__, "name", name) @property @pulumi.getter @@ -200,10 +172,6 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: - kwargs = kwargs or {} - def _setter(key, value): - kwargs[key] = value - VcsAgentPoolArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_spacelift/version.py b/sdk/python/pulumi_spacelift/version.py index 359374d..f5282e9 100644 --- a/sdk/python/pulumi_spacelift/version.py +++ b/sdk/python/pulumi_spacelift/version.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['VersionArgs', 'Version'] @@ -25,38 +25,13 @@ def __init__(__self__, *, :param pulumi.Input[Mapping[str, Any]] keepers: Arbitrary map of values that, when changed, will trigger recreation of the resource. :param pulumi.Input[str] version_number: A semantic version number to set for the triggered version, example: 0.11.2 """ - VersionArgs._configure( - lambda key, value: pulumi.set(__self__, key, value), - module_id=module_id, - commit_sha=commit_sha, - keepers=keepers, - version_number=version_number, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - module_id: Optional[pulumi.Input[str]] = None, - commit_sha: Optional[pulumi.Input[str]] = None, - keepers: Optional[pulumi.Input[Mapping[str, Any]]] = None, - version_number: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if module_id is None and 'moduleId' in kwargs: - module_id = kwargs['moduleId'] - if module_id is None: - raise TypeError("Missing 'module_id' argument") - if commit_sha is None and 'commitSha' in kwargs: - commit_sha = kwargs['commitSha'] - if version_number is None and 'versionNumber' in kwargs: - version_number = kwargs['versionNumber'] - - _setter("module_id", module_id) + pulumi.set(__self__, "module_id", module_id) if commit_sha is not None: - _setter("commit_sha", commit_sha) + pulumi.set(__self__, "commit_sha", commit_sha) if keepers is not None: - _setter("keepers", keepers) + pulumi.set(__self__, "keepers", keepers) if version_number is not None: - _setter("version_number", version_number) + pulumi.set(__self__, "version_number", version_number) @property @pulumi.getter(name="moduleId") @@ -121,37 +96,14 @@ def __init__(__self__, *, :param pulumi.Input[str] module_id: ID of the module on which the version creation is to be triggered. :param pulumi.Input[str] version_number: A semantic version number to set for the triggered version, example: 0.11.2 """ - _VersionState._configure( - lambda key, value: pulumi.set(__self__, key, value), - commit_sha=commit_sha, - keepers=keepers, - module_id=module_id, - version_number=version_number, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - commit_sha: Optional[pulumi.Input[str]] = None, - keepers: Optional[pulumi.Input[Mapping[str, Any]]] = None, - module_id: Optional[pulumi.Input[str]] = None, - version_number: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if commit_sha is None and 'commitSha' in kwargs: - commit_sha = kwargs['commitSha'] - if module_id is None and 'moduleId' in kwargs: - module_id = kwargs['moduleId'] - if version_number is None and 'versionNumber' in kwargs: - version_number = kwargs['versionNumber'] - if commit_sha is not None: - _setter("commit_sha", commit_sha) + pulumi.set(__self__, "commit_sha", commit_sha) if keepers is not None: - _setter("keepers", keepers) + pulumi.set(__self__, "keepers", keepers) if module_id is not None: - _setter("module_id", module_id) + pulumi.set(__self__, "module_id", module_id) if version_number is not None: - _setter("version_number", version_number) + pulumi.set(__self__, "version_number", version_number) @property @pulumi.getter(name="commitSha") @@ -241,10 +193,6 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: - kwargs = kwargs or {} - def _setter(key, value): - kwargs[key] = value - VersionArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_spacelift/webhook.py b/sdk/python/pulumi_spacelift/webhook.py index 436df9e..d7ae249 100644 --- a/sdk/python/pulumi_spacelift/webhook.py +++ b/sdk/python/pulumi_spacelift/webhook.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['WebhookArgs', 'Webhook'] @@ -27,40 +27,15 @@ def __init__(__self__, *, :param pulumi.Input[str] secret: secret used to sign each POST request so you're able to verify that the request comes from us. Defaults to an empty value. :param pulumi.Input[str] stack_id: ID of the stack which triggers the webhooks """ - WebhookArgs._configure( - lambda key, value: pulumi.set(__self__, key, value), - endpoint=endpoint, - enabled=enabled, - module_id=module_id, - secret=secret, - stack_id=stack_id, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - endpoint: Optional[pulumi.Input[str]] = None, - enabled: Optional[pulumi.Input[bool]] = None, - module_id: Optional[pulumi.Input[str]] = None, - secret: Optional[pulumi.Input[str]] = None, - stack_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if endpoint is None: - raise TypeError("Missing 'endpoint' argument") - if module_id is None and 'moduleId' in kwargs: - module_id = kwargs['moduleId'] - if stack_id is None and 'stackId' in kwargs: - stack_id = kwargs['stackId'] - - _setter("endpoint", endpoint) + pulumi.set(__self__, "endpoint", endpoint) if enabled is not None: - _setter("enabled", enabled) + pulumi.set(__self__, "enabled", enabled) if module_id is not None: - _setter("module_id", module_id) + pulumi.set(__self__, "module_id", module_id) if secret is not None: - _setter("secret", secret) + pulumi.set(__self__, "secret", secret) if stack_id is not None: - _setter("stack_id", stack_id) + pulumi.set(__self__, "stack_id", stack_id) @property @pulumi.getter @@ -139,39 +114,16 @@ def __init__(__self__, *, :param pulumi.Input[str] secret: secret used to sign each POST request so you're able to verify that the request comes from us. Defaults to an empty value. :param pulumi.Input[str] stack_id: ID of the stack which triggers the webhooks """ - _WebhookState._configure( - lambda key, value: pulumi.set(__self__, key, value), - enabled=enabled, - endpoint=endpoint, - module_id=module_id, - secret=secret, - stack_id=stack_id, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - enabled: Optional[pulumi.Input[bool]] = None, - endpoint: Optional[pulumi.Input[str]] = None, - module_id: Optional[pulumi.Input[str]] = None, - secret: Optional[pulumi.Input[str]] = None, - stack_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if module_id is None and 'moduleId' in kwargs: - module_id = kwargs['moduleId'] - if stack_id is None and 'stackId' in kwargs: - stack_id = kwargs['stackId'] - if enabled is not None: - _setter("enabled", enabled) + pulumi.set(__self__, "enabled", enabled) if endpoint is not None: - _setter("endpoint", endpoint) + pulumi.set(__self__, "endpoint", endpoint) if module_id is not None: - _setter("module_id", module_id) + pulumi.set(__self__, "module_id", module_id) if secret is not None: - _setter("secret", secret) + pulumi.set(__self__, "secret", secret) if stack_id is not None: - _setter("stack_id", stack_id) + pulumi.set(__self__, "stack_id", stack_id) @property @pulumi.getter @@ -309,10 +261,6 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: - kwargs = kwargs or {} - def _setter(key, value): - kwargs[key] = value - WebhookArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_spacelift/worker_pool.py b/sdk/python/pulumi_spacelift/worker_pool.py index 309d1b5..716c0a2 100644 --- a/sdk/python/pulumi_spacelift/worker_pool.py +++ b/sdk/python/pulumi_spacelift/worker_pool.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['WorkerPoolArgs', 'WorkerPool'] @@ -26,37 +26,16 @@ def __init__(__self__, *, :param pulumi.Input[str] name: name of the worker pool :param pulumi.Input[str] space_id: ID (slug) of the space the worker pool is in """ - WorkerPoolArgs._configure( - lambda key, value: pulumi.set(__self__, key, value), - csr=csr, - description=description, - labels=labels, - name=name, - space_id=space_id, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - csr: Optional[pulumi.Input[str]] = None, - description: Optional[pulumi.Input[str]] = None, - labels: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - name: Optional[pulumi.Input[str]] = None, - space_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if space_id is None and 'spaceId' in kwargs: - space_id = kwargs['spaceId'] - if csr is not None: - _setter("csr", csr) + pulumi.set(__self__, "csr", csr) if description is not None: - _setter("description", description) + pulumi.set(__self__, "description", description) if labels is not None: - _setter("labels", labels) + pulumi.set(__self__, "labels", labels) if name is not None: - _setter("name", name) + pulumi.set(__self__, "name", name) if space_id is not None: - _setter("space_id", space_id) + pulumi.set(__self__, "space_id", space_id) @property @pulumi.getter @@ -135,47 +114,20 @@ def __init__(__self__, *, :param pulumi.Input[str] private_key: private key in base64 :param pulumi.Input[str] space_id: ID (slug) of the space the worker pool is in """ - _WorkerPoolState._configure( - lambda key, value: pulumi.set(__self__, key, value), - config=config, - csr=csr, - description=description, - labels=labels, - name=name, - private_key=private_key, - space_id=space_id, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - config: Optional[pulumi.Input[str]] = None, - csr: Optional[pulumi.Input[str]] = None, - description: Optional[pulumi.Input[str]] = None, - labels: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - name: Optional[pulumi.Input[str]] = None, - private_key: Optional[pulumi.Input[str]] = None, - space_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions] = None, - **kwargs): - if private_key is None and 'privateKey' in kwargs: - private_key = kwargs['privateKey'] - if space_id is None and 'spaceId' in kwargs: - space_id = kwargs['spaceId'] - if config is not None: - _setter("config", config) + pulumi.set(__self__, "config", config) if csr is not None: - _setter("csr", csr) + pulumi.set(__self__, "csr", csr) if description is not None: - _setter("description", description) + pulumi.set(__self__, "description", description) if labels is not None: - _setter("labels", labels) + pulumi.set(__self__, "labels", labels) if name is not None: - _setter("name", name) + pulumi.set(__self__, "name", name) if private_key is not None: - _setter("private_key", private_key) + pulumi.set(__self__, "private_key", private_key) if space_id is not None: - _setter("space_id", space_id) + pulumi.set(__self__, "space_id", space_id) @property @pulumi.getter @@ -335,10 +287,6 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: - kwargs = kwargs or {} - def _setter(key, value): - kwargs[key] = value - WorkerPoolArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/setup.py b/sdk/python/setup.py index 7421548..47d7ffc 100644 --- a/sdk/python/setup.py +++ b/sdk/python/setup.py @@ -3,12 +3,13 @@ # *** Do not edit by hand unless you're certain you know what you are doing! *** import errno +import os from setuptools import setup, find_packages from setuptools.command.install import install from subprocess import check_call -VERSION = "0.0.0" +VERSION = os.getenv("PULUMI_PYTHON_VERSION", "0.0.0") def readme(): try: with open('README.md', encoding='utf-8') as f: @@ -18,7 +19,7 @@ def readme(): setup(name='pulumi_spacelift', - python_requires='>=3.7', + python_requires='>=3.8', version=VERSION, description="A Pulumi package for creating and managing Spacelift resources.", long_description=readme(),