Skip to content

Commit

Permalink
add relay_state
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Dec 19, 2023
1 parent 45df680 commit 07366ba
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,6 @@

* 1.0.4 -- 2023-12-13
- add user_mapping to replace the mail address

* 1.0.5 -- 2023-12-19
- add relay_state
2 changes: 1 addition & 1 deletion common/version.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
locals {
_module_version = "1.0.4"
_module_version = "1.0.5"
}
1 change: 1 addition & 0 deletions permissionset/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ No modules.
| <a name="input_managed_policy_names"></a> [managed\_policy\_names](#input\_managed\_policy\_names) | Names of AWS Managed Policy to attach to the permissionset | `list(string)` | `[]` | no |
| <a name="input_name"></a> [name](#input\_name) | Permission set name | `string` | n/a | yes |
| <a name="input_override_prefixes"></a> [override\_prefixes](#input\_override\_prefixes) | Override built-in prefixes by component. This should be used primarily for common infrastructure things | `map(string)` | `{}` | no |
| <a name="input_relay_state"></a> [relay\_state](#input\_relay\_state) | Relay State to pass along to permissionset | `string` | `null` | no |
| <a name="input_session_duration"></a> [session\_duration](#input\_session\_duration) | Permission set duration (default 8H) | `string` | `"PT8H"` | no |
| <a name="input_tags"></a> [tags](#input\_tags) | AWS Tags to apply to appropriate resources | `map(string)` | `{}` | no |

Expand Down
1 change: 1 addition & 0 deletions permissionset/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ resource "aws_ssoadmin_permission_set" "pset" {
description = local.description
instance_arn = var.instance_arn
session_duration = var.session_duration
relay_state = var.relay_state

tags = merge(
local.base_tags,
Expand Down
6 changes: 6 additions & 0 deletions permissionset/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,9 @@ variable "inline_policy" {
type = string
default = null
}

variable "relay_state" {
description = "Relay State to pass along to permissionset"
type = string
default = null
}

0 comments on commit 07366ba

Please sign in to comment.