Skip to content

Remove kubeconfig error message from output #68

@dtzar

Description

@dtzar

This issue is for a: (mark with an x)

- [ ] bug report -> please search issues before submitting
- [x] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

Run terraform apply without a file named kubeconfig in the terraform directory.

It outputs this:

Invalid attribute in provider configuration with provider["registry.terraform.io/hashicorp/kubernetes"], on provider.tf line 42, in provider "kubernetes": 42: provider "kubernetes" { 'config_path' refers to an invalid path: "./kubeconfig": stat ./kubeconfig: no such file or directory

By design this file doesn't exist since the Terraform code downloads the kubeconfig to this directory for use in to install ArgoCD and apply configurations after the AKS cluster is created.

See if there is a way to eliminate this to avoid confusion. Related slack thread. Also related to #48

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions