diff --git a/provider/cmd/pulumi-resource-fastly/schema.json b/provider/cmd/pulumi-resource-fastly/schema.json index 15e1bab3..8f836fc6 100644 --- a/provider/cmd/pulumi-resource-fastly/schema.json +++ b/provider/cmd/pulumi-resource-fastly/schema.json @@ -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" @@ -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, diff --git a/provider/resources.go b/provider/resources.go index 370ea626..dc17a05b 100644 --- a/provider/resources.go +++ b/provider/resources.go @@ -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", @@ -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 @@ -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 diff --git a/sdk/nodejs/package.json b/sdk/nodejs/package.json index 5b6fe5e4..6d80960d 100644 --- a/sdk/nodejs/package.json +++ b/sdk/nodejs/package.json @@ -13,7 +13,7 @@ "build": "tsc" }, "dependencies": { - "@pulumi/pulumi": "^3.0.0" + "@pulumi/pulumi": "^3.42.0" }, "devDependencies": { "@types/mime": "^2.0.0",