-
Notifications
You must be signed in to change notification settings - Fork 0
Conversation
| provider "aws" { | ||
| profile = local.profile | ||
| region = local.region | ||
| } | ||
|
|
||
| provider "helm" { | ||
| kubernetes { | ||
| host = data.aws_eks_cluster.cluster.endpoint | ||
|
|
||
| cluster_ca_certificate = base64decode(data.aws_eks_cluster.cluster.certificate_authority[0].data) | ||
| token = data.aws_eks_cluster_auth.cluster.token | ||
| } | ||
| } | ||
|
|
||
| provider "kubernetes" { | ||
| host = data.aws_eks_cluster.cluster.endpoint | ||
|
|
||
| cluster_ca_certificate = base64decode(data.aws_eks_cluster.cluster.certificate_authority[0].data) | ||
| token = data.aws_eks_cluster_auth.cluster.token | ||
| } |
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.
if we are writing the sample for TG, then we should use provider generate in the terragrunt.hcl?
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 didn't really imagine ever trying the sample with Terragrunt. What I've been doing is testing each module just in pure Terraform with one of these examples and cover Terragrunt in another pass. I could be adding an additional step, but in my head I've wanted to be certain everything is right with the module in TF before introducing TG. If you think it's extra work, could save ourselves some time by skipping.
| region = "us-gov-east-1" | ||
| profile = "terraform" | ||
| cluster_name = "platform-test-1" | ||
| namespace = "prometheus" | ||
| create_namespace = "true" |
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.
bad juju
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.
see comments, no changes required, just things to think about.
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 see chart versions are updated, hope they have been tested out.
Upgraded all components, took a stab at documentation in the README, think this is in alignment with structure we want and created a simple example for local testing.