-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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 video_data_delivery_enabled arg for aws_bedrock_model_invocation_logging_configuration #41317
Conversation
Community NoteVoting for Prioritization
For Submitters
|
abe7ee0
to
30d433e
Compare
Just noticed that there is already #35813 opened for an unrelated issue I noticed while I was working on this PR. I will look into fixing that issue separately from this PR. |
…ation_logging_configuration
30d433e
to
ea76035
Compare
…required states for aws_bedrock_model_invocation_logging_configuration
ea76035
to
1ee270d
Compare
Confirmed with the AWS API that all arguments converted to |
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 PKG=bedrock TESTS=TestAccBedrock_serial/ModelInvocationLoggingConfiguration
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.23.5 test ./internal/service/bedrock/... -v -count 1 -parallel 20 -run='TestAccBedrock_serial/ModelInvocationLoggingConfiguration' -timeout 360m -vet=off
2025/02/14 11:26:26 Initializing Terraform AWS Provider...
=== RUN TestAccBedrock_serial
=== PAUSE TestAccBedrock_serial
=== CONT TestAccBedrock_serial
=== RUN TestAccBedrock_serial/ModelInvocationLoggingConfiguration
=== RUN TestAccBedrock_serial/ModelInvocationLoggingConfiguration/basic
=== RUN TestAccBedrock_serial/ModelInvocationLoggingConfiguration/disappears
--- PASS: TestAccBedrock_serial (63.98s)
--- PASS: TestAccBedrock_serial/ModelInvocationLoggingConfiguration (63.98s)
--- PASS: TestAccBedrock_serial/ModelInvocationLoggingConfiguration/basic (42.36s)
--- PASS: TestAccBedrock_serial/ModelInvocationLoggingConfiguration/disappears (21.63s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/bedrock 70.815s
Thanks for your contribution, @acwwat! 👍 |
Due to how migration from Thanks again for your effort on cleaning these up @acwwat, it is much appreciated! |
Alternatively, if you'd like to remove the |
@jar-b Thanks for your detailed review of this PR and the other ones related to |
Sounds good - thanks for the flexibility! |
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 PKG=bedrock TESTS=TestAccBedrock_serial/ModelInvocationLoggingConfiguration
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.23.5 test ./internal/service/bedrock/... -v -count 1 -parallel 20 -run='TestAccBedrock_serial/ModelInvocationLoggingConfiguration' -timeout 360m -vet=off
2025/02/14 16:36:51 Initializing Terraform AWS Provider...
=== RUN TestAccBedrock_serial
=== PAUSE TestAccBedrock_serial
=== CONT TestAccBedrock_serial
=== RUN TestAccBedrock_serial/ModelInvocationLoggingConfiguration
=== RUN TestAccBedrock_serial/ModelInvocationLoggingConfiguration/basic
=== RUN TestAccBedrock_serial/ModelInvocationLoggingConfiguration/disappears
--- PASS: TestAccBedrock_serial (66.67s)
--- PASS: TestAccBedrock_serial/ModelInvocationLoggingConfiguration (66.67s)
--- PASS: TestAccBedrock_serial/ModelInvocationLoggingConfiguration/basic (41.19s)
--- PASS: TestAccBedrock_serial/ModelInvocationLoggingConfiguration/disappears (25.48s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/bedrock 73.279s
Description
This PR is to add the
video_data_delivery_enabled
argument to theaws_bedrock_model_invocation_logging_configuration
resource. The*_data_delivery_enabled
arguments were set to required when in fact they are not, so I've changed them to optional with a default value oftrue
to match the API behavior observed from testing it.Updated 2025-02-12: I've also converted all
SingleNestedBlock
s toListNestedBlock
s to fix validation issues related to #35813.Relations
Closes #41312
Relates #35813
References
Referred to PutModelInvocationLoggingConfiguration for specs and wordings.
Output from Acceptance Testing