Skip to content

Support ops terraform force-unlock #10

@costimuraru

Description

@costimuraru

Expected Behaviour

Useful for cases where the tf states are stored remotely (ie. in an S3 bucket) with DynamoDB locking. If something happens (eg. credentials expire, terraform crashes), it would be useful to have a way to remove the lock that was acquired. Currently, this can only be done manually, by going to DynamoDB and removing the entry (the lock). However, terraform has a command to remove the lock. We should add it in ops as well.

ops mycluster.yaml terraform force-unlock <LOCK_ID> should work.
https://www.terraform.io/docs/commands/force-unlock.html

Actual Behaviour

Not implemented yet.

Platform and Version

v0.23

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions