-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
invalid or unknown key: filter #5133
Comments
PR's submitted (with some overlaps): |
The same for Terraform v0.11.8 . |
I'm seeing the same error for aws_route_tables as well when I used with Data Source. Terraform VersionTerraform v0.11.8
Terrafrom Config
Behavior
Is there any workaround for this? |
Hi folks 👋 Very sorry for the lengthy delays with merging this support, there were a few conflicting pull requests to the same code which needed to get sorted out. Good news is that the following will be supported in version 1.44.0 of the AWS provider, likely releasing later today or tomorrow:
@praveenprem it looks like |
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! |
Hello,
I'm using terraform v0.11.3 version, but assigning an elastic ip address to an Ec2 instance using data filter or tags is not supported with this version. It is giving me invalid or unknown key when using filter or tags in the query to look at the elastic ip's.
Terraform Version
Terraform v0.11.3
Affected Resource(s)
aws_eip_association
data.aws_eip
Terraform Configuration Files
data "aws_eip" "example" {
filter {
name = "tag:Name"
values = ["test"]
}
}
resource "aws_eip_association" "eip_assoc" {
instance_id = "${aws_instance.test.id}"
allocation_id = "${data.aws_eip.test.id}"
}
Debug Output
Panic Output
Expected Behavior
terraform apply
Actual Behavior
Error: data.aws_eip.test: : invalid or unknown key: filter
Steps to Reproduce
terraform apply
Important Factoids
Looks like the issue is fixed in some version but not supporting
$ terraform --version
Terraform v0.11.3
References
The text was updated successfully, but these errors were encountered: