terraform-aws-modules / terraform-aws-autoscaling

Terraform module to create AWS Auto Scaling resources 🇺🇦
https://registry.terraform.io/modules/terraform-aws-modules/autoscaling/aws
Apache License 2.0
289 stars 553 forks source link

Cannot use iam_instance_profile block with launch template #177

Closed yahav876 closed 2 years ago

yahav876 commented 2 years ago

Description

i am trying to add block of "iam_instance_profile" to my launch template lioke this:

     iam_instance_profile = {

         name = "ec2-access-s3-cf"
         arn  = "${var.allinone_asg.iam_instance_profile}"

   }

and i get this error :

An argument named "iam_instance_profile" is not expected here.

yahav876 commented 2 years ago

my mistake.

github-actions[bot] commented 1 year ago

I'm going to lock this issue 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 similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.