diff --git a/docs/resources/zia_location_management.md b/docs/resources/zia_location_management.md index b012060d..3099c55a 100644 --- a/docs/resources/zia_location_management.md +++ b/docs/resources/zia_location_management.md @@ -33,7 +33,7 @@ resource "zia_location_management" "usa_sjc37"{ ips_control = true ip_addresses = [ zia_traffic_forwarding_static_ip.usa_sjc37.ip_address ] vpn_credentials { - id = zia_traffic_forwarding_vpn_credentials.usa_sjc37.vpn_credental_id + id = zia_traffic_forwarding_vpn_credentials.usa_sjc37.id type = zia_traffic_forwarding_vpn_credentials.usa_sjc37.type } depends_on = [zia_traffic_forwarding_vpn_credentials.usa_sjc37, zia_traffic_forwarding_static_ip.usa_sjc37 ] diff --git a/docs/resources/zia_traffic_forwarding_vpn_credentials.md b/docs/resources/zia_traffic_forwarding_vpn_credentials.md index f2305baf..62d289ad 100644 --- a/docs/resources/zia_traffic_forwarding_vpn_credentials.md +++ b/docs/resources/zia_traffic_forwarding_vpn_credentials.md @@ -18,6 +18,7 @@ The **zia_traffic_forwarding_vpn_credentials** creates and manages VPN credentia ## Example Usage ```hcl +######### PASSWORDS IN THIS FILE ARE FAKE AND NOT USED IN PRODUCTION SYSTEMS ######### # ZIA Traffic Forwarding - VPN Credentials (UFQDN) resource "zia_traffic_forwarding_vpn_credentials" "example"{ type = "UFQDN" @@ -29,6 +30,7 @@ resource "zia_traffic_forwarding_vpn_credentials" "example"{ ```hcl # ZIA Traffic Forwarding - VPN Credentials (IP) +######### PASSWORDS IN THIS FILE ARE FAKE AND NOT USED IN PRODUCTION SYSTEMS ######### resource "zia_traffic_forwarding_vpn_credentials" "example"{ type = "IP" ip_address = zia_traffic_forwarding_static_ip.example.ip_address diff --git a/examples/zia_admin_user/admin_user_department_scope.tf b/examples/zia_admin_user/admin_user_department_scope.tf index b509a04d..370cf7ea 100644 --- a/examples/zia_admin_user/admin_user_department_scope.tf +++ b/examples/zia_admin_user/admin_user_department_scope.tf @@ -4,7 +4,7 @@ resource "zia_admin_users" "john_smith" { username = "John Smith" email = "john.smith@acme.com" is_password_login_allowed = true - password = "" + password = "********************" is_security_report_comm_enabled = true is_service_update_comm_enabled = true is_product_update_comm_enabled = true diff --git a/examples/zia_admin_user/admin_user_location_group_scope.tf b/examples/zia_admin_user/admin_user_location_group_scope.tf index 29332fdf..27237998 100644 --- a/examples/zia_admin_user/admin_user_location_group_scope.tf +++ b/examples/zia_admin_user/admin_user_location_group_scope.tf @@ -4,7 +4,7 @@ resource "zia_admin_users" "john_smith" { username = "John Smith" email = "john.smith@acme.com" is_password_login_allowed = true - password = "" + password = "********************" is_security_report_comm_enabled = true is_service_update_comm_enabled = true is_product_update_comm_enabled = true diff --git a/examples/zia_admin_user/admin_user_location_scope.tf b/examples/zia_admin_user/admin_user_location_scope.tf index baec7919..a21f22ec 100644 --- a/examples/zia_admin_user/admin_user_location_scope.tf +++ b/examples/zia_admin_user/admin_user_location_scope.tf @@ -4,7 +4,7 @@ resource "zia_admin_users" "john_smith" { username = "John Smith" email = "john.smith@acme.com" is_password_login_allowed = true - password = "" + password = "********************" is_security_report_comm_enabled = true is_service_update_comm_enabled = true is_product_update_comm_enabled = true diff --git a/examples/zia_admin_user/admin_user_organization_scope.tf b/examples/zia_admin_user/admin_user_organization_scope.tf index 02d318b5..7f16aa56 100644 --- a/examples/zia_admin_user/admin_user_organization_scope.tf +++ b/examples/zia_admin_user/admin_user_organization_scope.tf @@ -4,7 +4,7 @@ resource "zia_admin_users" "john_smith" { username = "John Smith" email = "john.smith@acme.com" is_password_login_allowed = true - password = "" + password = "********************" is_security_report_comm_enabled = true is_service_update_comm_enabled = true is_product_update_comm_enabled = true diff --git a/examples/zia_location_management/location_management_vpn_credentials_type_ip.tf b/examples/zia_location_management/location_management_vpn_credentials_type_ip.tf index 82ded6ba..e3b83958 100644 --- a/examples/zia_location_management/location_management_vpn_credentials_type_ip.tf +++ b/examples/zia_location_management/location_management_vpn_credentials_type_ip.tf @@ -13,18 +13,19 @@ resource "zia_location_management" "usa_sjc37"{ ip_addresses = [ zia_traffic_forwarding_static_ip.usa_sjc37.ip_address ] depends_on = [ zia_traffic_forwarding_static_ip.usa_sjc37, zia_traffic_forwarding_vpn_credentials.usa_sjc37 ] vpn_credentials { - id = zia_traffic_forwarding_vpn_credentials.usa_sjc37.vpn_credental_id + id = zia_traffic_forwarding_vpn_credentials.usa_sjc37.id type = zia_traffic_forwarding_vpn_credentials.usa_sjc37.type ip_address = zia_traffic_forwarding_static_ip.usa_sjc37.ip_address } } +######### PASSWORDS IN THIS FILE ARE FAKE AND NOT USED IN PRODUCTION SYSTEMS ######### resource "zia_traffic_forwarding_vpn_credentials" "usa_sjc37"{ type = "IP" ip_address = zia_traffic_forwarding_static_ip.usa_sjc37.ip_address depends_on = [ zia_traffic_forwarding_static_ip.usa_sjc37 ] comments = "Created via Terraform" - pre_shared_key = "newPassword123!" + pre_shared_key = "******************" } resource "zia_traffic_forwarding_static_ip" "usa_sjc37"{ diff --git a/examples/zia_location_management/location_management_vpn_credentials_type_ufqdn.tf b/examples/zia_location_management/location_management_vpn_credentials_type_ufqdn.tf index c18b9400..7eea0628 100644 --- a/examples/zia_location_management/location_management_vpn_credentials_type_ufqdn.tf +++ b/examples/zia_location_management/location_management_vpn_credentials_type_ufqdn.tf @@ -13,16 +13,17 @@ resource "zia_location_management" "usa_sjc37"{ ip_addresses = [ zia_traffic_forwarding_static_ip.usa_sjc37.ip_address ] depends_on = [ zia_traffic_forwarding_static_ip.usa_sjc37, zia_traffic_forwarding_vpn_credentials.usa_sjc37 ] vpn_credentials { - id = zia_traffic_forwarding_vpn_credentials.usa_sjc37.vpn_credental_id + id = zia_traffic_forwarding_vpn_credentials.usa_sjc37.id type = zia_traffic_forwarding_vpn_credentials.usa_sjc37.type } } +######### PASSWORDS IN THIS FILE ARE FAKE AND NOT USED IN PRODUCTION SYSTEMS ######### resource "zia_traffic_forwarding_vpn_credentials" "usa_sjc37"{ type = "UFQDN" fqdn = "usa_sjc37@acme.com" comments = "USA - San Jose IPSec Tunnel" - pre_shared_key = "P@ass0rd123!" + pre_shared_key = "*************" } resource "zia_traffic_forwarding_static_ip" "usa_sjc37"{ diff --git a/examples/zia_traffic_forwarding_vpn_credentials/basic_ip_address.tf b/examples/zia_traffic_forwarding_vpn_credentials/basic_ip_address.tf index db5d3ab3..4212590e 100644 --- a/examples/zia_traffic_forwarding_vpn_credentials/basic_ip_address.tf +++ b/examples/zia_traffic_forwarding_vpn_credentials/basic_ip_address.tf @@ -1,8 +1,9 @@ +######### PASSWORDS IN THIS FILE ARE FAKE AND NOT USED IN PRODUCTION SYSTEMS ######### resource "zia_traffic_forwarding_vpn_credentials" "example"{ type = "IP" ip_address = "1.1.1.1" comments = "Created via Terraform" - pre_shared_key = "newPassword123!" + pre_shared_key = "***************" } output "zia_traffic_forwarding_vpn_credentials"{ diff --git a/examples/zia_traffic_forwarding_vpn_credentials/basic_ufqdn.tf b/examples/zia_traffic_forwarding_vpn_credentials/basic_ufqdn.tf index 497f5bdb..60beb390 100644 --- a/examples/zia_traffic_forwarding_vpn_credentials/basic_ufqdn.tf +++ b/examples/zia_traffic_forwarding_vpn_credentials/basic_ufqdn.tf @@ -1,8 +1,9 @@ +######### PASSWORDS IN THIS FILE ARE FAKE AND NOT USED IN PRODUCTION SYSTEMS ######### resource "zia_traffic_forwarding_vpn_credentials" "example"{ type = "UFQDN" fqdn = "sjc-1-37@acme.com" comments = "Created via Terraform" - pre_shared_key = "newPassword123!" + pre_shared_key = "***************" } output "zia_traffic_forwarding_vpn_credentials"{ diff --git a/examples/zia_user_management/zia_user_management_data/basic.tf b/examples/zia_user_management/zia_user_management_data/basic.tf index a6302fae..1188e301 100644 --- a/examples/zia_user_management/zia_user_management_data/basic.tf +++ b/examples/zia_user_management/zia_user_management_data/basic.tf @@ -2,7 +2,7 @@ resource "zia_user_management" "john_ashcroft" { name = "John Ashcroft" email = "john.ashcroft@acme.com" - password = "" + password = "********************" auth_methods = ["BASIC"] groups { id = [ data.zia_group_management.normal_internet.id,