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

Optimized EC2 build with SSM Parameter #50

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Seblat5ch
Copy link

Removed mappings and added SSM Parameter as this will dynamically allow for the latest ecs-optimized-ami each time.

  - /aws/service/ecs/optimized-ami/amazon-linux-2/gpu/recommended/image_id
  - /aws/service/ecs/optimized-ami/amazon-linux-2/arm64/recommended/image_id
  - /aws/service/ecs/optimized-ami/amazon-linux-2/recommended/image_id
  - /aws/service/ecs/optimized-ami/amazon-linux/recommended/image_id

Note:
Your user account must have the following IAM permissions to retrieve the Amazon ECS-optimized AMI metadata. These permissions have been added to the AmazonECS_FullAccess IAM policy.
ssm:GetParameters
ssm:GetParameter
ssm:GetParametersByPath

a0ccdc5
@Seblat5ch
Seblat5ch
No longer required

see ecs cluster template

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

removed mappings and added SSM Parameter as this will dynamically allow for the latest ecs-optimized-ami each time. 

      - /aws/service/ecs/optimized-ami/amazon-linux-2/gpu/recommended/image_id
      - /aws/service/ecs/optimized-ami/amazon-linux-2/arm64/recommended/image_id
      - /aws/service/ecs/optimized-ami/amazon-linux-2/recommended/image_id
      - /aws/service/ecs/optimized-ami/amazon-linux/recommended/image_id

Note: 
Your user account must have the following IAM permissions to retrieve the Amazon ECS-optimized AMI metadata. These permissions have been added to the AmazonECS_FullAccess IAM policy.
    ssm:GetParameters
    ssm:GetParameter
    ssm:GetParametersByPath
see ecs cluster template
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant