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

Allow ID to be dynamic #563

Merged
merged 2 commits into from
Apr 11, 2024
Merged

Allow ID to be dynamic #563

merged 2 commits into from
Apr 11, 2024

Conversation

iwahbe
Copy link
Member

@iwahbe iwahbe commented Apr 3, 2024

Teach Pulumi YAML how to handle dynamic get.id values.

My goal is to enable fixing pulumi/pulumi-cloudflare#709 by adding a Pulumi YAML check, since we are standardizing on writing test programs in YAML when possible.

Fixes #562

@iwahbe iwahbe requested review from Frassle and a team April 3, 2024 23:36
@iwahbe iwahbe self-assigned this Apr 3, 2024
My goal is to enable fixing pulumi/pulumi-cloudflare#709 by
adding a Pulumi YAML check, since we are standardizing on writing test programs in YAML
when possible.

Fixes #562
@iwahbe iwahbe force-pushed the iwahbe/allow-dynamic-id-choice branch from 296a381 to dec0201 Compare April 3, 2024 23:37
iwahbe added a commit to pulumi/pulumi-cloudflare that referenced this pull request Apr 4, 2024
Fixes #709

This is a TS test because it cannot currently be expressed in YAML
(pulumi/pulumi-yaml#562).

When a version of Pulumi YAML releases with
pulumi/pulumi-yaml#563, we can rewrite the test
in YAML and incorporate it in our upgrade framework, making it _just
another test_ like those in
#719.
@iwahbe iwahbe merged commit 9f78335 into main Apr 11, 2024
5 checks passed
@iwahbe iwahbe deleted the iwahbe/allow-dynamic-id-choice branch April 11, 2024 09:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make Resource get.id dynamic
3 participants