Skip to content

lock tfstate to avoid multiple applies #2

@piscue

Description

@piscue

It would be good to have a locking system when an apply it's running to avoid multiple applies to make a mess.

One idea could be:

  • Add s3 cmd or aws cmd to be able to create lock files in tfstate folder
  • Script creation of a lock, based on files, to create a lock before apply and remove after a successful and/or fail to apply.
  • be able to create all this locking system transparent to the terraform command, so no changes are required on the client-side
    .

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions