Coder Social home page Coder Social logo

particuleio / terraform-scaleway-kapsule Goto Github PK

View Code? Open in Web Editor NEW
14.0 5.0 8.0 97 KB

Terraform module to deploy a Scaleway Kapsule Kubernetes Cluster

Home Page: https://registry.terraform.io/modules/particuleio/kapsule/scaleway/latest

License: Apache License 2.0

HCL 100.00%

terraform-scaleway-kapsule's People

Contributors

archifleks avatar renovate-bot avatar renovate[bot] avatar rguichard avatar tbobm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

terraform-scaleway-kapsule's Issues

Failed to query available provider packages - particuleio/scaleway

Hi,

I bumped the version module from 5.0.0 to the version 6.0.0
and now i'm having this issue.

I'm using Terraform v1.4.5

โ”‚ Error: Failed to query available provider packages
โ”‚
โ”‚ Could not retrieve the list of available versions for provider particuleio/scaleway: no available releases match the given constraints

Wondering if it's not linked to this merge #11 ?

Providers required by state: ๐Ÿค” 
    provider[registry.terraform.io/scaleway/scaleway]
    provider[registry.terraform.io/particuleio/scaleway]

Any idea?

feat: add missing provider parameters

Juste leaving this here for futur update after wednesday. Module is missing some new feature like:

  • project_id in cluster
  • delete_additionnal_resources in cluster which is nice to have for the CI
  • kubelet-args in node pool
  • zone in node pool

Broken link

When I click on the example > Simple on this page: https://registry.terraform.io/modules/particuleio/kapsule/scaleway/latest
I get a broken link: https://registry.terraform.io/modules/particuleio/kapsule/scaleway/latest/examples/simple

This is a submodule used internally by / / . Using this submodule on its own is not recommended.

Submodules without a README or README.md are considered to be internal-only by the Terraform Registry. If this submodule should not be considered internal, add a readme which describes what this submodule is for and how it should be used.

For more information about the expected structure of modules in the Registry, see the Standard Module Structure in the Terraform Registry documentation .

Invalid API key format

I cannot find any guide to fix this credential issues.

scaleway-sdk-go: denied authentication: invalid API key format or empty value

Can anyone guide me how to set credential correctly?

Error realted to usage of `list` function

Hello,

An error occurs when I try to apply my configuration with auto_upgrade option. It's realted to the call to function list that isn't available anymore.

Here my kapsulte.tf file:

module "kapsule" {

  source  = "particuleio/kapsule/scaleway"
  version = "~>3.0.1"

  auto_upgrade = {
    enable = true
    maintenance_window_start_hour = 21
    maintenance_window_day = "any"
  }

  cluster_name    = "****"
  cluster_description = "****"

  cni_plugin = "cilium"
  delete_additional_resources = false 

  kubernetes_version = "1.21"

  node_pools = {
    r2devops = {
      name               = "default"
      node_type          = "DEV1-M"
      size               = 2
      min_size           = 2
      max_size           = 5
      autoscaling        = true
      autohealing        = true
      container_runtime  = "docker"
    }
  }
  region          = "****"
  tags = ["****", "****"]
  project_id = "****"
}

And the output when I run terrraform apply :

โžœ  scw-k8s git:(2-bootstrap-iac) โœ— terraform apply
2021/07/14 10:49:04 [DEBUG] POST https://gitlab.com/api/v4/projects/****/terraform/state/****/lock
Acquiring state lock. This may take a few moments...
2021/07/14 10:49:05 [DEBUG] GET https://gitlab.com/api/v4/projects/*****/terraform/state/****
โ•ท
โ”‚ Error: Error in function call
โ”‚ 
โ”‚   on .terraform/modules/kapsule/cluster.tf line 27, in resource "scaleway_k8s_cluster" "this":
โ”‚   27:     for_each = local.auto_upgrade["enable"] ? list("auto_upgrade") : []
โ”‚ 
โ”‚ Call to function "list" failed: the "list" function was deprecated in Terraform v0.12 and is no longer available;
โ”‚ use tolist([ ... ]) syntax to write a literal list.
โ•ต
2021/07/14 10:49:07 [DEBUG] DELETE https://gitlab.com/api/v4/projects/****/terraform/state/****/lock
Releasing state lock. This may take a few moments...

experiments is no longer support in terraform v1.3.1

In version.tf,

experiments = [module_variable_optional_attrs]

the experiments attribute throws the following error with terraform 1.3.1.

โ•ท
โ”‚ Error: Experiment has concluded
โ”‚ 
โ”‚   on .terraform/modules/..../versions.tf line 3, in terraform:
โ”‚    3:   experiments = [module_variable_optional_attrs]
โ”‚ 
โ”‚ Experiment "module_variable_optional_attrs" is no longer available. The final feature corresponding to this experiment differs from the experimental
โ”‚ form and is available in the Terraform language from Terraform v1.3.0 onwards.
โ•ต

a related link here.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.