@@ -24,7 +24,7 @@ variable "certificate_display_name" {
2424}
2525
2626variable "waas_policy_display_name" {
27- default = " tf_example_waas_policy "
27+ default = " tf_example_waas_policy_test "
2828}
2929
3030provider "oci" {
@@ -86,10 +86,10 @@ resource "oci_waas_address_list" "test_address_list" {
8686resource "oci_waas_waas_policy" "test_waas_policy" {
8787 # Required
8888 compartment_id = var. compartment_ocid
89- domain = " somethingnew54 .oracle.com"
89+ domain = " somethingnew66 .oracle.com"
9090
9191 # Optional
92- additional_domains = [" somethingnew55 .oracle.com" , " somethingnew56 .oracle.com" ]
92+ additional_domains = [" somethingnew67 .oracle.com" , " somethingnew68 .oracle.com" ]
9393 display_name = var. waas_policy_display_name
9494
9595 origin_groups {
@@ -177,7 +177,7 @@ resource "oci_waas_waas_policy" "test_waas_policy" {
177177 is_response_buffering_enabled = true
178178 is_sni_enabled = true
179179 websocket_path_prefixes = [" /url1" ]
180- tls_protocols = [" TLS_V1_1 " ]
180+ tls_protocols = [" TLS_V1_3 " ]
181181
182182 health_checks {
183183 is_enabled = true
@@ -467,7 +467,7 @@ data "oci_waas_address_lists" "test_address_lists" {
467467 compartment_id = var. compartment_ocid
468468
469469 # Optional
470- ids = [oci_waas_address_list . test_address_list . id } ]
470+ ids = [oci_waas_address_list . test_address_list . id ]
471471 names = [" tf-example-address-list" ]
472472 states = [" ACTIVE" ]
473473 time_created_greater_than_or_equal_to = " 2018-01-01T00:00:00.000Z"
@@ -489,7 +489,7 @@ data "oci_waas_custom_protection_rules" "test_custom_protection_rules" {
489489resource "oci_waas_http_redirect" "test_http_redirect" {
490490 # Required
491491 compartment_id = var. compartment_ocid
492- domain = " example3 .com"
492+ domain = " example5 .com"
493493
494494 target {
495495 # Required
@@ -523,4 +523,3 @@ data "oci_waas_http_redirects" "test_http_redirects" {
523523 time_created_greater_than_or_equal_to = " 2018-01-01T00:00:00.000Z"
524524 time_created_less_than = " 2038-01-01T00:00:00.000Z"
525525}
526-
0 commit comments