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

[BUG] Warning: Argument is deprecated. Use the attribute "source_policy_documents" instead. #11

Open
sblack4 opened this issue Dec 7, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@sblack4
Copy link
Contributor

sblack4 commented Dec 7, 2022

Describe the bug

│ Warning: Argument is deprecated
│ 
│   with module.cloudtrail_bucket.data.aws_iam_policy_document.key_merged_policy,
│   on .terraform/modules/cloudtrail_bucket/kms.tf line 77, in data "aws_iam_policy_document" "key_merged_policy":
│   77:   source_json   = data.aws_iam_policy_document.key.json
│ 
│ Use the attribute "source_policy_documents" instead.

To Reproduce

module "cloudtrail_bucket" {
  source  = "rhythmictech/cloudtrail-bucket/aws"
  version = "~> 1.3.1"

  logging_bucket      = module.s3logging_bucket.s3_bucket_name
  region              = var.region
  tags                = local.tags
}
@sblack4 sblack4 added the bug Something isn't working label Dec 7, 2022
@sblack4 sblack4 self-assigned this Dec 7, 2022
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

No branches or pull requests

1 participant