-
Notifications
You must be signed in to change notification settings - Fork 14
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
Followup regression test for https://github.com/pulumi/pulumi-cloudflare/issues/554 #709
Labels
Comments
This Pulumi program reproduces the panic: import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const zone = cloudflare.getZoneOutput({
accountId: new pulumi.Config().require("cloudflare-account-id"),
name: "pulumi-cloudflare-demo.com",
})
const ruleset = new cloudflare.Ruleset("domain-rate-limit", {
name: "domain-rate-limit",
kind: "zone",
zoneId: zone.zoneId,
phase: "http_request_transform",
rules: [{
action: "rewrite",
actionParameters: {
uri: {
path: {
value: "/my-new-route"
}
}
},
expression: "(http.host eq \"example.com\" and http.request.uri.path eq \"/old-path\")",
description: "example URI path transform rule",
enabled: true,
}],
});
export const importName = pulumi.interpolate`zone/${zone.id}/${ruleset.id}`;
cloudflare.Ruleset.get("imported", importName); |
iwahbe
added a commit
to pulumi/pulumi-yaml
that referenced
this issue
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
added a commit
to pulumi/pulumi-yaml
that referenced
this issue
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
added a commit
that referenced
this issue
Apr 4, 2024
iwahbe
added a commit
that referenced
this issue
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.
Cannot close issue:
Please fix these problems and try again. |
iwahbe
added a commit
to pulumi/pulumi-yaml
that referenced
this issue
Apr 11, 2024
* Allow ID to be dynamic 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 * Update CHANGELOG_PENDING.md
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
#554
The text was updated successfully, but these errors were encountered: