Skip to content

Commit

Permalink
Add list actions
Browse files Browse the repository at this point in the history
  • Loading branch information
ddl-tnguyen committed Nov 12, 2024
1 parent 299ef4e commit 6ba8cf3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions modules/external-deployments/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ No modules.

| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| <a name="input_eks_info"></a> [eks\_info](#input\_eks\_info) | cluster = {<br> specs {<br> name = Cluster name.<br> account\_id = AWS account id where the cluster resides.<br> }<br> oidc = {<br> arn = OIDC provider ARN.<br> url = OIDC provider url.<br> cert = {<br> thumbprint\_list = OIDC cert thumbprints.<br> url = OIDC cert URL.<br> }<br> } | <pre>object({<br> cluster = object({<br> specs = object({<br> name = string<br> account_id = string<br> })<br> oidc = object({<br> arn = string<br> url = string<br> cert = object({<br> thumbprint_list = list(string)<br> url = string<br> })<br> })<br> })<br> })</pre> | n/a | yes |
| <a name="input_external_deployments"></a> [external\_deployments](#input\_external\_deployments) | Config to create IRSA role for the external deployments operator. | <pre>object({<br> namespace = optional(string, "domino-compute")<br> operator_service_account_name = optional(string, "pham-juno-operator")<br> operator_role_suffix = optional(string, "external-deployments-operator")<br> repository_suffix = optional(string, "external-deployments")<br> bucket_suffix = optional(string, "external-deployments")<br> enable_assume_any_external_role = optional(bool, true)<br> enable_in_account_deployments = optional(bool, true)<br> })</pre> | `{}` | no |
| <a name="input_kms_info"></a> [kms\_info](#input\_kms\_info) | key\_id = KMS key id.<br> key\_arn = KMS key arn.<br> enabled = KMS key is enabled | <pre>object({<br> key_id = string<br> key_arn = string<br> enabled = bool<br> })</pre> | n/a | yes |
| <a name="input_eks_info"></a> [eks\_info](#input\_eks\_info) | cluster = {<br/> specs {<br/> name = Cluster name.<br/> account\_id = AWS account id where the cluster resides.<br/> }<br/> oidc = {<br/> arn = OIDC provider ARN.<br/> url = OIDC provider url.<br/> cert = {<br/> thumbprint\_list = OIDC cert thumbprints.<br/> url = OIDC cert URL.<br/> }<br/> } | <pre>object({<br/> cluster = object({<br/> specs = object({<br/> name = string<br/> account_id = string<br/> })<br/> oidc = object({<br/> arn = string<br/> url = string<br/> cert = object({<br/> thumbprint_list = list(string)<br/> url = string<br/> })<br/> })<br/> })<br/> })</pre> | n/a | yes |
| <a name="input_external_deployments"></a> [external\_deployments](#input\_external\_deployments) | Config to create IRSA role for the external deployments operator. | <pre>object({<br/> namespace = optional(string, "domino-compute")<br/> operator_service_account_name = optional(string, "pham-juno-operator")<br/> operator_role_suffix = optional(string, "external-deployments-operator")<br/> repository_suffix = optional(string, "external-deployments")<br/> bucket_suffix = optional(string, "external-deployments")<br/> enable_assume_any_external_role = optional(bool, true)<br/> enable_in_account_deployments = optional(bool, true)<br/> })</pre> | `{}` | no |
| <a name="input_kms_info"></a> [kms\_info](#input\_kms\_info) | key\_id = KMS key id.<br/> key\_arn = KMS key arn.<br/> enabled = KMS key is enabled | <pre>object({<br/> key_id = string<br/> key_arn = string<br/> enabled = bool<br/> })</pre> | n/a | yes |
| <a name="input_region"></a> [region](#input\_region) | AWS region for the deployment | `string` | n/a | yes |

## Outputs
Expand Down
2 changes: 2 additions & 0 deletions modules/external-deployments/operator_role_policies.tf
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,8 @@ data "aws_iam_policy_document" "in_account_policies" {
"sagemaker:DescribeModel",
"sagemaker:InvokeEndpoint",
"sagemaker:InvokeEndpointWithResponseStream",
"sagemaker:ListEndpointConfigs",
"sagemaker:ListModels",
"sagemaker:UpdateEndpoint",
"sagemaker:UpdateEndpointWeightsAndCapacities"
]
Expand Down

0 comments on commit 6ba8cf3

Please sign in to comment.