Skip to content

Releases: splunk/terraform-provider-synthetics

v2.0.12

19 Nov 16:21
b19c73c
Compare
Choose a tag to compare

What's Changed

  • SYN-4606: Handle browser check defaults by @Pajk in #65

Versions v2.0.8 - v2.0.11 of this provider do not handle correctly the default values of browser check step fields wait_for_nav_timeout and max_wait_time in synthetics_create_browser_check_v2 resource.

To find out more about the issue, look at https://github.com/splunk/terraform-provider-synthetics/releases/tag/v2.0.7.

Upgrade Note

When upgrading to version v2.0.12 from versions v2.0.8 - v2.0.11, be aware that there is an enhancement in the handling of default values.

Expected changes in state: If you are upgrading from the affected versions and have not explicitly set values for the specified fields, expect the next Terraform plan/apply to assign them value of zero.

State Management: The Terraform state will now only include values that are explicitly set in your Terraform configuration.

Review Configuration: Ensure you review your Terraform configuration to set any necessary values explicitly to avoid unintended defaults.

Check the API documentation for all the available step types, options and the default values.

The current server-side default values:

wait_for_nav_timeout

Applicable only for the following steps in browser tests: clear_element, click_element, enter_value, run_javascript, select_option, store_variable_from_javascript.

Default is 50 when wait_for_nav=false.
Default is 2000 when wait_for_nav=true.

max_wait_time

Applicable only for the following steps in browser tests: assert_element_present, assert_element_not_present, assert_element_visible, assert_element_not_visible, assert_text_present, assert_text_not_present.

Default is 10000.

New Contributors

  • @Pajk made their first contribution in #65

Full Changelog: v2.0.11...v2.0.12

v2.0.11

13 Nov 21:49
c3b4941
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.0.10...v2.0.11

v2.0.10

10 Oct 19:44
ddbe58e
Compare
Choose a tag to compare

What's Changed

  • SYN-4410: Do not send 0 for max_wait_time if field is not provided by @sangn-splunk in #63

Full Changelog: v2.0.9...v2.0.10

v2.0.9

26 Sep 21:27
9cbc8fb
Compare
Choose a tag to compare

What's Changed

  • SYN-4427 : Update default wait_for_nav_timeout to 50 & add test cases by @nitun-splunk in #62

New Contributors

Full Changelog: v2.0.8...v2.0.9

v2.0.8

27 Aug 20:45
29e6543
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.0.7...v2.0.8

v2.0.7

21 Aug 17:51
35ee577
Compare
Choose a tag to compare

Known issue with terraform-provider-synthetics

Versions of terraform-provider-synthetics newer than 2.0.7 may cause the following issues in synthetic tests:

  • Inconsistent test behavior:
    • The configuration parameter wait_for_nav_timeout may incorrectly default to 50ms, causing some navigation steps to not wait long enough and therefore create inconsistent test results.
  • Immediate test failure:
    • The configuration parameter max_wait_time may incorrectly default to 0ms, causing assertion steps to fail immediately because they do not wait for elements to appear.

Workarounds

Don’t upgrade terraform-provider-synthetics past version 2.0.7 until further notice.
Explicitly set your Terraform configuration parameters wait_for_nav_timeout and max_wait_time instead of relying on default values. Sample configuration:

resource "synthetics_test" "example" {
  type                 = "enter_value"
  wait_for_nav         = true
  wait_for_nav_timeout = 2000  # Example value, adjust as needed
  max_wait_time        = 10000 # Example value, adjust as needed
  // Other configuration parameters...
}
  • Adds wait_for_nav_timeout and max_wait_time to browser steps

What's Changed

New Contributors

Full Changelog: v2.0.6...v2.0.7

v2.0.6

26 Jun 15:40
a2e92ae
Compare
Choose a tag to compare
  • add collect interactive metrics to browser data source #47 Thanks to @technimad-splunk
  • update value regex for custom properties #49 Thanks to @bambro
  • add support for downtime configurations #50
  • upgrade ghaction version #51
  • Update goreleaser to v2. Update docs #52
  • add terraform-registry-manifest.json file to root #53

v2.0.5

23 Apr 14:47
3d51d05
Compare
Choose a tag to compare
  • Adds last_run_status and last_run_at #42 Thanks to @bchhay-splunk
  • regex validation fixes to Synthetic test custom attributes to allow - and _ where appropriate #44

v2.0.4

06 Mar 18:52
7671546
Compare
Choose a tag to compare
  • addresses a bug with 404 status codes when resource is deleted manually #41

v2.0.3

16 Nov 18:02
cd66308
Compare
Choose a tag to compare

Minor Changes

  • Adds custom_properties which attaches a custom key and value pair to synthetic checks for grouping and filtering synthetic tests. Thanks to @bgustafson for contributing #33
  • Updates to docs and examples for above change