Skip to content

Releases: sysdiglabs/terraform-provider-sysdig

v0.5.0

06 Oct 13:42
4d76489
Compare
Choose a tag to compare

BREAKING CHANGES

  • Removed Resource: The sysdig_secure_notification_channel was marked as deprecated in the latest version and this one removes it.
  • Terraform SDK has been updated to v2, and now it makes use of the Go's context for cancellation, which improves reliability when cancelling a terraform apply.

FEATURES

  • New Resource: sysdig_monitor_dashboard that implements Dashboards v3 with PromQL support. More info.
  • New Datasource: sysdig_current_user. Retrieves information from the current user performing API calls. More info

BUG FIXES

  • Admins will be ignored from the team creation with sysdig_monitor_team and sysdig_secure_team since they are added by default.

DOCS

Changelog

4d76489 docs: Add documentation for sysdig_monitor_dashboard (#49)
345d46a refactor: Move creation logics from Dashboard v3 to the client (#47)
6fff856 feat: Initial support for Dashboards v3 (#46)
6d8b71a feat: Add context in CRUD functions and in the client (#45)
8644bb4 docs: Remove unused docs and add instructions for TF 0.13+ (#44)
2073574 feat!: Upgrade TF SDK to v2 (#43)

v0.4.0

18 Sep 10:54
7df9384
Compare
Choose a tag to compare

DEPRECATION

  • Deprecated Resource: sysdig_secure_notification_channel. This resource will be removed in the next version, please migrate to the new sysdig_secure_notification_channel_* resources.

FEATURES

  • New Resource: sysdig_monitor_team.
  • New Resource: sysdig_secure_notification_channel_email.
  • New Resource: sysdig_secure_notification_channel_sns.
  • New Resource: sysdig_secure_notification_channel_opsgenie.
  • New Resource: sysdig_secure_notification_channel_victorops.
  • New Resource: sysdig_secure_notification_channel_webhook.
  • New Resource: sysdig_secure_notification_channel_slack.
  • New Resource: sysdig_secure_notification_channel_pagerduty.
  • New Resource: sysdig_monitor_notification_channel_email.
  • New Resource: sysdig_monitor_notification_channel_opsgenie.
  • New Resource: sysdig_monitor_notification_channel_pagerduty.
  • New Resource: sysdig_monitor_notification_channel_slack.
  • New Resource: sysdig_monitor_notification_channel_sns.
  • New Resource: sysdig_monitor_notification_channel_victorops.
  • New Resource: sysdig_monitor_notification_channel_webhook.
  • New custom headers option to the provider and the client that would allow users of the provider to authenticate with custom methods.
    The headers can overwrite the existing Authorization and Content-Type.
    Example:
provider "sysdig" {
  sysdig_monitor_url = ibm_resource_key.resource_key.credentials["Sysdig Endpoint"]
  sysdig_monitor_api_token = data.ibm_iam_auth_token.auth.iam_access_token
  extra_headers = {
    "IBMInstanceID" = ibm_resource_instance.sysdig.guid
    "Authorization" = data.ibm_iam_auth_token.auth.iam_access_token
  }
}
  • Support proxy from env vars $HTTP_PROXY with the format http://user:password@host:port/ and $NO_PROXY with a comma-separated list of servers that should not be connected through proxy, like foo.com,bar.net:4000.

BUG FIXES

  • Solved race condition caused by the Terraform SDK

OTHER

Changelog

7df9384 ci: Add Terraform Registry release procedure (#42)
b864855 fix(docs): Typos (#38)
feed853 docs: Improve documentation (#37)
fbfed2f fix(docs): Solve problems showing links (#36)
36412b8 docs: Update GitHub pages with more documentation (#35)
5bd5215 fix: Enable CI checking when pushing to master
4395fa6 Set theme jekyll-theme-leap-day
ccd94b4 Set theme jekyll-theme-cayman
1da2cb9 feat: Add CI and docs
28d1846 docs: Format sysdig.erb file
160daf5 docs: Add documentation for the new Notification Channel resources
1299af3 feat: Change required fields to optional in Notification Channels
b1c223e feat: Add sysdig_monitor_notification_channel resources
326c9cf feat: Split NC into dedicated, and deprecate the general
4a677a6 docs: Move resources and datasources to their own tab
3f6e9f9 docs: Improve documentation
d08ea3b feat: Support proxy from env vars (#34)
824662b feat: Add custom headers option to the provider and the client (#33)
1de6ebf feat: Add sysdig_monitor_team resource
290e398 fix: Add Mutex to solve race condition in Terraform SDK

v0.3.0

12 May 19:43
Compare
Choose a tag to compare

NOTES:

  • Before this release, the sysdig_user resource could only be used if a Sysdig Secure API token was provided. The sysdig_user can now be used with either a Monitor API token or a Secure API token.

FEATURES:

  • New Resource: sysdig_secure_list
  • New Resource: sysdig_secure_macro
  • New Datasource: sysdig_secure_notification_channel
  • The following fields in the provider sysdig are now optional instead of required and will only be required when the user creates the resources that use them:
    • sysdig_secure_api_token
    • sysdig_secure_url
    • sysdig_monitor_api_token
    • sysdig_monitor_url
  • Added fields to the sysdig provider:
    • sysdig_secure_insecure_tls
    • sysdig_monitor_insecure_tls

BUG FIXES:

  • Updating a condition results in errors (#26)
  • Using TF_LOG=TRACE does not show the HTTP requests to the Sysdig API (#28)

v0.2.1

23 Apr 17:17
20b0737
Compare
Choose a tag to compare

FEATURES:

  • New Resource: sysdig_secure_team (Thanks to @rung for the PR #15)

BUG FIXES:

  • Failure to install due to incorrect naming scheme (#18)
  • Sysdig Monitor Alerts crashing when using Notification Channels (#24)

v0.2.0

03 Mar 11:43
Compare
Choose a tag to compare

The Terraform provider has been updated since long time ago and these are the most notable changes:

NOTES:

  • Bumped required Go version to 1.13.

FEATURES:

  • New Resource: sysdig_monitor_alert_anomaly
  • New Resource: sysdig_monitor_alert_downtime
  • New Resource: sysdig_monitor_alert_event
  • New Resource: sysdig_monitor_alert_group_outlier
  • New Resource: sysdig_monitor_alert_metric
  • New Resource: sysdig_secure_rule_container
  • New Resource: sysdig_secure_rule_filesystem
  • New Resource: sysdig_secure_rule_network
  • New Resource: sysdig_secure_rule_process
  • New Resource: sysdig_secure_rule_syscall
  • New Resource: sysdig_secure_rule_falco
  • New Resource: sysdig_user (Special thanks to @rung for the PR #12)
  • Updated Resource: sysdig_secure_notification_channel
    • New field: send_test_notification
  • Updated Resource: sysdig_secure_policy
    • Updated to use v2 of the API.
  • Removed Resource: sysdig_secure_user_rules_file
  • Removed Resource: sysdig_secure_policies_priority

ENHANCEMENTS:

  • Updated Terraform provider to use the new terraform-plugin-sdk.
  • Updated examples.
  • Added documentation.
  • Added acceptance tests.
  • Updated client for Secure.
  • Added client for Monitor.