pulumi / pulumi-terraform-bridge

A library allowing Terraform providers to be bridged into Pulumi.
Apache License 2.0
194 stars 43 forks source link

Add an edit rule: "Made by <elided>" to "Made by Pulumi" #2074

Closed iwahbe closed 3 months ago

iwahbe commented 3 months ago

This applies to resources like https://www.pulumi.com/registry/packages/scm/api-docs/addressobject/. Currently, the example shows:

import * as pulumi from "@pulumi/pulumi";
import * as scm from "@pulumi/scm";

const example = new scm.AddressObject("example", {
    folder: "Shared",
    name: "example",
    description: "Made by Terraform",
    ipNetmask: "10.2.3.4",
});

It will now show:

import * as pulumi from "@pulumi/pulumi";
import * as scm from "@pulumi/scm";

const example = new scm.AddressObject("example", {
    folder: "Shared",
    name: "example",
    description: "Made by Pulumi",
    ipNetmask: "10.2.3.4",
});
codecov[bot] commented 3 months ago

Codecov Report

Attention: Patch coverage is 88.40580% with 8 lines in your changes missing coverage. Please review.

Project coverage is 61.20%. Comparing base (f5a6151) to head (ae2cbfb).

Files Patch % Lines
pkg/tfgen/edit_rules.go 88.40% 5 Missing and 3 partials :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #2074 +/- ## ======================================= Coverage 61.19% 61.20% ======================================= Files 339 340 +1 Lines 45130 45133 +3 ======================================= + Hits 27617 27623 +6 + Misses 15992 15990 -2 + Partials 1521 1520 -1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.