Skip to content

Commit

Permalink
Adding new SYD1 region (#350)
Browse files Browse the repository at this point in the history
Co-authored-by: Justin Grocott <justin@encodely.com.au>
Co-authored-by: Ian Wahbe <ian@wahbe.com>
  • Loading branch information
3 people authored Nov 27, 2023
1 parent 1de29c1 commit c5227fe
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 1 deletion.
4 changes: 4 additions & 0 deletions provider/cmd/pulumi-resource-digitalocean/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -7245,6 +7245,10 @@
{
"name": "BLR1",
"value": "blr1"
},
{
"name": "SYD1",
"value": "syd1"
}
]
}
Expand Down
1 change: 1 addition & 0 deletions provider/resources.go
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,7 @@ func Provider() tfbridge.ProviderInfo {
{Name: "SFO2", Value: "sfo2"},
{Name: "SFO3", Value: "sfo3"},
{Name: "BLR1", Value: "blr1"},
{Name: "SYD1", Value: "syd1"},
},
},
"digitalocean:index:RecordType": {
Expand Down
1 change: 1 addition & 0 deletions sdk/dotnet/Enums.cs
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,7 @@ private Region(string value)
public static Region SFO2 { get; } = new Region("sfo2");
public static Region SFO3 { get; } = new Region("sfo3");
public static Region BLR1 { get; } = new Region("blr1");
public static Region SYD1 { get; } = new Region("syd1");

public static bool operator ==(Region left, Region right) => left.Equals(right);
public static bool operator !=(Region left, Region right) => !left.Equals(right);
Expand Down
1 change: 1 addition & 0 deletions sdk/go/digitalocean/pulumiEnums.go

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

Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ public enum Region {
SFO1("sfo1"),
SFO2("sfo2"),
SFO3("sfo3"),
BLR1("blr1");
BLR1("blr1"),
SYD1("syd1");

private final String value;

Expand Down
1 change: 1 addition & 0 deletions sdk/nodejs/types/enums/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ export const Region = {
SFO2: "sfo2",
SFO3: "sfo3",
BLR1: "blr1",
SYD1: "syd1",
} as const;

export type Region = (typeof Region)[keyof typeof Region];
1 change: 1 addition & 0 deletions sdk/python/pulumi_digitalocean/_enums.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,3 +165,4 @@ class Region(str, Enum):
SFO2 = "sfo2"
SFO3 = "sfo3"
BLR1 = "blr1"
SYD1 = "syd1"

0 comments on commit c5227fe

Please sign in to comment.