Skip to content

Commit

Permalink
fix test data
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacob Fowler committed Jul 18, 2023
1 parent e23ed6d commit f70e461
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion testdata/terraform/cloudflare_certificate_pack_acm/test.tf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
resource "cloudflare_certificate_pack" "terraform_managed_resource" {
certificate_authority = "digicert"
cloudflare_branding = false
hosts = ["example.com", "*.example.com", "www.example.com"]
hosts = ["*.example.com", "example.com", "www.example.com"]
type = "advanced"
validation_method = "txt"
validity_days = 365
Expand Down
2 changes: 1 addition & 1 deletion testdata/terraform/cloudflare_custom_hostname/test.tf
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ resource "cloudflare_custom_hostname" "terraform_managed_resource" {
custom_key = "-----BEGIN RSA PRIVATE KEY-----\nMIIEowIBAAKCAQEAwQHoetcl9+5ikGzV6cMzWtWPJHqXT3wpbEkRU9Yz7lgvddmG\ndtcGbg/1CGZu0jJGkMoppoUo4c3dts3iwqRYmBikUP77wwY2QGmDZw2FvkJCJlKn\nabIRuGvBKwzESIXgKk2016aTP6/dAjEHyo6SeoK8lkIySUvK0fyOVlsiEsCmOpid\ntnKX/a+50GjB79CJH4ER2lLVZnhePFR/zUOyPxZQQ4naHf7yu/b5jhO0f8fwt+py\nFxIXjbEIdZliWRkRMtzrHOJIhrmJ2A1J7iOrirbbwillwjjNVUWPf3IJ3M12S9pE\newooaeO2izNTERcG9HzAacbVRn2Y2SWIyT/18QIDAQABAoIBACbhTYXBZYKmYPCb\nHBR1IBlCQA2nLGf0qRuJNJZg5iEzXows/6tc8YymZkQE7nolapWsQ+upk2y5Xdp/\naxiuprIs9JzkYK8Ox0r+dlwCG1kSW+UAbX0bQ/qUqlsTvU6muVuMP8vZYHxJ3wmb\n+ufRBKztPTQ/rYWaYQcgC0RWI20HTFBMxlTAyNxYNWzX7RKFkGVVyB9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A PRIVATE KEY-----\n"
method = "http"
settings {
ciphers = ["ECDHE-RSA-AES128-GCM-SHA256", "AES128-SHA"]
ciphers = ["AES128-SHA", "ECDHE-RSA-AES128-GCM-SHA256"]
http2 = "on"
min_tls_version = "1.2"
}
Expand Down
8 changes: 4 additions & 4 deletions testdata/terraform/cloudflare_load_balancer/test.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
resource "cloudflare_load_balancer" "terraform_managed_resource" {
default_pool_ids = ["17b5962d775c646f3f9725cbc7a53df4", "9290f38c5d07c2e2f4df57b1f61d4196", "00920f38ce07c2e2f4df50b1f61d4194"]
default_pool_ids = ["00920f38ce07c2e2f4df50b1f61d4194", "17b5962d775c646f3f9725cbc7a53df4", "9290f38c5d07c2e2f4df57b1f61d4196"]
description = "Load Balancer for www.example.com"
enabled = true
fallback_pool_id = "17b5962d775c646f3f9725cbc7a53df4"
Expand All @@ -12,7 +12,7 @@ resource "cloudflare_load_balancer" "terraform_managed_resource" {
zone_id = "0da42c8d2132a9ddaf714f9e7c920711"
country_pools {
country = "AU"
pool_ids = ["de90f38ced07c2e2f4df50b1f61d4194", "9290f38c5d07c2e2f4df57b1f61d4196"]
pool_ids = ["9290f38c5d07c2e2f4df57b1f61d4196", "de90f38ced07c2e2f4df50b1f61d4194"]
}
country_pools {
country = "ME"
Expand All @@ -23,7 +23,7 @@ resource "cloudflare_load_balancer" "terraform_managed_resource" {
pool_ids = ["abd90f38ced07c2e2f4df50b1f61d4194", "f9138c5d07c2e2f4df57b1f61d4196"]
}
pop_pools {
pool_ids = ["de90f38ced07c2e2f4df50b1f61d4194", "9290f38c5d07c2e2f4df57b1f61d4196"]
pool_ids = ["9290f38c5d07c2e2f4df57b1f61d4196", "de90f38ced07c2e2f4df50b1f61d4194"]
pop = "LAX"
}
pop_pools {
Expand All @@ -39,7 +39,7 @@ resource "cloudflare_load_balancer" "terraform_managed_resource" {
region = "ENAM"
}
region_pools {
pool_ids = ["de90f38ced07c2e2f4df50b1f61d4194", "9290f38c5d07c2e2f4df57b1f61d4196"]
pool_ids = ["9290f38c5d07c2e2f4df57b1f61d4196", "de90f38ced07c2e2f4df50b1f61d4194"]
region = "WNAM"
}
session_affinity_attributes {
Expand Down
2 changes: 1 addition & 1 deletion testdata/terraform/cloudflare_load_balancer_pool/test.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
resource "cloudflare_load_balancer_pool" "terraform_managed_resource" {
account_id = "f037e56e89293a057740de681ac9abbe"
check_regions = ["WEU", "ENAM"]
check_regions = ["ENAM", "WEU"]
description = "Primary data center - Provider XYZ"
enabled = false
minimum_origins = 2
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
resource "cloudflare_origin_ca_certificate" "terraform_managed_resource" {
csr = "-----BEGIN CERTIFICATE REQUEST-----\nMIICxzCCAa8CAQAwSDELMAkGA1UEBhMCVVMxFjAUBgNVBAgTDVNhbiBGcmFuY2lz\nY28xCzAJBgNVBAcTAkNBMRQwEgYDVQQDEwtleGFtcGxlLm5ldDCCASIwDQYJKoZI\nhvcNAQEBBQADggEPADCCAQoCggEBALxejtu4b+jPdFeFi6OUsye8TYJQBm3WfCvL\nHu5EvijMO/4Z2TImwASbwUF7Ir8OLgH+mGlQZeqyNvGoSOMEaZVXcYfpR1hlVak8\n4GGVr+04IGfOCqaBokaBFIwzclGZbzKmLGwIQioNxGfqFm6RGYGA3be2Je2iseBc\nN8GV1wYmvYE0RR+yWweJCTJ157exyRzu7sVxaEW9F87zBQLyOnwXc64rflXslRqi\ng7F7w5IaQYOl8yvmk/jEPCAha7fkiUfEpj4N12+oPRiMvleJF98chxjD4MH39c5I\nuOslULhrWunfh7GB1jwWNA9y44H0snrf+xvoy2TcHmxvma9Eln8CAwEAAaA6MDgG\nCSqGSIb3DQEJDjErMCkwJwYDVR0RBCAwHoILZXhhbXBsZS5uZXSCD3d3dy5leGFt\ncGxlLm5ldDANBgkqhkiG9w0BAQsFAAOCAQEAcBaX6dOnI8ncARrI9ZSF2AJX+8mx\npTHY2+Y2C0VvrVDGMtbBRH8R9yMbqWtlxeeNGf//LeMkSKSFa4kbpdx226lfui8/\nauRDBTJGx2R1ccUxmLZXx4my0W5iIMxunu+kez+BDlu7bTT2io0uXMRHue4i6quH\nyc5ibxvbJMjR7dqbcanVE10/34oprzXQsJ/VmSuZNXtjbtSKDlmcpw6To/eeAJ+J\nhXykcUihvHyG4A1m2R6qpANBjnA0pHexfwM/SgfzvpbvUg0T1ubmer8BgTwCKIWs\ndcWYTthM51JIqRBfNqy4QcBnX+GY05yltEEswQI55wdiS3CjTTA67sdbcQ==\n-----END CERTIFICATE REQUEST-----"
hostnames = ["example.com", "*.example.com"]
hostnames = ["*.example.com", "example.com"]
request_type = "origin-rsa"
requested_validity = 5475
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ resource "cloudflare_ruleset" "terraform_managed_resource" {
rules {
action = "log_custom_field"
action_parameters {
cookie_fields = ["cookie", "fields"]
request_fields = ["request", "fields"]
response_fields = ["response", "fields"]
cookie_fields = ["fields", "cookie"]
request_fields = ["fields", "request"]
response_fields = ["fields", "response"]
}
description = "zone"
enabled = true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ resource "cloudflare_ruleset" "terraform_managed_resource" {
enabled = false
expression = "(http.cookie eq \"namwe=value\")"
ratelimit {
characteristics = ["ip.src", "cf.colo.id"]
characteristics = ["cf.colo.id", "ip.src"]
mitigation_timeout = 30
period = 60
requests_per_period = 100
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ resource "cloudflare_ruleset" "terraform_managed_resource" {
action = "skip"
action_parameters {
phases = ["http_ratelimit", "http_request_firewall_managed"]
products = ["zoneLockdown", "uaBlock", "bic", "hot", "securityLevel", "rateLimit", "waf"]
products = ["bic", "hot", "rateLimit", "securityLevel", "uaBlock", "waf","zoneLockdown"]
ruleset = "current"
}
description = "test.example.com"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ resource "cloudflare_zone_settings_override" "terraform_managed_resource" {
browser_check = "on"
cache_level = "aggressive"
challenge_ttl = 2700
ciphers = ["ECDHE-RSA-AES128-GCM-SHA256", "AES128-SHA"]
ciphers = ["AES128-SHA", "ECDHE-RSA-AES128-GCM-SHA256"]
cname_flattening = "flatten_at_root"
development_mode = "off"
email_obfuscation = "on"
Expand Down

0 comments on commit f70e461

Please sign in to comment.