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