For some reason
#zabbix #aws #lambda #awslambda #awsiam
IAM Role Trust Policies: Misconfigurations Hiding in Plain Sight
https://www.token.security/blog/iam-role-trust-policies-misconfigurations-hiding-in-plain-sight
As your Amazon Web Services (AWS) environment grows, you might develop a need to grant cross-account access to resources. This could be for various reasons, such as enabling centralized operations across multiple AWS accounts, sharing resources across teams or projects within your organization, or integrating with third-party services. However, granting cross-account access requires careful consideration […]
Quite often for a new project that is just building its infrastructure and CI/CD to do so as an MVP/PoC, and at the beginning, no time is spent on tuning AWS IAM Roles and IAM Policies, but simply connecting AdministratorAccess.
Actually, this is exactly what happened in my project, but we are growing, and it’s time to put things in order in […]
https://rtfm.co.ua/en/aws-iam-access-analyzer-policy-generation-create-an-iam-policy/
So, we have an AWS Elastic Kubernetes Service cluster with Authentication mode EKS API and ConfigMap, which we enabled during upgrade of the EKS Terraform module from version 19.21 to 20.0.
Before switching EKS Authentication mode completely to the API, we need to transfer all users and roles to Access Entries of the EKS cluster from aws-auth […]
https://rtfm.co.ua/en/terraform-managing-eks-access-entries-and-eks-pod-identities/
An example of creating a Terraform project to manage access to AWS EKS with Authentication Mode API and EKS Pod Identities for Kubernetes ServiceAccounts
Доволі частий кейс, коли на новому проекті, який тільки створює свою інфраструктуру і CI/CD, робиться це як MVP/PoC, і на початку на тюнінг AWS IAM Roles та IAM Policies час не витрачається, а просто підключається […]
https://rtfm.co.ua/aws-iam-access-analyzer-policy-generation-stvorennya-iam-policy/
Отже, маємо кластер AWS Elastic Kubernetes Service з Authentication mode EKS API and ConfigMap, який ми включили під час апгрейду Terraform-модуля з версії 19.21 на 20.0.
Перед тим, як переключати EKS Authentication mode повністю на API – нам потрібно з […]
https://rtfm.co.ua/terraform-menedzhment-eks-access-entries-ta-eks-pod-identities/
Приклад створення Terraform проекту для управління доступами до AWS EKS з Authentification Mode API та EKS Pod Identities для Kubernetes ServiceAccounts
It seems like a common task to update a version of a Terraform module, but terraform-aws-modules/eks version 20.0 had some pretty big changes with breaking changes.
The changes relate to authentication and authorization in AWS IAM and AWS EKS, which I analyzed in the post AWS: Kubernetes and Access Management API, the new authentication in […]
https://rtfm.co.ua/en/terraform-eks-and-karpenter-upgrade-the-module-version-from-19-21-to-20-0/
Step-by-step process of the Terraform terraform-aws-modules/eks upgrade from 19.21.0 to 20.0.0 for EKS and Karpenter: main changes and possible errors