UPD: renamed sso module and added outputs

This commit is contained in:
xpk 2022-11-24 13:55:24 +08:00
parent 8a16ee5dc1
commit e627637d21
Signed by: xpk
GPG Key ID: CD4FF6793F09AB86
4 changed files with 10 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# SSO module
# SSO permission set module
## Root module example
```

View File

@ -12,4 +12,5 @@ resource "aws_ssoadmin_managed_policy_attachment" "psetatt" {
instance_arn = tolist(data.aws_ssoadmin_instances.sso1.arns)[0]
managed_policy_arn = var.pset-managed-policy-arn
permission_set_arn = aws_ssoadmin_permission_set.pset.arn
}
}

View File

@ -0,0 +1,7 @@
output pset-name {
value = aws_ssoadmin_permission_set.pset.name
}
output pset-arn {
value = aws_ssoadmin_permission_set.pset.arn
}