Releases: splunk/terraform-provider-synthetics
v2.0.12
What's Changed
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
Full Changelog: v2.0.11...v2.0.12
v2.0.11
What's Changed
- SYN-4475: Adds chrome flags to provider by @sangn-splunk in #66
Full Changelog: v2.0.10...v2.0.11
v2.0.10
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
What's Changed
- SYN-4427 : Update default wait_for_nav_timeout to 50 & add test cases by @nitun-splunk in #62
New Contributors
- @nitun-splunk made their first contribution in #62
Full Changelog: v2.0.8...v2.0.9
v2.0.8
What's Changed
- Add maxWaitTime and waitForNavTimeout to structures by @sangn-splunk in #58
Full Changelog: v2.0.7...v2.0.8
v2.0.7
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
- Fix downtime config docs by @greatestusername in #54
- Adds wait_for_nav_timeout and max_wait_time to browser steps by @sangn-splunk in #55
- add createdBy and updatedBy to /tests responses by @bchhay-splunk in #56
New Contributors
- @sangn-splunk made their first contribution in #55
Full Changelog: v2.0.6...v2.0.7
v2.0.6
- 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
- Adds
last_run_status
andlast_run_at
#42 Thanks to @bchhay-splunk - regex validation fixes to Synthetic test custom attributes to allow
-
and_
where appropriate #44
v2.0.4
v2.0.3
Minor Changes
- Adds
custom_properties
which attaches a customkey
andvalue
pair to synthetic checks for grouping and filtering synthetic tests. Thanks to @bgustafson for contributing #33 - Updates to docs and examples for above change