Skip to content

Commit

Permalink
Upgrade terraform-provider-wavefront to v5.1.0 (#303)
Browse files Browse the repository at this point in the history
This is an upgrade we missed from back in November when pulumi-bot was
down.

Due to upstream tagging incosistency discovered in #287, the new
upstream version check failed.
This PR upgrades this provider to its latest version and should have the
happy side effect of untangling the dangling commit hash that we use as
a pseudoversion in place of a real version (because the upstream module
is not versioned).

Fixes #287.
  • Loading branch information
guineveresaenger authored Jan 2, 2024
1 parent 33c0072 commit 6ff1e96
Show file tree
Hide file tree
Showing 41 changed files with 2,676 additions and 8 deletions.
2 changes: 1 addition & 1 deletion provider/cmd/pulumi-resource-wavefront/schema-embed.json

Large diffs are not rendered by default.

171 changes: 171 additions & 0 deletions provider/cmd/pulumi-resource-wavefront/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,35 @@
]
},
"types": {
"wavefront:index/AlertAlertTriageDashboard:AlertAlertTriageDashboard": {
"properties": {
"dashboardId": {
"type": "string"
},
"description": {
"type": "string"
},
"parameters": {
"$ref": "#/types/wavefront:index/AlertAlertTriageDashboardParameters:AlertAlertTriageDashboardParameters"
}
},
"type": "object",
"required": [
"dashboardId",
"description"
]
},
"wavefront:index/AlertAlertTriageDashboardParameters:AlertAlertTriageDashboardParameters": {
"properties": {
"constants": {
"type": "object",
"additionalProperties": {
"$ref": "pulumi.json#/Any"
}
}
},
"type": "object"
},
"wavefront:index/AlertTargetRoute:AlertTargetRoute": {
"properties": {
"filter": {
Expand Down Expand Up @@ -643,6 +672,40 @@
"value"
]
},
"wavefront:index/getAlertAlertTriageDashboard:getAlertAlertTriageDashboard": {
"properties": {
"dashboardId": {
"type": "string"
},
"description": {
"type": "string"
},
"parameters": {
"$ref": "#/types/wavefront:index/getAlertAlertTriageDashboardParameters:getAlertAlertTriageDashboardParameters"
}
},
"type": "object",
"required": [
"dashboardId",
"description"
],
"language": {
"nodejs": {
"requiredInputs": []
}
}
},
"wavefront:index/getAlertAlertTriageDashboardParameters:getAlertAlertTriageDashboardParameters": {
"properties": {
"constants": {
"type": "object",
"additionalProperties": {
"$ref": "pulumi.json#/Any"
}
}
},
"type": "object"
},
"wavefront:index/getAlertFailingHostLabelPair:getAlertFailingHostLabelPair": {
"properties": {
"firing": {
Expand Down Expand Up @@ -689,6 +752,13 @@
"type": "string",
"description": "User-supplied additional explanatory information about this alert.\n"
},
"alertTriageDashboards": {
"type": "array",
"items": {
"$ref": "#/types/wavefront:index/getAlertsAlertAlertTriageDashboard:getAlertsAlertAlertTriageDashboard"
},
"description": "A set of user-supplied dashboard and parameters to create dashboard links for triaging alerts.\n"
},
"alertType": {
"type": "string",
"description": "The type of alert in Wavefront.\n"
Expand Down Expand Up @@ -768,6 +838,13 @@
"type": "integer",
"description": "The number of consecutive minutes that a firing series matching the condition query must evaluate to \"false\" (zero value) before the alert resolves.\n"
},
"runbookLinks": {
"type": "array",
"items": {
"type": "string"
},
"description": "A list of user-supplied runbook links for this alert.\n"
},
"severity": {
"type": "string",
"description": "The severity of the alert.\n"
Expand Down Expand Up @@ -807,6 +884,7 @@
"type": "object",
"required": [
"additionalInformation",
"alertTriageDashboards",
"alertType",
"canModifies",
"canViews",
Expand All @@ -823,6 +901,7 @@
"notificationResendFrequencyMinutes",
"processRateMinutes",
"resolveAfterMinutes",
"runbookLinks",
"severity",
"severityLists",
"statuses",
Expand All @@ -835,6 +914,40 @@
}
}
},
"wavefront:index/getAlertsAlertAlertTriageDashboard:getAlertsAlertAlertTriageDashboard": {
"properties": {
"dashboardId": {
"type": "string"
},
"description": {
"type": "string"
},
"parameters": {
"$ref": "#/types/wavefront:index/getAlertsAlertAlertTriageDashboardParameters:getAlertsAlertAlertTriageDashboardParameters"
}
},
"type": "object",
"required": [
"dashboardId",
"description"
],
"language": {
"nodejs": {
"requiredInputs": []
}
}
},
"wavefront:index/getAlertsAlertAlertTriageDashboardParameters:getAlertsAlertAlertTriageDashboardParameters": {
"properties": {
"constants": {
"type": "object",
"additionalProperties": {
"$ref": "pulumi.json#/Any"
}
}
},
"type": "object"
},
"wavefront:index/getAlertsAlertFailingHostLabelPair:getAlertsAlertFailingHostLabelPair": {
"properties": {
"firing": {
Expand Down Expand Up @@ -2753,6 +2866,13 @@
"type": "string",
"description": "User-supplied additional explanatory information for this alert.\nUseful for linking runbooks, migrations, etc.\n"
},
"alertTriageDashboards": {
"type": "array",
"items": {
"$ref": "#/types/wavefront:index/AlertAlertTriageDashboard:AlertAlertTriageDashboard"
},
"description": "A set of user-supplied dashboard and parameters to create dashboard links for triaging alerts.\n"
},
"alertType": {
"type": "string",
"description": "The type of alert in Wavefront. Either `CLASSIC` (default)\nor `THRESHOLD`.\n"
Expand Down Expand Up @@ -2806,6 +2926,13 @@
"type": "integer",
"description": "The number of consecutive minutes that a firing series matching the condition\nquery must evaluate to \"false\" (zero value) before the alert resolves. When unset, this defaults to\nthe same value as `minutes`.\n"
},
"runbookLinks": {
"type": "array",
"items": {
"type": "string"
},
"description": "A list of user-supplied runbook links for this alert.\n"
},
"severity": {
"type": "string",
"description": "Severity of the alert, valid values are `INFO`, `SMOKE`, `WARN`, `SEVERE`.\n"
Expand Down Expand Up @@ -2841,6 +2968,13 @@
"type": "string",
"description": "User-supplied additional explanatory information for this alert.\nUseful for linking runbooks, migrations, etc.\n"
},
"alertTriageDashboards": {
"type": "array",
"items": {
"$ref": "#/types/wavefront:index/AlertAlertTriageDashboard:AlertAlertTriageDashboard"
},
"description": "A set of user-supplied dashboard and parameters to create dashboard links for triaging alerts.\n"
},
"alertType": {
"type": "string",
"description": "The type of alert in Wavefront. Either `CLASSIC` (default)\nor `THRESHOLD`.\n"
Expand Down Expand Up @@ -2894,6 +3028,13 @@
"type": "integer",
"description": "The number of consecutive minutes that a firing series matching the condition\nquery must evaluate to \"false\" (zero value) before the alert resolves. When unset, this defaults to\nthe same value as `minutes`.\n"
},
"runbookLinks": {
"type": "array",
"items": {
"type": "string"
},
"description": "A list of user-supplied runbook links for this alert.\n"
},
"severity": {
"type": "string",
"description": "Severity of the alert, valid values are `INFO`, `SMOKE`, `WARN`, `SEVERE`.\n"
Expand Down Expand Up @@ -2928,6 +3069,13 @@
"type": "string",
"description": "User-supplied additional explanatory information for this alert.\nUseful for linking runbooks, migrations, etc.\n"
},
"alertTriageDashboards": {
"type": "array",
"items": {
"$ref": "#/types/wavefront:index/AlertAlertTriageDashboard:AlertAlertTriageDashboard"
},
"description": "A set of user-supplied dashboard and parameters to create dashboard links for triaging alerts.\n"
},
"alertType": {
"type": "string",
"description": "The type of alert in Wavefront. Either `CLASSIC` (default)\nor `THRESHOLD`.\n"
Expand Down Expand Up @@ -2981,6 +3129,13 @@
"type": "integer",
"description": "The number of consecutive minutes that a firing series matching the condition\nquery must evaluate to \"false\" (zero value) before the alert resolves. When unset, this defaults to\nthe same value as `minutes`.\n"
},
"runbookLinks": {
"type": "array",
"items": {
"type": "string"
},
"description": "A list of user-supplied runbook links for this alert.\n"
},
"severity": {
"type": "string",
"description": "Severity of the alert, valid values are `INFO`, `SMOKE`, `WARN`, `SEVERE`.\n"
Expand Down Expand Up @@ -6061,6 +6216,13 @@
"type": "string",
"description": "User-supplied additional explanatory information about this alert.\n"
},
"alertTriageDashboards": {
"type": "array",
"items": {
"$ref": "#/types/wavefront:index/getAlertAlertTriageDashboard:getAlertAlertTriageDashboard"
},
"description": "A set of user-supplied dashboard and parameters to create dashboard links for triaging alerts.\n"
},
"alertType": {
"type": "string",
"description": "The type of alert in Wavefront.\n"
Expand Down Expand Up @@ -6140,6 +6302,13 @@
"type": "integer",
"description": "The number of consecutive minutes that a firing series matching the condition query must evaluate to \"false\" (zero value) before the alert resolves.\n"
},
"runbookLinks": {
"type": "array",
"items": {
"type": "string"
},
"description": "A list of user-supplied runbook links for this alert.\n"
},
"severity": {
"type": "string",
"description": "The severity of the alert.\n"
Expand Down Expand Up @@ -6179,6 +6348,7 @@
"type": "object",
"required": [
"additionalInformation",
"alertTriageDashboards",
"alertType",
"canModifies",
"canViews",
Expand All @@ -6195,6 +6365,7 @@
"notificationResendFrequencyMinutes",
"processRateMinutes",
"resolveAfterMinutes",
"runbookLinks",
"severity",
"severityLists",
"statuses",
Expand Down
4 changes: 2 additions & 2 deletions provider/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.21
require (
github.com/pulumi/pulumi-terraform-bridge/v3 v3.70.0
github.com/pulumi/pulumi/sdk/v3 v3.99.0
github.com/vmware/terraform-provider-wavefront v0.0.0-20231010210106-16a96b5db492
github.com/vmware/terraform-provider-wavefront v0.0.0-20231110100500-cef74e6f1b23
)

require (
Expand Down Expand Up @@ -36,7 +36,7 @@ require (
github.com/Masterminds/sprig/v3 v3.2.2 // indirect
github.com/Microsoft/go-winio v0.6.1 // indirect
github.com/ProtonMail/go-crypto v0.0.0-20230828082145-3c4c8a2d2371 // indirect
github.com/WavefrontHQ/go-wavefront-management-api/v2 v2.1.1 // indirect
github.com/WavefrontHQ/go-wavefront-management-api/v2 v2.2.1 // indirect
github.com/acomagu/bufpipe v1.0.4 // indirect
github.com/aead/chacha20 v0.0.0-20180709150244-8b13a72661da // indirect
github.com/agext/levenshtein v1.2.3 // indirect
Expand Down
8 changes: 4 additions & 4 deletions provider/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -746,8 +746,8 @@ github.com/Shopify/logrus-bugsnag v0.0.0-20171204204709-577dee27f20d/go.mod h1:H
github.com/Shopify/sarama v1.19.0/go.mod h1:FVkBWblsNy7DGZRfXLU0O9RCGt5g3g3yEuWXgklEdEo=
github.com/Shopify/toxiproxy v2.1.4+incompatible/go.mod h1:OXgGpZ6Cli1/URJOF1DMxUHB2q5Ap20/P/eIdh4G0pI=
github.com/VividCortex/gohistogram v1.0.0/go.mod h1:Pf5mBqqDxYaXu3hDrrU+w6nw50o/4+TcAqDqk/vUH7g=
github.com/WavefrontHQ/go-wavefront-management-api/v2 v2.1.1 h1:Y2XZN5MoPOKIX7YVfAVFOnWYDkAQAh/65Y97Tt4Ez8g=
github.com/WavefrontHQ/go-wavefront-management-api/v2 v2.1.1/go.mod h1:yOfesauybnZn9yYaovaLRe3RxlsLSRIswmHayvJO9O8=
github.com/WavefrontHQ/go-wavefront-management-api/v2 v2.2.1 h1:9RWLxiaJ2NsKOGzLBEEDYBEQfqdAcELcIfiz2ETchp4=
github.com/WavefrontHQ/go-wavefront-management-api/v2 v2.2.1/go.mod h1:yOfesauybnZn9yYaovaLRe3RxlsLSRIswmHayvJO9O8=
github.com/acomagu/bufpipe v1.0.4 h1:e3H4WUzM3npvo5uv95QuJM3cQspFNtFBzvJ2oNjKIDQ=
github.com/acomagu/bufpipe v1.0.4/go.mod h1:mxdxdup/WdsKVreO5GpW4+M/1CE2sMG4jeGJ2sYmHc4=
github.com/aead/chacha20 v0.0.0-20180709150244-8b13a72661da h1:KjTM2ks9d14ZYCvmHS9iAKVt9AyzRSqNU1qabPih5BY=
Expand Down Expand Up @@ -2376,8 +2376,8 @@ github.com/vmihailenco/msgpack/v5 v5.4.1 h1:cQriyiUvjTwOHg8QZaPihLWeRAAVoCpE00IU
github.com/vmihailenco/msgpack/v5 v5.4.1/go.mod h1:GaZTsDaehaPpQVyxrf5mtQlH+pc21PIudVV/E3rRQok=
github.com/vmihailenco/tagparser/v2 v2.0.0 h1:y09buUbR+b5aycVFQs/g70pqKVZNBmxwAhO7/IwNM9g=
github.com/vmihailenco/tagparser/v2 v2.0.0/go.mod h1:Wri+At7QHww0WTrCBeu4J6bNtoV6mEfg5OIWRZA9qds=
github.com/vmware/terraform-provider-wavefront v0.0.0-20231010210106-16a96b5db492 h1:b24EJORK79r8e6U2ypHFUytCvb5jcZ5Vcyam+se3J6Y=
github.com/vmware/terraform-provider-wavefront v0.0.0-20231010210106-16a96b5db492/go.mod h1:XPJ8tE4ROvMtL6Dir4y/g2k1ZdBa/cPPSxXjMyP4U0I=
github.com/vmware/terraform-provider-wavefront v0.0.0-20231110100500-cef74e6f1b23 h1:amJdJpbWHCDlSB8mwvRx4hDQykZXrEMB7pysMtMKS0g=
github.com/vmware/terraform-provider-wavefront v0.0.0-20231110100500-cef74e6f1b23/go.mod h1:Di5UAjEUCMtTbp/1S/oaNVQQOlR9guaCRt/nTb5I0ak=
github.com/vultr/govultr/v2 v2.17.2/go.mod h1:ZFOKGWmgjytfyjeyAdhQlSWwTjh2ig+X49cAp50dzXI=
github.com/willf/bitset v1.1.11-0.20200630133818-d5bec3311243/go.mod h1:RjeCKbqT1RxIR/KWY6phxZiaY1IyutSBfGjNPySAYV4=
github.com/willf/bitset v1.1.11/go.mod h1:83CECat5yLh5zVOf4P1ErAgKA5UDvKtgyUABdr3+MjI=
Expand Down
Loading

0 comments on commit 6ff1e96

Please sign in to comment.