AWS eks documentation change
Summary
Replaced hardcoded values with '<replaceable>' tags, fixed URL formatting, and removed whitespace
Security assessment
Change improves documentation consistency but doesn't address security vulnerabilities or add security guidance.
Diff
diff --git a/eks/latest/userguide/ack-troubleshooting.md b/eks/latest/userguide/ack-troubleshooting.md index a1bbafd56..300b970c5 100644 --- a//eks/latest/userguide/ack-troubleshooting.md +++ b//eks/latest/userguide/ack-troubleshooting.md @@ -29 +29 @@ You can view capability health and status issues in the EKS console or using the - 1. Open the Amazon EKS console at [https://console.aws.amazon.com/eks/home#/clusters](https://console.aws.amazon.com/eks/home#/clusters). + 1. Open the Amazon EKS console at https://console.aws.amazon.com/eks/home#/clusters. @@ -84,2 +84,2 @@ You can view capability health and status issues in the EKS console or using the - aws iam list-attached-role-policies --role-name my-ack-capability-role - aws iam list-role-policies --role-name my-ack-capability-role + aws iam list-attached-role-policies --role-name <replaceable>my-ack-capability-role</replaceable> + aws iam list-role-policies --role-name <replaceable>my-ack-capability-role</replaceable> @@ -88,2 +88 @@ You can view capability health and status issues in the EKS console or using the - aws iam get-role-policy --role-name my-ack-capability-role --policy-name policy-name - + aws iam get-role-policy --role-name <replaceable>my-ack-capability-role</replaceable> --policy-name <replaceable>policy-name</replaceable> @@ -115 +114 @@ If resources aren’t being created in a target AWS account when using IAM Role - aws iam get-role --role-name cross-account-ack-role --query 'Role.AssumeRolePolicyDocument' + aws iam get-role --role-name <replaceable>cross-account-ack-role</replaceable> --query 'Role.AssumeRolePolicyDocument' @@ -134 +133 @@ IAMRoleSelectors are cluster-scoped resources but target specific namespaces. En - kubectl get bucket my-cross-account-bucket -n production + kubectl get bucket <replaceable>my-cross-account-bucket</replaceable> -n <replaceable>production</replaceable> @@ -140 +139 @@ IAMRoleSelectors are cluster-scoped resources but target specific namespaces. En - kubectl get iamroleselector my-selector -o jsonpath='{.spec.namespaceSelector}' + kubectl get iamroleselector <replaceable>my-selector</replaceable> -o jsonpath='{.spec.namespaceSelector}' @@ -148 +147 @@ Verify that the IAMRoleSelector was successfully matched to your resource by che - kubectl get bucket my-cross-account-bucket -n production -o jsonpath='{.status.conditions[?(@.type=="ACK.IAMRoleSelected")]}' + kubectl get bucket <replaceable>my-cross-account-bucket</replaceable> -n <replaceable>production</replaceable> -o jsonpath='{.status.conditions[?(@.type=="ACK.IAMRoleSelected")]}'