-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
Amazon S3 Express #34612
Merged
Merged
Amazon S3 Express #34612
Changes from all commits
Commits
Show all changes
219 commits
Select commit
Hold shift + click to select a range
615983c
Temporarily remove 'internal/service/medialive'.
ewbankkit 727c2a8
Use 'S3 Veyron Go SDK (08/09/2023)'.
ewbankkit 9cb7157
AWS SDK for Go v2 client for S3.
ewbankkit 1b959d1
Run 'make gen'.
ewbankkit a97bf48
Run 'go mod download github.com/aws/smithy-go && go mod tidy'.
ewbankkit 80129ba
r/aws_s3_directory_bucket: New resource.
ewbankkit 87f5674
Use 'S3 Veyron Go SDK (08/09/2023)'.
ewbankkit ad6ef67
r/aws_s3_directory_bucket: No tags.
ewbankkit 1e103bc
Add 's3.NewClient'.
ewbankkit ea225c1
Merge branch 'main' into HEAD
ewbankkit 1a8459b
Temporarily remove 'internal/service/finspace'.
ewbankkit b62a871
d/aws_s3_objects: Fix 'page.RequestCharged undefined (type *github.co…
ewbankkit 5859c4f
r/aws_s3_directory_bucket: Initial documentation.
ewbankkit 862035e
r/aws_s3_directory_bucket: Add 'arn' attribute.
ewbankkit f85dfbe
Add 'withMeta.RegionalARN'.
ewbankkit b52fd9c
r/aws_s3_directory_bucket: Initial acceptance test.
ewbankkit 90e0402
r/aws_s3_directory_bucket: Set attributes for import.
ewbankkit 808091e
Merge branch 'main' into HEAD
ewbankkit aa6dfb1
r/aws_s3_directory_bucket: Add 'force_destroy' argument.
ewbankkit 3521c28
Merge branch 'main' into HEAD
ewbankkit 493b142
r/aws_s3_directory_bucket: Use 'findBucket'.
ewbankkit b30c041
Acceptance test output:
ewbankkit 1938ebd
Merge branch 'main' into HEAD
ewbankkit 9bd6b20
r/aws_s3_directory_bucket: Validate bucket name.
ewbankkit bcce15f
r/aws_s3_bucket: Validate not a directory bucket name.
ewbankkit 04d67dd
r/aws_s3_directory_bucket: Correct ARN format.
ewbankkit 8d69a2c
Acceptance test output:
ewbankkit 0a054fc
Add 'TestAccS3BucketPolicy_directoryBucket'.
ewbankkit b326dcd
Acceptance test output:
ewbankkit 586d389
Add 'TestAccS3BucketAccelerateConfiguration_directoryBucket'.
ewbankkit 616dba0
Add 'TestAccS3BucketACL_directoryBucket'.
ewbankkit c86bce3
Acceptance test output:
ewbankkit 35f7044
r/aws_s3_bucket_acl: Acceptance test migration.
ewbankkit 5f17c50
Add 'TestAccS3BucketAnalyticsConfiguration_directoryBucket'.
ewbankkit 1d73a23
Tweak 'TestAccS3BucketAccelerateConfiguration_directoryBucket'.
ewbankkit 2b6fe92
Add 'TestAccS3BucketCORSConfiguration_directoryBucket'.
ewbankkit 7123ca4
Add 'TestAccS3BucketIntelligentTieringConfiguration_directoryBucket'.
ewbankkit 172e92b
Add 'TestAccS3BucketInventory_directoryBucket'.
ewbankkit dfe673e
Add 'TestAccS3BucketLifecycleConfiguration_directoryBucket'.
ewbankkit f7ad7a5
Add 'TestAccS3BucketLogging_directoryBucket'.
ewbankkit 97e0c60
Add 'TestAccS3BucketMetric_directoryBucket'.
ewbankkit 388c49f
Add 'TestAccS3BucketNotification_directoryBucket'.
ewbankkit 2915cfa
Add 'TestAccS3BucketObjectLockConfiguration_directoryBucket'.
ewbankkit 0a56728
Acceptance test output:
ewbankkit 6a00934
Add 'TestAccS3BucketOwnershipControls_directoryBucket'.
ewbankkit 182673f
Add 'TestAccS3BucketPublicAccessBlock_directoryBucket'.
ewbankkit 83bef08
Add 'TestAccS3BucketReplicationConfiguration_directoryBucket'.
ewbankkit dc38efd
Add 'TestAccS3BucketRequestPaymentConfiguration_directoryBucket'.
ewbankkit 5105cb2
Add 'TestAccS3BucketServerSideEncryptionConfiguration_directoryBucket'.
ewbankkit 85f5cca
Add 'TestAccS3BucketVersioning_directoryBucket'.
ewbankkit b2d204a
Add 'TestAccS3BucketWebsiteConfiguration_directoryBucket'.
ewbankkit 0ef5e26
Add 'TestAccS3Object_directoryBucket'.
ewbankkit 293e198
Use 'regexache'.
ewbankkit 484d7d4
r/aws_s3_object: ObjectListTags return 'NotImplemented' for directory…
ewbankkit 4f570ce
Fix 'TestAccS3Object_directoryBucket'.
ewbankkit 9bbb364
% make testacc TESTARGS='-run=TestAccS3Object_directoryBucket' PKG=s3
ewbankkit 2cab483
d/aws_s3_object: ObjectListTags return 'NotImplemented' for directory…
ewbankkit 06fe9da
Add 'TestAccS3ObjectDataSource_directoryBucket'.
ewbankkit f7b01e7
Acceptance test output:
ewbankkit b78a2fb
r/aws_s3_object_copy: ObjectListTags return 'NotImplemented' for dire…
ewbankkit 14d341f
Add 'TestAccS3ObjectCopy_directoryBucket'.
ewbankkit 003d8e9
Acceptance test output:
ewbankkit 502e61c
Add 'TestAccS3ObjectsDataSource_directoryBucket'.
ewbankkit 481f14c
Acceptance test output:
ewbankkit f841f7b
Merge branch 'main' into HEAD
ewbankkit 5161954
Run 'local-mod-replace.sh' && go mod tidy.
ewbankkit 3647596
Temporarily remove 'internal/service/vpclattice'.
ewbankkit 83a5500
Add 'TestAccS3Object_DefaultTags_providerOnly'.
ewbankkit 72e1dcb
Acceptance test output:
ewbankkit 9e5b50b
Add 'TestAccS3Object_DirectoryBucket_DefaultTags_providerOnly'.
ewbankkit f429411
Change location of private AWS SDK for Go v2.
ewbankkit 2ee82cd
Revert "Temporarily remove 'internal/service/vpclattice'."
ewbankkit 820b3ed
Revert "Temporarily remove 'internal/service/finspace'."
ewbankkit 5aa11e9
Revert "Temporarily remove 'internal/service/medialive'."
ewbankkit 0a9e94b
Merge branch 'main' into HEAD
ewbankkit 0491575
Run 'go mod tidy'.
ewbankkit fc108ab
finspace and medialive updates from upstream@a6590169f6b8be4b7dee0ce1…
ewbankkit 89553b9
Revert "d/aws_s3_objects: Fix 'page.RequestCharged undefined (type *g…
ewbankkit 2740f2d
Revert commenting out of 'TestAccS3BucketServerSideEncryptionConfigur…
ewbankkit bfb3bd6
S3 Express Beta2 naming changes.
ewbankkit cd3650d
Use AWS_S3_US_EAST_1_REGIONAL_ENDPOINT for AWS SDK for Go v2 API client.
ewbankkit b2d039b
'err == nil' check.
ewbankkit f436e85
r/aws_s3_directory_bucket: Add bucket name to Create error message.
ewbankkit 56f9a8b
r/aws_s3_directory_bucket: Correct bucket name pattern.
ewbankkit 6475a56
Merge branch 'main' into HEAD
ewbankkit 802fec4
Improve documentation around aws_s3_bucket and aws_s3_directory_bucke…
ewbankkit b727281
Add 'names.GlobalRegionID'.
ewbankkit 8da09cb
Revert "Merge branch 'main' into HEAD"
ewbankkit 725e343
Add S3 functional options to force the regional endpoint in us-east-1…
ewbankkit b71a5e4
Add 'useRegionalEndpointInUSEast1' for directory bucket operations.
ewbankkit 2aa0c92
Acceptance test output:
ewbankkit a713bbe
r/aws_s3_directory_bucket: Add CreateBucketConfiguration.
ewbankkit 0a83601
Avoid duplicate calls to STS in 'ConfigureProvider'.
ewbankkit 26601c4
provider.New: Use 'errors.Join'.
ewbankkit 424f7f4
Add 'AWSClient.RegisterLogger()'.
ewbankkit 4c9266f
provider: Use 'AWSClient.RegisterLogger()'.
ewbankkit eebb297
fwprovider: Use 'errors.Join'.
ewbankkit e5e7c0b
fwprovider: Use 'AWSClient.RegisterLogger()'.
ewbankkit 0bb9090
fwprovider/wrappedDataSource: Ensure that 'meta' is initialized.
ewbankkit c81ee88
Use s3express.beta2.2 branch of aws-sdk-go-v2.
ewbankkit ac2ad52
r/aws_s3_directory_bucket: Correct bucket name suffix to '--x-s3'.
ewbankkit 167f383
Merge branch 'main' into HEAD
ewbankkit 58222f6
Revert "Revert "Merge branch 'main' into HEAD""
ewbankkit 3921dec
Merge branch 'main' into HEAD
ewbankkit 1691325
Add 'enum.FrameworkDefault'.
ewbankkit 34d287d
framework/types: Add 'ToPtr' and 'ToSlice' methods.
ewbankkit 83855e9
r/aws_s3_directory_bucket: Working with the beta2.2 API changes.
ewbankkit c0e05df
r/aws_s3_directory_bucket: Hard code AZ ID for acceptance tests.
ewbankkit e25417e
r/aws_s3_directory_bucket: Add 'location' block to acceptance tests.
ewbankkit 9d2034a
r/aws_s3_bucket_policy: Add 'location' block to directory bucket acce…
ewbankkit 542cdaa
r/aws_s3_bucket_accelerate_configuration: Add 'location' block to dir…
ewbankkit 70e04bd
r/aws_s3_bucket_acl: Add 'location' block to directory bucket accepta…
ewbankkit 4ca843c
r/aws_s3_bucket_analytics_configuration: Add 'location' block to dire…
ewbankkit 72c8727
r/aws_s3_bucket_cors_configuration: Add 'location' block to directory…
ewbankkit dd2a674
r/aws_s3_bucket_intelligent_tiering_configuration: Add 'location' blo…
ewbankkit a1a7fcf
r/aws_s3_bucket_inventory: Add 'location' block to directory bucket a…
ewbankkit 910c2fd
r/aws_s3_bucket_lifecycle_configuration: Add 'location' block to dire…
ewbankkit d973421
r/aws_s3_bucket_logging: Add 'location' block to directory bucket acc…
ewbankkit c703d51
r/aws_s3_bucket_metric: Add 'location' block to directory bucket acce…
ewbankkit 038f721
r/aws_s3_bucket_notification: Add 'location' block to directory bucke…
ewbankkit 8f917a9
r/aws_s3_bucket_object_lock_configuration: Add 'location' block to di…
ewbankkit 9b15a8c
r/aws_s3_bucket_ownership_controls: Add 'location' block to directory…
ewbankkit 2527da0
r/aws_s3_bucket_public_access_block: Add 'location' block to director…
ewbankkit 6e5c800
r/aws_s3_bucket_replication_configuration: Add 'location' block to di…
ewbankkit ee860c8
r/aws_s3_bucket_request_payment_configuration: Add 'location' block t…
ewbankkit 8344709
r/aws_s3_bucket_server_side_encryption_configuration: Add 'location' …
ewbankkit 302c4d2
r/aws_s3_bucket_versioning: Add 'location' block to directory bucket …
ewbankkit 8dbedb4
r/aws_s3_bucket_website_configuration: Add 'location' block to direct…
ewbankkit 596a342
Propagate directory bucket errors.
ewbankkit 0d4cdd9
Return directory bucket error on HTTP 501 (NotImplemented).
ewbankkit 8d79c07
Check for correct error (NoSuchBucket) for S3 bucket resources not mi…
ewbankkit ba8c065
r/aws_s3_object_copy: Add 'location' block to directory bucket accept…
ewbankkit 8a8e099
d/aws_s3_object: Add 'location' block to directory bucket acceptance …
ewbankkit 4311611
d/aws_s3_objects: Add 'location' block to directory bucket acceptance…
ewbankkit 3a0080d
r/aws_s3_object: Add 'location' block to directory bucket acceptance …
ewbankkit cd619d4
Consistent use of checking for HTTP 501.
ewbankkit 519dbd1
Update s3_directory_bucket.html.markdown
ewbankkit 6885421
Add 'validators.AWSAccountID'.
ewbankkit a19f2c9
Add 'StringValuable' assetions for custom string types.
ewbankkit 7922a49
Remove 'flex.ARNStringFromFramework' -- 'flex.StringFromFramework' no…
ewbankkit 19496c6
d/aws_globalaccelerator_accelerator: Use 'flex.flex.StringToFramework…
ewbankkit 7823dbe
Document 'flex.StringToFrameworkARN'.
ewbankkit f770925
framework/flex: Use 'Valuable' interfaces.
ewbankkit 35a39f2
Update internal/framework/validators/aws_account_id.go
ewbankkit 03c2a1b
Fix semgrep 'ci.aws-in-func-name'.
ewbankkit 9f73acf
autoflex: Update for fuzzy matching fields
YakDriver f5ddb27
autoflex: Check for singular/plural, diff caps fields
YakDriver 7dd5ab8
autoflex: Test new fuzzy find
YakDriver 5ac8721
Update go.mod
YakDriver 84ba64c
Add more tests
YakDriver d413ad3
framework/types: Add 'basetypes.StringTypable' assertions.
ewbankkit fcdc13e
Make 'enum.Valueser' public.
ewbankkit f2dc271
framework/types: Add 'StringEnum[T]'.
ewbankkit d91c7e8
frameowkr/types: Implement 'ARNType' as an extension of 'StringType'.
ewbankkit 3809ba7
'StringEnumType struct ' -> 'stringEnumType struct'.
ewbankkit 837b3a8
Add 'AttributeDefault' to 'stringEnumType'.
ewbankkit 4990ba7
Add 'customStringTypeWithValidator'.
ewbankkit 4e6c3a0
framework/types: Implement 'ARN' as an extension of 'StringValue'.
ewbankkit df460d9
Add 'verify.PolicyStringsEquivalent'.
ewbankkit c959afb
Add 'framework/types/IAMPolicy'.
ewbankkit 1c247e7
Tweak type assertions.
ewbankkit 2bc0b73
framework/types/CIDRBlock: Implement on top of basetypes.String.
ewbankkit bd1e93c
Acceptance test output:
ewbankkit 0fee29f
framework/types/Duration: Implement on top of basetypes.String.
ewbankkit 6343a63
framework/types/Regexp: Implement on top of basetypes.String.
ewbankkit b869146
framework/types/Timestamp: Implement on top of basetypes.String.
ewbankkit 75d4f81
framework/types/ARN: Cosmetics.
ewbankkit 623a85f
'ARN.ValueARN().String()' -> 'ARN.ValueString()'.
ewbankkit 02f72d9
Use AutoFlEx for 'framework/flex/StringToFrameworkARN'.
ewbankkit e86ede3
Fix golangci-lint 'unparam'.
ewbankkit 6c9b596
Fix golangci-lint 'unused'.
ewbankkit 07f9f09
r/aws_s3_directory_bucket: Use 'fremework/types/StringEnum'.
ewbankkit 6fcd9a8
Acceptance test output:
ewbankkit 29fd3de
Add CHANGELOG entry.
ewbankkit 21a9fe7
d/aws_s3_directory_buckets: New data source.
ewbankkit 0ac5491
Acceptance test output:
ewbankkit 386c2b4
r/aws_s3_directory_bucket: Add sweeper.
ewbankkit 5fbcdd5
r/aws_s3_object: Sweep objects in directory buckets.
ewbankkit 7da6d55
r/aws_s3_directory_bucket: Use 'ID' in Delete.
ewbankkit 224ecdf
Add 'TestAccS3Object_DefaultTags_providerOnly'.
ewbankkit bded7e5
r/aws_s3_object: Add 'override_provider' configuration block.
ewbankkit 81c9956
Add 'verify.MapLenBetween'.
ewbankkit 84fd183
Add 'GetOk' to 'verify.ResourceDiffer'.
ewbankkit 6bddcbb
r/aws_s3_object: Add capability to ignore provider 'default_tags'.
ewbankkit a533fe6
Add 'TestAccS3Object_DefaultTags_providerAndResource'.
ewbankkit 6d0f92e
r/aws_s3_object: Tweak 'expandOverrideProviderModel'.
ewbankkit 6406e96
Add 'TestAccS3Object_DefaultTags_providerAndResourceWithOverride'.
ewbankkit a040013
r/aws_s3_object: Document 'override_provider'.
ewbankkit f1284fa
r/aws_s3_object: Add 'override_provider' for directory bucket object …
ewbankkit 0bad7e5
r/aws_s3_object: Add documentation note for 'override_provider' for d…
ewbankkit 8afecc9
r/aws_s3_bucket: Update documentation to reflect existence of directo…
ewbankkit c6126dc
r/aws_s3_bucket_policy: Update documentation to reflect existence of …
ewbankkit 663d2e4
Update documentation to reflect existence of directory buckets.
ewbankkit b097b13
Run 'go mod tidy' with final Beta SDK.
ewbankkit a60f3ab
aws_finspace: fixes for sdk type changes
jar-b acbcf69
aws_medialive: fixes for sdk type changes
jar-b 48d7ef6
aws_rds: fixes for sdk type changes
jar-b 251f329
aws_s3control: fixes for sdk type changes
jar-b 83f1b43
aws_timestreamwrite: fixes for sdk type changes
jar-b e1237aa
aws_xray: fixes for sdk type changes
jar-b 03f4d78
Acceptance test output:
ewbankkit c1cecf5
r/aws_s3_object: 'EXPRESS_ZONAL' -> 'EXPRESS_ONEZONE' for objects in …
ewbankkit 189e44e
Merge branch 'main' into HEAD
ewbankkit 7c461ee
Fix markdown-lint 'MD047/single-trailing-newline Files should end wit…
ewbankkit 5d3a6fa
Fix terrafmt errors in acceptance test configurations.
ewbankkit 586f832
d/aws_s3_directory_buckets: Renaming.
ewbankkit b1c7184
r/aws_s3_directory_bucket: Renaming.
ewbankkit 7725a95
Remove hardcoding of AZ ID from S3 directory bucket test configurations.
ewbankkit 36ce7a5
Merge branch 'main' into f-s3-express
ewbankkit 376b41a
Add 'testAccConfigAvailableAZsDirectoryBucket'.
ewbankkit 9bc0086
r/aws_s3_directory_bucket: Valid AZ ID in documentation.
ewbankkit 6dd1856
Correct error handling for missing directory bucket.
ewbankkit 1743372
Fix 'TestAccS3ObjectCopy_directoryBucket'.
ewbankkit 9794c85
'SerializationException' -> 'InvalidArgument' for directory bucket un…
ewbankkit 90f1a89
Fix directory bucket tests for newly migrated S3 resources.
ewbankkit 11a471f
TestAccS3ObjectsDataSource_directoryBucket: Use 'testAccObjectsDataSo…
ewbankkit 05324d6
TestAccS3Object_directoryBucket: Suppress CheckDestroy error.
ewbankkit 46a5c71
TestAccS3ObjectCopy_directoryBucket: Suppress CheckDestroy error.
ewbankkit 1dd6bc3
Correct CHANGELOG entry file name.
ewbankkit File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
```release-note:new-resource | ||
aws_s3_directory_bucket | ||
``` | ||
|
||
```release-note:new-data-source | ||
aws_s3_directory_buckets | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.