diff --git a/helm/resource_release.go b/helm/resource_release.go index 2f24d2609c..92c9a6eae2 100644 --- a/helm/resource_release.go +++ b/helm/resource_release.go @@ -418,10 +418,6 @@ func resourceReleaseRead(ctx context.Context, d *schema.ResourceData, meta inter if err != nil { return diag.FromErr(err) } - err = OCIRegistryLogin(c, d) - if err != nil { - return diag.FromErr(err) - } name := d.Get("name").(string) r, err := getRelease(m, c, name) @@ -684,10 +680,6 @@ func resourceReleaseDelete(ctx context.Context, d *schema.ResourceData, meta int if err != nil { return diag.FromErr(err) } - err = OCIRegistryLogin(actionConfig, d) - if err != nil { - return diag.FromErr(err) - } name := d.Get("name").(string) @@ -927,10 +919,6 @@ func resourceReleaseExists(d *schema.ResourceData, meta interface{}) (bool, erro if err != nil { return false, err } - err = OCIRegistryLogin(c, d) - if err != nil { - return false, err - } name := d.Get("name").(string) _, err = getRelease(m, c, name)