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

New Resource: aws_s3control_bucket #15413

Closed
bflad opened this issue Oct 1, 2020 · 3 comments · Fixed by #15510
Closed

New Resource: aws_s3control_bucket #15413

bflad opened this issue Oct 1, 2020 · 3 comments · Fixed by #15510
Assignees
Labels
new-resource Introduces a new resource. service/s3control Issues and PRs that pertain to the s3control service.
Milestone

Comments

@bflad
Copy link
Contributor

bflad commented Oct 1, 2020

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

As part of the initial S3 on Outposts support for the Terraform AWS Provider, a new resource for managing Buckets in the S3 Control API is necessary. This new resource does not deprecate the existing aws_s3_bucket resource functionality and does not represent any operator need for migration between the two. Resource documentation call out boxes will be in place to help delineate the purpose of the two similar, but different resources.

New Resource

  • aws_s3control_bucket

Potential Terraform Configuration

resource "aws_s3control_bucket" "example" {
  acl                            = ""
  bucket                         = ""
  grant_full_control             = ""
  grant_read                     = ""
  grant_read_acp                 = ""
  grant_write                    = ""
  grant_write_acp                = ""
  object_lock_enabled_for_bucket = true
  outpost_id                     = data.aws_outposts_outpost.example.id
  tags                           = {}
}

References

@bflad bflad added new-resource Introduces a new resource. service/s3control Issues and PRs that pertain to the s3control service. labels Oct 1, 2020
@bflad bflad self-assigned this Oct 1, 2020
bflad added a commit that referenced this issue Oct 6, 2020
Reference: #15413

Output from acceptance testing:

```
Pending
```
bflad added a commit that referenced this issue Oct 9, 2020
Reference: #15413

Output from acceptance testing:

```
--- PASS: TestAccAWSS3ControlBucket_basic (58.52s)
--- PASS: TestAccAWSS3ControlBucket_disappears (63.94s)
--- SKIP: TestAccAWSS3ControlBucket_Tags (0.00s)
```
bflad added a commit that referenced this issue Oct 12, 2020
Reference: #15413

Output from acceptance testing:

```
--- PASS: TestAccAWSS3ControlBucket_basic (58.52s)
--- PASS: TestAccAWSS3ControlBucket_disappears (63.94s)
--- SKIP: TestAccAWSS3ControlBucket_Tags (0.00s)
```
bflad added a commit that referenced this issue Oct 16, 2020
Reference: #15413

Output from acceptance testing:

```
--- PASS: TestAccAWSS3ControlBucket_basic (58.52s)
--- PASS: TestAccAWSS3ControlBucket_disappears (63.94s)
--- SKIP: TestAccAWSS3ControlBucket_Tags (0.00s)
```
bflad added a commit that referenced this issue Oct 16, 2020
Reference: #15413

Output from acceptance testing:

```
--- PASS: TestAccAWSS3ControlBucket_basic (58.52s)
--- PASS: TestAccAWSS3ControlBucket_disappears (63.94s)
--- SKIP: TestAccAWSS3ControlBucket_Tags (0.00s)
```
@bflad bflad added this to the v3.13.0 milestone Oct 27, 2020
bflad added a commit that referenced this issue Oct 27, 2020
* New Resource: aws_s3control_bucket

Reference: #15413

Output from acceptance testing:

```
--- PASS: TestAccAWSS3ControlBucket_basic (58.52s)
--- PASS: TestAccAWSS3ControlBucket_disappears (63.94s)
--- SKIP: TestAccAWSS3ControlBucket_Tags (0.00s)
```

* resource/aws_s3control_bucket: Remove workaround fixed in AWS Go SDK

Reference: aws/aws-sdk-go#3583

* Update aws/resource_aws_s3control_bucket_test.go
@bflad
Copy link
Contributor Author

bflad commented Oct 27, 2020

Support for this new resource has been merged and will release with version 3.13.0 of the Terraform AWS Provider, later this week. 👍

@ghost
Copy link

ghost commented Oct 29, 2020

This has been released in version 3.13.0 of the Terraform AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.

For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template for triage. Thanks!

@ghost
Copy link

ghost commented Nov 27, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks!

@ghost ghost locked as resolved and limited conversation to collaborators Nov 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
new-resource Introduces a new resource. service/s3control Issues and PRs that pertain to the s3control service.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant