Releases: argoproj-labs/terraform-provider-argocd
v6.0.1
What's Changed
- Ensure
use_local_config
is correctly applied and validated on provider config (#321)
Changelog
Contributors
v6.0.0
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. usedata.argocd_application.this.status.reconciled_at
instead ofdata.argocd_application.this.status.0.reconciled_at
- 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
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
What's Changed
argocd_project
- Add support for timezone in sync window (#314)
argocd_cluster
- Fix failure to updating cluster exec provider config (#307)
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
What's Changed
argocd_application
argocd_repository
- Prevent permanent diff on
argocd_repository
with inherited credentials (#296)⚠️ Consumers who make use of theargocd_repository
resource in conjunction with underlying repository credentials that are configured with ausername
/password
will need to update to the latest patch versions of ArgoCD (2.5.18
,2.6.9
or2.7.4
) to avoid a permanent diff being introduced on theusername
attribute.
- Prevent permanent diff on
argocd_cluster
- 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
- @onematchfox
- @B3ns44d made their first contribution in #292
v5.4.0
What's Changed
argocd_application
- Fixed issues introduced with support for multiple source applications (#289)
- Add support for "Helm value files from external Git repository" (#280)
- Introduced two new resources:
Warning
Theargocd_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
notSources
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
andinvalid
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
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
andconfig_context_cluster
(#268) - Dropped unused
kubernetes
configuration options:config_paths
andconfig_path
(#268) - Mark
server_addr
as optional (#268)
- Add support for logging in to ArgoCD Core deployment (see
argocd_application
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
Changelog
- 2b17103 Fix locking on resources during Terraform actions (#263)
- 33775f3 Fix crash on
2.7.x
due to use ofList
to read applications (#273) - 89a6cff Enhanced/improved provider configuration options and documentation (#268)
- 8e40130 Add
pass_credentials
toargocd_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
- @onematchfox
- @oboukili
- @duncan485 made their first contribution in #271
v5.2.0
What's Changed
argocd_application
argocd_project
- Allow blank
Group
on cluster resource [white|black]list (#258)
- Allow blank
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
andexclude
on directory apps (#254) - bfe7924 Add support for
jsonnet
libraries (#255) - fac513d Fix
wait
on update ofargocd_application
(#246)
Contributors
v5.1.0
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
onargocd_repository_credentials
,argocd_cluster
andargocd_repository
(#243) - Fix
inconsistent result after apply
onargocd_project_token
(#245) - Fix implementation of
renew_before
onargocd_project_token
(#245) - Add
renew_after
toargocd_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 ofrenew_after
(#245) - d291579 Enable
golangci-lint
(#241) - 04175c6 Fix error
inconsistent result after apply
onargocd_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
What's Changed
- Fix
argocd_application
state upgrade forv5.0.0
by @onematchfox in #238
Changelog
- 453fe73 Fix
argocd_application
state upgrade forv5.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
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
- Add support for GitHub app credentials by @philamente in #235
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 applicationsync_policy
(#228)
Contributors
- @philamente made their first contribution in #235
- @onematchfox
Full Changelog: v4.3.0...v5.0.0