Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proposal: Introduce raw manifest resource #109

Closed
burdiyan opened this issue Jan 31, 2018 · 4 comments
Closed

Proposal: Introduce raw manifest resource #109

burdiyan opened this issue Jan 31, 2018 · 4 comments

Comments

@burdiyan
Copy link

It would be cool if this provider would support creating any resource valid for the current api server just directly in YAML. So that resources that are not natively supported by the provider can still be created using YAML (the fact of having <<HEREDOC for HCL properties is super useful for this) using the behavior similar to kubectl apply -f.

@ericchiang
Copy link

I've been working on a project that does exactly this. https://github.com/ericchiang/terraform-provider-k8s

Would love feedback.

@burdiyan
Copy link
Author

burdiyan commented Feb 3, 2018

Cool! Will take a look at it soon. I believe it still would be great to have that in the official Kubernetes provider.

Have you thought about contributing that back to this provider @ericchiang?

@ericchiang
Copy link

Have you thought about contributing that back to this provider @ericchiang?

I didn't plan to. Would be happy to review PRs from anyone who wanted to add the feature to this one.

@radeksimko
Copy link
Member

Hi folks 👋
thanks for raising this question.

Supporting YAML/JSON was considered before and during the initial implementation of this provider and we decided not to do it. For that reason I'm going to close this issue as we have no intentions of implementing it nor accepting PRs which accept raw configs in JSON/YAML.

Feel free to use @ericchiang's provider if you wish.

Full discussion: hashicorp/terraform#3132

TL;DR version (summary): hashicorp/terraform#3453 (comment)

@ghost ghost locked and limited conversation to collaborators Apr 21, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants