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

Feature Request: AWS ECR lifecycle policies #1935

Closed
hashibot opened this issue Oct 17, 2017 · 4 comments
Closed

Feature Request: AWS ECR lifecycle policies #1935

hashibot opened this issue Oct 17, 2017 · 4 comments
Labels
new-resource Introduces a new resource. service/ecr Issues and PRs that pertain to the ecr service.
Milestone

Comments

@hashibot
Copy link

This issue was originally opened by @pracucci as hashicorp/terraform#16364. It was migrated here as a result of the provider split. The original body of the issue is below.


Amazon recently launched lifecycle policies for EC2 Container Registry. A lifecycle policy is a policy to automatically cleanup images based upon one or more rules.

Is there any plan to add the support to Terraform?

Thank you

@hashibot hashibot added the enhancement Requests to existing resources that expand the functionality or scope. label Oct 17, 2017
@pracucci
Copy link

It's a duplicate of #1868.

@radeksimko radeksimko added the service/ecr Issues and PRs that pertain to the ecr service. label Jan 28, 2018
@mwarkentin
Copy link
Contributor

Lifecycle policies are supported: https://www.terraform.io/docs/providers/aws/r/ecr_lifecycle_policy.html

This should be closed?

@bflad bflad added new-resource Introduces a new resource. and removed enhancement Requests to existing resources that expand the functionality or scope. labels Apr 17, 2018
@bflad bflad added this to the v1.2.0 milestone Apr 17, 2018
@bflad
Copy link
Contributor

bflad commented Apr 17, 2018

@mwarkentin thanks for the heads up.

The new aws_ecr_lifecycle_policy resource was previously merged in via #2096 and released in version 1.2.0 of the AWS provider and has been available in all releases since. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.

@bflad bflad closed this as completed Apr 17, 2018
@ghost
Copy link

ghost commented Apr 6, 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 Apr 6, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
new-resource Introduces a new resource. service/ecr Issues and PRs that pertain to the ecr service.
Projects
None yet
Development

No branches or pull requests

5 participants