Skip to content
This repository was archived by the owner on Apr 6, 2025. It is now read-only.
This repository was archived by the owner on Apr 6, 2025. It is now read-only.

[create-doks-with-terraform-flux] Make sure TF providers constrain minimum allowed versions #20

@v-ctiutiu

Description

@v-ctiutiu

Description

Current version for the Flux CD provider from the main TF module is a little bit too old (0.2.x). Because of this, some of the Flux CD components deployed by the module are not functioning properly or not detected at all - e.g. kustomization/flux-system.

Another thing to take into consideration is that the CLI counterpart gets updated really frequent as well. So, the TF provider and the flux CLI counterpart need to be not too distant, when talking about the version.

Solution

  1. Flux CD TF provider needs an update to the latest minor version available (0.8.1):
flux = {
  source  = "fluxcd/flux"
  version = "~> 0.8.1"
}
  1. Remove the ~> which is a little bit too restrictive, and go with minimum allowed versions instead, via >= for all providers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions