-
Notifications
You must be signed in to change notification settings - Fork 9.5k
Add new arguments from CreateDbInstance and UpdateDbInstance #40661
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
Add new arguments from CreateDbInstance and UpdateDbInstance #40661
Conversation
…into f-timestreaminfluxdb_db_instance-more-updatable-arguments
Community NoteVoting for Prioritization
For Submitters
|
New arguments have been added to |
…into f-timestreaminfluxdb_db_instance-more-updatable-arguments
…ts' of github.com:trevorbonas/terraform-provider-aws; branch 'main' of github.com:hashicorp/terraform-provider-aws into f-timestreaminfluxdb_db_instance-more-updatable-arguments
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=TestAccTimestreamInfluxDBDBInstance_basic\|TestAccTimestreamInfluxDBDBInstance_disappears\|TestAccTimestreamInfluxDBDBInstance_logDeliveryConfiguration\|TestAccTimestreamInfluxDBDBInstance_dbInstanceType\|TestAccTimestreamInfluxDBDBInstance_networkType\|TestAccTimestreamInfluxDBDBInstance_port\|TestAccTimestreamInfluxDBDBInstance_allocatedStorage\|TestAccTimestreamInfluxDBDBInstance_dbStorageType" PKG=timestreaminfluxdb ACCTEST_PARALLELISM=2
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.23.7 test ./internal/service/timestreaminfluxdb/... -v -count 1 -parallel 2 -run=TestAccTimestreamInfluxDBDBInstance_basic\|TestAccTimestreamInfluxDBDBInstance_disappears\|TestAccTimestreamInfluxDBDBInstance_logDeliveryConfiguration\|TestAccTimestreamInfluxDBDBInstance_dbInstanceType\|TestAccTimestreamInfluxDBDBInstance_networkType\|TestAccTimestreamInfluxDBDBInstance_port\|TestAccTimestreamInfluxDBDBInstance_allocatedStorage\|TestAccTimestreamInfluxDBDBInstance_dbStorageType -timeout 360m -vet=off
2025/03/12 14:43:53 Initializing Terraform AWS Provider...
=== RUN TestAccTimestreamInfluxDBDBInstance_basic
=== PAUSE TestAccTimestreamInfluxDBDBInstance_basic
=== RUN TestAccTimestreamInfluxDBDBInstance_disappears
=== PAUSE TestAccTimestreamInfluxDBDBInstance_disappears
=== RUN TestAccTimestreamInfluxDBDBInstance_dbInstanceType
=== PAUSE TestAccTimestreamInfluxDBDBInstance_dbInstanceType
=== RUN TestAccTimestreamInfluxDBDBInstance_logDeliveryConfiguration
=== PAUSE TestAccTimestreamInfluxDBDBInstance_logDeliveryConfiguration
=== RUN TestAccTimestreamInfluxDBDBInstance_networkType
=== PAUSE TestAccTimestreamInfluxDBDBInstance_networkType
=== RUN TestAccTimestreamInfluxDBDBInstance_port
=== PAUSE TestAccTimestreamInfluxDBDBInstance_port
=== RUN TestAccTimestreamInfluxDBDBInstance_allocatedStorage
=== PAUSE TestAccTimestreamInfluxDBDBInstance_allocatedStorage
=== RUN TestAccTimestreamInfluxDBDBInstance_dbStorageType
=== PAUSE TestAccTimestreamInfluxDBDBInstance_dbStorageType
=== CONT TestAccTimestreamInfluxDBDBInstance_basic
=== CONT TestAccTimestreamInfluxDBDBInstance_networkType
--- PASS: TestAccTimestreamInfluxDBDBInstance_basic (1206.79s)
=== CONT TestAccTimestreamInfluxDBDBInstance_allocatedStorage
--- PASS: TestAccTimestreamInfluxDBDBInstance_networkType (2164.97s)
=== CONT TestAccTimestreamInfluxDBDBInstance_dbStorageType
--- PASS: TestAccTimestreamInfluxDBDBInstance_allocatedStorage (2296.68s)
=== CONT TestAccTimestreamInfluxDBDBInstance_dbInstanceType
--- PASS: TestAccTimestreamInfluxDBDBInstance_dbStorageType (1811.52s)
=== CONT TestAccTimestreamInfluxDBDBInstance_logDeliveryConfiguration
--- PASS: TestAccTimestreamInfluxDBDBInstance_dbInstanceType (1750.24s)
=== CONT TestAccTimestreamInfluxDBDBInstance_port
--- PASS: TestAccTimestreamInfluxDBDBInstance_logDeliveryConfiguration (1393.78s)
=== CONT TestAccTimestreamInfluxDBDBInstance_disappears
--- PASS: TestAccTimestreamInfluxDBDBInstance_port (1376.76s)
--- PASS: TestAccTimestreamInfluxDBDBInstance_disappears (1606.80s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/timestreaminfluxdb 6983.927s
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 🚀.
@trevorbonas thank you for the contribution! 🎉 |
Warning This Issue has been closed, meaning that any additional comments are much easier for the maintainers to miss. Please assume that the maintainers will not see them. Ongoing conversations amongst community members are welcome, however, the issue will be locked after 30 days. Moving conversations to another venue, such as the AWS Provider forum, is recommended. If you have additional concerns, please open a new issue, referencing this one where needed. |
This functionality has been released in v5.91.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
network_type
added as an argument, adding IPv6 support.port
added as an argument.deployment_type
is now updatable.TestAccTimestreamInfluxDBDBInstance_deploymentType
.db_instance_type
is now updatable.TestAccTimestreamInfluxDBDBInstance_dbInstanceType
has been added with an update step.allocated_storage
is now updatable.db_storage_type
is now updatable.flex.Expand
is no longer used inUpdate
to populate anUpdateDbInstanceInput
struct. This is because aValidationException
will occur when a DB instance is updated with configuration values it already uses.Update
, ifsecondary_availability_zone
is left as unknown, it is set to its previous value.secondary_availability_zone
can be left as unknown when tags are updated, which causes an error.secondary_availability_zone
uses the default value ofnil
. While unconventional, this prevents an error when updatingdeployment_type
.secondary_availability_zone
's value is directly a result of the value ofdeployment_type
.awstypes.StatusDeleted
has been added as a pending state inwaitDBInstanceDeleted
. This is because DB instances are first given the status"DELETED"
before becoming unreachable. This status is not consistent. Using this status as a target status leads to flaky tests. Using this status as a pending status means Terraform will wait until the instance is unreachable.Relations
N/A.
References
Updated
UpdateDbInstanceInput
struct documentation.Output from Acceptance Testing