Code Monkey home page Code Monkey logo

Comments (7)

andyt530 avatar andyt530 commented on July 21, 2024

Hi Phiippe

Could you post the debug output - I should be able to fix it quickly then:

./az2tf.sh -s xxxxxxx -v yes -d yes -g [resource group where the gateway is]

Thanks

from py-az2tf.

pbosle avatar pbosle commented on July 21, 2024

Hi Andy

Thanks for the fast reply. I have attached the output.

Cheers Philippe

debug.log

from py-az2tf.

andyt530 avatar andyt530 commented on July 21, 2024

attempt at a fix posted

from py-az2tf.

pbosle avatar pbosle commented on July 21, 2024

Hi Andy

Thanks! It looks like the former issue is solved as I hit now at least another error (from terraform?):

_Warning: "location": [DEPRECATED] location is no longer used

on azurerm_virtual_machine_extension.dga-central-rg__vm-central-linux-1__AzureNetworkWatcherExtension.tf line 2, in resource "azurerm_virtual_machine_extension" "dga-central-rg__vm-central-linux-1__AzureNetworkWatcherExtension":
2: resource azurerm_virtual_machine_extension dga-central-rg__vm-central-linux-1__AzureNetworkWatcherExtension{

(and 6 more similar warnings elsewhere)

Warning: "resource_group_name": [DEPRECATED] This field has been deprecated and is no longer used - will be removed in 2.0 of the Azure Provider

on azurerm_virtual_machine_extension.dga-central-rg__vm-central-linux-1__AzureNetworkWatcherExtension.tf line 2, in resource "azurerm_virtual_machine_extension" "dga-central-rg__vm-central-linux-1__AzureNetworkWatcherExtension":
2: resource azurerm_virtual_machine_extension dga-central-rg__vm-central-linux-1__AzureNetworkWatcherExtension{

(and 6 more similar warnings elsewhere)

Warning: "virtual_machine_name": [DEPRECATED] This field has been deprecated in favor of virtual_machine_id - will be removed in 2.0 of the Azure Provider

on azurerm_virtual_machine_extension.dga-central-rg__vm-central-linux-1__AzureNetworkWatcherExtension.tf line 2, in resource "azurerm_virtual_machine_extension" "dga-central-rg__vm-central-linux-1__AzureNetworkWatcherExtension":
2: resource azurerm_virtual_machine_extension dga-central-rg__vm-central-linux-1__AzureNetworkWatcherExtension{

(and 6 more similar warnings elsewhere)

Error: Reference to undeclared resource

on azurerm_virtual_network_gateway_connection.dga-central-rg__conn-s2s-central-to-west.tf line 10, in resource "azurerm_virtual_network_gateway_connection" "dga-central-rg__conn-s2s-central-to-west":
10: peer_virtual_network_gateway_id = azurerm_virtual_network_gateway.dga-west-rg__vng-west-dmz-vpn.id

A managed resource "azurerm_virtual_network_gateway"
"dga-west-rg__vng-west-dmz-vpn" has not been declared in the root module._

Error Validating

Here is a new debug.log:
debug.log

For some reason the last output did not go into the debug.log:
A managed resource "azurerm_virtual_network_gateway"
"dga-west-rg__vng-west-dmz-vpn" has not been declared in the root module._

Error Validating

cheers Philippe

from py-az2tf.

andyt530 avatar andyt530 commented on July 21, 2024

Hi - fix posted for error.
I'll work through those warnings in the next few days - they are a new thing !

from py-az2tf.

pbosle avatar pbosle commented on July 21, 2024

Hi Andy

Muchas gracias!

Philippe

from py-az2tf.

andyt530 avatar andyt530 commented on July 21, 2024

Warnings should have gone now
Closing - reopen if further issues

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.