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: Complete ECS example (IAM role not configured in ASG) #45

Merged

Conversation

mkostrikin
Copy link
Contributor

Description

The Complete ECS Example don't work. Don't configure the IAM Role in ASG.

Motivation and Context

This is because the example uses launch configuration and the variable iam_instance_profile_arn.
The variable iam_instance_profile_arn should be use with launch template.
With launch configurations should use the variable iam_instance_profile_name.

fixes #42

Breaking Changes

none

How Has This Been Tested?

  • I have tested and validated these changes using one or more of the provided examples/* projects in own aws infrastructure.

The Complete ECS Example don't work. Don't configure the IAM Role in ASG.

This is because the example uses launch configuration and the variable iam_instance_profile_arn.
The variable iam_instance_profile_arn should be use with launch template.
With launch configurations should use the variable iam_instance_profile_name.

fixes terraform-aws-modules#42
@mkostrikin mkostrikin changed the title Fix: Complete ECS Example - IAM Role not configured in ASG fix: Complete ECS Example - IAM Role not configured in ASG Jun 23, 2021
@antonbabenko antonbabenko changed the title fix: Complete ECS Example - IAM Role not configured in ASG fix: Complete ECS example (IAM role not configured in ASG) Jun 28, 2021
@antonbabenko antonbabenko merged commit 9b2ac00 into terraform-aws-modules:master Jun 28, 2021
@antonbabenko
Copy link
Member

Thanks, Maksim!

v3.3.0 has been just released.

@mkostrikin mkostrikin deleted the fix-ecs-example branch June 29, 2021 05:34
@github-actions
Copy link

github-actions bot commented Nov 8, 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 8, 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.

Complete ECS Example - IAM Role not configured in ASG
2 participants