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

fix: Fixed incorrect example of iam-eks-role #183

Merged
merged 1 commit into from
Jan 21, 2022

Conversation

antonbabenko
Copy link
Member

@antonbabenko antonbabenko commented Jan 21, 2022

Fixes #181

@antonbabenko antonbabenko merged commit c26c44e into master Jan 21, 2022
@antonbabenko antonbabenko deleted the fix-181-iam-eks-role branch January 21, 2022 12:19
antonbabenko pushed a commit that referenced this pull request Jan 21, 2022
### [4.10.1](v4.10.0...v4.10.1) (2022-01-21)

### Bug Fixes

* Fixed incorrect example of iam-eks-role ([#183](#183)) ([c26c44e](c26c44e))
@antonbabenko
Copy link
Member Author

This PR is included in version 4.10.1 🎉

length = 2
}

module "eks" {
Copy link
Contributor

Choose a reason for hiding this comment

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

@antonbabenko I don't really see the point of adding a whole declaration of the terraform-aws-eks module in here? Now it's not really clear that you can use this module completely separately. And now the use of (random_pet.this.id) as the cluster name is even more confusing IMO 🙂

Copy link
Member Author

Choose a reason for hiding this comment

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

"All examples should ALWAYS be executable right away as-is using terraform apply" - this is the standard rule we have in all modules.

cluster1 was not a known cluster name.

Copy link
Member Author

Choose a reason for hiding this comment

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

I think I should have written it differently to be more understandable - (module.eks.cluster_id) instead of (random_pet.this.id).

@github-actions
Copy link

github-actions bot commented Nov 9, 2022

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 9, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

MalformedPolicyDocument encountered when using iam_eks_role
2 participants