pulumi

Pulumi - Infrastructure as Code in any programming language 🚀

APACHE-2.0 License

Downloads
4.6M
Stars
21.5K
Committers
278

Bot releases are visible (Hide)

pulumi - v3.39.4

Published by pulumi-bot about 2 years ago

3.39.4 (2022-09-14)

Improvements

  • [provider/go]: Added support for token authentication in the go providers which use git.
    #10628

  • [codegen/go] Chunk the pulumiTypes.go file to reduce max file size.
    #10666

Bug Fixes

  • Fix invalid resource type on pulumi convert to Go
    #10670

  • [auto/nodejs] onOutput is now called incrementally as the
    underyling Pulumi process produces data, instead of being called
    once at the end of the process execution. This restores behavior
    that regressed since 3.39.0.
    #10678

Miscellaneous

  • [ci] Migrate to merge queues for more reliable builds
    #10644
pulumi - v3.39.3

Published by pulumi-bot about 2 years ago

Improvements

  • [sdk/python] Improve error message when pulumi-python cannot find a main program.
    #10617

  • [cli] provide info message to user if a pulumi program contains no resources
    #10461

Bug Fixes

  • [engine/plugins]: Revert change causing third party provider packages to prevent deployment commands (up, preview, ...)
    when used with the nodejs runtime. Reverts #10530.
    #10650

New Contributors

Full Changelog: https://github.com/pulumi/pulumi/compare/v3.39.2...v3.39.3

pulumi - v3.39.2

Published by pulumi-bot about 2 years ago

Improvements

  • [sdk/go] Pulumi Go programs, on failure, now log a single error message.
    #10347

  • [sdk/nodejs] Updated the vendored version of TypeScript in the NodeJS SDK and runtime from v3.7.3 to v3.8.3
    #10618

Bug Fixes

  • [sdk/nodejs] Calls onOutput in runPulumiCmd
    #10631
pulumi - v3.39.1

Published by pulumi-bot about 2 years ago

Improvements

  • [cli] Display outputs last in diff view.
    #10535

  • [sdk/python] Dropped support for Python 3.6.
    #10529

  • [codegen/nodejs] Support lazy-loading Node modules.
    #10538

  • [cli/backend] Gzip compress HTTPS payloads for pulumi import and secret decryption against
    the Pulumi Service backend.
    #10558

Bug Fixes

  • [cli] Fix the "no Pulumi.yaml project file found" error message.
    #10592

  • [cli/refresh] Do not panic when snapshot is nil.
    #10593

  • [sdk/{python,nodejs}] Fix the use of getOrganization in policy packs.
    #10574

pulumi - v3.39.0

Published by pulumi-bot about 2 years ago

Improvements

  • [yaml] Updates Pulumi YAML to v0.5.5

  • [cli] Allow pulumi refresh to interactively resolve pending creates.
    #10394

  • [cli] Clarify highlighting of confirmation text in confirmPrompt.
    #10413

  • [provider/python]: Improved exception display. The traceback is now shorter and it always starts with user code.
    #10336

  • [sdk/python] Update PyYAML to 6.0

  • [cli/watch] pulumi watch now uses relies on a program built on watchexec
    to implement recursive file watching, improving performance and cross-platform compatibility.
    This pulumi-watch program is now included in releases.
    #10213

  • [codegen] Reduce time to execute pulumi convert and some YAML programs, depending on providers used, by up to 3 seconds.
    #10444

  • [dotnet/sdk] Implement Deployment.TestAsync overloads which accept functions that create resources without requiring a stack definition.
    #10458

  • [sdk/nodejs] Added stack truncation to SyntaxError in nodejs.
    #10465

  • [sdk/python] Makes global SETTINGS values context-aware to not leak state between Pulumi programs running in parallel
    #10402

  • [sdk/python] Makes global ROOT, CONFIG, _SECRET_KEYS ContextVars to not leak state between parallel inline Pulumi programs
    #10472

  • [sdk/go] Improve error messages for StackReferences
    #10477

  • [sdk/dotnet] Added Output.CreateSecret<T>(Output<T> value) to set the secret bit on an output value.
    #10467

  • [policy] pulumi policy publish now takes into account .gitignore files higher in the file tree.
    #10493

  • [sdk/go] enable direct compilation via go build(set PULUMI_GO_USE_RUN=true to opt out)
    #10375

  • [cli/backend] Updates no longer immediately renew the token but wait
    until the token is halfway through its expiration period. Currently
    it is assumed tokens expire in 5 minutes, so with this change the
    first lease renewal now happens approximately 2.5 minutes after the
    start of the update. The change optimizes startup latency for Pulumi
    CLI. #10462

  • [cli/plugin] plugin install now supports a --checksum option.
    #10528

  • [sdk/{nodejs/python}] Added getOrganization() to return the current organization if available.
    #10504

Bug Fixes

  • [codegen/go] Fix StackReference codegen.
    [#10260](https://github.com/pulumi/pulumi/pull/10260

  • [engine/backends]: Fix bug where File state backend failed to apply validation to stack names, resulting in a panic.
    #10417

  • [cli] Fix VCS detection for domains other than .com and .org.
    #10415

  • [codegen/go] Fix incorrect method call for reading floating point values from configuration.
    #10445

  • [engine]: HTML characters are no longer escaped in JSON output.
    #10440

  • [codegen/go] Ensure consistency between go docs information and package name
    #10452

  • [auto/go] Clone non-default branches (and tags).
    #10285

  • [cli] Fixes survey.v1 panics in Terminal UI introduced in
    #10130 in v3.38.0.
    #10475

  • [codegen/ts] Fix non-pulumi owned provider import alias.
    #10447

  • [codegen/go] Fix import path for non-pulumi owner providers
    #10485

  • [cli] Fixes panics on repeat Ctrl+C invocation during long-running updates
    #10489

  • [cli] Improve Windows reliability with dependency update to ssh-agent
    #10486

  • [sdk/{dotnet,nodejs,python}] Dynamic providers and automation API will not trigger a firewall
    permission prompt, will only accept network requests via loopback address.
    #10498
    #10502
    #10503

  • [cli] Fix pulumi console command to follow documented behavior in help message/docs.
    #10509

  • [sdk/nodejs] Fixes an issue which would occur when multiple processes were spawned and some would receive no stdout/stderr
    10522

  • [engine] Plugin resolution now automatically installs any missing plugins as they are encountered.
    #10530

  • [python] put python version check after installing dependencies to resolve fork/exec warning
    #10524

  • [go/codegen] Fix generating invalid Go code when derivatives of input types collide with existing resource types
    #10551

pulumi - v3.38.0

Published by pulumi-bot about 2 years ago

3.38.0 (2022-08-16)

Improvements

  • [cli] Updated to the latest version of go-git.
    #10330

  • [sdk] Merge python error message and traceback into single error message.
    #10348

  • [sdk/python] Support optional default parameters in pulumi.Config
    #10344

  • [sdk/nodejs] Adds warning message when entrypoint resolution is ambiguous
    #3582

  • [automation] Add options for Automation API in each SDK to control logging and tracing, allowing
    automation API to run with the equivalent of CLI arguments --logflow, --verbose,
    --logtostderr, --tracing and --debug
    #10338

  • [yaml] Updates Pulumi YAML to v0.5.4

  • [java] Updates Pulumi Java to v0.5.4

  • [cli] pulumi about now queries language plugins for information, rather than having hardcoded language logic.
    #10392

  • [sdk/python] Deprecate PULUMI_TEST_MODE
    #10400

Bug Fixes

  • [cli] Paginate template options
    #10130

  • [sdk/dotnet] Fix serialization of non-generic list types.
    #10277

  • [codegen/nodejs] Correctly reference external enums.
    #10286

  • [sdk/python] Support deeply nested protobuf objects.
    #10284

  • Revert Remove api/renewLease from startup crit path to fix #10293.
    #10294

  • [codegen/go] Remove superfluous double forward slash from doc.go
    #10317

  • [codegen/go] Add an external package cache option to GenerateProgramOptions.
    #10340

  • [cli/plugins] Don't retry plugin downloads that failed due to local file errors.
    #10341

  • [dotnet] Set environment exit code during Deployment.RunAsync in case users don't bubble it the program entry point themselves
    #10217

  • [cli/display] Fix a panic in the color logic.
    [#10354](https://github.com/pulumi/pulumi/pull/10354

pulumi - v3.37.2

Published by pulumi-bot about 2 years ago

Improvements

Bug Fixes

pulumi - v3.37.1

Published by pulumi-bot about 2 years ago

Improvements

  • [cli] Groups pulumi help commands by category
    #10170
  • [sdk/nodejs] Removed stack trace output for Typescript compilation errors
    #10259

Bug Fixes

  • [cli] Fix installation failures on Windows due to release artifacts shipped omitting a folder, pulumi/*.exe instead
    of pulumi/bin/*.exe.
    #10264
pulumi - v3.37.0

Published by pulumi-bot about 2 years ago

Breaking

  • [engine] Engine now always encrypts secret return values in Invoke.
    May break Language SDKs<3.0.0
    #10239

Improvements

  • [auto/go] Adds the ability to capture incremental stderr
    via the new option ErrorProgressStreams.
    #10179

  • [cli/plugins] Warn that using GITHUB_REPOSITORY_OWNER is deprecated.
    #10142

  • [dotnet/codegen] code generation for csharp Pulumi programs now targets .NET 6
    #10143

  • [cli] Allow pulumi plugin install <type> <pkg> -f <path> to target a binary
    file or a folder.
    #10094

  • [cli/config] Allow pulumi config cp --path between objects.
    #10147

  • [codegen/schema] Support stack reference as a resource
    #10174

  • [backends] When logging in to a file backend, validate that the bucket is accessible.
    #10012

  • [cli] Add flag to specify whether to install dependencies on pulumi convert.
    #10198

  • [cli] Expose gen-completion command when running pulumi --help.
    #10218

  • [sdk/go] Expose context.Context from pulumi.Context.
    #10190

  • [cli/plugins] Add local plugin linkage in Pulumi.yaml.
    #10146

  • [engine] Remove sequence numbers from the engine and provider interfaces.
    #10203

  • [engine] The engine will retry plugin downloads that error.
    #10248

Bug Fixes

  • [cli] Only log github request headers at log level 11.
    #10140

  • [sdk/go] config.Encrypter and config.Decrypter interfaces now
    require explicit Context. This is a minor breaking change to the
    SDK. The change fixes parenting of opentracing spans that decorate
    calls to the Pulumi Service crypter.

    #10037

  • [codegen/go] Support program generation, pulumi convert for programs that create explicit
    provider resources.
    #10132

  • [sdk/go] Remove the AsName and AsQName asserting functions.
    #10156

  • [python] PULUMI_PYTHON_CMD is checked for deciding what python binary to use in a virtual environment.
    #10155

  • [cli] Reduced the noisiness of pulumi new --help by replacing the list of available templates to just the number.
    #10164

  • [cli] Revert "Add last status to pulumi stack ls output #10059"
    #10221

  • [python] Fix overriding of PATH on Windows.
    #10236

  • [dotnet/codgen] Allow specified root namespace to be suffixed with "Pulumi" when generating packages
    #10245

  • [dotnet/sdk] Serialize immutable arrays initialized by default.
    #10247

  • [dotnet/codegen] Override static Empty property to return concrete argument types
    #10250

pulumi - v3.36.0

Published by pulumi-bot over 2 years ago

Improvements

  • [cli] Display outputs during the very first preview.
    #10031

  • [cli] Add Last Status to pulumi stack ls output.
    #6148

  • [cli] Allow pulumi destroy -s <stack> if not in a Pulumi project dir
    #9918

  • [protobuf] Pulumi protobuf messages are now namespaced under "pulumi".
    #10074

  • [cli] Truncate long stack outputs
    #9905

  • [sdk/go] Add As*Output methods to AnyOutput
    #10085

  • [yaml] Updates Pulumi YAML to v0.5.3

  • [sdk/go] Accept a short branch name in GitRepo.Branch
    #10118

Bug Fixes

  • [cli] pulumi convert help text is wrong
    #9892

  • [go/codegen] fix error assignment when creating a new resource in generated go code
    #10049

  • [cli] pulumi convert generates incorrect input parameter names for C#
    #10042

  • [engine] Un-parent child resource when a resource is deleted during a refresh.
    #10073

  • [cli] pulumi state change-secrets-provider now takes --stack into account
    #10075

  • [nodejs/sdkgen] Default set pulumi.name in package.json to the pulumi package name.
    #10088

  • [sdk/python] update protobuf library to v4 which speeds up pulumi CLI dramatically on M1 machines
    #10063

  • [go] Fix panic when returning pulumi.Bool, .String, .Int, and .Float64 in the argument to
    ApplyT and casting the result to the corresponding output, e.g.: BoolOutput.
    #10103

  • [engine] Fix data races discovered in CLI and Go SDK that could cause nondeterministic behavior
    or a panic.
    #10081,
    #10100

pulumi - v3.35.3

Published by pulumi-bot over 2 years ago

Improvements

  • [plugins] Plugin download urls now support GitHub as a first class url schema. For example "github://api.github.com/pulumiverse".
    #9984

  • [nodejs] No longer roundtrips requests for the stack URN via the engine.
    #9680

Bug Fixes

  • [cli] pulumi convert supports provider packages without a version.
    #9976

  • [cli] Revert changes to how --target works. This means that non-targeted resources do need enough valid inputs to pass Check.
    #10024

pulumi - v3.35.2

Published by pulumi-bot over 2 years ago

Improvements

  • [sdk/go] Added PreviewDigest for third party tools to be able to ingest the preview json
    #9886

  • [cli] Do not require the --yes option if the --skip-preview option is set.
    #9972

  • [yaml] Updates Pulumi YAML to v0.5.2,
    containing bug fixes and improvements primarily for pulumi convert from YAML.
    #9993

Bug Fixes

  • [engine] Filter out non-targeted resources much earlier in the engine cycle.
    #9960

  • [cli] Fix a panic in pulumi plugin ls --project --json.
    #9998

  • [engine] Revert support for aliases in the engine.
    #9999

pulumi - v3.35.1

Published by pulumi-bot over 2 years ago

Improvements

  • [cli] The engine will now warn when a resource option is applied to a Component resource when that option will have no effect. This extends #9863 which only warns for the ignoreChanges resource options.
    #9921

  • [auto/*] Add a option to control the --show-secrets flag in the automation API.
    #9879

Bug Fixes

  • [auto/go] Fix passing of the color option.
    #9940

  • [engine] Fix panic from unexpected resource name formats.
    #9950

pulumi - v3.35.0

Published by pulumi-bot over 2 years ago

Improvements

  • [auto/*] Add --policy-pack and --policy-pack-configs options to automation API.
    #9872

  • [cli] The engine now produces a warning when the 'ignoreChanges' option is applied to a Component resource.
    #9863

  • [sdk/python] Changed Output[T].__str__() to return an informative message rather than "<pulumi.output.Output object at 0x012345ABCDEF>".
    #9848

  • [cli] The engine will now default resource parent to the root stack if it exists.
    #9481

  • [engine] Reduce memory usage in convert and yaml programs by caching of package schemas.
    #9684

  • [sdk/go] Added NewUniqueName for providers to use for generating autonames.
    #9852

  • [engine] The engine now understands alias objects which it can resolve to URNs, requiring less logic in SDKs.
    #9731

  • [sdk/dotnet] The dotnet SDK will now send alias objects rather than URNs to the engine.
    #9731

  • [cli] Add java to pulumi convert
    #9917

Bug Fixes

  • [sdk/go] Handle nils in mapper encoding.
    #9810

  • [engine] Explicit providers use the same plugin as default providers unless otherwise requested.
    #9708

  • [sdk/go] Correctly parse nested git projects in GitLab.
    #9354

  • [sdk/go] Mark StackReference keys that don't exist as unknown. Error when converting unknown keys to strings.
    #9855

  • [sdk/go] Precisely mark values obtained via stack reference Get...Output(key) methods as secret or not.
    #9842

  • [codegen/go] Import external Enum types as external.
    #9920

  • [codegen/go] Correctly generate nested Input and Ouput collection types.
    #9887

  • [engine] Revert the additional secret outputs warning until the engine can understand optional outputs.
    #9922

pulumi - v3.34.1

Published by pulumi-bot over 2 years ago

Improvements

  • [cli/python] Respond to SIGINT when installing plugins.
    #9793

  • [codegen/go] Always chose the correct version when respectSchemaVersion is set.
    #9798

Bug Fixes

  • [sdk/python] Better explain the keyword arguments to create(etc)_stack.
    #9794

  • [cli] Revert changes causing a panic in pulumi destroy that tried to operate without config files.
    #9821

  • [cli] Revert to statically linked binaries on Windows and Linux,
    fixing a regression introduced in 3.34.0
    #9816

  • [codegen/python] ResourceOptions are no longer mutated by resources.
    #9802

pulumi - v3.34.0

Published by pulumi-bot over 2 years ago

Improvements

  • [codegen/go] Handle long and complicated traversals in a nicer way.
    #9726

  • [cli] Allow pulumi destroy -s <stack> if not in a Pulumi project dir
    #9613

  • [cli] Plugins will now shut themselves down if they can't contact the engine that started them.
    #9735

  • [cli/engine] The engine will emit a warning of a key given in additional secret outputs doesn't match any of the property keys on the resources.
    #9750

  • [sdk/go] Add CompositeInvoke function, like Composite but for InvokeOption.
    #9752

  • [cli] The gcpkms:// now supports the same credentials resolution mechanism as the state store, including the GOOGLE_CREDENTIALS.`
    #6379

Bug Fixes

  • [sdk/nodejs] Fix a crash due to dependency cycles from component resources.
    #9683

  • [cli/about] Make pulumi about aware of the YAML and Java runtimes.
    #9745

  • [cli/engine] Fix a panic deserializing resource plans without goals.
    #9749

  • [cli/engine] Provide a sorting for plugins of equivalent version.
    #9761

  • [cli/backend] Fix degraded performance in filestate backend
    #9777
    #9796

  • [engine] Engine correctly the number of bytes written to a TAR archive is what was expected.
    #9792

pulumi - v3.33.2

Published by pulumi-bot over 2 years ago

Improvements

  • [cli] pulumi logout now prints a confirmation message that it logged out.
    #9641

  • [cli/backend] Add gzip compression to filestate backend. Compression can be enabled via PULUMI_SELF_MANAGED_STATE_GZIP=true. Special thanks to @awoimbee for the initial PR.
    #9610

  • [sdk/nodejs] Lazy load inflight context to remove module import side-effect.
    #9375

Bug Fixes

  • [sdk/python] Fix spurious diffs causing an "update" on resources created by dynamic providers.
    #9656

  • [sdk/python] Do not depend on the children of remote component resources.
    #9665

  • [codegen/nodejs] Emit the "package.json".pulumi.server as "server" correctly. Previously, "pluginDownloadURL" was emitted but never read.
    #9662

  • [cli] Fix panic in pulumi console when no stack is selected.
    #9594

  • [cli] Engine now correctly tracks that resource reads have unique URNs.
    #9516

  • [sdk/python] Fixed bug in automation API that invoked Pulumi with malformed arguments.
    #9607

  • [cli/backend] Fix a panic in the filestate backend when renaming history files.
    #9673

  • [sdk/python] Pin protobuf library to <4.
    #9696

  • [sdk/proto] Inline dockerfile used to generate protobuf code.
    #9700

pulumi - v3.33.1

Published by pulumi-bot over 2 years ago

Improvements

  • [cli] Add --stack to pulumi about.
    #9518

  • [sdk/dotnet] Bumped several dependency versions to avoid pulling packages with known vulnerabilities.
    #9591

  • [cli] Updated gocloud.dev to 0.24.0, which adds support for using AWS SDK v2. It enables users to pass an AWS profile to the awskms secrets provider url (i.e. awskms://alias/pulumi?awssdk=v2&region=eu-west-1&profile=aws-prod)
    #9590

  • [sdk/nodejs] Lazy load V8 inspector session to remove module import side-effect #9375

Bug Fixes

  • [cli] The PULUMI_CONFIG_PASSPHRASE environment variables can be empty, this is treated different to being unset.
    #9568

  • [codegen/python] Fix importing of enum types from other packages.
    #9579

  • [cli] Fix panic in pulumi console when no stack is selected.
    #9594

  • [auto/python] - Fix text color argument being ignored during stack operations.
    #9615

pulumi - v3.33.0

Published by github-actions[bot] over 2 years ago

Replaced by 3.33.1 during release process.

pulumi - v3.32.1

Published by pulumi-bot over 2 years ago

Improvements

  • [cli/plugins] The engine will try to lookup the latest version of plugins if the program doesn't specify a version to use.
    #9537

Bug Fixes

  • [cli] Fix an issue using PULUMI_CONFIG_PASSPHRASE_FILE.
    #9540

  • [cli/display] Avoid an assert in the table display logic.
    #9543