You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9Lines changed: 9 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,6 +18,14 @@ module "custom_pod_identity" {
18
18
19
19
name = "custom"
20
20
21
+
trust_policy_conditions = [
22
+
{
23
+
test = "StringEquals"
24
+
variable = "aws:PrincipalOrgID"
25
+
values = ["o-1234567890"]
26
+
}
27
+
]
28
+
21
29
trust_policy_statements = [
22
30
{
23
31
sid = "Test"
@@ -553,6 +561,7 @@ No modules.
553
561
| <aname="input_policy_statements"></a> [policy\_statements](#input\_policy\_statements)| A list of IAM policy [statements](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document#statement) for custom permission usage |`any`|`[]`| no |
554
562
| <aname="input_source_policy_documents"></a> [source\_policy\_documents](#input\_source\_policy\_documents)| List of IAM policy documents that are merged together into the exported document |`list(string)`|`[]`| no |
555
563
| <aname="input_tags"></a> [tags](#input\_tags)| A map of tags to add to all resources |`map(string)`|`{}`| no |
564
+
| <aname="input_trust_policy_conditions"></a> [trust\_policy\_conditions](#input\_trust\_policy\_conditions)| A list of conditions to add to the role trust policy |`any`|`[]`| no |
556
565
| <aname="input_trust_policy_statements"></a> [trust\_policy\_statements](#input\_trust\_policy\_statements)| A list of IAM policy [statements](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document#statement) for the role trust policy |`any`|`[]`| no |
557
566
| <aname="input_use_name_prefix"></a> [use\_name\_prefix](#input\_use\_name\_prefix)| Determines whether the role name and policy name(s) are used as a prefix |`string`|`true`| no |
558
567
| <aname="input_velero_policy_name"></a> [velero\_policy\_name](#input\_velero\_policy\_name)| Custom name of the Velero IAM policy |`string`|`null`| no |
description="A list of conditions to add to the role trust policy"
19
+
type=any
20
+
default=[]
21
+
}
22
+
17
23
variable"trust_policy_statements" {
18
24
description="A list of IAM policy [statements](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document#statement) for the role trust policy"
0 commit comments