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
| <aname="input_trusted_profile_claim_rules"></a> [trusted\_profile\_claim\_rules](#input\_trusted\_profile\_claim\_rules)| A list of Trusted Profile Claim Rule objects that are applied to the Trusted Profile created by the module. | <pre>list(object({<br/> # required arguments<br/> conditions = list(object({<br/> claim = string<br/> operator = string<br/> value = string<br/> }))<br/><br/> type = string<br/><br/> # optional arguments<br/> cr_type = optional(string)<br/> expiration = optional(number)<br/> name = optional(string)<br/> realm_name = optional(string)<br/> }))</pre> |`null`| no |
120
+
| <aname="input_trusted_profile_claim_rules"></a> [trusted\_profile\_claim\_rules](#input\_trusted\_profile\_claim\_rules)| A list of Trusted Profile Claim Rule objects that are applied to the Trusted Profile created by the module. | <pre>list(object({<br/> # required arguments<br/> conditions = list(object({<br/> claim = string<br/> operator = string<br/> value = string<br/> }))<br/><br/> type = string<br/><br/> # optional arguments<br/> cr_type = optional(string)<br/> expiration = optional(number)<br/> name = optional(string)<br/> realm_name = optional(string)<br/> }))</pre> |`[]`| no |
121
121
| <aname="input_trusted_profile_description"></a> [trusted\_profile\_description](#input\_trusted\_profile\_description)| Description of the trusted profile. |`string`|`null`| no |
122
122
| <aname="input_trusted_profile_identity"></a> [trusted\_profile\_identity](#input\_trusted\_profile\_identity)| The identity to trust (use only if needed) | <pre>object({<br/> identifier = string<br/> identity_type = string<br/> accounts = optional(list(string))<br/> description = optional(string)<br/> })</pre> |`null`| no |
123
-
| <aname="input_trusted_profile_links"></a> [trusted\_profile\_links](#input\_trusted\_profile\_links)| A list of Trusted Profile Link objects that are applied to the Trusted Profile created by the module. | <pre>list(object({<br/> # required arguments<br/> cr_type = string<br/> links = list(object({<br/> crn = string<br/> namespace = optional(string)<br/> name = optional(string)<br/> }))<br/><br/> # optional arguments<br/> name = optional(string)<br/> }))</pre> |`null`| no |
123
+
| <aname="input_trusted_profile_links"></a> [trusted\_profile\_links](#input\_trusted\_profile\_links)| A list of Trusted Profile Link objects that are applied to the Trusted Profile created by the module. | <pre>list(object({<br/> # required arguments<br/> cr_type = string<br/> links = list(object({<br/> crn = string<br/> namespace = optional(string)<br/> name = optional(string)<br/> }))<br/><br/> # optional arguments<br/> name = optional(string)<br/> }))</pre> |`[]`| no |
124
124
| <aname="input_trusted_profile_name"></a> [trusted\_profile\_name](#input\_trusted\_profile\_name)| Name of the trusted profile. |`string`| n/a | yes |
125
125
| <a name="input_trusted_profile_policies"></a> [trusted\_profile\_policies](#input\_trusted\_profile\_policies) | A list of Trusted Profile Policy objects that are applied to the Trusted Profile created by the module. | <pre>list(object({<br/> roles = list(string)<br/> account_management = optional(bool)<br/> description = optional(string)<br/><br/> resources = optional(list(object({<br/> service = optional(string)<br/> service_type = optional(string)<br/> resource_instance_id = optional(string)<br/> region = optional(string)<br/> resource_type = optional(string)<br/> resource = optional(string)<br/> resource_group_id = optional(string)<br/> service_group_id = optional(string)<br/> attributes = optional(map(any))<br/> })), null)<br/><br/> resource_attributes = optional(list(object({<br/> name = string<br/> value = string<br/> operator = optional(string)<br/> })))<br/><br/> resource_tags = optional(list(object({<br/> name = string<br/> value = string<br/> operator = optional(string)<br/> })))<br/><br/> rule_conditions = optional(list(object({<br/> key = string<br/> operator = string<br/> value = list(any)<br/> })))<br/><br/> rule_operator = optional(string)<br/> pattern = optional(string)<br/> }))</pre> | n/a | yes |
tobool("Values for `var.trusted_profile_policies[${i}].account_management`, `var.trusted_profile_policies[${i}].resource_attributes`, and `var.trusted_profile_policies[${i}].resources` are mutually exclusive.")
contains(["Profile-SAML", "Profile-CR"], claim.type) ?true:tobool("Value for `var.trusted_profile_claim_rules[${i}].type must be either `Profile-SAML` or `Profile-CR`.")
true:tobool("Value for `var.trusted_profile_claim_rules[${i}].conditions[${j}].operator` must be one of the following: `EQUALS`, `NOT_EQUALS`, `EQUALS_IGNORE_CASE`, `NOT_EQUALS_IGNORE_CASE`, `CONTAINS`, `IN`.")
claim.type=="Profile-CR"?true:tobool("Value for `var.trusted_profile_claim_rules[${i}].cr_type` should only be provided when `var.trusted_profile_claim_rules[${i}].type` is `Profile-CR`.")
contains(["VSI", "IKS_SA", "ROKS_SA"], claim.cr_type) ?true:tobool("Value for `var.trusted_profile_claim_rules[${i}].cr_type` must be one of the following: `VSI`, `IKS_SA`, `ROKS_SA`.")
claim.type=="Profile-SAML"?true:tobool("Value for `var.trusted_profile_claim_rules[${i}].expiration` should only be provided when `var.trusted_profile_claim_rules[${i}].type` is `Profile-SAML`.")
claim.type=="Profile-SAML"?true:tobool("Value for `var.trusted_profile_claim_rules[${i}].realm_name` should only be provided when `var.trusted_profile_claim_rules[${i}].type` is `Profile-SAML`.")
tobool("Value for `var.trusted_profile_links[${i}].link[${j}].namespace` should only be provided if `var.trusted_profile_links[${i}].cr_type` is `IKS_SA` or `ROKS_SA`.")
tobool("Value for `var.trusted_profile_links[${i}].link[${j}].name` should only be provided if `var.trusted_profile_links[${i}].cr_type` is `IKS_SA` or `ROKS_SA`.")
error_message="Each trusted_profile_policy must have exactly one of `account_management`, `resources`, or `resource_attributes` set and non-null. These are mutually exclusive."
error_message="Each item in `var.trusted_profile_claim_rules.conditions.operator` must be one of the following: `EQUALS`, `NOT_EQUALS`, `EQUALS_IGNORE_CASE`, `NOT_EQUALS_IGNORE_CASE`, `CONTAINS`, `IN`."
0 commit comments