Closed oldManLemon closed 7 months ago
Relates #22074.
@oldManLemon Thanks for raising this issue.
Which version of the Terraform AWS Provider are you using?
The aws_backup_selection.condition
block was added in v3.72.0.
I came across this issue and having the wrong pinned version for hashicorp/aws
was the problem. Updating to the latest did the trick for me.
Marking this issue as stale due to inactivity. This helps our maintainers find and focus on the active issues. If this issue receives no comments in the next 30 days it will automatically be closed. Maintainers can also remove the stale label.
If this issue was automatically closed and you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thank you!
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.
Issue
Just following the instructions for creating a condition based backup lifecycle in AWS, when I attempt to use the condition block which is referenced in the documentation it returns an error stating the condition block was not expected?
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/backup_selection#selecting-backups-by-conditions
Terraform CLI and Terraform AWS Provider Version
Affected Resource(s)
Terraform Configuration Files
There are more but at this point even the example is just returning the error
Debug Output
Panic Output
Expected Behavior
Accepts the existence of the condition code block
Actual Behavior
Steps to Reproduce
terraform apply
Important Factoids
0000