Skip to content

Using replicas with infrastructure targets of the same cloud provider delete each other  #235

@mieel

Description

@mieel

Expected Result

FDI: terraform plan which deploys 1 azure vm
Targets: two different azure resource groups, different regions.

stackl apply -r 2 my-instance should deploy a vm in each region

Actual Result

When applying, the first VM deploys successfully, the second one destroys the first and is deployed in the second region.

Potential Causes, Fixes or Additional Information

This is caused by the backend_secret which is shared by the service. Unless there is a way to separate state between replicas, I don't think we can work around it at the current state

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