Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: (IAC-923) Update Node Pool IAM Role Names to Include Prefix #233

Merged
merged 1 commit into from
Sep 20, 2023

Conversation

jarpat
Copy link
Contributor

@jarpat jarpat commented Sep 19, 2023

Changes

Update the naming of the node pool IAM roles. Before this change the roles were an autogenerated name based off just the node pool name which made them hard to track, especially if you are working with multiple clusters. This change makes it so that the name will now include the prefix value in additional to the node names when the roles are created.

e.g. the roles are now cas-eks-node-group-[timestamp-unique] -> my-cool-prefix-cas-eks-node-group

This is not a breaking change either, if you rerun apply using this PR using an earlier release the node pool IAM roles will just be replaced with ones with the updated names and associated with the existing node pools.

Tests

Scenario Provider K8s Version Order Cadence Notes
1 AWS v1.26.7-eks-2d98532 * fast:2020 OOTB
2 AWS v1.26.7-eks-2d98532 * fast:2020 Initially created infra with v7.2.1 and reran apply with PR codebase to replace role names

@jarpat jarpat self-assigned this Sep 19, 2023
@jarpat jarpat added the bug Something isn't working label Sep 19, 2023
@jarpat jarpat merged commit 2e43fa5 into staging Sep 20, 2023
3 checks passed
@jarpat jarpat deleted the IAC-923 branch September 20, 2023 15:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants