Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mapping values are not allowed in this context #611

Open
tekumara opened this issue Feb 15, 2022 · 0 comments
Open

mapping values are not allowed in this context #611

tekumara opened this issue Feb 15, 2022 · 0 comments

Comments

@tekumara
Copy link

tekumara commented Feb 15, 2022

$ fogg apply
fogg.yml has error(s):
UNKNOWN ERROR: yaml: line 2: mapping values are not allowed in this context

when trying this example fogg.yml:

version: 2
  defaults:
    providers:
      aws:
        region: us-west-2
        profile: fogg-profile-staging
        version: 2.45.0
    backend:
      region: us-west-2
      profile: fogg-profile-staging
      bucket: my-fogg-bucket
    project: fogg-example,
    owner: [email protected],
    terraform_version: 0.12.24
  modules:
    aurora: {}
    redis: {}
    some-shiny-new-tech: {}
  accounts:
    aws-staging-account:
      providers:
        aws:
        account_id: "000000000000"
    aws-prod-account:
      providers:
        aws:
        account_id: "11111111111"
        profile: fogg-profile-prod
      backend:
        profile: fogg-profile-prod
  envs:
    prod:
      providers:
        aws:
          account_id: "11111111111"
          profile: fogg-profile-prod
      components:
        redis: {}
        security-alerts:
          providers:
            aws:
            account_id: "22222222222"
          profile: fogg-profile-security
          backend:
            profile: fogg-profile-prod
    staging:
      components:
        redis: {},
        security-alerts:
          providers:
            aws:
            account_id: "22222222222"
            profile: fogg-profile-security

fogg 0.59.2

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

No branches or pull requests

1 participant