hashicorp / terraform-provider-aws

The AWS Provider enables Terraform to manage AWS resources.
https://registry.terraform.io/providers/hashicorp/aws
Mozilla Public License 2.0
9.81k stars 9.16k forks source link

[New Data Source]: aws_elasticache_subnet_group #27114

Closed posquit0 closed 2 years ago

posquit0 commented 2 years ago

Description

image

Other similar subnet group resources also provide data sources. A data source for the subnet group is required to find the vpc id with the subnet group name.

Requested Resource(s) and/or Data Source(s)

Potential Terraform Configuration

data "aws_elasticache_subnet_group" "this" {
  name = "default"
}

resource "aws_security_group" "this" {
  name        = "example"
  description = "Example Security Group."
  vpc_id      = data.aws_elasticache_subnet_group.this.vpc_id
}

References

https://docs.aws.amazon.com/cli/latest/reference/elasticache/describe-cache-subnet-groups.html

Would you like to implement a fix?

No

github-actions[bot] commented 2 years ago

Community Note

Voting for Prioritization

Volunteering to Work on This Issue

bschaatsbergen commented 2 years ago

Hi @posquit0, thanks for raising this issue. I'm happy to work on this in the coming few days.

github-actions[bot] commented 2 years ago

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

For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you!

github-actions[bot] commented 1 year ago

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.