Skip to content

Commit ee7bb10

Browse files
authored
Merge pull request #10 from tencentcloudstack/add-download-url
feat: specify plugin download url, change goreleaser binary name
2 parents bc1dd57 + 9a9ef16 commit ee7bb10

File tree

1,069 files changed

+13920
-12
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,069 files changed

+13920
-12
lines changed

.goreleaser.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ before:
55
hooks:
66
- make tfgen
77
builds:
8-
- binary: provider-resource-tencentcloud
8+
- binary: pulumi-resource-tencentcloud
99
dir: provider
1010
env:
1111
- CGO_ENABLED=0

provider/cmd/pulumi-resource-tencentcloud/schema.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"license": "Apache-2.0",
1212
"attribution": "This Pulumi package is based on the [`tencentcloud` Terraform Provider](https://github.com/tencentcloudstack/terraform-provider-tencentcloud).",
1313
"repository": "https://github.com/tencentcloudstack/pulumi-tencentcloud",
14+
"pluginDownloadURL": "github://api.github.com/tencentcloudstack",
1415
"publisher": "TencentCloudStack",
1516
"meta": {
1617
"moduleFormat": "(.*)(?:/[^/]*)"

provider/resources.go

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,7 @@ func Provider() tfbridge.ProviderInfo {
4343
DisplayName: "Tencentcloud",
4444
Publisher: "TencentCloudStack",
4545
LogoURL: "",
46-
// PluginDownloadURL is an optional URL used to download the Provider
47-
// for use in Pulumi programs
48-
// e.g https://github.com/org/pulumi-provider-name/releases/
49-
PluginDownloadURL: "",
46+
PluginDownloadURL: "github://api.github.com/tencentcloudstack",
5047
Description: "A Pulumi package for creating and managing tencentcloud cloud resources.",
5148
Keywords: []string{"pulumi", "tencentcloud", "category/cloud"},
5249
License: "Apache-2.0",

sdk/dotnet/Tencentcloud/Address/Template.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions?
8383
var defaultOptions = new CustomResourceOptions
8484
{
8585
Version = Utilities.Version,
86+
PluginDownloadURL = "github://api.github.com/tencentcloudstack",
8687
};
8788
var merged = CustomResourceOptions.Merge(defaultOptions, options);
8889
// Override the ID if one was specified for consistency with other language SDKs.

sdk/dotnet/Tencentcloud/Address/TemplateGroup.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions?
8282
var defaultOptions = new CustomResourceOptions
8383
{
8484
Version = Utilities.Version,
85+
PluginDownloadURL = "github://api.github.com/tencentcloudstack",
8586
};
8687
var merged = CustomResourceOptions.Merge(defaultOptions, options);
8788
// Override the ID if one was specified for consistency with other language SDKs.

sdk/dotnet/Tencentcloud/ApiGateway/Api.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions?
282282
var defaultOptions = new CustomResourceOptions
283283
{
284284
Version = Utilities.Version,
285+
PluginDownloadURL = "github://api.github.com/tencentcloudstack",
285286
};
286287
var merged = CustomResourceOptions.Merge(defaultOptions, options);
287288
// Override the ID if one was specified for consistency with other language SDKs.

sdk/dotnet/Tencentcloud/ApiGateway/ApiKey.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions?
9797
var defaultOptions = new CustomResourceOptions
9898
{
9999
Version = Utilities.Version,
100+
PluginDownloadURL = "github://api.github.com/tencentcloudstack",
100101
};
101102
var merged = CustomResourceOptions.Merge(defaultOptions, options);
102103
// Override the ID if one was specified for consistency with other language SDKs.

sdk/dotnet/Tencentcloud/ApiGateway/ApiKeyAttachment.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions?
9191
var defaultOptions = new CustomResourceOptions
9292
{
9393
Version = Utilities.Version,
94+
PluginDownloadURL = "github://api.github.com/tencentcloudstack",
9495
};
9596
var merged = CustomResourceOptions.Merge(defaultOptions, options);
9697
// Override the ID if one was specified for consistency with other language SDKs.

sdk/dotnet/Tencentcloud/ApiGateway/CustomDomain.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions?
122122
var defaultOptions = new CustomResourceOptions
123123
{
124124
Version = Utilities.Version,
125+
PluginDownloadURL = "github://api.github.com/tencentcloudstack",
125126
};
126127
var merged = CustomResourceOptions.Merge(defaultOptions, options);
127128
// Override the ID if one was specified for consistency with other language SDKs.

sdk/dotnet/Tencentcloud/ApiGateway/IpStrategy.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions?
117117
var defaultOptions = new CustomResourceOptions
118118
{
119119
Version = Utilities.Version,
120+
PluginDownloadURL = "github://api.github.com/tencentcloudstack",
120121
};
121122
var merged = CustomResourceOptions.Merge(defaultOptions, options);
122123
// Override the ID if one was specified for consistency with other language SDKs.

0 commit comments

Comments
 (0)