Invalid multi-line string

See original GitHub issue

Package Versions: azure-cli 2.0.72 Terraform v0.12.9 Python 2.7.15+

Terraform Resource Type Filter = 
Get Subscription Policies & RBAC = no
Extract Key Vault Secrets to .tf files (insecure) = no
Fast Forward = no
Validate Only = no
Debug = no
 
python2.7 ../../scripts/az2tf.py -s 8c2a2cbd-6bdc-4094-bfa1-8ca3b7f2c7ea -g wavy-whatsapp 2>&1 | tee -a import.log
resource group=wavy-whatsapp
Get Access Token from CLI
Subscription: 8c2a2cbd-6bdc-4094-bfa1-8ca3b7f2c7ea
Found subscription 8c2a2cbd-6bdc-4094-bfa1-8ca3b7f2c7ea proceeding ...
Found Resource Groupwavy-whatsapp
# azurerm_resource_group 4
# azurerm_management_lock 0
# azurerm_user_assigned_identity 1
rgname=mc_wavy-whatsapp_wavy-aks-whatsapp-single_eastus2 crg=wavy-whatsapp
# azurerm_availability_set 0
# azurerm_route_table 0
# azurerm_application_security_group 0
# azurerm_network_security_group 2
# azurerm_virtual_network 1
# azurerm_subnet 1
# azurerm_virtual_network_peering 1
# azurerm_key_vault 0
# azurerm_managed_disk 0
# azurerm_storage_account 2
# azurerm_public_ip 2
# azurerm_traffic_manager_profile 0
# azurerm_traffic_manager_endpoint 0
# azurerm_network_interface 0
# azurerm_dns_zone 0
# azurerm_lb 2
# azurerm_lb_nat_rule 2
# azurerm_lb_nat_pool 2
# azurerm_lb_backend_address_pool 2
# azurerm_lb_probe 2
# azurerm_lb_rule 2
# azurerm_application_gateway 1
# azurerm_local_network_gateway 0
# azurerm_virtual_network_gateway 0
# azurerm_virtual_network_gateway_connection 0
# azurerm_express_route_circuit 0
# azurerm_express_route_circuit_authorization 0
# azurerm_express_route_circuit_peering 0
# azurerm_container_registry 0
# azurerm_kubernetes_cluster 1
# azurerm_recovery_services_vault 0
# azurerm_virtual_machine 0
# azurerm_virtual_machine_extension 0
# azurerm_virtual_machine_scale_set 1
# azurerm_automation_account 0
# azurerm_log_analytics_workspace 1
# azurerm_log_analytics_solution 1
# azurerm_image 0
# azurerm_shared_image_gallery 0
# azurerm_snapshot 0
# azurerm_network_watcher 2
# azurerm_cosmosdb_account 0
# azurerm_sql_server 0
# azurerm_sql_database 0
# azurerm_databricks_workspace 0
# azurerm_app_service_plan 0
# azurerm_app_service 0
# azurerm_function_app 0
# azurerm_logic_app_workflow 0
# azurerm_api_management 0
# azurerm_monitor_autoscale_setting 0
terraform init
There are some problems with the configuration, described below.

The Terraform configuration must be valid before initialization so that
Terraform can determine which modules and providers need to be installed.

Error: Invalid multi-line string

  on azurerm_kubernetes_cluster.wavy-whatsapp__wavy-aks-whatsapp-single.tf line 11, in resource "azurerm_kubernetes_cluster" "wavy-whatsapp__wavy-aks-whatsapp-single":
  11: 
  12: 

Quoted strings may not be split over multiple lines. To produce a multi-line
string, either use the \n escape to represent a newline character or use the
"heredoc" multi-line template syntax.


Error: Unterminated template string

  on azurerm_kubernetes_cluster.wavy-whatsapp__wavy-aks-whatsapp-single.tf line 11, in resource "azurerm_kubernetes_cluster" "wavy-whatsapp__wavy-aks-whatsapp-single":
  11: 
  12: 

No closing marker was found for the string.

Error: Invalid multi-line string
Error: Unterminated template string
Error with terraform init

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
andyt530commented, Sep 25, 2019

ok posted a fix

0reactions
tiago-cruz-movilecommented, Sep 25, 2019

Worked, thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error: Invalid multi-line string terraform - Stack Overflow
Quoted strings may not be split over multiple lines. To produce a multi-line string, either use the \n escape to represent a newline...
Read more >
Error: Invalid multi-line string - Terraform - HashiCorp Discuss
Hi all. I am trying to deploy, for testing purposes, VAULT on AWS and I am running terraform Terraform v0.13.2.
Read more >
Invalid multi-line string in variable : r/Terraform - Reddit
Hello, I have a multiline sql view bigquery in my local variable locals { viewlist = ["myview","SELECT .... FROM ${PROJECT}JOIN.
Read more >
Some character patterns inside multi-line comment cause plan ...
Error: Invalid multi-line string │ │ on code.tf line 9: │ 9: } │ │ Quoted strings may not be split over multiple...
Read more >
The string data type - Azure Data Explorer | Microsoft Learn
[a-zA-Z0-9/+]{86}==' // Encode a C# program in a Kusto multi-line string print program=``` public class Program { public static void Main() ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found