Skip to content

Commit

Permalink
Fix previewFeaturesEnabled (from previewFeaturesEnableds)
Browse files Browse the repository at this point in the history
Fixes #800
  • Loading branch information
iwahbe committed Jan 10, 2025
1 parent aeb5e4e commit 4f29941
Show file tree
Hide file tree
Showing 14 changed files with 63 additions and 72 deletions.
6 changes: 3 additions & 3 deletions provider/cmd/pulumi-resource-snowflake/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@
]
}
},
"previewFeaturesEnableds": {
"previewFeaturesEnabled": {
"type": "array",
"items": {
"type": "string"
Expand Down Expand Up @@ -32994,7 +32994,7 @@
"type": "integer",
"description": "Specifies a custom port value used by the driver for privatelink connections. Can also be sourced from the\n`SNOWFLAKE_PORT` environment variable.\n"
},
"previewFeaturesEnableds": {
"previewFeaturesEnabled": {
"type": "array",
"items": {
"type": "string"
Expand Down Expand Up @@ -33179,7 +33179,7 @@
]
}
},
"previewFeaturesEnableds": {
"previewFeaturesEnabled": {
"type": "array",
"items": {
"type": "string"
Expand Down
33 changes: 12 additions & 21 deletions provider/resources.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,27 +60,18 @@ func Provider() info.Provider {
Version: version.Version,
DocRules: &info.DocRule{EditRules: docEditRules},
Config: map[string]*info.Schema{
"password": {
Default: &info.Default{EnvVars: []string{"SNOWFLAKE_PASSWORD"}},
},
"private_key_passphrase": {
Default: &info.Default{EnvVars: []string{"SNOWFLAKE_PRIVATE_KEY_PASSPHRASE"}},
},
"role": {
Default: &info.Default{EnvVars: []string{"SNOWFLAKE_ROLE"}},
},
"host": {
Default: &info.Default{EnvVars: []string{"SNOWFLAKE_HOST"}},
},
"port": {
Default: &info.Default{EnvVars: []string{"SNOWFLAKE_PORT"}},
},
"protocol": {
Default: &info.Default{EnvVars: []string{"SNOWFLAKE_PROTOCOL"}},
},
"warehouse": {
Default: &info.Default{EnvVars: []string{"SNOWFLAKE_WAREHOUSE"}},
},
// Fix pluralization.
//
// Previously was "previewFeaturesEnableds".
"preview_features_enabled": {Name: "previewFeaturesEnabled"},

"host": {Default: &info.Default{EnvVars: []string{"SNOWFLAKE_HOST"}}},
"password": {Default: &info.Default{EnvVars: []string{"SNOWFLAKE_PASSWORD"}}},
"port": {Default: &info.Default{EnvVars: []string{"SNOWFLAKE_PORT"}}},
"private_key_passphrase": {Default: &info.Default{EnvVars: []string{"SNOWFLAKE_PRIVATE_KEY_PASSPHRASE"}}},
"protocol": {Default: &info.Default{EnvVars: []string{"SNOWFLAKE_PROTOCOL"}}},
"role": {Default: &info.Default{EnvVars: []string{"SNOWFLAKE_ROLE"}}},
"warehouse": {Default: &info.Default{EnvVars: []string{"SNOWFLAKE_WAREHOUSE"}}},
},
Resources: map[string]*info.Resource{
"snowflake_execute": {Fields: map[string]*info.Schema{
Expand Down
Empty file removed schema.json
Empty file.
8 changes: 4 additions & 4 deletions sdk/dotnet/Config/Config.cs

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

10 changes: 5 additions & 5 deletions sdk/dotnet/Provider.cs

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

4 changes: 2 additions & 2 deletions sdk/go/snowflake/config/config.go

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

8 changes: 4 additions & 4 deletions sdk/go/snowflake/provider.go

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

4 changes: 2 additions & 2 deletions sdk/java/src/main/java/com/pulumi/snowflake/Config.java

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

22 changes: 11 additions & 11 deletions sdk/java/src/main/java/com/pulumi/snowflake/ProviderArgs.java

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

6 changes: 3 additions & 3 deletions sdk/nodejs/config/vars.ts

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

4 changes: 2 additions & 2 deletions sdk/nodejs/provider.ts

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

2 changes: 1 addition & 1 deletion sdk/python/pulumi_snowflake/config/__init__.pyi

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

4 changes: 2 additions & 2 deletions sdk/python/pulumi_snowflake/config/vars.py

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

24 changes: 12 additions & 12 deletions sdk/python/pulumi_snowflake/provider.py

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

0 comments on commit 4f29941

Please sign in to comment.