-
Notifications
You must be signed in to change notification settings - Fork 52
Resolved aws_subnet_ids
deprecation
#23
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
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
--- a/README.md
+++ b/README.md
@@ -102,7 +102,7 @@ No modules.
| [aws_partition.current](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/partition) | data source |
| [aws_region.current](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/region) | data source |
| [aws_route_table.selected](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/route_table) | data source |
-| [aws_subnet_ids.selected](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/subnet_ids) | data source |
+| [aws_subnets.selected](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/subnets) | data source |
| [aws_vpc.selected](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/vpc) | data source |
Just a reminder that I can’t merge these changes because I’m not a project member. |
@kvwake @azend have you tested the code? I have introduced this fix here; https://github.com/bridgecrewio/terraform-aws-session-manager/pull/20/files#diff-d27b6bbb73d8ee24ac0b6cae34cdddcde2c220a0ed46e41cfd5b36e4a61b41abR3 long time ago, I believe that should read
|
I didn't until now. It seemed like no one was maintaining this repo so I got it working for what I needed it for then lost interest. You're definitely right about the resource index being in the wrong spot. I've fixed it in my fork, validated syntax with |
Can someone merge this change? I am attempting to use the module with a later version of AWS and am completely blocked |
I can't. We need a repo maintainer to merge. |
Note: changes are untested and should be reviewed before merge.
This PR updates the data resource that provides AWS subnet IDs. This change removes the deprecation warning caused by the old resource type.
Issue is described in #22 .