Skip to content

Commit

Permalink
Merge pull request #37 from catchpoint/AZD187721
Browse files Browse the repository at this point in the history
Bug 188869: [Terraform] Update operation in terraform without any changes, displays 1 change applied message
  • Loading branch information
vikashkuma authored May 15, 2024
2 parents 6bda6e8 + f38f821 commit f1519a1
Show file tree
Hide file tree
Showing 27 changed files with 72 additions and 72 deletions.
9 changes: 4 additions & 5 deletions catchpoint/resource_api_test_type.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,14 +84,13 @@ func resourceApiTestType() *schema.Resource {
},
"start_time": {
Type: schema.TypeString,
Optional: true,
Default: "",
Description: "Optional. Start time for the Test in ISO format",
Required: true,
Description: "Start time for the Test in ISO format like 2024-12-30T04:59:00Z",
},
"end_time": {
Type: schema.TypeString,
Optional: true,
Description: "Optional. End time for the Test in ISO format",
Required: true,
Description: "End time for the Test in ISO format like 2024-12-30T04:59:00Z",
},
"status": {
Type: schema.TypeString,
Expand Down
9 changes: 4 additions & 5 deletions catchpoint/resource_bgp_test_type.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,14 +73,13 @@ func resourceBgpTestType() *schema.Resource {
},
"start_time": {
Type: schema.TypeString,
Optional: true,
Default: "",
Description: "Optional. Start time for the Test in ISO format",
Required: true,
Description: "Start time for the Test in ISO format like 2024-12-30T04:59:00Z",
},
"end_time": {
Type: schema.TypeString,
Optional: true,
Description: "Optional. End time for the Test in ISO format",
Required: true,
Description: "End time for the Test in ISO format like 2024-12-30T04:59:00Z",
},
"status": {
Type: schema.TypeString,
Expand Down
9 changes: 4 additions & 5 deletions catchpoint/resource_dns_test_type.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,14 +83,13 @@ func resourceDnsTestType() *schema.Resource {
},
"start_time": {
Type: schema.TypeString,
Optional: true,
Default: "",
Description: "Optional. Start time for the Test in ISO format",
Required: true,
Description: "Start time for the Test in ISO format like 2024-12-30T04:59:00Z",
},
"end_time": {
Type: schema.TypeString,
Optional: true,
Description: "Optional. End time for the Test in ISO format",
Required: true,
Description: "End time for the Test in ISO format like 2024-12-30T04:59:00Z",
},
"status": {
Type: schema.TypeString,
Expand Down
9 changes: 4 additions & 5 deletions catchpoint/resource_ping_test_type.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,14 +73,13 @@ func resourcePingTestType() *schema.Resource {
},
"start_time": {
Type: schema.TypeString,
Optional: true,
Default: "",
Description: "Optional. Start time for the Test in ISO format",
Required: true,
Description: "Start time for the Test in ISO format like 2024-12-30T04:59:00Z",
},
"end_time": {
Type: schema.TypeString,
Optional: true,
Description: "Optional. End time for the Test in ISO format",
Required: true,
Description: "End time for the Test in ISO format like 2024-12-30T04:59:00Z",
},
"status": {
Type: schema.TypeString,
Expand Down
9 changes: 4 additions & 5 deletions catchpoint/resource_playwright_test_type.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,14 +97,13 @@ func resourcePlaywrightTestType() *schema.Resource {
},
"start_time": {
Type: schema.TypeString,
Optional: true,
Default: "",
Description: "Optional. Start time for the Test in ISO format",
Required: true,
Description: "Start time for the Test in ISO format like 2024-12-30T04:59:00Z",
},
"end_time": {
Type: schema.TypeString,
Optional: true,
Description: "Optional. End time for the Test in ISO format",
Required: true,
Description: "End time for the Test in ISO format like 2024-12-30T04:59:00Z",
},
"status": {
Type: schema.TypeString,
Expand Down
9 changes: 4 additions & 5 deletions catchpoint/resource_puppeteer_test_type.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,14 +97,13 @@ func resourcePuppeteerTestType() *schema.Resource {
},
"start_time": {
Type: schema.TypeString,
Optional: true,
Default: "",
Description: "Optional. Start time for the Test in ISO format",
Required: true,
Description: "Start time for the Test in ISO format like 2024-12-30T04:59:00Z",
},
"end_time": {
Type: schema.TypeString,
Optional: true,
Description: "Optional. End time for the Test in ISO format",
Required: true,
Description: "End time for the Test in ISO format like 2024-12-30T04:59:00Z",
},
"status": {
Type: schema.TypeString,
Expand Down
9 changes: 4 additions & 5 deletions catchpoint/resource_ssl_test_type.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,14 +85,13 @@ func resourceSslTestType() *schema.Resource {
},
"start_time": {
Type: schema.TypeString,
Optional: true,
Default: "",
Description: "Optional. Start time for the Test in ISO format",
Required: true,
Description: "Start time for the Test in ISO format like 2024-12-30T04:59:00Z",
},
"end_time": {
Type: schema.TypeString,
Optional: true,
Description: "Optional. End time for the Test in ISO format",
Required: true,
Description: "End time for the Test in ISO format like 2024-12-30T04:59:00Z",
},
"status": {
Type: schema.TypeString,
Expand Down
9 changes: 4 additions & 5 deletions catchpoint/resource_traceroute_test_type.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,14 +73,13 @@ func resourceTracerouteTestType() *schema.Resource {
},
"start_time": {
Type: schema.TypeString,
Optional: true,
Default: "",
Description: "Optional. Start time for the Test in ISO format",
Required: true,
Description: "Start time for the Test in ISO format like 2024-12-30T04:59:00Z",
},
"end_time": {
Type: schema.TypeString,
Optional: true,
Description: "Optional. End time for the Test in ISO format",
Required: true,
Description: "End time for the Test in ISO format like 2024-12-30T04:59:00Z",
},
"status": {
Type: schema.TypeString,
Expand Down
9 changes: 4 additions & 5 deletions catchpoint/resource_transaction_test_type.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,14 +97,13 @@ func resourceTransactionTestType() *schema.Resource {
},
"start_time": {
Type: schema.TypeString,
Optional: true,
Default: "",
Description: "Optional. Start time for the Test in ISO format",
Required: true,
Description: "Start time for the Test in ISO format like 2024-12-30T04:59:00Z",
},
"end_time": {
Type: schema.TypeString,
Optional: true,
Description: "Optional. End time for the Test in ISO format",
Required: true,
Description: "End time for the Test in ISO format like 2024-12-30T04:59:00Z",
},
"status": {
Type: schema.TypeString,
Expand Down
4 changes: 2 additions & 2 deletions docs/resources/api_test.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ description: |-
### Required

- `division_id` (Number) The Division where the Test will be created
- `end_time` (String) End time for the Test in ISO format like 2024-12-30T04:59:00Z
- `product_id` (Number) The parent Product under which the Test will be created
- `start_time` (String) Start time for the Test in ISO format like 2024-12-30T04:59:00Z
- `test_name` (String) The name of the Test
- `test_script` (String) The Script that will simulate user workflow
- `test_script_type` (String) The type of script. Supported: 'selenium','javascript'
Expand All @@ -29,15 +31,13 @@ description: |-
- `alert_settings` (Block Set, Max: 1) Optional. Used for overriding the alert section (see [below for nested schema](#nestedblock--alert_settings))
- `alerts_paused` (Boolean) Optional. Switch for pausing Test alerts
- `enable_test_data_webhook` (Boolean) Optional. Switch for enabling test data webhook feature
- `end_time` (String) Optional. End time for the Test in ISO format
- `folder_id` (Number) Optional. The Folder under which the Test will be created
- `gateway_address_or_host` (String) Host/IP to use for network troubleshooting and monitoring
- `insights` (Block Set, Max: 1) Optional. Used for overriding the insights section (see [below for nested schema](#nestedblock--insights))
- `label` (Block Set) Optional. Label with key, values pair (see [below for nested schema](#nestedblock--label))
- `monitor` (String) The monitor to use for the Api Test. Supported: 'api'
- `request_settings` (Block Set, Max: 1) Optional. Used for overriding authentication and HTTP request headers (see [below for nested schema](#nestedblock--request_settings))
- `schedule_settings` (Block Set, Max: 1) Optional. Used for overriding the schedule section (see [below for nested schema](#nestedblock--schedule_settings))
- `start_time` (String) Optional. Start time for the Test in ISO format
- `status` (String) Optional. Test status: active or inactive
- `test_description` (String) Optional. The Test description
- `thresholds` (Block Set) Optional. Test thresholds for test time and availability percentage (see [below for nested schema](#nestedblock--thresholds))
Expand Down
4 changes: 2 additions & 2 deletions docs/resources/bgp_test.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,20 @@ description: |-
### Required

- `division_id` (Number) The Division where the Test will be created
- `end_time` (String) End time for the Test in ISO format like 2024-12-30T04:59:00Z
- `prefix` (String) IPV4 address with a netmask range from 8 to 24 or IPV6 address with a netmask range from 28 to 128
- `product_id` (Number) The parent Product under which the Test will be created
- `start_time` (String) Start time for the Test in ISO format like 2024-12-30T04:59:00Z
- `test_name` (String) The name of the Test

### Optional

- `alert_settings` (Block Set, Max: 1) Optional. Used for overriding the alert section (see [below for nested schema](#nestedblock--alert_settings))
- `alerts_paused` (Boolean) Optional. Switch for pausing Test alerts
- `enable_test_data_webhook` (Boolean) Optional. Switch for enabling test data webhook feature
- `end_time` (String) Optional. End time for the Test in ISO format
- `folder_id` (Number) Optional. The Folder under which the Test will be created
- `label` (Block Set) Optional. Label with key, values pair (see [below for nested schema](#nestedblock--label))
- `monitor` (String) The monitor to use for the BGP Test. Supported: 'bgp','bgp basic'
- `start_time` (String) Optional. Start time for the Test in ISO format
- `status` (String) Optional. Test status: active or inactive
- `test_description` (String) Optional. The Test description

Expand Down
4 changes: 2 additions & 2 deletions docs/resources/dns_test.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,10 @@ description: |-
### Required

- `division_id` (Number) The Division where the Test will be created
- `end_time` (String) End time for the Test in ISO format like 2024-12-30T04:59:00Z
- `product_id` (Number) The parent Product under which the Test will be created
- `query_type` (String) The type of DNS query
- `start_time` (String) Start time for the Test in ISO format like 2024-12-30T04:59:00Z
- `test_domain` (String) The domain to be tested. Example: www.catchpoint.com
- `test_name` (String) The name of the Test

Expand All @@ -30,12 +32,10 @@ description: |-
- `alerts_paused` (Boolean) Optional. Switch for pausing Test alerts
- `dns_server` (String) IP address or host name. If empty uses node's resolver. For DNS Direct monitor.
- `enable_test_data_webhook` (Boolean) Optional. Switch for enabling test data webhook feature
- `end_time` (String) Optional. End time for the Test in ISO format
- `folder_id` (Number) Optional. The Folder under which the Test will be created
- `label` (Block Set) Optional. Label with key, values pair (see [below for nested schema](#nestedblock--label))
- `monitor` (String) The monitor to use for the Dns Test. Supported: 'dns experience','dns direct'
- `schedule_settings` (Block Set, Max: 1) Optional. Used for overriding the schedule section (see [below for nested schema](#nestedblock--schedule_settings))
- `start_time` (String) Optional. Start time for the Test in ISO format
- `status` (String) Optional. Test status: active or inactive
- `test_description` (String) Optional. The Test description
- `thresholds` (Block Set) Optional. Test thresholds for test time and availability percentage (see [below for nested schema](#nestedblock--thresholds))
Expand Down
4 changes: 2 additions & 2 deletions docs/resources/ping_test.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ description: |-
### Required

- `division_id` (Number) The Division where the Test will be created
- `end_time` (String) End time for the Test in ISO format like 2024-12-30T04:59:00Z
- `product_id` (Number) The parent Product under which the Test will be created
- `start_time` (String) Start time for the Test in ISO format like 2024-12-30T04:59:00Z
- `test_location` (String) The domain or IP to be tested. Example: www.catchpoint.com
- `test_name` (String) The name of the Test

Expand All @@ -28,12 +30,10 @@ description: |-
- `alert_settings` (Block Set, Max: 1) Optional. Used for overriding the alert section (see [below for nested schema](#nestedblock--alert_settings))
- `alerts_paused` (Boolean) Optional. Switch for pausing Test alerts
- `enable_test_data_webhook` (Boolean) Optional. Switch for enabling test data webhook feature
- `end_time` (String) Optional. End time for the Test in ISO format
- `folder_id` (Number) Optional. The Folder under which the Test will be created
- `label` (Block Set) Optional. Label with key, values pair (see [below for nested schema](#nestedblock--label))
- `monitor` (String) The monitor to use for the Ping Test. Supported: 'ping icmp','ping tcp','ping udp'
- `schedule_settings` (Block Set, Max: 1) Optional. Used for overriding the schedule section (see [below for nested schema](#nestedblock--schedule_settings))
- `start_time` (String) Optional. Start time for the Test in ISO format
- `status` (String) Optional. Test status: active or inactive
- `test_description` (String) Optional. The Test description
- `thresholds` (Block Set) Optional. Test thresholds for test time and availability percentage (see [below for nested schema](#nestedblock--thresholds))
Expand Down
4 changes: 2 additions & 2 deletions docs/resources/playwright_test.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ description: |-
### Required

- `division_id` (Number) The Division where the Test will be created
- `end_time` (String) End time for the Test in ISO format like 2024-12-30T04:59:00Z
- `product_id` (Number) The parent Product under which the Test will be created
- `start_time` (String) Start time for the Test in ISO format like 2024-12-30T04:59:00Z
- `test_name` (String) The name of the Test
- `test_script` (String) The Script that will simulate user workflow

Expand All @@ -29,7 +31,6 @@ description: |-
- `alerts_paused` (Boolean) Optional. Switch for pausing Test alerts
- `chrome_version` (String) Chrome version to use. Supported: 'preview', 'stable', '108', '89', '87', '85', '75', '71', '66', '63', '59', '53'
- `enable_test_data_webhook` (Boolean) Optional. Switch for enabling test data webhook feature
- `end_time` (String) Optional. End time for the Test in ISO format
- `folder_id` (Number) Optional. The Folder under which the Test will be created
- `gateway_address_or_host` (String) Host/IP to use for network troubleshooting and monitoring
- `insights` (Block Set, Max: 1) Optional. Used for overriding the insights section (see [below for nested schema](#nestedblock--insights))
Expand All @@ -38,7 +39,6 @@ description: |-
- `request_settings` (Block Set, Max: 1) Optional. Used for overriding authentication and HTTP request headers (see [below for nested schema](#nestedblock--request_settings))
- `schedule_settings` (Block Set, Max: 1) Optional. Used for overriding the schedule section (see [below for nested schema](#nestedblock--schedule_settings))
- `simulate` (String) The device to simulate for mobile monitor
- `start_time` (String) Optional. Start time for the Test in ISO format
- `status` (String) Optional. Test status: active or inactive
- `test_description` (String) Optional. The Test description
- `test_script_type` (String) The type of script. Supported: 'playwright'
Expand Down
4 changes: 2 additions & 2 deletions docs/resources/puppeteer_test.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ description: |-
### Required

- `division_id` (Number) The Division where the Test will be created
- `end_time` (String) End time for the Test in ISO format like 2024-12-30T04:59:00Z
- `product_id` (Number) The parent Product under which the Test will be created
- `start_time` (String) Start time for the Test in ISO format like 2024-12-30T04:59:00Z
- `test_name` (String) The name of the Test
- `test_script` (String) The Script that will simulate user workflow

Expand All @@ -29,7 +31,6 @@ description: |-
- `alerts_paused` (Boolean) Optional. Switch for pausing Test alerts
- `chrome_version` (String) Chrome version to use. Supported: 'preview', 'stable', '108', '89', '87', '85', '75', '71', '66', '63', '59', '53'
- `enable_test_data_webhook` (Boolean) Optional. Switch for enabling test data webhook feature
- `end_time` (String) Optional. End time for the Test in ISO format
- `folder_id` (Number) Optional. The Folder under which the Test will be created
- `gateway_address_or_host` (String) Host/IP to use for network troubleshooting and monitoring
- `insights` (Block Set, Max: 1) Optional. Used for overriding the insights section (see [below for nested schema](#nestedblock--insights))
Expand All @@ -38,7 +39,6 @@ description: |-
- `request_settings` (Block Set, Max: 1) Optional. Used for overriding authentication and HTTP request headers (see [below for nested schema](#nestedblock--request_settings))
- `schedule_settings` (Block Set, Max: 1) Optional. Used for overriding the schedule section (see [below for nested schema](#nestedblock--schedule_settings))
- `simulate` (String) The device to simulate for mobile monitor
- `start_time` (String) Optional. Start time for the Test in ISO format
- `status` (String) Optional. Test status: active or inactive
- `test_description` (String) Optional. The Test description
- `test_script_type` (String) The type of script. Supported: 'puppeteer'
Expand Down
4 changes: 2 additions & 2 deletions docs/resources/ssl_test.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ description: |-
### Required

- `division_id` (Number) The Division where the Test will be created
- `end_time` (String) End time for the Test in ISO format like 2024-12-30T04:59:00Z
- `product_id` (Number) The parent Product under which the Test will be created
- `start_time` (String) Start time for the Test in ISO format like 2024-12-30T04:59:00Z
- `test_location` (String) The domain to be tested. Example: ssl://www.domain.com:443
- `test_name` (String) The name of the Test

Expand All @@ -28,14 +30,12 @@ description: |-
- `alert_settings` (Block Set, Max: 1) Optional. Used for overriding the alert section (see [below for nested schema](#nestedblock--alert_settings))
- `alerts_paused` (Boolean) Optional. Switch for pausing Test alerts
- `enable_test_data_webhook` (Boolean) Optional. Switch for enabling test data webhook feature
- `end_time` (String) Optional. End time for the Test in ISO format
- `enforce_certificate_key_pinning` (Boolean) Optional. Switch for enabling Certificate Key Pinning feature
- `enforce_certificate_pinning` (Boolean) Optional. Switch for enabling Certificate Pinning feature
- `folder_id` (Number) Optional. The Folder under which the Test will be created
- `label` (Block Set) Optional. Label with key, values pair (see [below for nested schema](#nestedblock--label))
- `monitor` (String) The monitor to use for the Ssl Test. Supported: 'ssl'
- `schedule_settings` (Block Set, Max: 1) Optional. Used for overriding the schedule section (see [below for nested schema](#nestedblock--schedule_settings))
- `start_time` (String) Optional. Start time for the Test in ISO format
- `status` (String) Optional. Test status: active or inactive
- `test_description` (String) Optional. The Test description
- `thresholds` (Block Set) Optional. Test thresholds for test time and availability percentage (see [below for nested schema](#nestedblock--thresholds))
Expand Down
Loading

0 comments on commit f1519a1

Please sign in to comment.