-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
base: main
Are you sure you want to change the base?
Add new arguments from CreateDbInstance and UpdateDbInstance #40661
Conversation
…into f-timestreaminfluxdb_db_instance-more-updatable-arguments
Community NoteVoting for Prioritization
For Submitters
|
@@ -313,12 +387,30 @@ resource "aws_timestreaminfluxdb_db_instance" "test" { | |||
vpc_subnet_ids = aws_subnet.test[*].id | |||
vpc_security_group_ids = [aws_security_group.test.id] | |||
db_instance_type = "db.influx.medium" | |||
port = 8086 | |||
bucket = "initial" | |||
organization = "organization" | |||
} | |||
`, rName)) | |||
} | |||
|
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.
Testcases to include network_type and port parameters are not available. Please add test case with network_type and port parameters.
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.
There are now tests for port
and network_type
. Test output has been updated.
This PR has been converted to a draft since the AWS SDK for Go v2 will receive new features for Timestream for InfluxDB this week, which will be integrated into this PR. |
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.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