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

Resource aws_ecs_repository_policy doesn't support import #5921

Closed
mcqj opened this issue Sep 18, 2018 · 5 comments · Fixed by #7974
Closed

Resource aws_ecs_repository_policy doesn't support import #5921

mcqj opened this issue Sep 18, 2018 · 5 comments · Fixed by #7974
Labels
enhancement Requests to existing resources that expand the functionality or scope. service/ecr Issues and PRs that pertain to the ecr service.
Milestone

Comments

@mcqj
Copy link

mcqj commented Sep 18, 2018

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Terraform Version

0.11.8
provider.aws v1.35.0

Affected Resource(s)

aws_ecs_service

Terraform Configuration Files

Not relevant

Debug Output

Error: aws_ecr_repository_policy.cross-account-pull (import id: *****): import aws_ecr_repository_policy.cross-account-pull (id: *****): resource aws_ecr_repository_policy doesn't support import

Expected Behavior

import succeeds without error

Actual Behavior

Error as above

Steps to Reproduce

try to import aws_ecs_service_policy

@bflad bflad added enhancement Requests to existing resources that expand the functionality or scope. service/ecr Issues and PRs that pertain to the ecr service. labels Sep 18, 2018
@madarve
Copy link

madarve commented Oct 11, 2018

Your Debug ouput corresponds to another resource: aws_ecr_repository and not aws_ecs_service as the title suggests. which one is the correct ?

@mcqj
Copy link
Author

mcqj commented Oct 23, 2018

Indeed it should read ecr

@mcqj mcqj changed the title Resource aws_ecs_service doesn't support import Resource aws_ecs_repository_policy doesn't support import Oct 23, 2018
@bflad bflad added this to the v2.3.0 milestone Mar 17, 2019
@bflad
Copy link
Contributor

bflad commented Mar 17, 2019

Support for importing aws_ecr_repository_policy resources has been merged and will release with version 2.3.0 of the Terraform AWS Provider, likely middle of this week. 👍

@bflad
Copy link
Contributor

bflad commented Mar 21, 2019

This has been released in version 2.3.0 of the Terraform AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.

@ghost
Copy link

ghost commented Mar 31, 2020

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 feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks!

@ghost ghost locked and limited conversation to collaborators Mar 31, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement Requests to existing resources that expand the functionality or scope. service/ecr Issues and PRs that pertain to the ecr service.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants