Skip to content

accounts.yaml in Quickstart #23

Discussion options

You must be logged in to vote

@GervaisdeM-SpryPoint here's how you can accomplish what you want to do:

Solution

  1. Rename catalog/account.yaml to catalog/account.yaml.tmpl
  2. Find where account is imported, and replace it with something like this:
    import:
     - path: "catalog/account.yaml.tmpl"
       context:
         tenants:
           - name: acme
           - name: foo
           - name: bar
       skip_templates_processing: false
       ignore_missing_template_values: true
  3. Update your account.yaml.tmpl like this:
     components:
     terraform:
       account:
         vars:
             # ... deleted everything else to focus on solution 
             # you should keep what is there.
             organizational_units:
               # ... Other OUs define here
               {{ ra…

Replies: 3 comments 7 replies

Comment options

milldr
Oct 28, 2024
Maintainer Sponsor

You must be logged in to vote
4 replies
@osterman
Comment options

@milldr
Comment options

milldr Oct 28, 2024
Maintainer Sponsor

@osterman
Comment options

@osterman
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by osterman
Comment options

You must be logged in to vote
3 replies
@osterman
Comment options

@GervaisdeM-SpryPoint
Comment options

@osterman
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants