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

Atlantis.yaml improvement - Allow project name to have slashes #253

Closed
mechastorm opened this issue Sep 6, 2018 · 0 comments
Closed

Atlantis.yaml improvement - Allow project name to have slashes #253

mechastorm opened this issue Sep 6, 2018 · 0 comments
Labels
feature New functionality/enhancement

Comments

@mechastorm
Copy link

Issue

In this example of a partial atlantis.yaml

version: 2
projects:
  - name: terraform/iam/preprod
    dir: terraform/iam/preprod
    workspace: default
    workflow: preprod

If someone to name their project name as terraform/iam/preprod this would result in an error in Atlantis when writing the plan file

Example:

Error: Error writing plan file: open /var/atlantis/repos/myuser/myrepo/2/default/terraform/iam/preprod/terraform/iam/preprod-default.tfplan: no such file or directory

The workaround is to not put / in project name

Atlantis Version

0.4.7

Desired Behaviour

The project name should be able to support slash. Either Atlantis escapes them/replaces the character internally or validate and not accept the config if it has a slash in the name.

We prefer to have slashes in our project name so that it matches the path of our terraform code directory in our monolith terraform repo.

@lkysow lkysow added the feature New functionality/enhancement label Apr 9, 2019
jamengual pushed a commit that referenced this issue Nov 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New functionality/enhancement
Projects
None yet
Development

No branches or pull requests

2 participants