diff --git a/modules/security_identity_compliance/sso/README.md b/modules/security_identity_compliance/sso-permissionsets/README.md similarity index 97% rename from modules/security_identity_compliance/sso/README.md rename to modules/security_identity_compliance/sso-permissionsets/README.md index c59a605..fc3bd26 100644 --- a/modules/security_identity_compliance/sso/README.md +++ b/modules/security_identity_compliance/sso-permissionsets/README.md @@ -1,4 +1,4 @@ -# SSO module +# SSO permission set module ## Root module example ``` diff --git a/modules/security_identity_compliance/sso/main.tf b/modules/security_identity_compliance/sso-permissionsets/main.tf similarity index 99% rename from modules/security_identity_compliance/sso/main.tf rename to modules/security_identity_compliance/sso-permissionsets/main.tf index 6ad121b..b71bc24 100644 --- a/modules/security_identity_compliance/sso/main.tf +++ b/modules/security_identity_compliance/sso-permissionsets/main.tf @@ -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 -} \ No newline at end of file +} + diff --git a/modules/security_identity_compliance/sso-permissionsets/outputs.tf b/modules/security_identity_compliance/sso-permissionsets/outputs.tf new file mode 100644 index 0000000..898c17e --- /dev/null +++ b/modules/security_identity_compliance/sso-permissionsets/outputs.tf @@ -0,0 +1,7 @@ +output pset-name { + value = aws_ssoadmin_permission_set.pset.name +} + +output pset-arn { + value = aws_ssoadmin_permission_set.pset.arn +} \ No newline at end of file diff --git a/modules/security_identity_compliance/sso/variables.tf b/modules/security_identity_compliance/sso-permissionsets/variables.tf similarity index 100% rename from modules/security_identity_compliance/sso/variables.tf rename to modules/security_identity_compliance/sso-permissionsets/variables.tf