<@UB89GSWCF> <https://github.com/cloudposse/atmos/...
# atmos-dev
e
👍 1
merged 1
j
@Esteban Angee Déjà vu? @Erik Osterman (Cloud Posse) silly question. Is it possible for this issue to happen in CI but not locally?
e
It would be odd, but this PR fixes it
The good news is it looks like @Andriy Knysh (Cloud Posse) is working on rebasing it now and will merge it tonight
We are planning a release as soon as tomorrow
j
Sounds good. The reason I ask is because our team is currently working to decouple docker from atmos for everyday development as well as distribution of our service catalog. But here's the real kicker…in our unit testing, where the issue happens in CI, none of the components run in parallel. The scenarios, stacks, do run parallel. We also tried running
git clean -fdx
against the test directory before running to ensure there's no files to cleanup (this is in addition to the unit testing running
atmos terraform clean
for each stack as part of our initialization)
e
Confirming you enabled the workdir setting?
j
Explicitly, no. Can you provide documentation?
e
Oh that's the problem; and the above issue is related to that feature.
Hold up
j
So I need to add the following to every component in my catalog?
Copy code
provision:
        workdir:
          enabled: true
I'm guessing there's no global config?
e
No, you can definitely set it globally.
j
like this?
Copy code
terraform:
  provision:
    workdir:
      enabled: true
e
However, to your point, when this pull request is merged, there was a bug where it didn't work when you set it globally.
This pull request fixes that global bug.
So you're right. Hold up, wait for release, or use the version in main.
@Andriy Knysh (Cloud Posse) Do you think we should cut a release now, or do you have a few more PR patches that need to go in?
a
let me check
a
Oh, great. I was coming here to ask if there were any reasons NOT to always enable workdirs. If none, why not make it the default?
e
We should probably make it the default in a future release, once we get enough validation
👍 1