Comments (5)
Looking at it again now, I'm assuming it might be related to this line — although unclear how to use this:
aws_cli_assume_role_arn = "arn:aws:iam::xxxxxxxxxxx:role/OrganizationAccountAccessRole"
from terraform-aws-eks-workers.
I added a proper account into my aws_cli_assume_role_arn
, yet I still see the same error when trying to apply my plans in Terraform Cloud.
from terraform-aws-eks-workers.
I also tried emptying aws_cli_assume_role_arn
, still same issue.
Here's the plan output for the aws_autoscaling_group
it wants to create:
# module.eks_workers.module.autoscale_group.aws_autoscaling_group.default[0] will be created
+ resource "aws_autoscaling_group" "default" {
+ arn = (known after apply)
+ availability_zones = (known after apply)
+ default_cooldown = 300
+ desired_capacity = (known after apply)
+ enabled_metrics = [
+ "GroupDesiredCapacity",
+ "GroupInServiceInstances",
+ "GroupMaxSize",
+ "GroupMinSize",
+ "GroupPendingInstances",
+ "GroupStandbyInstances",
+ "GroupTerminatingInstances",
+ "GroupTotalInstances",
]
+ force_delete = false
+ health_check_grace_period = 300
+ health_check_type = "EC2"
+ id = (known after apply)
+ load_balancers = (known after apply)
+ max_size = 3
+ metrics_granularity = "1Minute"
+ min_elb_capacity = 0
+ min_size = 2
+ name = (known after apply)
+ name_prefix = "hackers-test-eks3-"
+ protect_from_scale_in = false
+ service_linked_role_arn = (known after apply)
+ tags = [
+ {
+ "key" = "Attributes"
+ "propagate_at_launch" = "true"
+ "value" = "workers"
},
+ {
+ "key" = "Name"
+ "propagate_at_launch" = "true"
+ "value" = "hackers-test-eks3-workers"
},
+ {
+ "key" = "Namespace"
+ "propagate_at_launch" = "true"
+ "value" = "hackers"
},
+ {
+ "key" = "Stage"
+ "propagate_at_launch" = "true"
+ "value" = "test"
},
+ {
+ "key" = "kubernetes.io/cluster/hackers-test-eks3-cluster"
+ "propagate_at_launch" = "true"
+ "value" = "owned"
},
]
+ target_group_arns = (known after apply)
+ termination_policies = [
+ "Default",
]
+ vpc_zone_identifier = [
+ "subnet-029f81b5fed6dc6d5",
+ "subnet-0a4795e9e7c8dcde7",
]
+ wait_for_capacity_timeout = "10m"
+ wait_for_elb_capacity = 0
+ launch_template {
+ id = "lt-03a3309fdd24f2bdd"
+ name = (known after apply)
+ version = "$Latest"
}
}
I can't see what wouldn't be a valid launch template.
from terraform-aws-eks-workers.
@MPV thanks for testing!
aws_cli_assume_role_arn
is not related to Launch Template, it's only used if you want to assume an IAM role before applying Auth ConfigMap with kubectl .
See this for more details: https://github.com/cloudposse/terraform-aws-eks-cluster/blob/master/auth.tf#L126
Regarding the Lunch Template not supported configuration error, please check the following:
-
Does
eu-north-1
support it? And all other resources (EKS, etc.) you are trying to provision. Try to change the region and run again -
If the region is supported and you still have the issue, try to deploy your code NOT using Terraform Cloud (e.g. from local computer)
thanks
from terraform-aws-eks-workers.
Closing this issue as stale
and cannot reproduce
. Please open a new issue if you experience a similar problem with the current release of this module.
from terraform-aws-eks-workers.
Related Issues (20)
- aws_iam_role tags not defined
- Custom userdata template/file input HOT 1
- launch spot instances? HOT 1
- do we plan to add node groups ? HOT 2
- Error destroying ASG providing instance profile HOT 2
- worker node disk_space feature
- Deployment commands HOT 1
- Terraform 0.12 warnings HOT 2
- Latest image regex doesn't seem to be working HOT 2
- Conflicting AWS Provider versions between modules HOT 3
- kubernetes.io/cluster tag not set on autoscaling group
- "list" function was deprecated in Terraform v0.12 and is no longer available HOT 1
- Expose option for max_instance_lifetime HOT 1
- default `eks_worker_ami_name_regex` should be updated to handle 1.20 HOT 1
- Dependency Dashboard
- Expose metadata_options {instance_metadata_tags}
- Deprecated template provider should be removed from module
- Full end-to-end example HOT 1
- Support other AWS partitions
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from terraform-aws-eks-workers.