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

Resolve Argument Deprecation Warnings #226

Closed
RV-LACity opened this issue Feb 22, 2023 · 2 comments · Fixed by #243
Closed

Resolve Argument Deprecation Warnings #226

RV-LACity opened this issue Feb 22, 2023 · 2 comments · Fixed by #243

Comments

@RV-LACity
Copy link

Hello All,

Thanks for your work. Please look into the following deprecation notices.

Issue

We are receiving a few warnings of arguments being deprecated:

image

@jastephen-squire
Copy link

I am now receiving failed builds because of source_json not being supported as of today. It appears that source_json will need to be replaced with source_policy_documents, per the updated resource. https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document

Would there be any timeframe to this being updated?

@matheusjunior
Copy link

@jastephen-squire I faced the same issue today when configuring this module with Terraform AWS provider 5.0, which came out a couple of days ago and deprecated a few attributes, source_json included. I "solved" it by pinning the AWS provider to the latest version supporting the source_json attribute, which is version 4.67.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants