Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Persistent, unique FIREZONE_ID across deploys #3

Open
jamilbk opened this issue Mar 20, 2025 · 0 comments
Open

Persistent, unique FIREZONE_ID across deploys #3

jamilbk opened this issue Mar 20, 2025 · 0 comments

Comments

@jamilbk
Copy link
Member

jamilbk commented Mar 20, 2025

Google's instance group manager doesn't provide an easy way to use replica index or some other deterministic source of data to uniquely identify Firezone Gateways deployed by this module.

So we use uuidgen to generate a random one per instance on provision. This doesn't cause an issue per se, it just creates more Gateways in the admin portal than needed.

This could be solved if we could pass a random base string + deterministic replica index as the FIREZONE_ID variable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant