Skip to content

Conversation

@errm
Copy link
Member

@errm errm commented Feb 10, 2025

Fixes this warning:

│ Warning: Argument is deprecated
│
│   with module.cluster.aws_iam_role.eks_cluster_role,
│   on .terraform/modules/cluster/cluster_iam.tf line 5, in resource "aws_iam_role" "eks_cluster_role":
│    5: resource "aws_iam_role" "eks_cluster_role" {
│
│ The inline_policy argument is deprecated. Use the aws_iam_role_policy resource instead. If Terraform should exclusively manage all inline policy associations (the current behavior of
│ this argument), use the aws_iam_role_policies_exclusive resource as well.

@errm errm requested a review from a team as a code owner February 10, 2025 08:59
@errm errm requested review from coord-e and sorah February 10, 2025 08:59
@errm errm force-pushed the errm/fix-inline-policy-deprecation branch from 5ceb561 to b666e75 Compare February 10, 2025 09:04
Fixes this warning:

│ Warning: Argument is deprecated
│
│   with module.cluster.aws_iam_role.eks_cluster_role,
│   on .terraform/modules/cluster/cluster_iam.tf line 5, in resource "aws_iam_role" "eks_cluster_role":
│    5: resource "aws_iam_role" "eks_cluster_role" {
│
│ The inline_policy argument is deprecated. Use the aws_iam_role_policy resource instead. If Terraform should exclusively manage all inline policy associations (the current behavior of
│ this argument), use the aws_iam_role_policies_exclusive resource as well.
@errm errm force-pushed the errm/fix-inline-policy-deprecation branch from b666e75 to 6052bd4 Compare February 10, 2025 09:12
@errm errm merged commit 458151e into main Mar 31, 2025
3 checks passed
@errm errm deleted the errm/fix-inline-policy-deprecation branch March 31, 2025 16:19
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.

6 participants