Use this data source to get ARNs and Identity Store IDs of Single Sign-On (SSO) Instances.
data "aws_ssoadmin_instances" "example" {}
output "arn" {
value = tolist(data.aws_ssoadmin_instances.example.arns)[0]
}
output "identity_store_id" {
value = tolist(data.aws_ssoadmin_instances.example.identity_store_ids)[0]
}
There are no arguments available for this data source.
This data source exports the following attributes in addition to the arguments above:
arns
- Set of Amazon Resource Names (ARNs) of the SSO Instances.id
- AWS Region.identity_store_ids
- Set of identifiers of the identity stores connected to the SSO Instances.