Giter Site home page Giter Site logo

Comments (3)

manoatsas avatar manoatsas commented on May 30, 2024

Tried to add depends_on = [module.vnet] to module.nfs that still does not seem to enforce decencies between NFS VM/NIC and VNet/Subnets.

This seems to be due to an update to tags that forces VNet Subnets. I found a similar issue open in the module repo - Azure/terraform-azurerm-vnet#41

  # module.vnet.azurerm_virtual_network.vnet must be replaced
-/+ resource "azurerm_virtual_network" "vnet" {
        address_space         = [
            "192.168.0.0/16",
        ]
        dns_servers           = []
      ~ guid                  = "e40fe24a-0818-4a80-94c9-0dce5f737f96" -> (known after apply)
      ~ id                    = "/subscriptions/XXXXX/resourceGroups/mnm-tst-rg/providers/Microsoft.Network/virtualNetworks/mnm-tst-vnet" -> (known after apply)
      ~ location              = "eastus2" -> (known after apply) # forces replacement
        name                  = "mnm-tst-vnet"
        resource_group_name   = "mnm-tst-rg"
      ~ subnet                = [
          - {
              - address_prefix = "192.168.16.0/20"
              - id             = "/subscriptions/XXXXX/resourceGroups/mnm-tst-rg/providers/Microsoft.Network/virtualNetworks/mnm-tst-vnet/subnets/mnm-tst-aks-subnet"
              - name           = "mnm-tst-aks-subnet"
              - security_group = ""
            },
          - {
              - address_prefix = "192.168.2.0/24"
              - id             = "/subscriptions/XXXXX/resourceGroups/mnm-tst-rg/providers/Microsoft.Network/virtualNetworks/mnm-tst-vnet/subnets/mnm-tst-misc-subnet"
              - name           = "mnm-tst-misc-subnet"
              - security_group = ""
            },
        ] -> (known after apply)
      ~ tags                  = {
            "cost_center"   = "rnd"
            "environment"   = "dev"
          ~ "project_name"  = "IAC" -> "testdep"
            "resourceowner" = "mameen"
        }
        vm_protection_enabled = false
    }

from viya4-iac-azure.

manoatsas avatar manoatsas commented on May 30, 2024

Related to

from viya4-iac-azure.

manoatsas avatar manoatsas commented on May 30, 2024

Resolved with PR #123

from viya4-iac-azure.

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.