-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Added timeout configs and variables to aws_eks_cluster resource #149
Added timeout configs and variables to aws_eks_cluster resource #149
Conversation
I think it might be best if you merge master into this branch before going much farther - it looks like your branch is off of b6f6a82, and there have been a number of changelog additions since then. (which is causing the merge conflict) I like the change though! I've certainly run into the create timeout before. Re:
and had no differences. |
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.
👍 to having this capability, small note on variable naming inline
variables.tf
Outdated
@@ -123,3 +123,13 @@ variable "kubeconfig_name" { | |||
description = "Override the default name used for items kubeconfig." | |||
default = "" | |||
} | |||
|
|||
variable "aws_eks_cluster_create_timeout" { |
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.
For consistency with other cluster_*
related variables and readability (e.g. cluster_version
, should these be named cluster_create_timeout
and cluster_delete_timeout
?
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.
Sure, I'll change it
Hey @laverya ! |
Thanks @RGPosadas, README.md should also be updated to reflect the new var names. |
I updated Also re:
and it worked. |
Thanks for your first contribution @RGPosadas! I just fixed the travis error in master, could you rebase so we can get it to pass? Thanks! |
…raform-aws-eks into Expose-Timeout-Configs
@max-rocket-internet done! |
* upstream/master: (25 commits) Update documentation for removed `configure_kubectl_session` (terraform-aws-modules#171) remove the checksum step Add target_group_arns to worker ASG (terraform-aws-modules#167) Removing 2 providers from the module (terraform-aws-modules#168) Removing aws_iam_service_linked_role from module (terraform-aws-modules#160) Adjust the order and correct/update the info (terraform-aws-modules#163) Ruby ver `2.4.2` -> `2.4.4` Move env vars into env section Remove `v` in `v0.11.8` Better version control Add suspended_processes attributes to autoscaling_group (terraform-aws-modules#159) Updating changelog for v1.7.0 (terraform-aws-modules#158) Revert "Add suspended_processes attributes to autoscaling_group (terraform-aws-modules#153)" (terraform-aws-modules#157) Add suspended_processes attributes to autoscaling_group (terraform-aws-modules#153) Add option to change worker placement_tenancy. (terraform-aws-modules#142) Allowing 443 to nodes from EKS service (terraform-aws-modules#148) Fixed issue with 'workers_group_defaults_defaults.iam_role_id' and added explicit depends_on for 'update_config_map_aws_auth' (terraform-aws-modules#147) Added timeout configs and variables to aws_eks_cluster resource (terraform-aws-modules#149) Fixing travis config (terraform-aws-modules#151) Fix for ERROR: 'aws_iam_instance_profile.workers' not found (terraform-aws-modules#141) ...
…aform-aws-modules#149) * Added timeout configs and variables * Updated CHANGELOG and README * Added timeout configs and variables * Updated CHANGELOG and README * Changed variable names for consistency * Updated README.md * Did terraform fmt
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. |
PR o'clock
Description
Added timeout configs to the
aws_eks_cluster
resource.Test Result
I set the timeouts to 1m to test for failure (could not test timeout for more than default time since it is unpredictable when it would happen). Here are the results:
README.md
ChangesI tried to update
README.md
usingterraform-docs
and the given lines of code, but that ended up erasing the whole file for me. So I added in the new variables manually.Checklist
terraform fmt
andterraform validate
both work from the root andexamples/eks_test_fixture
directories (look in CI for an example)terraform-docs
perREADME.md
instructions