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

Update deprecated resource #54

Closed
ekuongm opened this issue Feb 14, 2022 · 5 comments · Fixed by #55
Closed

Update deprecated resource #54

ekuongm opened this issue Feb 14, 2022 · 5 comments · Fixed by #55

Comments

@ekuongm
Copy link

ekuongm commented Feb 14, 2022

Is your request related to a new offering from AWS?

No.

Is your request related to a problem? Please describe.

After upgrading the AWS Terraform provider to v4.0.0 a warning shows up with the following message:

│ Warning: Argument is deprecated │ with module.ecs_cluster.aws_ecs_cluster.this, │ on .terraform/modules/ecs_cluster/main.tf line 1, in resource "aws_ecs_cluster" "this": │ 1: resource "aws_ecs_cluster" "this" { │ Use the aws_ecs_cluster_capacity_providers resource instead │ (and one more similar warning elsewhere)

Describe the solution you'd like.

Update the module to use the aws_ecs_cluster_capacity_providers resource

Additional context

Deprecated resources are listed at the ECS Cluster Terraform documentation web
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ecs_cluster

@antonbabenko
Copy link
Member

I can see this change was made here - hashicorp/terraform-provider-aws#22783

Pull-request is welcome if anyone wants to do it.

@stewartcampbell
Copy link
Contributor

@antonbabenko I have a PR ready to go when you have time to review.

@aric49
Copy link

aric49 commented Mar 15, 2022

Is anyone working on reviewing this PR? I have some ECS clusters which inherit this module and I am experiencing this issue as well. Thanks in advance!

@MikeWDevops
Copy link

Bumping this since this is still open.

@github-actions
Copy link

github-actions bot commented Nov 8, 2022

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 have found a problem that seems similar to this, 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 a pull request may close this issue.

5 participants