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: managed_policy_arns deprecated #37

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

scottschreckengaust
Copy link
Collaborator

Update the deprecation warning:

│ Warning: Argument is deprecated
│ 
│   with module.genai_doc_ingestion.module.document_ingestion.aws_iam_role.ingestion_api_datasource,
│   on .terraform/modules/genai_doc_ingestion/modules/document-ingestion/iam.tf line 44, in resource "aws_iam_role" "ingestion_api_datasource":
│   44:   managed_policy_arns = [
│   45:     "arn:aws:iam::aws:policy/service-role/AWSLambdaBasicExecutionRole",
│   46:     "arn:aws:iam::aws:policy/AmazonEventBridgeFullAccess",
│   47:   ]
│ 
│ The managed_policy_arns argument is deprecated. Use the aws_iam_role_policy_attachments_exclusive resource instead.

Signed-off-by: Scott Schreckengaust <[email protected]>
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.

1 participant