summaryrefslogtreecommitdiff
path: root/final/main.tf
diff options
context:
space:
mode:
Diffstat (limited to 'final/main.tf')
-rw-r--r--final/main.tf11
1 files changed, 11 insertions, 0 deletions
diff --git a/final/main.tf b/final/main.tf
index 8c90bfc..1edefe5 100644
--- a/final/main.tf
+++ b/final/main.tf
@@ -9,6 +9,17 @@ terraform {
provider "incus" {
# Configuration options
+ generate_client_certificates = true
+ accept_remote_certificate = true
+
+ remote {
+ name = "incus-server"
+ default = true
+ scheme = "https"
+ port = "8443"
+ address = "192.168.122.130"
+ token = "eyJjbGllbnRfbmFtZSI6InRvZnUiLCJmaW5nZXJwcmludCI6IjE2ZWJiYTliNTZkZDA4ZWZlNGRmMjAwZTMzYmFkMGM2ZTllNDllOWRkMzgwOGI1YTYwOTM0ODJkZDM5MjZlOWIiLCJhZGRyZXNzZXMiOlsiMTkyLjE2OC4xMjIuMTMwOjg0NDMiXSwic2VjcmV0IjoiNGY3YzhhODBlNTEwMDVhMjc4NDgzNTY1YmRlZDE1NGMzNjUwNmUxNmZjMDA0MjkwZTUwMjljNTQzZjU5NGJjOCIsImV4cGlyZXNfYXQiOiIwMDAxLTAxLTAxVDAwOjAwOjAwWiJ9"
+ }
}
data "template_file" "cloud-init" {