Giter Club home page Giter Club logo

Comments (4)

arnaudlh avatar arnaudlh commented on May 22, 2024 1

Hi @frodopackets, we use the provider from the registry, available here
and you should call it using:

terraform {
  required_providers {
    azurecaf = {
      source = "aztfmod/azurecaf"
    }
  }
}

The hashicorp/azurecaf error message you are referring to - is due to modules trying to locate the provider "the old way".

Updated modules are now in test and you can check the code I'm using for the demo here: https://github.com/arnaudlh/caf-terraform-landingzones-tfc/tree/master/landingzones/landingzone_caf_foundations

HTH.

from caf-terraform-landingzones.

frodopackets avatar frodopackets commented on May 22, 2024

When trying to instantiate landingzone_caf_foundations on 0.13beta2 via TFE or the local binary, I'm observing issues where its trying to find the azurecaf provider within aztfmod (this is signed and successful) as well as the hashicorp namespace (this is not for obvious reasons). Since it fails to find azurecaf in the hashicorp namespace the plan fails. This doesn't happen unless I start taking advantage of the blueprint/modules - just setting the required provider and using an azurecaf resource works fine. I can't seem to locate where the problem might be. At first I assumed we just had an azurecaf provider called out in a module/submodule without the aztfmod namespace being defined but I can't find it. I even removed version pinning to see if I was leveraged an out of date module. Obviously 0.13 is beta, and this is still work in progress - but it seemed worth calling out the issue here since it seemed to be working for TFC in the demo on youtube.

from caf-terraform-landingzones.

arnaudlh avatar arnaudlh commented on May 22, 2024

Working branch for this one is vnext13 - https://github.com/Azure/caf-terraform-landingzones/tree/vnext13

from caf-terraform-landingzones.

arnaudlh avatar arnaudlh commented on May 22, 2024

since GA of Terraform 0.13 has been pushed to 10th August as per hashicorp/terraform#25016
we will align and release 13 capabilities in 2008 (august release). in the meantime you can still use the vnext13 branch (https://github.com/Azure/caf-terraform-landingzones/tree/vnext13) to follow the updates

from caf-terraform-landingzones.

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.