Skip to content

components folder missing from examples #16

Closed

Description

Found a bug? Maybe our Slack Community can help.

Slack Community

Describe the Bug

Getting started guide mentions a components folder in the example file. That folder does not exist. Running atmos terraform apply eks -s ue2-dev returns the following error

* step "terraform workspace": job "terraform workspace": job "terraform shell": job "shell": command "bash -c /usr/bin/terraform-0.13 workspace select ue2-dev || /usr/bin/terraform-0.13 workspace new ue2-dev" in "./components/terraform/eks": chdir ./components/terraform/eks: no such file or directory

Expected Behavior

A clear and concise description of what you expected to happen.

Steps to Reproduce

Steps to reproduce the behavior:

  1. git clone [email protected]:cloudposse/atmos.git
  2. cd atmos
  3. cd example
  4. make all
  5. assume-role
  6. atmos terraform plan eks --stack=ue2-dev
  7. atmos terraform apply eks --stack=ue2-dev

Screenshots

If applicable, add screenshots or logs to help explain your problem.

Environment:

Anything that will help us triage the bug will help. Here are some ideas:

  • OS: [e.g. Linux, OSX, WSL, etc]
  • Version [e.g. 10.15]

Additional Context

Add any other context about the problem here.

Activity

  1. added
    bug
    on Jan 16, 2021
  2. aknysh commented on Jan 16, 2021

    @aknysh
    Member

    Michael Dizon (@mikedizon)
    thanks for trying atmos.
    We did not include the component folder because we did not want to maintain those components in this module.
    We use https://github.com/vmware-tanzu/carvel-vendir for vendoring components from https://github.com/cloudposse/terraform-aws-components.
    There is a vendor config file here https://github.com/cloudposse/atmos/blob/master/example/vendir.yml.

    Just run the following commands:

    make all
    cd /localhost/  # this will mount your home directory inside the container
    cd <to the atmos repo on your computer>
    vendir sync
    

    it will download all the files required for the example from https://github.com/cloudposse/terraform-aws-components

  3. patlachance commented on Feb 2, 2021

    @patlachance
    Contributor

    based on Andriy Knysh (@aknysh)'s answer, I guess this issue can be closed no?

  4. mikedizon commented on Feb 2, 2021

    @mikedizon
    ContributorAuthor

    based on Andriy Knysh (@aknysh)'s answer, I guess this issue can be closed no?

    or the documentation might need to be updated

  5. iliazlobin commented on Mar 19, 2021

    @iliazlobin

    It'd be nice to update README.md as it gets really confusing when you see the components folder mentioned without much explanation why it's missing in the repo

  6. aknysh commented on Dec 17, 2021

    @aknysh
    Member

    closing since this is updated (and new functionality added) in the new version of atmos starting with 1.0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions