Code Monkey home page Code Monkey logo

Comments (17)

andyt530 avatar andyt530 commented on July 21, 2024

please post the debug output
./az2tf.sh -s xxxxxx -d yes -v yes

from py-az2tf.

satheeshpanampilly avatar satheeshpanampilly commented on July 21, 2024

import.log
Hi,

Attached import logs created by the tool. Please check.
THanx

from py-az2tf.

andyt530 avatar andyt530 commented on July 21, 2024

Cool will post a fix in a few hours time.

from py-az2tf.

satheeshpanampilly avatar satheeshpanampilly commented on July 21, 2024

Thanx a lot Andy for the response.

from py-az2tf.

andyt530 avatar andyt530 commented on July 21, 2024

posted fix

from py-az2tf.

satheeshpanampilly avatar satheeshpanampilly commented on July 21, 2024

Thanx a lot Andy. That worked.

from py-az2tf.

satheeshpanampilly avatar satheeshpanampilly commented on July 21, 2024

Hi Andy,

Actually got the same error for the environment or resource group which i tried yesterday which has loadbalancers, networks, vmscale sets etc.

from py-az2tf.

andyt530 avatar andyt530 commented on July 21, 2024

Same error ?
The line causing your original error has been deleted so that shouldn’t be possible. Does the place your running from need a git pull/clone

from py-az2tf.

satheeshpanampilly avatar satheeshpanampilly commented on July 21, 2024

Yes the same error. I removed the old code and done a fresh git clone and then tried to execute and got into same error.

from py-az2tf.

satheeshpanampilly avatar satheeshpanampilly commented on July 21, 2024

Error below.

Traceback (most recent call last):
File "../../scripts/az2tf.py", line 385, in
azurerm_virtual_machine_scale_set.azurerm_virtual_machine_scale_set(crf,cde,crg,headers,requests,sub,json,az2tfmess,cldurl)
File "/usr/csuser/clouddrive/tf/az2tf/py-az2tf/scripts/azurerm_virtual_machine_scale_set.py", line 129, in azurerm_virtual_machine_scale_set
vmsshpath = azr[i]["properties"]["virtualMachineProfile"]["osProfile"]["linuxConfiguration"]["ssh"]["publicKeys"][0]["path"]
IndexError: list index out of range
IndexError: list index out of range
Error in az2tf.py

from py-az2tf.

andyt530 avatar andyt530 commented on July 21, 2024

Different line number !
Fix will be posted later today

from py-az2tf.

satheeshpanampilly avatar satheeshpanampilly commented on July 21, 2024

OK Thanx

from py-az2tf.

andyt530 avatar andyt530 commented on July 21, 2024

fix posted

from py-az2tf.

satheeshpanampilly avatar satheeshpanampilly commented on July 21, 2024

Thanx Andy. Will check and let you Know.

from py-az2tf.

andyt530 avatar andyt530 commented on July 21, 2024

going to assume this one is ok now - please reopen of further issues

from py-az2tf.

satheeshpanampilly avatar satheeshpanampilly commented on July 21, 2024

Hello Andy,
Now problem comes during init. Pasting below error details.

Error: Invalid multi-line string

on azurerm_network_security_group.tfnon__Tfnonpns.tf line 19, in resource "azurerm_network_security_group" "tfnon__Tfnonpns":
19:
21:

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_network_security_group.tfnon__Tfnonpns.tf line 19, in resource "azurerm_network_security_group" "tfnon__Tfnonpns":
19:
21:

No closing marker was found for the string.

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

from py-az2tf.

andyt530 avatar andyt530 commented on July 21, 2024

Please open as a new issue

Include the debug output & import.log

from py-az2tf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.