Manual intervention was required to enable/disable some features due to not being able to find a terraform way to automate:
- under Systems Manager > Fleet Manager > Managed nodes
- enable Configure Default Host Management
-
edit/add terraform files to the "module" directory
-
turn your module in "main.tf"
-
"make" to run terraform plan
-
"make apply" to apply changes to AWS
-
nixos instance are managed from ./etc/nixos
-
edit "configuration.nix" in above local directory
-
"make rebuild" to deply and switch nixos configuration
references: