Skip to content

Commit

Permalink
[internal] Update GitHub Actions workflow files
Browse files Browse the repository at this point in the history
  • Loading branch information
pulumi-bot committed Oct 2, 2024
1 parent 16b997e commit f9695c7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 16 deletions.
6 changes: 0 additions & 6 deletions provider/cmd/pulumi-resource-fastly/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,6 @@
"nodejs": {
"packageDescription": "A Pulumi package for creating and managing fastly cloud resources.. Based on terraform-provider-fastly: version v4",
"readme": "\u003e This provider is a derived work of the [Terraform Provider](https://github.com/fastly/terraform-provider-fastly)\n\u003e distributed under [MPL 2.0](https://www.mozilla.org/en-US/MPL/2.0/). If you encounter a bug or missing feature,\n\u003e first check the [`pulumi-fastly` repo](https://github.com/pulumi/pulumi-fastly/issues); however, if that doesn't turn up anything,\n\u003e please consult the source [`terraform-provider-fastly` repo](https://github.com/fastly/terraform-provider-fastly/issues).",
"dependencies": {
"@pulumi/pulumi": "^3.0.0"
},
"devDependencies": {
"@types/mime": "^2.0.0",
"@types/node": "^10.0.0"
Expand All @@ -44,9 +41,6 @@
"respectSchemaVersion": true
},
"python": {
"requires": {
"pulumi": "\u003e=3.0.0,\u003c4.0.0"
},
"readme": "\u003e This provider is a derived work of the [Terraform Provider](https://github.com/fastly/terraform-provider-fastly)\n\u003e distributed under [MPL 2.0](https://www.mozilla.org/en-US/MPL/2.0/). If you encounter a bug or missing feature,\n\u003e first check the [`pulumi-fastly` repo](https://github.com/pulumi/pulumi-fastly/issues); however, if that doesn't turn up anything,\n\u003e please consult the source [`terraform-provider-fastly` repo](https://github.com/fastly/terraform-provider-fastly/issues).",
"compatibility": "tfbridge20",
"respectSchemaVersion": true,
Expand Down
16 changes: 7 additions & 9 deletions provider/resources.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,7 @@ func Provider() tfbridge.ProviderInfo {
},
JavaScript: &tfbridge.JavaScriptInfo{
// List any npm dependencies and their versions
Dependencies: map[string]string{
"@pulumi/pulumi": "^3.0.0",
},

DevDependencies: map[string]string{
"@types/node": "^10.0.0", // so we can access strongly typed node definitions.
"@types/mime": "^2.0.0",
Expand All @@ -121,9 +119,6 @@ func Provider() tfbridge.ProviderInfo {
Python: (func() *tfbridge.PythonInfo {
i := &tfbridge.PythonInfo{
RespectSchemaVersion: true,
Requires: map[string]string{
"pulumi": ">=3.0.0,<4.0.0",
},
}
i.PyProject.Enabled = true
return i
Expand Down Expand Up @@ -202,9 +197,12 @@ var skipExtraConfigurationSection = tfbridge.DocsEdit{
var tfVersionRegexp = regexp.MustCompile(
`The Fastly provider prior to version [v0-9]*\.[0-9]*\.[0-9]*.*\n.*`,
)
var blockRegexp = regexp.MustCompile(` in the[A-Za-z0-9\s]* \x60?provider\x60? block`)
var omitBlockRegexp = regexp.MustCompile(
"When using this method, you may omit the\nFastly `provider` block entirely:",

var (
blockRegexp = regexp.MustCompile(` in the[A-Za-z0-9\s]* \x60?provider\x60? block`)
omitBlockRegexp = regexp.MustCompile(
"When using this method, you may omit the\nFastly `provider` block entirely:",
)
)

// Removes a version reference and block content
Expand Down
2 changes: 1 addition & 1 deletion sdk/nodejs/package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f9695c7

Please sign in to comment.