Skip to content

Releases: argoproj-labs/terraform-provider-argocd

v6.0.1

28 Jul 18:07
a1d2840
Compare
Choose a tag to compare

What's Changed

  • Ensure use_local_config is correctly applied and validated on provider config (#321)

Changelog

  • a1d2840 fix: ensure use_local_config is correctly applied and validated (#321)

Contributors

v6.0.0

26 Jul 08:27
08682d2
Compare
Choose a tag to compare

Breaking Changes

The provider no longer supports Terraform versions <1.x as we now make use of the terraform-plugin-framework has been introduced, and the provider has been upgraded to make use of Terraform Plugin Protocol Version 6. Consumers must make use of Terraform >=1.x when using the provider. This change also introduced some changes to the validation of the provider configuration, which may result in some existing configuration combinations being flagged as invalid. Known changes are listed below but feel free to reach out if you have any other issues.

  • Remove server_addr configuration when any of the following attributes are set: port_forward, port_forward_with_namespace, use_local_config, core. E.g:
    provider "argocd" {
    - server_addr = "foo"
      use_local_config = true
      # context = "foo" # Use explicit context from ArgoCD config instead of `current-context`.
    }

What's Changed

  • Implement provider using terraform-plugin-framework and upgrade to TF Plugin Protocol Version V6 (#301)
  • New resources:
  • New data sources:
    • argocd_application (#302)
      • Note: this data source has been implemented using features exposed by Terraform Plugin Protocol Version 6, so accessing attributes on the data source will differ slightly compared to the argocd_application resource. E.g. use data.argocd_application.this.status.reconciled_at instead of data.argocd_application.this.status.0.reconciled_at

Changelog

  • 08682d2 Add argocd_gpg_key resource (#315)
  • cced478 Add argocd_application data source (#302)
  • 6ae499d build(deps): bump k8s.io/kubernetes from 1.24.14 to 1.24.15 (#316)
  • aeeb731 Implement provider using terraform-plugin-framework and upgrade to TF Plugin Protocol Version V6 (#301)

Contributors

v5.6.0

04 Jul 14:13
2b0a48e
Compare
Choose a tag to compare

What's Changed

Changelog

  • 2b0a48e fix(cluster): don't cast attributes when loading from state (#307)
  • e6eff84 Add support for timezone in sync window (#314)
  • aaf4a18 build(deps): bump k8s.io/kubernetes from 1.24.2 to 1.24.14 (#305)

Contributors

v5.5.0

09 Jun 11:43
49e347e
Compare
Choose a tag to compare

What's Changed

  • argocd_application
    • Add support for ignoreMissingValueFiles helm application parameter (#292)
    • Add support for Helm file parameters (#293)
    • Add read-only status attribute (#295)
    • Add support for managed namespace metadata (#299)
  • argocd_repository
    • Prevent permanent diff on argocd_repository with inherited credentials (#296)
      • ⚠️ Consumers who make use of the argocd_repository resource in conjunction with underlying repository credentials that are configured with a username/password will need to update to the latest patch versions of ArgoCD (2.5.18, 2.6.9 or 2.7.4) to avoid a permanent diff being introduced on the username attribute.
  • argocd_cluster
    • Prevent permanent diff on sensitive cluster attributes (#298)
    • Ensure remote state for non-sensitive tls_client_config is tracked (#298)
  • Refactor error handling (#291)

Changelog

  • 49e347e feat(argocd_application): add read-only status attribute (#295)
  • ce561fa feat(argocd_application): add support for managed namespace metadata (#299)
  • a6b8f70 fix: prevent permanent diff on sensitive cluster attributes (#298)
  • 2bdbf5c Prevent permanent diff on argocd_repository with inherited credentials (#296)
  • f54c0dc fix(project_token): ensure correct token is deleted (#294)
  • 6e7334d feat(argocd_application): add support for Helm file parameters (#293)
  • 591b7d7 Add support for ignoreMissingValueFiles helm application parameter (#292)
  • 97892c3 Refactor error handling (#291)

Contributors

v5.4.0

27 May 07:39
13c2baa
Compare
Choose a tag to compare

What's Changed

Warning
The argocd_application_set resource is a large and very complex resource within ArgoCD itself. Whilst we have made every attempt to ensure that it works within the context of the provider, given the complexity of the resource, there is a high chance of issues or missed configuration. Treat with caution, expect issues and feel free to report any bugs/problems or, even better, submit a PR with fixes 😄

Changelog

  • 13c2baa Populate Source not Sources for single source applications (#289)
  • f5c1dce Add new resource argocd_application_set (#278)
  • 38a00f8 Add support for "Helm value files from external Git repository" (#280)
  • ac65e67 Add new resource argocd_account_token (#281)
  • e369a6d build: add answered and invalid labels to Stale issues check (#285)
  • 1749050 Automatically close stale issues (#276)
  • abf9b62 build(deps): bump github.com/docker/distribution from 2.8.1+incompatible to 2.8.2+incompatible (#275)

Contributors

v5.3.0

07 May 13:29
2b17103
Compare
Choose a tag to compare

What's Changed

  • provider
    • Add support for logging in to ArgoCD Core deployment (see core) (#268)
    • Implemented kubernetes configuration options: config_context, config_context_auth_info and config_context_cluster (#268)
    • Dropped unused kubernetes configuration options: config_paths and config_path (#268)
    • Mark server_addr as optional (#268)
  • argocd_application
    • Add support for multiple application sources (#262)
    • Add pass_credentials to argocd_application.spec.source.helm (#271)
    • Fix crash on 2.7.x due to use of List to read applications (#273)
  • argocd_cluster
    • Prevent duplicate clusters ending up in Terraform state (#264)
  • argocd_project
    • Fix locking during create/update (#263)
  • argocd_project_token
    • Ensure lock is released when failing to delete token (#263)
  • argocd_repository
    • Fix error message when failing to create repository (#263)
  • Documentation
    • Fixed description of provider.context (#268)
    • Improved descriptions for port forwarding configuration (#268)
    • Enhanced overview and added examples of different provider configurations (#268)

Changelog

  • 2b17103 Fix locking on resources during Terraform actions (#263)
  • 33775f3 Fix crash on 2.7.x due to use of List to read applications (#273)
  • 89a6cff Enhanced/improved provider configuration options and documentation (#268)
  • 8e40130 Add pass_credentials to argocd_application.spec.source.helm (#271)
  • fa86a9b Add support for multiple application sources (#262)
  • 60b7ad0 Drop use of pointers on clients (#265)
  • cb8528d Prevent duplicate clusters ending up in Terraform state (#264)

Contributors

v5.2.0

21 Apr 08:19
50f550a
Compare
Choose a tag to compare

What's Changed

  • argocd_application
    • Add support for include and exclude on directory apps (#254)
    • Add support for jsonnet libraries (#255)
    • Fix wait on update (#246)
    • Mark spec.destination.namespace as optional (#256)
  • argocd_project
    • Allow blank Group on cluster resource [white|black]list (#258)

Changelog

  • 50f550a Allow blank Group on cluster resource [white|black]list (#258)
  • 14dd94f fix: mark spec.destination.namespace as optional on ArgoCD application (#256)
  • 7a3e98e Add support for include and exclude on directory apps (#254)
  • bfe7924 Add support for jsonnet libraries (#255)
  • fac513d Fix wait on update of argocd_application (#246)

Contributors

v5.1.0

07 Apr 12:34
b9e97db
Compare
Choose a tag to compare

What's Changed

  • Fix support for application resource on latest versions of ArgoCD due to breaking changes made to resolve GHSA-2q5c-qw9c-fmvq (#240)
  • Fix inconsistent result after apply on argocd_repository_credentials, argocd_cluster and argocd_repository (#243)
  • Fix inconsistent result after apply on argocd_project_token (#245)
  • Fix implementation of renew_before on argocd_project_token (#245)
  • Add renew_after to argocd_project_token to enable automatic token rotation for tokens older than a given time period (#245)

Changelog

  • b9e97db Bug fixes to argocd_project_token + addition of renew_after (#245)
  • d291579 Enable golangci-lint (#241)
  • 04175c6 Fix error inconsistent result after apply on argocd_repository_credentials (#243)
  • b211553 Add all resources to local-dev Terraform code (#244)
  • 1d82878 Fix support for application resource on latest versions of ArgoCD (#240)

Contributors

v5.0.1

27 Mar 07:44
453fe73
Compare
Choose a tag to compare

What's Changed

Changelog

  • 453fe73 Fix argocd_application state upgrade for v5.0.0 (#238)
  • 37864fe build(deps): bump github.com/argoproj/argo-cd/v2 from 2.5.0 to 2.5.16 (#239)
  • a63eecb Generate provider docs (#229)

Contributors

v5.0.0

18 Mar 07:17
cb9f554
Compare
Choose a tag to compare

Breaking changes

The type of argocd_application.spec.sync_policy.automated and argocd_application.spec.sync_policy.retry.backoff have changed within the provider. As a result, you will need to convert usage of these into block syntax. See below for an example.

resource "argocd_application" "app" {
  ...

  spec {
    ...

    sync_policy {
-      automated = {
+      automated {
        prune       = true
        self_heal   = true
        allow_empty = true
      }

      retry {
        limit = "5"
-        backoff = {
+        backoff {
          duration     = "30s"
          max_duration = "2m"
          factor       = "2"
        }
      }
    }

    ...
  }
}

What's Changed

Changelog

  • cb9f554 Add support for GitHub app credentials (#235)
  • 124d87b build(deps): bump golang.org/x/net (#233)
  • 7354102 build(deps): bump golang.org/x/text from 0.3.7 to 0.3.8 (#232)
  • 7ce3476 Use schema.TypeSet for application sync_policy (#228)

Contributors

Full Changelog: v4.3.0...v5.0.0