Skip to content

parallel_plan blocks multiple environments using the default workspace #1618

@jrobison-sb

Description

@jrobison-sb

I've got a repository with multiple environments structured like this:

terraform/environments/dev
terraform/environments/test
terraform/environments/prod

Each environment uses only the default workspace.

When I enable parallel_plan: true, this breaks Atlantis' ability to run plans in parallel as expected, with the error saying The default workspace is currently locked by another command that is running for this pull request.

Atlantis shouldn't behave this way because each environment is separate and each plan lock is based on the directory: "msg": "acquired lock with id \"terraform/environments/production/default\"",. A lock with ID terraform/environments/production/default shouldn't block Atlantis from simultaneously using another lock with ID terraform/environments/test/default.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions