这是indexloc提供的服务,不要输入任何密码
Skip to content

Cannot create two wireguard_ports in the same run #1

@OJFord

Description

@OJFord

Due to terraform's concurrency, and that the Mullvad API (a) doesn't allow specifying a port number to create; (b) doesn't include the generated port number in the response, we can't determine the port value (or terraform ID) if more than one mullvad_wireguard_port resource is created concurrently.

Hopefully there is some way to lock around a CreateFunc, but I'm unfamiliar with Go and haven't found an easy way yet. (Ideally there'd be something in the terraform SDK.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions