Skip to content

Commit

Permalink
Upgrade terraform-provider-linode to v2.21.0 (#609)
Browse files Browse the repository at this point in the history
This PR was generated via `$ upgrade-provider pulumi/pulumi-linode
--kind=all --target-bridge-version=latest`.

---

- Updating Java Gen version from 0.11.0 to 0.12.0.
- Upgrading terraform-provider-linode from 2.20.1  to 2.21.0.
	Fixes #608
  • Loading branch information
pulumi-bot committed May 29, 2024
1 parent f3e3643 commit 1a3cc42
Show file tree
Hide file tree
Showing 57 changed files with 3,259 additions and 116 deletions.
2 changes: 1 addition & 1 deletion .pulumi-java-gen.version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.11.0
0.12.0
52 changes: 50 additions & 2 deletions provider/cmd/pulumi-resource-linode/bridge-metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,31 @@
"maxItemsOne": false
},
"control_plane": {
"maxItemsOne": true
"maxItemsOne": true,
"elem": {
"fields": {
"acl": {
"maxItemsOne": true,
"elem": {
"fields": {
"addresses": {
"maxItemsOne": false,
"elem": {
"fields": {
"ipv4": {
"maxItemsOne": false
},
"ipv6": {
"maxItemsOne": false
}
}
}
}
}
}
}
}
}
},
"external_pool_tags": {
"maxItemsOne": false
Expand Down Expand Up @@ -1210,7 +1234,31 @@
"maxItemsOne": false
},
"control_plane": {
"maxItemsOne": false
"maxItemsOne": false,
"elem": {
"fields": {
"acl": {
"maxItemsOne": false,
"elem": {
"fields": {
"addresses": {
"maxItemsOne": false,
"elem": {
"fields": {
"ipv4": {
"maxItemsOne": false
},
"ipv6": {
"maxItemsOne": false
}
}
}
}
}
}
}
}
}
},
"pools": {
"maxItemsOne": false,
Expand Down
123 changes: 120 additions & 3 deletions provider/cmd/pulumi-resource-linode/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -1083,20 +1083,76 @@
},
"linode:index/LkeClusterControlPlane:LkeClusterControlPlane": {
"properties": {
"acl": {
"$ref": "#/types/linode:index/LkeClusterControlPlaneAcl:LkeClusterControlPlaneAcl",
"description": "Defines the ACL configuration for an LKE cluster's control plane.\n"
},
"highAvailability": {
"type": "boolean",
"description": "Defines whether High Availability is enabled for the cluster Control Plane. This is an **irreversible** change.\n"
"description": "Defines whether High Availability is enabled for the cluster Control Plane. This is an **irreversible** change.\n\n* `acl` - (Optional) Defines the ACL configuration for an LKE cluster's control plane.\n"
}
},
"type": "object",
"language": {
"nodejs": {
"requiredOutputs": [
"acl",
"highAvailability"
]
}
}
},
"linode:index/LkeClusterControlPlaneAcl:LkeClusterControlPlaneAcl": {
"properties": {
"addresses": {
"type": "array",
"items": {
"$ref": "#/types/linode:index/LkeClusterControlPlaneAclAddress:LkeClusterControlPlaneAclAddress"
},
"description": "A list of ip addresses to allow.\n"
},
"enabled": {
"type": "boolean",
"description": "Defines default policy. A value of true results in a default policy of DENY. A value of false results in default policy of ALLOW, and has the same effect as delete the ACL configuration.\n\n* `addresses` - (Optional) A list of ip addresses to allow.\n"
}
},
"type": "object",
"language": {
"nodejs": {
"requiredOutputs": [
"addresses",
"enabled"
]
}
}
},
"linode:index/LkeClusterControlPlaneAclAddress:LkeClusterControlPlaneAclAddress": {
"properties": {
"ipv4s": {
"type": "array",
"items": {
"type": "string"
},
"description": "A set of individual ipv4 addresses or CIDRs to ALLOW.\n"
},
"ipv6s": {
"type": "array",
"items": {
"type": "string"
},
"description": "A set of individual ipv6 addresses or CIDRs to ALLOW.\n"
}
},
"type": "object",
"language": {
"nodejs": {
"requiredOutputs": [
"ipv4s",
"ipv6s"
]
}
}
},
"linode:index/LkeClusterPool:LkeClusterPool": {
"properties": {
"autoscaler": {
Expand Down Expand Up @@ -5167,6 +5223,13 @@
},
"linode:index/getLkeClusterControlPlane:getLkeClusterControlPlane": {
"properties": {
"acls": {
"type": "array",
"items": {
"$ref": "#/types/linode:index/getLkeClusterControlPlaneAcl:getLkeClusterControlPlaneAcl"
},
"description": "The ACL configuration for an LKE cluster's control plane.\n"
},
"highAvailability": {
"type": "boolean",
"description": "Whether High Availability is enabled for the cluster Control Plane.\n"
Expand All @@ -5182,6 +5245,58 @@
}
}
},
"linode:index/getLkeClusterControlPlaneAcl:getLkeClusterControlPlaneAcl": {
"properties": {
"addresses": {
"type": "array",
"items": {
"$ref": "#/types/linode:index/getLkeClusterControlPlaneAclAddress:getLkeClusterControlPlaneAclAddress"
},
"description": "A list of ip addresses to allow.\n"
},
"enabled": {
"type": "boolean",
"description": "The default policy. A value of true means a default policy of DENY. A value of false means a default policy of ALLOW.\n"
}
},
"type": "object",
"required": [
"enabled"
],
"language": {
"nodejs": {
"requiredInputs": []
}
}
},
"linode:index/getLkeClusterControlPlaneAclAddress:getLkeClusterControlPlaneAclAddress": {
"properties": {
"ipv4s": {
"type": "array",
"items": {
"type": "string"
},
"description": "A set of individual ipv4 addresses or CIDRs to ALLOW.\n"
},
"ipv6s": {
"type": "array",
"items": {
"type": "string"
},
"description": "A set of individual ipv6 addresses or CIDRs to ALLOW.\n"
}
},
"type": "object",
"required": [
"ipv4s",
"ipv6s"
],
"language": {
"nodejs": {
"requiredInputs": []
}
}
},
"linode:index/getLkeClusterPool:getLkeClusterPool": {
"properties": {
"autoscalers": {
Expand Down Expand Up @@ -5242,7 +5357,7 @@
"properties": {
"enabled": {
"type": "boolean",
"description": "Whether autoscaling is enabled for this Node Pool. Defaults to false.\n"
"description": "The default policy. A value of true means a default policy of DENY. A value of false means a default policy of ALLOW.\n"
},
"max": {
"type": "integer",
Expand Down Expand Up @@ -14642,7 +14757,8 @@
"type": "array",
"items": {
"$ref": "#/types/linode:index/getLkeClusterControlPlane:getLkeClusterControlPlane"
}
},
"description": "The settings for the Kubernetes Control Plane.\n"
},
"id": {
"type": "integer",
Expand Down Expand Up @@ -14672,6 +14788,7 @@
"type": "array"
},
"controlPlanes": {
"description": "The settings for the Kubernetes Control Plane.\n",
"items": {
"$ref": "#/types/linode:index/getLkeClusterControlPlane:getLkeClusterControlPlane"
},
Expand Down
52 changes: 25 additions & 27 deletions provider/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/pulumi/pulumi-linode/provider/v4
go 1.21

require (
github.com/linode/terraform-provider-linode/v2 v2.20.1
github.com/linode/terraform-provider-linode/v2 v2.21.0
github.com/pulumi/pulumi-terraform-bridge/pf v0.36.0
github.com/pulumi/pulumi-terraform-bridge/v3 v3.83.0
github.com/pulumi/pulumi/sdk/v3 v3.116.1
Expand All @@ -16,8 +16,7 @@ replace (

require (
cloud.google.com/go v0.112.1 // indirect
cloud.google.com/go/compute v1.25.0 // indirect
cloud.google.com/go/compute/metadata v0.2.3 // indirect
cloud.google.com/go/compute/metadata v0.3.0 // indirect
cloud.google.com/go/iam v1.1.6 // indirect
cloud.google.com/go/kms v1.15.7 // indirect
cloud.google.com/go/logging v1.9.0 // indirect
Expand All @@ -36,7 +35,7 @@ require (
github.com/Masterminds/semver/v3 v3.2.0 // indirect
github.com/Masterminds/sprig/v3 v3.2.3 // indirect
github.com/Microsoft/go-winio v0.6.1 // indirect
github.com/ProtonMail/go-crypto v1.1.0-alpha.0 // indirect
github.com/ProtonMail/go-crypto v1.1.0-alpha.2 // indirect
github.com/aead/chacha20 v0.0.0-20180709150244-8b13a72661da // indirect
github.com/agext/levenshtein v1.2.3 // indirect
github.com/apparentlymart/go-cidr v1.1.0 // indirect
Expand All @@ -45,22 +44,22 @@ require (
github.com/armon/go-radix v1.0.0 // indirect
github.com/atotto/clipboard v0.1.4 // indirect
github.com/aws/aws-sdk-go v1.50.36 // indirect
github.com/aws/aws-sdk-go-v2 v1.26.1 // indirect
github.com/aws/aws-sdk-go-v2 v1.27.0 // indirect
github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.6.2 // indirect
github.com/aws/aws-sdk-go-v2/config v1.27.11 // indirect
github.com/aws/aws-sdk-go-v2/credentials v1.17.11 // indirect
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.1 // indirect
github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.16.15 // indirect
github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.5 // indirect
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.5 // indirect
github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.7 // indirect
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.7 // indirect
github.com/aws/aws-sdk-go-v2/internal/ini v1.8.0 // indirect
github.com/aws/aws-sdk-go-v2/internal/v4a v1.3.5 // indirect
github.com/aws/aws-sdk-go-v2/internal/v4a v1.3.7 // indirect
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.11.2 // indirect
github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.3.7 // indirect
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.11.7 // indirect
github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.17.5 // indirect
github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.3.9 // indirect
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.11.9 // indirect
github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.17.7 // indirect
github.com/aws/aws-sdk-go-v2/service/kms v1.30.1 // indirect
github.com/aws/aws-sdk-go-v2/service/s3 v1.53.1 // indirect
github.com/aws/aws-sdk-go-v2/service/s3 v1.54.3 // indirect
github.com/aws/aws-sdk-go-v2/service/sso v1.20.5 // indirect
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.23.4 // indirect
github.com/aws/aws-sdk-go-v2/service/sts v1.28.6 // indirect
Expand Down Expand Up @@ -95,7 +94,7 @@ require (
github.com/go-openapi/jsonpointer v0.19.6 // indirect
github.com/go-openapi/jsonreference v0.20.2 // indirect
github.com/go-openapi/swag v0.22.3 // indirect
github.com/go-resty/resty/v2 v2.12.0 // indirect
github.com/go-resty/resty/v2 v2.13.1 // indirect
github.com/gofrs/uuid v4.3.1+incompatible // indirect
github.com/gogo/protobuf v1.3.2 // indirect
github.com/golang-jwt/jwt/v5 v5.2.1 // indirect
Expand All @@ -119,7 +118,7 @@ require (
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
github.com/hashicorp/go-cty v1.4.1-0.20200723130312-85980079f637 // indirect
github.com/hashicorp/go-getter v1.7.4 // indirect
github.com/hashicorp/go-hclog v1.6.2 // indirect
github.com/hashicorp/go-hclog v1.6.3 // indirect
github.com/hashicorp/go-immutable-radix v1.3.1 // indirect
github.com/hashicorp/go-multierror v1.1.1 // indirect
github.com/hashicorp/go-plugin v1.6.0 // indirect
Expand All @@ -131,10 +130,10 @@ require (
github.com/hashicorp/go-secure-stdlib/strutil v0.1.2 // indirect
github.com/hashicorp/go-sockaddr v1.0.2 // indirect
github.com/hashicorp/go-uuid v1.0.3 // indirect
github.com/hashicorp/go-version v1.6.0 // indirect
github.com/hashicorp/go-version v1.7.0 // indirect
github.com/hashicorp/golang-lru v0.6.0 // indirect
github.com/hashicorp/hcl v1.0.0 // indirect
github.com/hashicorp/hcl/v2 v2.20.0 // indirect
github.com/hashicorp/hcl/v2 v2.20.1 // indirect
github.com/hashicorp/hil v0.0.0-20190212132231-97b3a9cdfa93 // indirect
github.com/hashicorp/logutils v1.0.0 // indirect
github.com/hashicorp/terraform-plugin-framework v1.8.0 // indirect
Expand All @@ -143,9 +142,8 @@ require (
github.com/hashicorp/terraform-plugin-framework-validators v0.12.0 // indirect
github.com/hashicorp/terraform-plugin-go v0.23.0 // indirect
github.com/hashicorp/terraform-plugin-log v0.9.0 // indirect
github.com/hashicorp/terraform-plugin-mux v0.16.0 // indirect
github.com/hashicorp/terraform-plugin-sdk v1.11.0 // indirect
github.com/hashicorp/terraform-plugin-sdk/v2 v2.33.0 // indirect
github.com/hashicorp/terraform-plugin-sdk/v2 v2.34.0 // indirect
github.com/hashicorp/terraform-registry-address v0.2.3 // indirect
github.com/hashicorp/terraform-svchost v0.1.1 // indirect
github.com/hashicorp/vault/api v1.8.2 // indirect
Expand All @@ -162,7 +160,7 @@ require (
github.com/kevinburke/ssh_config v1.2.0 // indirect
github.com/klauspost/compress v1.15.11 // indirect
github.com/kylelemons/godebug v1.1.0 // indirect
github.com/linode/linodego v1.33.0 // indirect
github.com/linode/linodego v1.34.0 // indirect
github.com/linode/linodego/k8s v1.25.2 // indirect
github.com/lucasb-eyer/go-colorful v1.2.0 // indirect
github.com/mailru/easyjson v0.7.7 // indirect
Expand Down Expand Up @@ -235,7 +233,7 @@ require (
github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f // indirect
github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect
github.com/xeipuuv/gojsonschema v1.2.0 // indirect
github.com/zclconf/go-cty v1.14.3 // indirect
github.com/zclconf/go-cty v1.14.4 // indirect
go.opencensus.io v0.24.0 // indirect
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.49.0 // indirect
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0 // indirect
Expand All @@ -245,15 +243,15 @@ require (
go.uber.org/atomic v1.10.0 // indirect
gocloud.dev v0.37.0 // indirect
gocloud.dev/secrets/hashivault v0.27.0 // indirect
golang.org/x/crypto v0.22.0 // indirect
golang.org/x/crypto v0.23.0 // indirect
golang.org/x/exp v0.0.0-20231110203233-9a3e6036ecaa // indirect
golang.org/x/mod v0.15.0 // indirect
golang.org/x/net v0.24.0 // indirect
golang.org/x/oauth2 v0.19.0 // indirect
golang.org/x/mod v0.16.0 // indirect
golang.org/x/net v0.25.0 // indirect
golang.org/x/oauth2 v0.20.0 // indirect
golang.org/x/sync v0.7.0 // indirect
golang.org/x/sys v0.19.0 // indirect
golang.org/x/term v0.19.0 // indirect
golang.org/x/text v0.14.0 // indirect
golang.org/x/sys v0.20.0 // indirect
golang.org/x/term v0.20.0 // indirect
golang.org/x/text v0.15.0 // indirect
golang.org/x/time v0.5.0 // indirect
golang.org/x/tools v0.17.0 // indirect
golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028 // indirect
Expand Down
Loading

0 comments on commit 1a3cc42

Please sign in to comment.