Closed donydonald1 closed 1 year ago
@donydonald1 Did you clone the repo and run your command in the example folder? I believe terraform is not finding the "parent" module as required here: source = "./.."
. Current version is not yet published on terraform registry so you need to clone the whole repo.
@donydonald1 Did you succeed with your tests? We have released a new version 1.0.3 with better setup. If you need help, please comment here otherwise I close the issue within the next few days.
Oh yes... Thank you
Hello, Tried using your module but appears to have an issue when attempting to provision a cluster using your module. Below is the full cluster.tf based on the example shown on the repo.
``
``
I get the below errors when terraform apply;
`` │ Error: Unsupported argument │ │ on cluster.tf line 27, in module "rke2": │ 27: name = "cluster" │ │ An argument named "name" is not expected here. ╵ ╷ │ Error: Unsupported argument │ │ on cluster.tf line 29, in module "rke2": │ 29: manifests_folder = "./manifests" │ │ An argument named "manifests_folder" is not expected here. ╵ ╷ │ Error: Unsupported argument │ │ on cluster.tf line 31, in module "rke2": │ 31: floating_pool = "ext-floating1" │ │ An argument named "floating_pool" is not expected here. ╵ ╷ │ Error: Unsupported argument │ │ on cluster.tf line 33, in module "rke2": │ 33: rules_ext = [ │ │ An argument named "rules_ext" is not expected here. ╵ ╷ │ Error: Unsupported argument │ │ on cluster.tf line 40, in module "rke2": │ 40: server = [{ │ │ An argument named "server" is not expected here. ╵ ╷ │ Error: Unsupported argument │ │ on cluster.tf line 54, in module "rke2": │ 54: agents = [ │ │ An argument named "agents" is not expected here. ╵ ╷ │ Error: Unsupported argument │ │ on cluster.tf line 70, in module "rke2": │ 70: ff_native_csi = local.auth_url │ │ An argument named "ff_native_csi" is not expected here. ╵ ╷ │ Error: Unsupported argument │ │ on cluster.tf line 72, in module "rke2": │ 72: ff_autoremove_agent = true │ │ An argument named "ff_autoremove_agent" is not expected here. ╵ ╷ │ Error: Unsupported argument │ │ on cluster.tf line 74, in module "rke2": │ 74: ff_write_kubeconfig = true │ │ An argument named "ff_write_kubeconfig" is not expected here. ╵ ╷ │ Error: Unsupported argument │ │ on cluster.tf line 76, in module "rke2": │ 76: ff_native_backup = "s3.pub1.infomaniak.cloud" │ │ An argument named "ff_native_backup" is not expected here.
``
not sure what exactly i am doing wrong, hopefully you can help.