refactor(k8s): move IAM requirements to k8s/specs/requirements/aws + rename role to convention#194
Merged
Merged
Conversation
…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).
fedemaleh
approved these changes
Jul 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Qué
Alinea el scope k8s con lambda/static-files:
k8s/specs/requirements/aws(antes enk8s/specs/tofu; pasó pork8s/requirements/awsy ahora vive bajospecs/requirements/).nullplatform-<cluster>-agent-permissions-role→nullplatform_<cluster>_k8s_role(convenciónnullplatform_<cluster>_<scope>_role).El runtime resuelve el rol por selector, no por nombre; el rename solo recrea el recurso IAM.
//k8s/specs/tofu?ref=betadeben usar//k8s/specs/requirements/aws.k8s).Validación
tofu validate/fmtOK. Probado desde implementation-aws apuntando a esta branch.