Skip to content

Commit 3b2a713

Browse files
committed
Adjust dotnet, nodejs and python
Signed-off-by: Alexander Dahmen <[email protected]>
1 parent 7bfa9c1 commit 3b2a713

File tree

492 files changed

+511
-1022
lines changed

Some content is hidden

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

492 files changed

+511
-1022
lines changed

.github/workflows/check-upgrade-provider.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ jobs:
99
uses: pulumi/pulumi-upgrade-provider-action@3c670a7cb92732324c8ccc17f7f9ef9dfca126d0 # v0.0.17
1010
with:
1111
kind: check-upstream-version
12-
email: botdirien.de
13-
username: dirien-bot
1412

1513
permissions:
1614
contents: write

.github/workflows/upgrade-provider.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ jobs:
1010
uses: pulumi/pulumi-upgrade-provider-action@3c670a7cb92732324c8ccc17f7f9ef9dfca126d0 # v0.0.17
1111
with:
1212
kind: all
13-
email: botdirien.de
14-
username: dirien-bot
1513
name: Upgrade provider
1614

1715
permissions:

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,21 +13,21 @@ This package is available for several languages/platforms:
1313
To use from JavaScript or TypeScript in Node.js, install using either `npm`:
1414

1515
```bash
16-
npm install @ediri/stackit
16+
npm install @stackitcloud/pulumi-stackit
1717
```
1818

1919
or `yarn`:
2020

2121
```bash
22-
yarn add @ediri/stackit
22+
yarn add @stackitcloud/pulumi-stackit
2323
```
2424

2525
### Python
2626

2727
To use from Python, install using `pip`:
2828

2929
```bash
30-
pip install ediri_stackit
30+
pip install pulumi_stackit
3131
```
3232

3333
### Go
@@ -43,7 +43,7 @@ go get github.com/stackitcloud/pulumi-stackit/sdk
4343
To use from .NET, install using `dotnet add package`:
4444

4545
```bash
46-
dotnet add package ediri.stackit
46+
dotnet add package Pulumi.stackit
4747
```
4848

4949
## Configuration

examples/example-ts/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import * as stackit from "@ediri/pulumi-stackit";
1+
import * as stackit from "@stackitcloud/pulumi-stackit";
22

33
const distribution = new stackit.CdnDistribution("cdn-distribution", {
44
config: {

examples/example-ts/package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/example-ts/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@
77
},
88
"dependencies": {
99
"@pulumi/pulumi": "^3.113.0",
10-
"@ediri/pulumi-stackit": "^0.1.2"
10+
"@stackitcloud/pulumi-stackit": "^0.1.2"
1111
}
1212
}

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

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,15 @@
2121
"packageReferences": {
2222
"Pulumi": "3.*"
2323
},
24-
"compatibility": "tfbridge20",
25-
"rootNamespace": "ediri"
24+
"compatibility": "tfbridge20"
2625
},
2726
"go": {
2827
"importBasePath": "github.com/stackitcloud/pulumi-stackit/sdk/go/stackit",
2928
"generateResourceContainerTypes": true,
3029
"generateExtraInputTypes": true
3130
},
3231
"nodejs": {
33-
"packageName": "@ediri/pulumi-stackit",
32+
"packageName": "@stackitcloud/pulumi-stackit",
3433
"packageDescription": "A Pulumi package for creating and managing stackit resources.",
3534
"readme": "\u003e This provider is a derived work of the [Terraform Provider](https://github.com/stackitcloud/terraform-provider-stackit)\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-stackit` repo](https://github.com/stackitcloud/pulumi-stackit/issues); however, if that doesn't turn up anything,\n\u003e please consult the source [`terraform-provider-stackit` repo](https://github.com/stackitcloud/terraform-provider-stackit/issues).",
3635
"dependencies": {
@@ -44,7 +43,7 @@
4443
"disableUnionOutputTypes": true
4544
},
4645
"python": {
47-
"packageName": "ediri_stackit",
46+
"packageName": "pulumi_stackit",
4847
"requires": {
4948
"pulumi": "\u003e=3.0.0,\u003c4.0.0"
5049
},

provider/resources.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ func Provider() tfbridge.ProviderInfo {
115115

116116
},
117117
JavaScript: &tfbridge.JavaScriptInfo{
118-
PackageName: "@ediri/pulumi-stackit",
118+
PackageName: "@stackitcloud/pulumi-stackit",
119119
// List any npm dependencies and their versions
120120
Dependencies: map[string]string{
121121
"@pulumi/pulumi": "^3.0.0",
@@ -130,7 +130,7 @@ func Provider() tfbridge.ProviderInfo {
130130
//Overlay: &tfbridge.OverlayInfo{},
131131
},
132132
Python: &tfbridge.PythonInfo{
133-
PackageName: "ediri_stackit",
133+
PackageName: "pulumi_stackit",
134134
// List any Python dependencies and their version ranges
135135
Requires: map[string]string{
136136
"pulumi": ">=3.0.0,<4.0.0",
@@ -146,7 +146,6 @@ func Provider() tfbridge.ProviderInfo {
146146
GenerateResourceContainerTypes: true,
147147
},
148148
CSharp: &tfbridge.CSharpInfo{
149-
RootNamespace: "ediri",
150149
PackageReferences: map[string]string{
151150
"Pulumi": "3.*",
152151
},

sdk/dotnet/AffinityGroup.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,8 @@
66
using System.Collections.Immutable;
77
using System.Threading.Tasks;
88
using Pulumi.Serialization;
9-
using Pulumi;
109

11-
namespace ediri.Stackit
10+
namespace Pulumi.Stackit
1211
{
1312
/// <summary>
1413
/// Affinity Group schema. Must have a `region` specified in the provider configuration.
@@ -71,7 +70,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions?
7170
var defaultOptions = new CustomResourceOptions
7271
{
7372
Version = Utilities.Version,
74-
PluginDownloadURL = "github://api.github.com/dirien/pulumi-stackit",
73+
PluginDownloadURL = "github://api.github.com/stackitcloud/pulumi-stackit",
7574
};
7675
var merged = CustomResourceOptions.Merge(defaultOptions, options);
7776
// Override the ID if one was specified for consistency with other language SDKs.

sdk/dotnet/AuthorizationOrganizationRoleAssignment.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,8 @@
66
using System.Collections.Immutable;
77
using System.Threading.Tasks;
88
using Pulumi.Serialization;
9-
using Pulumi;
109

11-
namespace ediri.Stackit
10+
namespace Pulumi.Stackit
1211
{
1312
/// <summary>
1413
/// organization Role Assignment resource schema.
@@ -61,7 +60,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions?
6160
var defaultOptions = new CustomResourceOptions
6261
{
6362
Version = Utilities.Version,
64-
PluginDownloadURL = "github://api.github.com/dirien/pulumi-stackit",
63+
PluginDownloadURL = "github://api.github.com/stackitcloud/pulumi-stackit",
6564
};
6665
var merged = CustomResourceOptions.Merge(defaultOptions, options);
6766
// Override the ID if one was specified for consistency with other language SDKs.

0 commit comments

Comments
 (0)