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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to test CustomResourceOptions #137

Open
Gadam8 opened this issue Apr 27, 2023 · 1 comment
Open

Add ability to test CustomResourceOptions #137

Gadam8 opened this issue Apr 27, 2023 · 1 comment
Labels
impact/accessibility Something that is difficult or impossible for some people to use kind/enhancement Improvements or new features

Comments

@Gadam8
Copy link

Gadam8 commented Apr 27, 2023

Hello!

  • Vote on this issue by adding a 馃憤 reaction
  • If you want to implement this feature, comment to let us know (we'll work with you on design, scheduling, etc.)

Issue details

Currently when running TestWithServiceProviderAsync it isn't possible to test the CustomResourceOptions of a provisioned resource. You can only access the properties of the resource object itself. It would be great to be able to test the Protected value of a resource as well as any AdditionalSecretOutputs.

We have cases where protection of a resource is contingent on a piece of logic, this would be great to add to our unit testing.

Affected area/feature

Pulumi dotnet

@Gadam8 Gadam8 added kind/enhancement Improvements or new features needs-triage Needs attention from the triage team labels Apr 27, 2023
@Gadam8
Copy link
Author

Gadam8 commented Apr 27, 2023

I'm more than happy to implement this feature myself, I may just need steering in the right direction etc.

@abhinav abhinav added impact/accessibility Something that is difficult or impossible for some people to use and removed needs-triage Needs attention from the triage team labels Apr 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
impact/accessibility Something that is difficult or impossible for some people to use kind/enhancement Improvements or new features
Projects
None yet
Development

No branches or pull requests

2 participants