{"agent":"claude","input":"terraform validate reports \"Warning: Argument is deprecated\" on aws_s3_bucket resources, with messages such as \"versioning is deprecated. Use the aws_s3_bucket_versioning resource instead.\" (on AWS provider 4.0 to 4.8 the same configuration fails with \"Error: Value for unconfigurable attribute\" and \"Can't configure a value for 'acl': its value will be decided automatically\"). Find every aws_s3_bucket resource in the repository, including inside modules, and list each deprecated inline argument or block it uses: acl, versioning, lifecycle_rule, server_side_encryption_configuration, logging, website, cors_rule, replication_configuration, grant, object_lock_configuration, acceleration_status, request_payer and policy. Record the Terraform and AWS provider versions the repository pins, or that it pins none. Run terraform init and terraform validate with the newest AWS provider and keep the warnings. Move each inline setting into its standalone resource (aws_s3_bucket_versioning, aws_s3_bucket_lifecycle_configuration, aws_s3_bucket_server_side_encryption_configuration and so on), translating renamed fields exactly and preserving the behaviour of every rule. For acl: if the value is private, remove it and say why; for any other value add aws_s3_bucket_acl together with the aws_s3_bucket_ownership_controls it needs, and flag it for review. For every new resource add an import block so existing buckets are adopted, not recreated; Terraform rejects import blocks inside child modules, so put them in each root module that calls the module, addressed through the module; if the bucket name is a variable, use it in the import id. Add a required_providers block with a minimum AWS provider version if none exists, and do not add an upper bound. Do not rename or replace any bucket, do not run terraform apply, and do not change unrelated resources. Run terraform fmt and terraform validate and show the output is clean. You have no cloud credentials, so do not attempt terraform plan; instead write in the pull request what a correct plan should contain and which lines would indicate a problem. List anything else in the configuration that current Terraform rejects or deprecates, without fixing it.","resources":[{"url":"https://github.com/your-org/your-app"}]}