Skip to content

terraform-ecs-efs-integration: Update AWS Provider to v6#3120

Open
kakakakakku wants to merge 4 commits into
aws-samples:mainfrom
kakakakakku:terraform-ecs-efs-integration
Open

terraform-ecs-efs-integration: Update AWS Provider to v6#3120
kakakakakku wants to merge 4 commits into
aws-samples:mainfrom
kakakakakku:terraform-ecs-efs-integration

Conversation

@kakakakakku
Copy link
Copy Markdown
Contributor

Issue #, if available:
N/A

Description of changes:
Hi😀 Thanks for the useful patterns!

To keep this pattern maintainable, I updated the AWS Provider to v6.

Check

terraform apply completed successfully and works good.

$ aws ecs run-task \
    --cluster testing-serverlessland-efs-updater \
    --task-definition testing-serverlessland-efs-updater:1 \
    --network-configuration "awsvpcConfiguration={subnets=[subnet-xxxxxxxxxxxxxxxxx],securityGroups=[sg-xxxxxxxxxxxxxxxxx],assignPublicIp=DISABLED}" \
    --count 1 \
    --launch-type FARGATE \
    --region us-east-1
image

Thank you😀


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

"ecr:GetDownloadUrlForLayer"
],
"Resource": "arn:aws:ecr:*:*:repository/${standard_resource_name}"
"Resource": "arn:aws:ecr:*:*:repository/${standard_resource_name}-efs-updater"
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

note: CannotPullContainerError error occurred because IAM policy referenced wrong ECR repository ARN.

CannotPullContainerError: pull image manifest has been retried 1 time(s): failed to resolve ref 000000000000.dkr.ecr.us-east-1.amazonaws.com/testing-serverlessland-efs-updater:latest: unexpected status from HEAD request to https://000000000000.dkr.ecr.us-east-1.amazonaws.com/v2/testing-serverlessland-efs-updater/manifests/latest: 403 Forbidden

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.

3 participants