Giter Site home page Giter Site logo

Comments (2)

darrenhull avatar darrenhull commented on June 2, 2024 1

I too am having the same issue and am completely blocked by it. is there any kind of workaround as it makes it completely unusable? @arnaudlh do you have any thoughts on this?

from caf-terraform-landingzones.

tamir20 avatar tamir20 commented on June 2, 2024

I managed to make this work on the old versions, following this video and his exact versions:
https://www.youtube.com/watch?v=UoUHEiK4dIY&ab_channel=AndreiPavlitchouk

Also i managed to make the most recent version working using the following changes:
on /tf/caf/landingzones/templates/platform/caf_platform_prod_nonprod.yaml comment out (or delete) line <gitops_agents: gitops_agents_aci.yaml> (line 169)

run ansible-galaxy collection install community.general (this is to fix the 'with_filetree' term on lines 37,46,59 on /tf/caf/landingzones/templates/ansible/load_deployments_alz.yaml. no changes in the file itself are needed).

on /tf/caf/landingzones/templates/platform/services/README.md delete line 65 ( -e AGENT_TOKEN={{ AGENT_TOKEN }} )

on /tf/caf/landingzones/templates/platform/caf_platform_prod_nonprod.yaml change <private_templates_folder: "{{base_folder}}/platform/templates"> with <private_templates_folder: "{{base_folder}}/landingzones/templates/platform">

on /tf/caf/landingzones/templates/ansible/get_tfstate_content.yaml remove task "Set {{exported_variable_name}} with env:'{{env}}' - (with resource_key: {{resource_key}})" (rows 98 - 110). feel free to remove any empty rows to make the file pretty

then run:
rover login --tenant tenantID --subscription subscriptionID
org_name=contoso_ind
rover -bootstrap -aad-app-name ${org_name}-platform-landing-zones -bootstrap-script '/tf/caf/landingzones/templates/platform/deploy_platform.sh ' -playbook '/tf/caf/landingzones/templates/platform/caf_platform_prod_nonprod.yaml'

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.