-
Notifications
You must be signed in to change notification settings - Fork 37
Closed
Labels
Description
Affected modules
Prblem in terraform-ibm-landing-zone in the rocks-quickstart pattern:
Terraform CLI and Terraform provider versions
terraform -v
Terraform v1.9.8
on windows_amd64
+ provider registry.terraform.io/hashicorp/external v2.3.4
+ provider registry.terraform.io/hashicorp/kubernetes v2.33.0
+ provider registry.terraform.io/hashicorp/null v3.2.3
+ provider registry.terraform.io/hashicorp/random v3.6.3
+ provider registry.terraform.io/hashicorp/time v0.12.1
+ provider registry.terraform.io/ibm-cloud/ibm v1.70.1
- Terraform version:
- Provider version:
Terraform output
Debug output
Expected behavior
Expecting terraform plan executed without the errors
Actual behavior
Error during the plan:
Error: Error in function call
on ..\..\dynamic_values\f5_vsi.tf line 125, in locals:
125: ut_f5_template_regex = regex("#cloud-config\nchpasswd:\n expire: false\n list: |\n admin:\ntmos_dhcpv4_tmm:\n enabled: true\n rd_enabled: false\n icontrollx_trusted_sources: false\n inject_routes: true\n configsync_interface: 1.1\n default_route_interface: 1.2\n dhcp_timeout: 120\n dhcpv4_options:\n mgmt:\n host-name: f5-ve-01\n domain-name: local\n '1.2':\n routers: 10.0.0.1\n do_enabled: true \n do_declaration: null\n do_declaration_url: null\n as3_enabled: true\n as3_declaration_url: null\n ts_enabled: true\n ts_declaration_url: null\n phone_home_url: null\n phone_home_url_verify_tls: false\n phone_home_url_metadata:\n template_source: f5devcentral/ibmcloud_schematics_bigip_multinic_declared\n template_version: 20210201\n zone: 1-zone\n vpc: 1234\n app_id: null\n tgactive_url: \n tgstandby_url: null\n tgrefresh_url: null\n", module.ut_f5.f5_template_map["ut-f5-zone-1"].user_data)
├────────────────
│ while calling regex(pattern, string)
Call to function "regex" failed: pattern did not match any part of the given string.
Steps to reproduce (including links and screen captures)
- Clone https://github.com/terraform-ibm-modules/terraform-ibm-landing-zone.git repo
- Go to the
patterns/roks-quickstart - Provide
ibmcloud_api_keyandprefixvariables - Run
terraform plan
Anything else
By submitting this issue, you agree to follow our Code of Conduct