v0.6.0
Pre-release
Pre-release
Unrestricted home role and settings @if-igor (#17)
what
- There are three changes here, all to support the use case where var.restricted_home is set to false
- Change 1: expose user role arns
- Change 2: set default home_directory to provided s3 bucket
- Change 3: Adjust policy to allow access to the root of the s3 bucket instead of the path with username
why
- Currently, setting var.restricted_home to false will drop the user into the root directory without any permissions
- Given that the module works with an s3 bucket, it makes sense to change the home_directory in this case to the root of the s3 bucket
- The policy did not grant access to the user to the root directory
- Adding role_arns to the output will help anyone who wants to add additional policies to the role