Skip to content

New Resource: aws_s3control_bucket#15510

Merged
bflad merged 3 commits into
masterfrom
f-aws_s3control_bucket
Oct 27, 2020
Merged

New Resource: aws_s3control_bucket#15510
bflad merged 3 commits into
masterfrom
f-aws_s3control_bucket

Conversation

@bflad

@bflad bflad commented Oct 6, 2020

Copy link
Copy Markdown
Contributor

Community Note

  • Please vote on this pull request by adding a 👍 reaction to the original pull request comment 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 pull request followers and do not help prioritize the request

Closes #15413

Release note for CHANGELOG:

* **New Resource:** `aws_s3control_bucket`

Output from acceptance testing:

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

@bflad bflad added new-resource Introduces a new resource. service/s3control Issues and PRs that pertain to the s3control service. labels Oct 6, 2020
@bflad bflad self-assigned this Oct 6, 2020
@ghost ghost added size/XL Managed by automation to categorize the size of a PR. provider Pertains to the provider itself, rather than any interaction with AWS. service/s3 Issues and PRs that pertain to the s3 service. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. documentation Introduces or discusses updates to documentation. labels Oct 6, 2020
@bflad bflad force-pushed the f-aws_s3control_bucket branch from 4cdf445 to a7dd862 Compare October 9, 2020 13:54
@bflad bflad marked this pull request as ready for review October 9, 2020 13:56
@bflad bflad requested a review from a team October 9, 2020 13:56
@bflad

bflad commented Oct 9, 2020

Copy link
Copy Markdown
Contributor Author

tfproviderdocs check is failing because it needs the changes in #15468 -- can move the s3control changes here if desired instead.

@bflad

bflad commented Oct 12, 2020

Copy link
Copy Markdown
Contributor Author

We no longer have Outpost access to confirm, but the tags issue may be related to aws/aws-sdk-go#3591 and potentially not eventual consistency.

bflad added 2 commits October 16, 2020 14:46
Reference: #15413

Output from acceptance testing:

```
--- PASS: TestAccAWSS3ControlBucket_basic (58.52s)
--- PASS: TestAccAWSS3ControlBucket_disappears (63.94s)
--- SKIP: TestAccAWSS3ControlBucket_Tags (0.00s)
```
@bflad bflad force-pushed the f-aws_s3control_bucket branch from 6b57536 to c58091d Compare October 16, 2020 19:09

@anGie44 anGie44 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM -- quick q below and noting that tags support is implemented but possibly still facing the issue referenced above in the AWS SDK 👍

_, err = conn.GetBucket(input)

if tfawserr.ErrCodeEquals(err, "NoSuchBucket") {
return nil

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we continue through the for-loop here in case? though I've seen it written both ways where we return nil right away instead 🤔

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hehe just peeped #15847 👍

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ha yeah, should be continue, will suggest fix and merge

@bflad bflad added this to the v3.13.0 milestone Oct 27, 2020
Comment thread aws/resource_aws_s3control_bucket_test.go Outdated
@bflad bflad merged commit af69dda into master Oct 27, 2020
@bflad bflad deleted the f-aws_s3control_bucket branch October 27, 2020 18:47
bflad added a commit that referenced this pull request Oct 27, 2020
@ghost

ghost commented Oct 29, 2020

Copy link
Copy Markdown

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

ghost commented Nov 27, 2020

Copy link
Copy Markdown

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

documentation Introduces or discusses updates to documentation. new-resource Introduces a new resource. provider Pertains to the provider itself, rather than any interaction with AWS. service/s3control Issues and PRs that pertain to the s3control service. service/s3 Issues and PRs that pertain to the s3 service. size/XL Managed by automation to categorize the size of a PR. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

New Resource: aws_s3control_bucket

4 participants