We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue:
Steps:
Requires explicit idleSessionTimeout setting and no-quote for true/false triggers:
FIX:
--- a/main.tf +++ b/main.tf @@ -36,10 +36,11 @@ resource "aws_ssm_document" "session_manager_prefs" { sessionType = "Standard_Stream" inputs = { s3BucketName = var.enable_log_to_s3 ? aws_s3_bucket.session_logs_bucket.id : "" - s3EncryptionEnabled = var.enable_log_to_s3 ? "true" : "false" + s3EncryptionEnabled = var.enable_log_to_s3 ? true : false cloudWatchLogGroupName = var.enable_log_to_cloudwatch ? aws_cloudwatch_log_group.session_manager_log_group.name : "" - cloudWatchEncryptionEnabled = var.enable_log_to_cloudwatch ? "true" : "false" + cloudWatchEncryptionEnabled = var.enable_log_to_cloudwatch ? true : false kmsKeyId = aws_kms_key.ssmkey.key_id + idleSessionTimeout = "20" shellProfile = { linux = var.linux_shell_profile == "" ? var.linux_shell_profile : "" windows = var.windows_shell_profile == "" ? var.windows_shell_profile : ""
The text was updated successfully, but these errors were encountered:
Confirming issue and steps to fix. But just to provide more detail:
idleSessionTimeout
shellProfile.linux
shellProfile.windows
""
shellProfile = { linux = var.linux_shell_profile == "" ? "" : var.linux_shell_profile windows = var.windows_shell_profile == "" ? "" : var.windows_shell_profile }
NOTE: I found other bugs in this module as well so use with caution.
Sorry, something went wrong.
Looks like this is fixed in a submitted PR (#21). Any chance we can have it merged and a new version released so we can start using it please?
This still hasn't been approved/merged. Pretty, pretty please?
No branches or pull requests
Issue:
Steps:
Requires explicit idleSessionTimeout setting and no-quote for true/false triggers:
FIX:
The text was updated successfully, but these errors were encountered: