Skip to content

refactor(k8s): move IAM requirements to k8s/specs/requirements/aws + rename role to convention#194

Merged
fedemaleh merged 2 commits into
betafrom
feat/k8s-requirements-module
Jul 3, 2026
Merged

refactor(k8s): move IAM requirements to k8s/specs/requirements/aws + rename role to convention#194
fedemaleh merged 2 commits into
betafrom
feat/k8s-requirements-module

Conversation

@agustincelentano

@agustincelentano agustincelentano commented Jul 1, 2026

Copy link
Copy Markdown
Collaborator

Qué

Alinea el scope k8s con lambda/static-files:

  1. Mueve el módulo de permisos IAM a k8s/specs/requirements/aws (antes en k8s/specs/tofu; pasó por k8s/requirements/aws y ahora vive bajo specs/requirements/).
  2. Renombra el rol de permisos default: nullplatform-<cluster>-agent-permissions-rolenullplatform_<cluster>_k8s_role (convención nullplatform_<cluster>_<scope>_role).

El runtime resuelve el rol por selector, no por nombre; el rename solo recrea el recurso IAM.

⚠️ BREAKING

  • Path: consumidores de //k8s/specs/tofu?ref=beta deben usar //k8s/specs/requirements/aws.
  • Rol: al aplicar, el rol se recrea (destroy+create, ARN nuevo); policies preservadas (solo re-attach). Re-publicar el ARN nuevo en el provider IAM (selector k8s).

Validación

  • tofu validate/fmt OK. Probado desde implementation-aws apuntando a esta branch.

…e role

Move the k8s permissions-role module from k8s/specs/tofu to k8s/requirements/aws,
aligning with the lambda/static-files requirements layout. Rename the default
permissions role to nullplatform_<cluster>_k8s_role (was
nullplatform-<cluster>-agent-permissions-role) to follow the
nullplatform_<cluster>_<scope>_role convention.

BREAKING: consumers referencing //k8s/specs/tofu must update the source to
//k8s/requirements/aws.
…s/aws)

Relocate from k8s/requirements/aws to k8s/specs/requirements/aws so the
requirements module lives under specs/ (consistent with the other scopes).
@agustincelentano agustincelentano changed the title refactor(k8s): move IAM requirements to k8s/requirements/aws + rename role to convention refactor(k8s): move IAM requirements to k8s/specs/requirements/aws + rename role to convention Jul 3, 2026
@fedemaleh
fedemaleh merged commit e968028 into beta Jul 3, 2026
3 checks passed
@fedemaleh
fedemaleh deleted the feat/k8s-requirements-module branch July 3, 2026 17:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants