-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove explicit SDK dependencies for python and JS
- Loading branch information
1 parent
1886199
commit d1aac1f
Showing
2 changed files
with
83 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
@@ | ||
// JS: Remove explicit SDK dependency | ||
var tfbridge identifier | ||
@@ | ||
import tfbridge "github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfbridge" | ||
|
||
tfbridge.JavaScriptInfo{ | ||
..., | ||
Dependencies: map[string]string{ | ||
..., | ||
- "@pulumi/pulumi": "^3.0.0", | ||
..., | ||
}, | ||
..., | ||
} | ||
|
||
@@ | ||
// JS: Remove empty Dependencies | ||
var tfbridge identifier | ||
@@ | ||
import tfbridge "github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfbridge" | ||
|
||
tfbridge.JavaScriptInfo{ | ||
..., | ||
- Dependencies: map[string]string{}, | ||
..., | ||
} | ||
|
||
@@ | ||
// Py: Remove explicit SDK dependency | ||
var tfbridge identifier | ||
@@ | ||
import tfbridge "github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfbridge" | ||
|
||
tfbridge.PythonInfo{ | ||
..., | ||
Requires: map[string]string{ | ||
..., | ||
- "pulumi": ">=3.0.0,<4.0.0", | ||
..., | ||
}, | ||
..., | ||
} | ||
|
||
@@ | ||
// Py: Remove empty Requires | ||
var tfbridge identifier | ||
@@ | ||
import tfbridge "github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfbridge" | ||
|
||
tfbridge.PythonInfo{ | ||
..., | ||
- Requires: map[string]string{}, | ||
..., | ||
} |