From 4b2b48f2557b4d06c808fd7dcc27244c388fce61 Mon Sep 17 00:00:00 2001 From: Bruno Schaatsbergen Date: Mon, 10 Oct 2022 22:11:00 +0200 Subject: [PATCH 1/2] fix type --- internal/service/identitystore/user.go | 2 +- internal/service/identitystore/user_data_source.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/service/identitystore/user.go b/internal/service/identitystore/user.go index 7348c980cc7..e7d29aec93b 100644 --- a/internal/service/identitystore/user.go +++ b/internal/service/identitystore/user.go @@ -117,7 +117,7 @@ func ResourceUser() *schema.Resource { Elem: &schema.Resource{ Schema: map[string]*schema.Schema{ "id": { - Type: schema.TypeBool, + Type: schema.TypeString, Computed: true, }, "issuer": { diff --git a/internal/service/identitystore/user_data_source.go b/internal/service/identitystore/user_data_source.go index 12a5d4e78eb..aec922f931e 100644 --- a/internal/service/identitystore/user_data_source.go +++ b/internal/service/identitystore/user_data_source.go @@ -138,7 +138,7 @@ func DataSourceUser() *schema.Resource { Elem: &schema.Resource{ Schema: map[string]*schema.Schema{ "id": { - Type: schema.TypeBool, + Type: schema.TypeString, Computed: true, }, "issuer": { From 0b45c6318a0fc4d98807bae66b107854077166b2 Mon Sep 17 00:00:00 2001 From: Bruno Schaatsbergen Date: Mon, 10 Oct 2022 22:19:39 +0200 Subject: [PATCH 2/2] Create 27184.txt --- .changelog/27184.txt | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .changelog/27184.txt diff --git a/.changelog/27184.txt b/.changelog/27184.txt new file mode 100644 index 00000000000..1fa1e768011 --- /dev/null +++ b/.changelog/27184.txt @@ -0,0 +1,7 @@ +```release-note:bug +data-source/aws_identitystore_user: Change the type of `external_ids` to a string instead of a bool. +``` + +```release-note:bug +aws_identitystore_user: Change the type of `external_ids` to a string instead of a bool. +```