Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A few fixes for pulumi logs #13588

Merged
merged 8 commits into from
Jul 27, 2023
Merged

A few fixes for pulumi logs #13588

merged 8 commits into from
Jul 27, 2023

Conversation

lukehoban
Copy link
Member

While many of the most fundamental limitations of pulumi logs are still dependent on moving this code out of pulumi/pulumi and into pulumi/pulumi-aws and other resource providers (#608), this PR implements a few more tactical fixes which improve some common scenarios.

Unfortunately, this whole area of the code is largely untested, in part because we didn't want to add a dependency on AWS in this layer (yet another reason we really want to do #608). We could choose to further violate this layering and add tests here that use pulumi-aws to deploy Pulumi resources and then test them against this AWS operations provider.

In the meantime, I have manually validated fixes for the following issues.

Fixes #2665.
Fixes #1926.
Fixes #3947.
Fixes #1828.

While many of the most fundamental limitations of `pulumi logs` are still dependent on moving this code out of pulumi/pulumi and into pulumi-aws and other resource providers (#608), this PR implements a few more tactical fixes which improve some common scenarios.

Fixes #2665.
Fixes #1926.
Fixes #3947.
For AWS resources, use the resource's provider's outputs instead of stack config to construct the AWS session.
@lukehoban lukehoban requested a review from justinvp July 26, 2023 05:58
@pulumi-bot
Copy link
Contributor

pulumi-bot commented Jul 26, 2023

Changelog

[uncommitted] (2023-07-27)

Bug Fixes

  • [cli] Several fixes for pulumi logs including support for first-class providers, support for ambient credentials and improved error reporting.
    #13588

pkg/operations/operations_aws.go Show resolved Hide resolved
pkg/operations/operations_aws.go Outdated Show resolved Hide resolved
@lukehoban lukehoban requested a review from Frassle July 27, 2023 03:45
Co-authored-by: Fraser Waters <fraser@pulumi.com>
@lukehoban
Copy link
Member Author

bors merge

@bors
Copy link
Contributor

bors bot commented Jul 27, 2023

Build succeeded!

The publicly hosted instance of bors-ng is deprecated and will go away soon.

If you want to self-host your own instance, instructions are here.
For more help, visit the forum.

If you want to switch to GitHub's built-in merge queue, visit their help page.

@bors bors bot merged commit 57411d7 into master Jul 27, 2023
52 checks passed
@bors bors bot deleted the lukehoban/logsfixes branch July 27, 2023 17:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants