_This issue was originally opened by @pporada-gl as hashicorp/terraform#8583. It was migrated here as part of the provider split. The original body of the issue is below._
Terraform v0.7.2
Please list the resources as a list, for example:
I should be able to set a grantee on a bucket. Currently I have to use a null_resource and a local_exec to run
$ aws s3api put-bucket-acl --bucket mybucket --grant-write id=XXXXXXXXXXXXXXXXX
I can't set a grantee on a bucket via specifically the aws_s3_bucket resource though it is supported in the Go SDK.
The AWS Go SDK supports grants on S3 buckets.
https://github.com/aws/aws-sdk-go/blob/master/models/apis/s3/2006-03-01/api-2.json#L2331
It would be nice to have this supported.
+1
+1
+1
+1
+1
+1
+1
Would be great if this was supported
@pporada-gl @FearlessHyena Does the new aws_s3_bucket.grant argument added via https://github.com/terraform-providers/terraform-provider-aws/issues/989, https://github.com/terraform-providers/terraform-provider-aws/pull/3728 and available in version 2.52.0 of the Terraform AWS provider address your use case?
@ewbankkit Thanks for the reference. I didn't realise they added to the AWS provider recently. Let me try it out and see if it addresses my use case
Most helpful comment
It would be nice to have this supported.