From 5c81104d3100a697adff54b283f1e8b2beae948f Mon Sep 17 00:00:00 2001 From: Nathan Rodet <nrodet@grandlyon.com> Date: Fri, 13 Jan 2023 13:40:05 +0100 Subject: [PATCH] Corrected issues on scripts --- README.md | 7 +++++++ instance-scripts/cloud-init.yml | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1ded645..0a2b2fa 100644 --- a/README.md +++ b/README.md @@ -38,6 +38,13 @@ After deployment, each resource can be accessed though HTTPS depending on their - Username: abc - Password: <Gitlab Stored> +## How to add new resources + +You can add Terraform resources directly to the main.tf file. +Template are available to the link below. + +**Terraform Registry for Scaleway provider : https://registry.terraform.io/providers/scaleway/scaleway/latest/docs** + ## How to setup configuration file for services ### cloud-init : file creation diff --git a/instance-scripts/cloud-init.yml b/instance-scripts/cloud-init.yml index 42b0cdf..af2f28e 100644 --- a/instance-scripts/cloud-init.yml +++ b/instance-scripts/cloud-init.yml @@ -27,12 +27,12 @@ runcmd: # Install Atrium # - "curl https://forge.grandlyon.com/systemes-dinformation/alpha/projects/labo-rust/-/raw/develop/instance-scripts/config-files/atrium.yaml -o root/atrium.yaml" - - "curl https://forge.grandlyon.com/systemes-dinformation/alpha/projects/labo-rust/-/raw/develop/instance-scripts/config-files/atrium.sh | bash" + - "curl https://forge.grandlyon.com/systemes-dinformation/alpha/projects/labo-rust/-/raw/develop/instance-scripts/scripts/atrium.sh | bash" # # Install And Run Code Server # - - "curl https://forge.grandlyon.com/systemes-dinformation/alpha/projects/labo-rust/-/raw/develop/instance-scripts/scripts/code-server.sh | bash" - "curl https://forge.grandlyon.com/systemes-dinformation/alpha/projects/labo-rust/-/raw/develop/instance-scripts/config-files/config.yaml -o root/config.yaml" + - "curl https://forge.grandlyon.com/systemes-dinformation/alpha/projects/labo-rust/-/raw/develop/instance-scripts/scripts/code-server.sh | bash" # # Run Webtop Container # -- GitLab