Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ A full example leveraging other community modules is contained in the [examples/

```hcl
data "aws_eks_cluster" "cluster" {
name = module.eks.cluster_id
name = module.my-cluster.cluster_id
}

data "aws_eks_cluster_auth" "cluster" {
name = module.eks.cluster_id
name = module.my-cluster.cluster_id
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But it's called my-cluster on line 40?

module "my-cluster" {

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep. That's why @AmitThakkar fixed the referenced module name in datasources. Or you have to name your module module "eks" { ... } on line 40 to make the exemple works.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah yes, I must have been half asleep.

}

provider "kubernetes" {
Expand Down