Skip to content
This repository has been archived by the owner on Feb 15, 2022. It is now read-only.

Add a "kube_config_file_path" to aks module output #1448

Open
howlowck opened this issue Oct 10, 2020 · 0 comments · May be fixed by #1449
Open

Add a "kube_config_file_path" to aks module output #1448

howlowck opened this issue Oct 10, 2020 · 0 comments · May be fixed by #1449
Labels
enhancement New feature or request

Comments

@howlowck
Copy link
Member

howlowck commented Oct 10, 2020

As a:
... Environment Creator

I want:
... To seamlessly use Helm or Kubernetes Terraform Provider with Bedrock

So that:
... the Environment infrastructure can be completely managed by Terraform

Describe the solution you'd like:
Add the file path of the local_file.cluster_credentials resource for the aks module.

Acceptance Criteria:

provider "helm" {
    kubernetes {
        config_path = module.bedrock_aks.kube_config_file_path
    }
}

Describe alternatives you've considered:

We are currently using the aks data source to get the information from the cluster. It's a less elegant solution because we have to explicitly declare the dependency.

Additional context:

Does this require updates to documentation?:
No


I plan to make a PR to implement this feature, if the community thinks this is a good idea.

@howlowck howlowck added the enhancement New feature or request label Oct 10, 2020
@howlowck howlowck changed the title Add a "kube_config_file_path" to output Add a "kube_config_file_path" to aks module output Oct 10, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant