-
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
feat: Add custom_time_zone & file_extension to extended_S3_configuration block for aws_kinesis_firehose_delivery_stream #35969
Conversation
Community NoteVoting for Prioritization
For Submitters
|
36fd6e2
to
a6770cd
Compare
…ion block for aws_kinesis_firehose_delivery_stream
a6770cd
to
509a1ff
Compare
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.
LGTM 🚀.
% make testacc TESTARGS='-run=TestAccFirehoseDeliveryStream_extendedS3' PKG=firehose ACCTEST_PARALLELISM=3
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/firehose/... -v -count 1 -parallel 3 -run=TestAccFirehoseDeliveryStream_extendedS3 -timeout 360m
=== RUN TestAccFirehoseDeliveryStream_extendedS3basic
=== PAUSE TestAccFirehoseDeliveryStream_extendedS3basic
=== RUN TestAccFirehoseDeliveryStream_extendedS3KMSKeyARN
=== PAUSE TestAccFirehoseDeliveryStream_extendedS3KMSKeyARN
=== RUN TestAccFirehoseDeliveryStream_extendedS3DynamicPartitioning
=== PAUSE TestAccFirehoseDeliveryStream_extendedS3DynamicPartitioning
=== RUN TestAccFirehoseDeliveryStream_extendedS3DynamicPartitioningUpdate
=== PAUSE TestAccFirehoseDeliveryStream_extendedS3DynamicPartitioningUpdate
=== RUN TestAccFirehoseDeliveryStream_extendedS3Updates
=== PAUSE TestAccFirehoseDeliveryStream_extendedS3Updates
=== RUN TestAccFirehoseDeliveryStream_extendedS3CustomTimeZoneAndFileExtensionUpdates
=== PAUSE TestAccFirehoseDeliveryStream_extendedS3CustomTimeZoneAndFileExtensionUpdates
=== CONT TestAccFirehoseDeliveryStream_extendedS3basic
=== CONT TestAccFirehoseDeliveryStream_extendedS3DynamicPartitioningUpdate
=== CONT TestAccFirehoseDeliveryStream_extendedS3CustomTimeZoneAndFileExtensionUpdates
--- PASS: TestAccFirehoseDeliveryStream_extendedS3basic (127.61s)
=== CONT TestAccFirehoseDeliveryStream_extendedS3Updates
--- PASS: TestAccFirehoseDeliveryStream_extendedS3CustomTimeZoneAndFileExtensionUpdates (142.05s)
=== CONT TestAccFirehoseDeliveryStream_extendedS3DynamicPartitioning
--- PASS: TestAccFirehoseDeliveryStream_extendedS3DynamicPartitioningUpdate (247.99s)
=== CONT TestAccFirehoseDeliveryStream_extendedS3KMSKeyARN
--- PASS: TestAccFirehoseDeliveryStream_extendedS3DynamicPartitioning (147.80s)
--- PASS: TestAccFirehoseDeliveryStream_extendedS3Updates (187.75s)
--- PASS: TestAccFirehoseDeliveryStream_extendedS3KMSKeyARN (130.15s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/firehose 391.345s
@acwwat Thanks for the contribution 🎉 👏. |
This functionality has been released in v5.39.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. Thank you! |
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Description
This PR is to add the
custom_time_zone
andfile_extension
arguments to theextended_s3_configuration
configuration block for thekinesis_firehose_delivery_stream
resource.In terms of design, I opted to set a default value
UTC
forcustom_time_zone
, even though the attribute can initially be empty. The quirk with the API for this resource is that the update action requires the default value for these two attributes - not providing it does not equate to removing the attributes in the update action. But the attributes will be set permanently in the resource withUTC
and empty string thereafter. It was too difficult to get the states to completely match without resorting to default values.Relations
Closes #35957
References
Referenced ExtendedS3DestinationConfiguration, ExtendedS3DestinationDescription, and ExtendedS3DestinationUpdate for the API spec.
Output from Acceptance Testing
Note:
TestAccFirehoseDeliveryStream_extendedS3CustomTimeZoneAndFileExtensionUpdates
is a new test case.