-
Notifications
You must be signed in to change notification settings - Fork 14
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
Simplify the docs for installing via terraform #948
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, minor nit
provider "juju" {} | ||
|
||
resource "juju_model" "this" { | ||
name = "juju-myk8s" # name of the juju model |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this comment feels a bit redundant but I'm also fine with keeping it if you think we should
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe a better name than this
here? Maybe rather my-model
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the improvement of my docs! Some questions here:
provider "juju" {} | ||
|
||
resource "juju_model" "this" { | ||
name = "juju-myk8s" # name of the juju model |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe a better name than this
here? Maybe rather my-model
?
variable "k8s" { | ||
description = "K8s deployment shared configuration" | ||
channel = string | ||
default = "1.xx/stable" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't quite like this variable declaration here. First it should be in an input file and second this should be closer to where it is set >> sub-module.
Overview
Ensure that the user provides a deployment channel for the charms rather than rely on a default in the charm modules.
Details
terraform plan
before running apply