Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade terraform-provider-digitalocean to v2.46.0 #902

Merged
merged 2 commits into from
Dec 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .pulumi-java-gen.version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.18.0
0.20.0
62 changes: 62 additions & 0 deletions provider/cmd/pulumi-resource-digitalocean/bridge-metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -585,6 +585,31 @@
}
}
},
"digitalocean_droplet_autoscale": {
"current": "digitalocean:index/dropletAutoscale:DropletAutoscale",
"majorVersion": 4,
"fields": {
"config": {
"maxItemsOne": true
},
"current_utilization": {
"maxItemsOne": false
},
"droplet_template": {
"maxItemsOne": true,
"elem": {
"fields": {
"ssh_keys": {
"maxItemsOne": false
},
"tags": {
"maxItemsOne": false
}
}
}
}
}
},
"digitalocean_droplet_snapshot": {
"current": "digitalocean:index/dropletSnapshot:DropletSnapshot",
"majorVersion": 4,
Expand Down Expand Up @@ -819,6 +844,14 @@
"current": "digitalocean:index/reservedIpAssignment:ReservedIpAssignment",
"majorVersion": 4
},
"digitalocean_reserved_ipv6": {
"current": "digitalocean:index/reservedIpv6:ReservedIpv6",
"majorVersion": 4
},
"digitalocean_reserved_ipv6_assignment": {
"current": "digitalocean:index/reservedIpv6Assignment:ReservedIpv6Assignment",
"majorVersion": 4
},
"digitalocean_spaces_bucket": {
"current": "digitalocean:index/spacesBucket:SpacesBucket",
"majorVersion": 4,
Expand Down Expand Up @@ -1485,6 +1518,31 @@
}
}
},
"digitalocean_droplet_autoscale": {
"current": "digitalocean:index/getDropletAutoscale:getDropletAutoscale",
"majorVersion": 4,
"fields": {
"config": {
"maxItemsOne": false
},
"current_utilization": {
"maxItemsOne": false
},
"droplet_template": {
"maxItemsOne": false,
"elem": {
"fields": {
"ssh_keys": {
"maxItemsOne": false
},
"tags": {
"maxItemsOne": false
}
}
}
}
}
},
"digitalocean_droplet_snapshot": {
"current": "digitalocean:index/getDropletSnapshot:getDropletSnapshot",
"majorVersion": 4,
Expand Down Expand Up @@ -1842,6 +1900,10 @@
"current": "digitalocean:index/getReservedIp:getReservedIp",
"majorVersion": 4
},
"digitalocean_reserved_ipv6": {
"current": "digitalocean:index/getReservedIpv6:getReservedIpv6",
"majorVersion": 4
},
"digitalocean_sizes": {
"current": "digitalocean:index/getSizes:getSizes",
"majorVersion": 4,
Expand Down
564 changes: 555 additions & 9 deletions provider/cmd/pulumi-resource-digitalocean/schema.json

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions provider/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ require (
github.com/cyphar/filepath-securejoin v0.2.4 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/deckarep/golang-set/v2 v2.5.0 // indirect
github.com/digitalocean/godo v1.131.0 // indirect
github.com/digitalocean/godo v1.131.1 // indirect
github.com/djherbis/times v1.5.0 // indirect
github.com/edsrzf/mmap-go v1.1.0 // indirect
github.com/emirpasic/gods v1.18.1 // indirect
Expand Down Expand Up @@ -232,12 +232,12 @@ require (
golang.org/x/exp v0.0.0-20240604190554-fc45aab8b7f8 // indirect
golang.org/x/mod v0.18.0 // indirect
golang.org/x/net v0.28.0 // indirect
golang.org/x/oauth2 v0.23.0 // indirect
golang.org/x/oauth2 v0.24.0 // indirect
golang.org/x/sync v0.8.0 // indirect
golang.org/x/sys v0.25.0 // indirect
golang.org/x/term v0.23.0 // indirect
golang.org/x/text v0.17.0 // indirect
golang.org/x/time v0.6.0 // indirect
golang.org/x/time v0.8.0 // indirect
golang.org/x/tools v0.22.0 // indirect
golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028 // indirect
google.golang.org/api v0.169.0 // indirect
Expand Down
12 changes: 6 additions & 6 deletions provider/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1334,8 +1334,8 @@ github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/deckarep/golang-set/v2 v2.5.0 h1:hn6cEZtQ0h3J8kFrHR/NrzyOoTnjgW1+FmNJzQ7y/sA=
github.com/deckarep/golang-set/v2 v2.5.0/go.mod h1:VAky9rY/yGXJOLEDv3OMci+7wtDpOF4IN+y82NBOac4=
github.com/digitalocean/godo v1.131.0 h1:0WHymufAV5avpodT0h5/pucUVfO4v7biquOIqhLeROY=
github.com/digitalocean/godo v1.131.0/go.mod h1:PU8JB6I1XYkQIdHFop8lLAY9ojp6M0XcU0TWaQSxbrc=
github.com/digitalocean/godo v1.131.1 h1:2QsRwjNukKgOQbflMxOsTDoC05o5UKBpqQMFKXegYKE=
github.com/digitalocean/godo v1.131.1/go.mod h1:PU8JB6I1XYkQIdHFop8lLAY9ojp6M0XcU0TWaQSxbrc=
github.com/djherbis/times v1.5.0 h1:79myA211VwPhFTqUk8xehWrsEO+zcIZj0zT8mXPVARU=
github.com/djherbis/times v1.5.0/go.mod h1:5q7FDLvbNg1L/KaBmPcWlVR9NmoKo3+ucqUA3ijQhA0=
github.com/docopt/docopt-go v0.0.0-20180111231733-ee0de3bc6815/go.mod h1:WwZ+bS3ebgob9U8Nd0kOddGdZWjyMGR8Wziv+TBNwSE=
Expand Down Expand Up @@ -2328,8 +2328,8 @@ golang.org/x/oauth2 v0.10.0/go.mod h1:kTpgurOux7LqtuxjuyZa4Gj2gdezIt/jQtGnNFfypQ
golang.org/x/oauth2 v0.11.0/go.mod h1:LdF7O/8bLR/qWK9DrpXmbHLTouvRHK0SgJl0GmDBchk=
golang.org/x/oauth2 v0.13.0/go.mod h1:/JMhi4ZRXAf4HG9LiNmxvk+45+96RUlVThiH8FzNBn0=
golang.org/x/oauth2 v0.14.0/go.mod h1:lAtNWgaWfL4cm7j2OV8TxGi9Qb7ECORx8DktCY74OwM=
golang.org/x/oauth2 v0.23.0 h1:PbgcYx2W7i4LvjJWEbf0ngHV6qJYr86PkAV3bXdLEbs=
golang.org/x/oauth2 v0.23.0/go.mod h1:XYTD2NtWslqkgxebSiOHnXEap4TF09sJSc7H1sXbhtI=
golang.org/x/oauth2 v0.24.0 h1:KTBBxWqUa0ykRPLtV69rRto9TLXcqYkeswu48x/gvNE=
golang.org/x/oauth2 v0.24.0/go.mod h1:XYTD2NtWslqkgxebSiOHnXEap4TF09sJSc7H1sXbhtI=
golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
Expand Down Expand Up @@ -2516,8 +2516,8 @@ golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxb
golang.org/x/time v0.0.0-20220922220347-f3bd1da661af/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
golang.org/x/time v0.1.0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
golang.org/x/time v0.3.0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
golang.org/x/time v0.6.0 h1:eTDhh4ZXt5Qf0augr54TN6suAUudPcawVZeIAPU7D4U=
golang.org/x/time v0.6.0/go.mod h1:3BpzKBy/shNhVucY/MWOyx10tF3SFh9QdLuxbVysPQM=
golang.org/x/time v0.8.0 h1:9i3RxcPv3PZnitoVGMPDKZSq1xW1gK1Xy3ArNOGZfEg=
golang.org/x/time v0.8.0/go.mod h1:3BpzKBy/shNhVucY/MWOyx10tF3SFh9QdLuxbVysPQM=
golang.org/x/tools v0.0.0-20180525024113-a5b4c53f6e8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
golang.org/x/tools v0.0.0-20181030221726-6c7e314b6563/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
Expand Down
20 changes: 8 additions & 12 deletions provider/resources.go
Original file line number Diff line number Diff line change
Expand Up @@ -297,12 +297,13 @@ func Provider() tfbridge.ProviderInfo {
"digitalocean_reserved_ip": {
Tok: makeResource(digitalOceanMod, "ReservedIp"),
Fields: map[string]*tfbridge.SchemaInfo{
"urn": {
Name: "reservedIpUrn",
},
"urn": {Name: "reservedIpUrn"},
},
},
"digitalocean_reserved_ip_assignment": {Tok: makeResource(digitalOceanMod, "ReservedIpAssignment")},

"digitalocean_reserved_ipv6": {Docs: &info.Doc{AllowMissing: true}},
"digitalocean_reserved_ipv6_assignment": {Docs: &info.Doc{AllowMissing: true}},
},
ExtraTypes: map[string]schema.ComplexTypeSpec{
"digitalocean:index:Region": {
Expand Down Expand Up @@ -579,19 +580,15 @@ func Provider() tfbridge.ProviderInfo {
"digitalocean_domain": {
Tok: makeDataSource(digitalOceanMod, "getDomain"),
Fields: map[string]*tfbridge.SchemaInfo{
"urn": {
Name: "domainUrn",
},
"urn": {Name: "domainUrn"},
},
},
"digitalocean_droplet": {Tok: makeDataSource(digitalOceanMod, "getDroplet")},
"digitalocean_droplet_snapshot": {Tok: makeDataSource(digitalOceanMod, "getDropletSnapshot")},
"digitalocean_floating_ip": {
Tok: makeDataSource(digitalOceanMod, "getFloatingIp"),
Fields: map[string]*tfbridge.SchemaInfo{
"urn": {
Name: "floatingIpUrn",
},
"urn": {Name: "floatingIpUrn"},
},
},
"digitalocean_image": {Tok: makeDataSource(digitalOceanMod, "getImage")},
Expand All @@ -600,9 +597,7 @@ func Provider() tfbridge.ProviderInfo {
"digitalocean_loadbalancer": {
Tok: makeDataSource(digitalOceanMod, "getLoadBalancer"),
Fields: map[string]*tfbridge.SchemaInfo{
"urn": {
Name: "loadBalancerUrn",
},
"urn": {Name: "loadBalancerUrn"},
},
},
"digitalocean_record": {Tok: makeDataSource(digitalOceanMod, "getRecord")},
Expand Down Expand Up @@ -632,6 +627,7 @@ func Provider() tfbridge.ProviderInfo {
"digitalocean_firewall": {Tok: makeDataSource(digitalOceanMod, "getFirewall")},
"digitalocean_database_ca": {Tok: makeDataSource(digitalOceanMod, "getDatabaseCa")},
"digitalocean_reserved_ip": {Tok: makeDataSource(digitalOceanMod, "getReservedIp")},
"digitalocean_reserved_ipv6": {Docs: &info.Doc{AllowMissing: true}},
},
JavaScript: &tfbridge.JavaScriptInfo{
Dependencies: map[string]string{
Expand Down
Loading
Loading