Skip to content

Commit

Permalink
fix: invocation of getEngineVersion returns an error (#4047)
Browse files Browse the repository at this point in the history
A patch was introduced via #3757 due to [a bug in

pulumi-terraform-bridge](pulumi/pulumi-terraform-bridge#1809).

The underlying bridge issue has now been fixed so I am removing the
patch and restoring the original terraform behavior.

fixes #4043
  • Loading branch information
corymhall authored Jun 11, 2024
1 parent f9d0b01 commit b1eae8a
Show file tree
Hide file tree
Showing 18 changed files with 11 additions and 83 deletions.
2 changes: 1 addition & 1 deletion examples/examples_nodejs_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -660,7 +660,7 @@ func TestRdsGetEngineVersion(t *testing.T) {
require.NoError(t, err)

engineVersion := res.Outputs["vs"]
require.NotEmpty(t, engineVersion.Value)
require.Equal(t, engineVersion.Value, "15.2")
}

// Checks static get function for ssm.parameter that was broken for versioned IDs.
Expand Down
11 changes: 10 additions & 1 deletion examples/rds-getengineversion/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
import * as aws from "@pulumi/aws";

export const vs = aws.rds.getEngineVersionOutput({engine: "postgres"});
const output = aws.rds.getEngineVersionOutput({
engine: "aurora-postgresql",
version: "15.2",
filters: [{
name: "engine-mode",
values: ["provisioned"],
}],
});

export const vs = output.version;

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit b1eae8a

Please sign in to comment.