I got an error when trying to import an existing permission set into our state.
╷
│ Error: Insufficient filter blocks
│
│ on .terraform/modules/sso_permissions_and_assignments/main.tf line 39, in data "aws_identitystore_group" "this":
│ 39: data "aws_identitystore_group" "this" {
│
│ At least 1 "filter" blocks are required.
╵
╷
│ Error: Unsupported block type
│
│ on .terraform/modules/sso_permissions_and_assignments/main.tf line 42, in data "aws_identitystore_group" "this":
│ 42: alternate_identifier {
│
│ Blocks of type "alternate_identifier" are not expected here.
This is the configured module reference in the .tf file:
I got an error when trying to import an existing permission set into our state.
This is the configured module reference in the .tf file:
Is there something I configured wrong, since
alternate_identifier
should exist following the documentation (https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/identitystore_group)? The principle names are the one as shown in the webconsole.