Terraform-provider-aws: S3 bucket grantee

Created on 13 Jun 2017  路  12Comments  路  Source: hashicorp/terraform-provider-aws

_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 Version

Terraform v0.7.2

Affected Resource(s)

Please list the resources as a list, for example:

  • aws_s3_bucket

Expected Behavior

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

Actual Behavior

I can't set a grantee on a bucket via specifically the aws_s3_bucket resource though it is supported in the Go SDK.

Important Factoids

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

enhancement servics3

Most helpful comment

It would be nice to have this supported.

All 12 comments

It would be nice to have this supported.

+1

+1

+1

+1

+1

+1

+1

Would be great if this was supported

@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

Was this page helpful?
0 / 5 - 0 ratings