Repository navigation
v2.0.0: Merge pull request #5 from lefterisALEX/v2.1.0
Version 2.0.0
!!!!BREAKING CHANGES!!!!
If you are migrating from version 1 to version 2 of this module, please note the following breaking changes:
-
The private network is no longer managed by this module and must be created separately. In version 2, you only need to specify the network ID of the existing network. You can use this module to create the necessary network resources: Private Network with NAT Gateway.
-
The
post_inituserdata are now calledcustom_userdataand are executed at the end of the bootstrap.
ENHANCEMENTS
-
The
appsdirectory is now synced periodically from an upstream repository, rather than being copied during bootstrap. -
Infisical secrets are now synced periodically instead of being pulled only when Terraform runs.
Upgrade from v1.1.0
- Backup Data: Ensure you back up the data located at
/mnt/data. - Enable Volume Delete Protection: Activate
volume_delete_protectionto prevent accidental deletion of the volume where persistent data is stored. - Detach Private Network: In the server settings, navigate to Networking > Private Network. Click the three dots and select "Detach" to disassociate the private network from the server.
- Delete Old Network: Go to the network tab and delete the old network.
- Create New Network: Use this module to create a new network.
- Update Network ID: Use the new network ID as the input for
hcloud_network_idin the v2 module. Adjustserver_ipandtailscale_routesif needed.