CHANGES:
- fix(CIRC-10300): Change the type of the OID configurations for SNMP checks from TypeList to TypeSet. This ensures the state is always ordered the same regardless of how the API returns the configuration keys. This should resolve issues of OID's changing positions in the state when applying SNMP checks.
CHANGES:
- upd: Updates the behavior of the HTTP check resource to scan through the list of check type interfaces to find the correct configuration values.
CHANGES:
- upd: Updates the behavior of the graph resource to allow values removed from terraform files to be correctly cleared by the terraform provider.
CHANGES:
- upd: Removes support from the circonus_contact_group resource for external contact methods that are no longer supported: irc and xmpp. Updates the documentation to remove these methods as well.
CHANGES:
- add: Adds the
default_dashboard_uuid
anddefault_dashboard_type
attributes to the Account data source schema to support the new changes to the dashboard defaulting process. - upd: Removes the
account_default
attribute from the Dashboard resource schema to reflect the changes to the dashboard defaulting process since this field is no longer returned by the API.
UPDATES:
- upd: Updates the version of go-apiclient to v0.7.16.
UPDATES:
- upd: Bumps github.com/hashicorp/terraform-plugin-sdk/v2 from 2.16.0 to 2.17.0.
IMPROVEMENTS:
- add: Added support for the ssh2 check type.
CHANGES:
- fix: mismatch in http contact types (not reading format field and normalize url field)
- upd: Added environment variable settings to the acceptance test suite so that it can be run in other environments.
CHANGES:
- upd: deprecate tags on rule_set (they are just check tags, api ignores tags on rule_set objects)
- upd: using
over
on rule_set REQUIRES all three attributes to be set
UPDATES:
- upd: terraform-plugin-sdk v2.8.0
- add: rule_set_group test
- upd: use diagnostics instead of errors in several resources (ongoing updates)
- upd: use *Context methods in several resources (ongoing updates)
CHANGES:
- fix: rule set group expression can be string or numeric, use interface for api, convert to string for state file
CHANGES:
- fix: rule set group expression can be string or numeric, use interface
- upd: var for update ruleset test
- upd: var names for graph update test
- upd: api debug log if TF_LOG DEBUG or TRACE
- upd: lint errors/warnings
- add: lint config
UPDATES:
- build(deps): bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.6.1 to 2.7.0
- build(deps): bump github.com/circonus-labs/go-apiclient from 0.7.14 to 0.7.15
- build(deps): bump github.com/circonus-labs/go-apiclient from 0.7.13 to 0.7.14
- build(deps): bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.5.0 to 2.6.1
- build(deps): bump github.com/circonus-labs/go-apiclient from 0.7.11 to 0.7.13
- build(deps): bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.4.4 to 2.5.0
- build(deps): bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.4.3 to 2.4.4
CHANGES:
- upd: terraform-plugin-sdk v2 (Terraform v0.12.0+ required)
FIXES:
- fix: regex for ruleset.metric_name, metric names can indeed have spaces
FIXES:
- fix spurious snmp diffs, test for snmp checks
CHANGES:
- implement new ruleset.user_json field
FIXES:
- fix ruleset.parent regex to allow old form and new form
CHANGES:
- add support for eq_value and neq_value for numeric rulesets
CHANGES:
- add Name field to ruleset resource
FIXES:
- resolve ruleset notify list ordering issue
- deal with
if.then.after == 0
, deal withseverity = 0
notify lists - spurious diffs in ruleset
- fix clear ruleset rules (severity 0)
- fixes for metric.caql whitespace causing spurious diffs
- merge ntp test fixes from ntp_check branch
- fix ruleset absence test with type switch since it can be string or number
- fix graph test, make check name and graph name static across create/modification tests
FIXES:
- http check updating gets two configs in []interface{} list - the first is the valid updated config and the second is empty. This results in the check bundle Config being overwritten with blank values for each attribute, then the API complains about missing attributes.
CHANGES:
- upgrade dependencies (go-apiclient,retryablehttp) to use Retry-After header on 429 API responses
FIXES:
- add http check
redirects
attribute
CHANGES:
- deprecate
irc
contact type
FIXES:
- use
{{ .Tag }}
in binary name to get v prefixed version in binary file name using{{ .Version }}
resulted inx.y.z
; usingv{{ .Version }}
resulted invvx.y.z
IMPROVEMENTS:
- add NTP check support
- add SMTP check support
- transfer repository to circonus-labs
- add goreleaser configuration
- initial build/release cycle
IMPROVEMENTS:
- go-apiclient v0.7.7
- Environment vars to external checks
- Support for new windowing_min_duration in rulesets
FIXES:
- update ruleset parent pattern
- remove support for deprecated metric.tags and metric.units (use streamtags)
- remove support for deprecated metric_cluster
IMPROVEMENTS:
- go-apiclient 0.7.6
- Fix to prevent noop updates to SNMP checks
- The metrics in a check should be a list, not a set, to preserve order (noop updates again)
- Add a test for metric_filters in a check
- Add validation for a ruleset to prevent metric_type -> Rule.Criteria mismatches
- Prevent unnecessary updates to dashboards
- Do exponential backoff when API returns 503's
- Fix slack contact groups to have reasonable slack default text
- Fix external check output extract: JSON, NAGIOS, otherwise treated as regexp
FEATURES:
- New support for check types:
- dns
IMPROVEMENTS:
- Circonus go-apiclient 0.7.3
- Change
circonus_check.metric_filters
a List to preserve order of filters - Add
state
widget support to thecirconus_dashboard
FEATURES:
- New support for check types:
- redis
IMPROVEMENTS:
- Change to
circonus_rule_set
to eliminate false differences due to time conversion. Now all times in acirconus_rule_set
are seconds.
- New Resource:
circonus_maintenance
IMPROVEMENTS:
- Small fixes for ruleset processing
FEATURES:
-
New Resource:
circonus_overlay_set
-
New Resource:
circonus_rule_set_group
-
New Resource:
circonus_dashboard
-
New support for check types:
- external
- jmx
- memcached
- promtext
- snmp
IMPROVEMENTS:
- Circonus go-apiclient 0.7.2
- Support for Metric allow/deny filters in Checks
- Support for guide lines in graphs
- Support for search based datapoints graphs
- Support for pattern based Rule sets
- Support for query order in worksheets
IMPROVEMENTS:
- Update dependencies
- Switch to Terraform Plugin SDK
NOTES:
- Minimum version of Go required to build the provider is now 1.13
IMPROVEMENTS:
- Provider: Migrate from deprecated circonus-gometrics/api to go-apiclient
- Provider: Support new attributes for contact group (
group_type
andalways_send_clear
)
FEATURES:
- New Resource:
circonus_worksheet
(#17)
IMPROVEMENTS:
- Provider: Accept the
CIRCONUS_API_URL
environment variable to configure the API URL (#18) - Provider: Upgrade
circonus-gometrics
to2.2.4
(#22)
NOTES:
- Minimum version of Go required to build the provider is now 1.10
- Deprecated
govendor
in favor of usingdep
for vendor management (#19)
BUG FIXES:
resource/circonus_rule_set
: Change the defaultseverity
to0
to allow clearing of an alert (#15)resource/circonus_rule_set
: Changes to thecheck
ormetric_name
will result in a new ruleset being created (#10)
NOTES:
- Same functionality as that of Terraform 0.9.8. Repacked as part of Provider Splitout