-
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
resource/aws_db_instance: Correctly handles update and reboot for replica instances #22178
Conversation
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 TESTS=TestAccRDSInstance_ PKG=rds ACCTEST_PARALELLISM=5
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/rds/... -v -count 1 -parallel 20 -run='TestAccRDSInstance_' -timeout 180m
=== RUN TestAccRDSInstance_basic
=== PAUSE TestAccRDSInstance_basic
=== RUN TestAccRDSInstance_onlyMajorVersion
=== PAUSE TestAccRDSInstance_onlyMajorVersion
=== RUN TestAccRDSInstance_namePrefix
=== PAUSE TestAccRDSInstance_namePrefix
=== RUN TestAccRDSInstance_nameGenerated
=== PAUSE TestAccRDSInstance_nameGenerated
=== RUN TestAccRDSInstance_kmsKey
=== PAUSE TestAccRDSInstance_kmsKey
=== RUN TestAccRDSInstance_subnetGroup
=== PAUSE TestAccRDSInstance_subnetGroup
=== RUN TestAccRDSInstance_optionGroup
=== PAUSE TestAccRDSInstance_optionGroup
=== RUN TestAccRDSInstance_iamAuth
=== PAUSE TestAccRDSInstance_iamAuth
=== RUN TestAccRDSInstance_allowMajorVersionUpgrade
=== PAUSE TestAccRDSInstance_allowMajorVersionUpgrade
=== RUN TestAccRDSInstance_dbSubnetGroupName
=== PAUSE TestAccRDSInstance_dbSubnetGroupName
=== RUN TestAccRDSInstance_DBSubnetGroupName_ramShared
=== PAUSE TestAccRDSInstance_DBSubnetGroupName_ramShared
=== RUN TestAccRDSInstance_DBSubnetGroupName_vpcSecurityGroupIDs
=== PAUSE TestAccRDSInstance_DBSubnetGroupName_vpcSecurityGroupIDs
=== RUN TestAccRDSInstance_deletionProtection
=== PAUSE TestAccRDSInstance_deletionProtection
=== RUN TestAccRDSInstance_finalSnapshotIdentifier
=== PAUSE TestAccRDSInstance_finalSnapshotIdentifier
=== RUN TestAccRDSInstance_FinalSnapshotIdentifier_skipFinalSnapshot
=== PAUSE TestAccRDSInstance_FinalSnapshotIdentifier_skipFinalSnapshot
=== RUN TestAccRDSInstance_isAlreadyBeingDeleted
=== PAUSE TestAccRDSInstance_isAlreadyBeingDeleted
=== RUN TestAccRDSInstance_maxAllocatedStorage
=== PAUSE TestAccRDSInstance_maxAllocatedStorage
=== RUN TestAccRDSInstance_password
=== PAUSE TestAccRDSInstance_password
=== RUN TestAccRDSInstance_replicateSourceDB_basic
=== PAUSE TestAccRDSInstance_replicateSourceDB_basic
=== RUN TestAccRDSInstance_replicateSourceDB_namePrefix
=== PAUSE TestAccRDSInstance_replicateSourceDB_namePrefix
=== RUN TestAccRDSInstance_replicateSourceDB_nameGenerated
=== PAUSE TestAccRDSInstance_replicateSourceDB_nameGenerated
=== RUN TestAccRDSInstance_replicateSourceDB_addLater
=== PAUSE TestAccRDSInstance_replicateSourceDB_addLater
=== RUN TestAccRDSInstance_ReplicateSourceDB_allocatedStorage
=== PAUSE TestAccRDSInstance_ReplicateSourceDB_allocatedStorage
=== RUN TestAccRDSInstance_ReplicateSourceDB_iops
=== PAUSE TestAccRDSInstance_ReplicateSourceDB_iops
=== RUN TestAccRDSInstance_ReplicateSourceDB_allocatedStorageAndIops
=== PAUSE TestAccRDSInstance_ReplicateSourceDB_allocatedStorageAndIops
=== RUN TestAccRDSInstance_ReplicateSourceDB_allowMajorVersionUpgrade
=== PAUSE TestAccRDSInstance_ReplicateSourceDB_allowMajorVersionUpgrade
=== RUN TestAccRDSInstance_ReplicateSourceDB_autoMinorVersionUpgrade
=== PAUSE TestAccRDSInstance_ReplicateSourceDB_autoMinorVersionUpgrade
=== RUN TestAccRDSInstance_ReplicateSourceDB_availabilityZone
=== PAUSE TestAccRDSInstance_ReplicateSourceDB_availabilityZone
=== RUN TestAccRDSInstance_ReplicateSourceDB_backupRetentionPeriod
=== PAUSE TestAccRDSInstance_ReplicateSourceDB_backupRetentionPeriod
=== RUN TestAccRDSInstance_ReplicateSourceDB_backupWindow
=== PAUSE TestAccRDSInstance_ReplicateSourceDB_backupWindow
=== RUN TestAccRDSInstance_ReplicateSourceDB_dbSubnetGroupName
=== PAUSE TestAccRDSInstance_ReplicateSourceDB_dbSubnetGroupName
=== RUN TestAccRDSInstance_ReplicateSourceDBDBSubnetGroupName_ramShared
=== PAUSE TestAccRDSInstance_ReplicateSourceDBDBSubnetGroupName_ramShared
=== RUN TestAccRDSInstance_ReplicateSourceDBDBSubnetGroupName_vpcSecurityGroupIDs
=== PAUSE TestAccRDSInstance_ReplicateSourceDBDBSubnetGroupName_vpcSecurityGroupIDs
=== RUN TestAccRDSInstance_ReplicateSourceDB_deletionProtection
acctest.go:66: CreateDBInstanceReadReplica API currently ignores DeletionProtection=true with SourceDBInstanceIdentifier set
--- SKIP: TestAccRDSInstance_ReplicateSourceDB_deletionProtection (0.00s)
=== RUN TestAccRDSInstance_ReplicateSourceDB_iamDatabaseAuthenticationEnabled
=== PAUSE TestAccRDSInstance_ReplicateSourceDB_iamDatabaseAuthenticationEnabled
=== RUN TestAccRDSInstance_ReplicateSourceDB_maintenanceWindow
=== PAUSE TestAccRDSInstance_ReplicateSourceDB_maintenanceWindow
=== RUN TestAccRDSInstance_ReplicateSourceDB_maxAllocatedStorage
=== PAUSE TestAccRDSInstance_ReplicateSourceDB_maxAllocatedStorage
=== RUN TestAccRDSInstance_ReplicateSourceDB_monitoring
=== PAUSE TestAccRDSInstance_ReplicateSourceDB_monitoring
=== RUN TestAccRDSInstance_ReplicateSourceDB_multiAZ
=== PAUSE TestAccRDSInstance_ReplicateSourceDB_multiAZ
=== RUN TestAccRDSInstance_ReplicateSourceDB_parameterGroupName_sameSetOnBoth
=== PAUSE TestAccRDSInstance_ReplicateSourceDB_parameterGroupName_sameSetOnBoth
=== RUN TestAccRDSInstance_ReplicateSourceDB_parameterGroupName_differentSetOnBoth
=== PAUSE TestAccRDSInstance_ReplicateSourceDB_parameterGroupName_differentSetOnBoth
=== RUN TestAccRDSInstance_ReplicateSourceDB_parameterGroupName_replicaCopiesValue
=== PAUSE TestAccRDSInstance_ReplicateSourceDB_parameterGroupName_replicaCopiesValue
=== RUN TestAccRDSInstance_ReplicateSourceDB_parameterGroupName_setOnReplica
=== PAUSE TestAccRDSInstance_ReplicateSourceDB_parameterGroupName_setOnReplica
=== RUN TestAccRDSInstance_ReplicateSourceDB_port
=== PAUSE TestAccRDSInstance_ReplicateSourceDB_port
=== RUN TestAccRDSInstance_ReplicateSourceDB_vpcSecurityGroupIDs
=== PAUSE TestAccRDSInstance_ReplicateSourceDB_vpcSecurityGroupIDs
=== RUN TestAccRDSInstance_ReplicateSourceDB_caCertificateIdentifier
=== PAUSE TestAccRDSInstance_ReplicateSourceDB_caCertificateIdentifier
=== RUN TestAccRDSInstance_ReplicateSourceDB_replicaMode
=== PAUSE TestAccRDSInstance_ReplicateSourceDB_replicaMode
=== RUN TestAccRDSInstance_ReplicateSourceDB_parameterGroupTwoStep
=== PAUSE TestAccRDSInstance_ReplicateSourceDB_parameterGroupTwoStep
=== RUN TestAccRDSInstance_s3Import_basic
=== PAUSE TestAccRDSInstance_s3Import_basic
=== RUN TestAccRDSInstance_s3Import_namePrefix
=== PAUSE TestAccRDSInstance_s3Import_namePrefix
=== RUN TestAccRDSInstance_s3Import_nameGenerated
=== PAUSE TestAccRDSInstance_s3Import_nameGenerated
=== RUN TestAccRDSInstance_SnapshotIdentifier_basic
=== PAUSE TestAccRDSInstance_SnapshotIdentifier_basic
=== RUN TestAccRDSInstance_SnapshotIdentifier_namePrefix
=== PAUSE TestAccRDSInstance_SnapshotIdentifier_namePrefix
=== RUN TestAccRDSInstance_SnapshotIdentifier_nameGenerated
=== PAUSE TestAccRDSInstance_SnapshotIdentifier_nameGenerated
=== RUN TestAccRDSInstance_SnapshotIdentifier_AssociationRemoved
=== PAUSE TestAccRDSInstance_SnapshotIdentifier_AssociationRemoved
=== RUN TestAccRDSInstance_SnapshotIdentifier_allocatedStorage
=== PAUSE TestAccRDSInstance_SnapshotIdentifier_allocatedStorage
=== RUN TestAccRDSInstance_SnapshotIdentifier_io1Storage
=== PAUSE TestAccRDSInstance_SnapshotIdentifier_io1Storage
=== RUN TestAccRDSInstance_SnapshotIdentifier_allowMajorVersionUpgrade
=== PAUSE TestAccRDSInstance_SnapshotIdentifier_allowMajorVersionUpgrade
=== RUN TestAccRDSInstance_SnapshotIdentifier_autoMinorVersionUpgrade
=== PAUSE TestAccRDSInstance_SnapshotIdentifier_autoMinorVersionUpgrade
=== RUN TestAccRDSInstance_SnapshotIdentifier_availabilityZone
=== PAUSE TestAccRDSInstance_SnapshotIdentifier_availabilityZone
=== RUN TestAccRDSInstance_SnapshotIdentifier_backupRetentionPeriod_override
=== PAUSE TestAccRDSInstance_SnapshotIdentifier_backupRetentionPeriod_override
=== RUN TestAccRDSInstance_SnapshotIdentifier_backupRetentionPeriod_unset
=== PAUSE TestAccRDSInstance_SnapshotIdentifier_backupRetentionPeriod_unset
=== RUN TestAccRDSInstance_SnapshotIdentifier_backupWindow
=== PAUSE TestAccRDSInstance_SnapshotIdentifier_backupWindow
=== RUN TestAccRDSInstance_SnapshotIdentifier_dbSubnetGroupName
=== PAUSE TestAccRDSInstance_SnapshotIdentifier_dbSubnetGroupName
=== RUN TestAccRDSInstance_SnapshotIdentifier_DBSubnetGroupName_ramShared
=== PAUSE TestAccRDSInstance_SnapshotIdentifier_DBSubnetGroupName_ramShared
=== RUN TestAccRDSInstance_SnapshotIdentifier_DBSubnetGroupName_vpcSecurityGroupIDs
=== PAUSE TestAccRDSInstance_SnapshotIdentifier_DBSubnetGroupName_vpcSecurityGroupIDs
=== RUN TestAccRDSInstance_SnapshotIdentifier_deletionProtection
=== PAUSE TestAccRDSInstance_SnapshotIdentifier_deletionProtection
=== RUN TestAccRDSInstance_SnapshotIdentifier_iamDatabaseAuthenticationEnabled
=== PAUSE TestAccRDSInstance_SnapshotIdentifier_iamDatabaseAuthenticationEnabled
=== RUN TestAccRDSInstance_SnapshotIdentifier_maintenanceWindow
=== PAUSE TestAccRDSInstance_SnapshotIdentifier_maintenanceWindow
=== RUN TestAccRDSInstance_SnapshotIdentifier_maxAllocatedStorage
=== PAUSE TestAccRDSInstance_SnapshotIdentifier_maxAllocatedStorage
=== RUN TestAccRDSInstance_SnapshotIdentifier_monitoring
=== PAUSE TestAccRDSInstance_SnapshotIdentifier_monitoring
=== RUN TestAccRDSInstance_SnapshotIdentifier_multiAZ
=== PAUSE TestAccRDSInstance_SnapshotIdentifier_multiAZ
=== RUN TestAccRDSInstance_SnapshotIdentifier_multiAZ_sqlServer
=== PAUSE TestAccRDSInstance_SnapshotIdentifier_multiAZ_sqlServer
=== RUN TestAccRDSInstance_SnapshotIdentifier_parameterGroupName
=== PAUSE TestAccRDSInstance_SnapshotIdentifier_parameterGroupName
=== RUN TestAccRDSInstance_SnapshotIdentifier_port
=== PAUSE TestAccRDSInstance_SnapshotIdentifier_port
=== RUN TestAccRDSInstance_SnapshotIdentifier_tags
=== PAUSE TestAccRDSInstance_SnapshotIdentifier_tags
=== RUN TestAccRDSInstance_SnapshotIdentifier_Tags_Clear
acctest.go:66: To be fixed: https://github.com/hashicorp/terraform-provider-aws/issues/5959
--- SKIP: TestAccRDSInstance_SnapshotIdentifier_Tags_Clear (0.00s)
=== RUN TestAccRDSInstance_SnapshotIdentifier_vpcSecurityGroupIDs
=== PAUSE TestAccRDSInstance_SnapshotIdentifier_vpcSecurityGroupIDs
=== RUN TestAccRDSInstance_SnapshotIdentifier_vpcSecurityGroupIDs_tags
=== PAUSE TestAccRDSInstance_SnapshotIdentifier_vpcSecurityGroupIDs_tags
=== RUN TestAccRDSInstance_monitoringInterval
=== PAUSE TestAccRDSInstance_monitoringInterval
=== RUN TestAccRDSInstance_MonitoringRoleARN_enabledToDisabled
=== PAUSE TestAccRDSInstance_MonitoringRoleARN_enabledToDisabled
=== RUN TestAccRDSInstance_MonitoringRoleARN_enabledToRemoved
=== PAUSE TestAccRDSInstance_MonitoringRoleARN_enabledToRemoved
=== RUN TestAccRDSInstance_MonitoringRoleARN_removedToEnabled
=== PAUSE TestAccRDSInstance_MonitoringRoleARN_removedToEnabled
=== RUN TestAccRDSInstance_separateIopsUpdate
=== PAUSE TestAccRDSInstance_separateIopsUpdate
=== RUN TestAccRDSInstance_portUpdate
=== PAUSE TestAccRDSInstance_portUpdate
=== RUN TestAccRDSInstance_MSSQL_tz
=== PAUSE TestAccRDSInstance_MSSQL_tz
=== RUN TestAccRDSInstance_MSSQL_domain
=== PAUSE TestAccRDSInstance_MSSQL_domain
=== RUN TestAccRDSInstance_MSSQL_domainSnapshotRestore
=== PAUSE TestAccRDSInstance_MSSQL_domainSnapshotRestore
=== RUN TestAccRDSInstance_MySQL_snapshotRestoreWithEngineVersion
=== PAUSE TestAccRDSInstance_MySQL_snapshotRestoreWithEngineVersion
=== RUN TestAccRDSInstance_minorVersion
=== PAUSE TestAccRDSInstance_minorVersion
=== RUN TestAccRDSInstance_ec2Classic
=== PAUSE TestAccRDSInstance_ec2Classic
=== RUN TestAccRDSInstance_cloudWatchLogsExport
=== PAUSE TestAccRDSInstance_cloudWatchLogsExport
=== RUN TestAccRDSInstance_EnabledCloudWatchLogsExports_mySQL
=== PAUSE TestAccRDSInstance_EnabledCloudWatchLogsExports_mySQL
=== RUN TestAccRDSInstance_EnabledCloudWatchLogsExports_msSQL
=== PAUSE TestAccRDSInstance_EnabledCloudWatchLogsExports_msSQL
=== RUN TestAccRDSInstance_EnabledCloudWatchLogsExports_oracle
=== PAUSE TestAccRDSInstance_EnabledCloudWatchLogsExports_oracle
=== RUN TestAccRDSInstance_EnabledCloudWatchLogsExports_postgresql
=== PAUSE TestAccRDSInstance_EnabledCloudWatchLogsExports_postgresql
=== RUN TestAccRDSInstance_noDeleteAutomatedBackups
=== PAUSE TestAccRDSInstance_noDeleteAutomatedBackups
=== RUN TestAccRDSInstance_PerformanceInsightsEnabled_disabledToEnabled
=== PAUSE TestAccRDSInstance_PerformanceInsightsEnabled_disabledToEnabled
=== RUN TestAccRDSInstance_PerformanceInsightsEnabled_enabledToDisabled
=== PAUSE TestAccRDSInstance_PerformanceInsightsEnabled_enabledToDisabled
=== RUN TestAccRDSInstance_performanceInsightsKMSKeyID
=== PAUSE TestAccRDSInstance_performanceInsightsKMSKeyID
=== RUN TestAccRDSInstance_performanceInsightsRetentionPeriod
=== PAUSE TestAccRDSInstance_performanceInsightsRetentionPeriod
=== RUN TestAccRDSInstance_ReplicateSourceDB_performanceInsightsEnabled
=== PAUSE TestAccRDSInstance_ReplicateSourceDB_performanceInsightsEnabled
=== RUN TestAccRDSInstance_SnapshotIdentifier_performanceInsightsEnabled
=== PAUSE TestAccRDSInstance_SnapshotIdentifier_performanceInsightsEnabled
=== RUN TestAccRDSInstance_caCertificateIdentifier
=== PAUSE TestAccRDSInstance_caCertificateIdentifier
=== RUN TestAccRDSInstance_RestoreToPointInTime_sourceIdentifier
=== PAUSE TestAccRDSInstance_RestoreToPointInTime_sourceIdentifier
=== RUN TestAccRDSInstance_RestoreToPointInTime_sourceResourceID
=== PAUSE TestAccRDSInstance_RestoreToPointInTime_sourceResourceID
=== RUN TestAccRDSInstance_NationalCharacterSet_oracle
=== PAUSE TestAccRDSInstance_NationalCharacterSet_oracle
=== RUN TestAccRDSInstance_NoNationalCharacterSet_oracle
=== PAUSE TestAccRDSInstance_NoNationalCharacterSet_oracle
=== RUN TestAccRDSInstance_coIPEnabled
=== PAUSE TestAccRDSInstance_coIPEnabled
=== RUN TestAccRDSInstance_CoIPEnabled_disabledToEnabled
=== PAUSE TestAccRDSInstance_CoIPEnabled_disabledToEnabled
=== RUN TestAccRDSInstance_CoIPEnabled_enabledToDisabled
=== PAUSE TestAccRDSInstance_CoIPEnabled_enabledToDisabled
=== RUN TestAccRDSInstance_CoIPEnabled_restoreToPointInTime
=== PAUSE TestAccRDSInstance_CoIPEnabled_restoreToPointInTime
=== RUN TestAccRDSInstance_CoIPEnabled_snapshotIdentifier
=== PAUSE TestAccRDSInstance_CoIPEnabled_snapshotIdentifier
=== RUN TestAccRDSInstance_license
=== PAUSE TestAccRDSInstance_license
=== CONT TestAccRDSInstance_basic
=== CONT TestAccRDSInstance_SnapshotIdentifier_tags
=== CONT TestAccRDSInstance_license
=== CONT TestAccRDSInstance_ReplicateSourceDB_multiAZ
=== CONT TestAccRDSInstance_CoIPEnabled_snapshotIdentifier
=== CONT TestAccRDSInstance_CoIPEnabled_restoreToPointInTime
=== CONT TestAccRDSInstance_CoIPEnabled_enabledToDisabled
=== CONT TestAccRDSInstance_CoIPEnabled_disabledToEnabled
=== CONT TestAccRDSInstance_coIPEnabled
=== CONT TestAccRDSInstance_NoNationalCharacterSet_oracle
=== CONT TestAccRDSInstance_NationalCharacterSet_oracle
=== CONT TestAccRDSInstance_RestoreToPointInTime_sourceResourceID
=== CONT TestAccRDSInstance_RestoreToPointInTime_sourceIdentifier
=== CONT TestAccRDSInstance_caCertificateIdentifier
=== CONT TestAccRDSInstance_SnapshotIdentifier_performanceInsightsEnabled
=== CONT TestAccRDSInstance_ReplicateSourceDB_performanceInsightsEnabled
=== CONT TestAccRDSInstance_performanceInsightsRetentionPeriod
=== CONT TestAccRDSInstance_performanceInsightsKMSKeyID
=== CONT TestAccRDSInstance_PerformanceInsightsEnabled_enabledToDisabled
=== CONT TestAccRDSInstance_PerformanceInsightsEnabled_disabledToEnabled
=== CONT TestAccRDSInstance_coIPEnabled
acctest.go:1250: skipping since no Outposts found
--- SKIP: TestAccRDSInstance_coIPEnabled (1.55s)
=== CONT TestAccRDSInstance_noDeleteAutomatedBackups
=== CONT TestAccRDSInstance_CoIPEnabled_snapshotIdentifier
acctest.go:1250: skipping since no Outposts found
--- SKIP: TestAccRDSInstance_CoIPEnabled_snapshotIdentifier (1.57s)
=== CONT TestAccRDSInstance_SnapshotIdentifier_allowMajorVersionUpgrade
=== CONT TestAccRDSInstance_CoIPEnabled_enabledToDisabled
acctest.go:1250: skipping since no Outposts found
--- SKIP: TestAccRDSInstance_CoIPEnabled_enabledToDisabled (1.58s)
=== CONT TestAccRDSInstance_SnapshotIdentifier_port
=== CONT TestAccRDSInstance_CoIPEnabled_restoreToPointInTime
acctest.go:1250: skipping since no Outposts found
--- SKIP: TestAccRDSInstance_CoIPEnabled_restoreToPointInTime (1.83s)
=== CONT TestAccRDSInstance_SnapshotIdentifier_parameterGroupName
=== CONT TestAccRDSInstance_CoIPEnabled_disabledToEnabled
acctest.go:1250: skipping since no Outposts found
--- SKIP: TestAccRDSInstance_CoIPEnabled_disabledToEnabled (8.32s)
=== CONT TestAccRDSInstance_SnapshotIdentifier_multiAZ_sqlServer
instance_test.go:2250: Step 1/1 error: Error running pre-apply refresh: exit status 1
Error: error reading RDS orderable DB instance options: InvalidParameterCombination: Cannot find version 14.00.1000.169.v1 for sqlserver-se
status code: 400, request id: f85b154a-9708-47f6-b73b-f36c3637b8a5
with data.aws_rds_orderable_db_instance.test,
on terraform_plugin_test.tf line 2, in data "aws_rds_orderable_db_instance" "test":
2: data "aws_rds_orderable_db_instance" "test" {
--- FAIL: TestAccRDSInstance_SnapshotIdentifier_multiAZ_sqlServer (7.31s)
=== CONT TestAccRDSInstance_SnapshotIdentifier_multiAZ
--- PASS: TestAccRDSInstance_basic (430.46s)
=== CONT TestAccRDSInstance_SnapshotIdentifier_monitoring
--- PASS: TestAccRDSInstance_caCertificateIdentifier (485.38s)
=== CONT TestAccRDSInstance_SnapshotIdentifier_maxAllocatedStorage
=== CONT TestAccRDSInstance_SnapshotIdentifier_parameterGroupName
instance_test.go:2278: Step 1/1 error: Error running apply: exit status 1
Error: Error creating DB Instance: InvalidParameterCombination: The Parameter Group tf-acc-test-975855161935310205 with DBParameterGroupFamily mariadb10.2 cannot be used for this instance. Please use a Parameter Group with DBParameterGroupFamily mariadb10.5
status code: 400, request id: 3d7a1428-4100-49db-a09e-bf040d59ff89
with aws_db_instance.test,
on terraform_plugin_test.tf line 37, in resource "aws_db_instance" "test":
37: resource "aws_db_instance" "test" {
=== CONT TestAccRDSInstance_performanceInsightsKMSKeyID
instance_test.go:3476: Step 4/4 error: Error running apply: exit status 1
Error: Error modifying DB Instance tf-acc-test-8241123727504829464: InvalidDBInstanceState: RDS is configuring Enhanced Monitoring or Performance Insights for this DB instance. Try your request later.
status code: 400, request id: 0809d9dd-25d5-4f81-8e5d-d70c2a2bd81a
with aws_db_instance.test,
on terraform_plugin_test.tf line 19, in resource "aws_db_instance" "test":
19: resource "aws_db_instance" "test" {
--- FAIL: TestAccRDSInstance_SnapshotIdentifier_parameterGroupName (814.32s)
=== CONT TestAccRDSInstance_SnapshotIdentifier_maintenanceWindow
--- PASS: TestAccRDSInstance_noDeleteAutomatedBackups (894.09s)
=== CONT TestAccRDSInstance_SnapshotIdentifier_iamDatabaseAuthenticationEnabled
--- FAIL: TestAccRDSInstance_performanceInsightsKMSKeyID (905.99s)
=== CONT TestAccRDSInstance_SnapshotIdentifier_deletionProtection
--- PASS: TestAccRDSInstance_PerformanceInsightsEnabled_disabledToEnabled (931.12s)
=== CONT TestAccRDSInstance_SnapshotIdentifier_DBSubnetGroupName_vpcSecurityGroupIDs
--- PASS: TestAccRDSInstance_performanceInsightsRetentionPeriod (1011.30s)
=== CONT TestAccRDSInstance_SnapshotIdentifier_DBSubnetGroupName_ramShared
acctest.go:598: skipping test because at least one environment variable of [AWS_ALTERNATE_PROFILE AWS_ALTERNATE_ACCESS_KEY_ID] must be set. Usage: credentials for running acceptance testing in alternate AWS account.
--- SKIP: TestAccRDSInstance_SnapshotIdentifier_DBSubnetGroupName_ramShared (0.12s)
=== CONT TestAccRDSInstance_SnapshotIdentifier_dbSubnetGroupName
--- PASS: TestAccRDSInstance_PerformanceInsightsEnabled_enabledToDisabled (1088.50s)
=== CONT TestAccRDSInstance_SnapshotIdentifier_backupWindow
--- PASS: TestAccRDSInstance_NoNationalCharacterSet_oracle (1197.12s)
=== CONT TestAccRDSInstance_SnapshotIdentifier_backupRetentionPeriod_unset
--- PASS: TestAccRDSInstance_SnapshotIdentifier_tags (1210.44s)
=== CONT TestAccRDSInstance_SnapshotIdentifier_backupRetentionPeriod_override
--- PASS: TestAccRDSInstance_SnapshotIdentifier_port (1258.53s)
=== CONT TestAccRDSInstance_SnapshotIdentifier_availabilityZone
--- PASS: TestAccRDSInstance_NationalCharacterSet_oracle (1300.42s)
=== CONT TestAccRDSInstance_SnapshotIdentifier_autoMinorVersionUpgrade
--- PASS: TestAccRDSInstance_RestoreToPointInTime_sourceIdentifier (1355.43s)
=== CONT TestAccRDSInstance_EnabledCloudWatchLogsExports_postgresql
--- PASS: TestAccRDSInstance_RestoreToPointInTime_sourceResourceID (1390.54s)
=== CONT TestAccRDSInstance_MSSQL_domain
instance_test.go:2733: Step 1/2 error: Error running pre-apply refresh: exit status 1
Error: error reading RDS orderable DB instance options: InvalidParameterCombination: Cannot find version 14.00.1000.169.v1 for sqlserver-ex
status code: 400, request id: 4936adc3-7ce4-4154-9991-7ee39c00fe5d
with data.aws_rds_orderable_db_instance.test,
on terraform_plugin_test.tf line 2, in data "aws_rds_orderable_db_instance" "test":
2: data "aws_rds_orderable_db_instance" "test" {
--- FAIL: TestAccRDSInstance_MSSQL_domain (2.33s)
=== CONT TestAccRDSInstance_EnabledCloudWatchLogsExports_oracle
--- PASS: TestAccRDSInstance_SnapshotIdentifier_monitoring (1189.82s)
=== CONT TestAccRDSInstance_EnabledCloudWatchLogsExports_msSQL
instance_test.go:2942: Step 1/2 error: Error running pre-apply refresh: exit status 1
Error: error reading RDS orderable DB instance options: InvalidParameterCombination: Cannot find version 14.00.1000.169.v1 for sqlserver-se
status code: 400, request id: 38157e31-3c53-4411-b509-0caf9381d620
with data.aws_rds_orderable_db_instance.test,
on terraform_plugin_test.tf line 2, in data "aws_rds_orderable_db_instance" "test":
2: data "aws_rds_orderable_db_instance" "test" {
--- FAIL: TestAccRDSInstance_EnabledCloudWatchLogsExports_msSQL (3.23s)
=== CONT TestAccRDSInstance_EnabledCloudWatchLogsExports_mySQL
--- PASS: TestAccRDSInstance_SnapshotIdentifier_maxAllocatedStorage (1186.59s)
=== CONT TestAccRDSInstance_cloudWatchLogsExport
--- PASS: TestAccRDSInstance_SnapshotIdentifier_multiAZ (1671.58s)
=== CONT TestAccRDSInstance_ec2Classic
--- PASS: TestAccRDSInstance_license (1730.07s)
=== CONT TestAccRDSInstance_minorVersion
--- PASS: TestAccRDSInstance_SnapshotIdentifier_performanceInsightsEnabled (1856.38s)
=== CONT TestAccRDSInstance_MySQL_snapshotRestoreWithEngineVersion
--- PASS: TestAccRDSInstance_ReplicateSourceDB_performanceInsightsEnabled (1898.26s)
=== CONT TestAccRDSInstance_MSSQL_domainSnapshotRestore
instance_test.go:2769: Step 1/1 error: Error running pre-apply refresh: exit status 1
Error: error reading RDS orderable DB instance options: InvalidParameterCombination: Cannot find version 14.00.1000.169.v1 for sqlserver-ex
status code: 400, request id: 968b1cca-d712-4ab6-af9c-51e3f3a99d84
with data.aws_rds_orderable_db_instance.test,
on terraform_plugin_test.tf line 2, in data "aws_rds_orderable_db_instance" "test":
2: data "aws_rds_orderable_db_instance" "test" {
--- FAIL: TestAccRDSInstance_MSSQL_domainSnapshotRestore (2.30s)
=== CONT TestAccRDSInstance_s3Import_basic
--- PASS: TestAccRDSInstance_EnabledCloudWatchLogsExports_postgresql (563.29s)
=== CONT TestAccRDSInstance_SnapshotIdentifier_io1Storage
instance_test.go:1779: Step 1/1 error: Error running pre-apply refresh: exit status 1
Error: error reading RDS orderable DB instance options: InvalidParameterCombination: Cannot find version 10.2.15 for mariadb
status code: 400, request id: 329092e9-45eb-46ec-9859-a8200208a93f
with data.aws_rds_orderable_db_instance.test,
on terraform_plugin_test.tf line 2, in data "aws_rds_orderable_db_instance" "test":
2: data "aws_rds_orderable_db_instance" "test" {
--- FAIL: TestAccRDSInstance_SnapshotIdentifier_io1Storage (2.23s)
=== CONT TestAccRDSInstance_SnapshotIdentifier_allocatedStorage
--- PASS: TestAccRDSInstance_SnapshotIdentifier_maintenanceWindow (1186.71s)
=== CONT TestAccRDSInstance_MSSQL_tz
instance_test.go:2691: Step 1/2 error: Error running pre-apply refresh: exit status 1
Error: error reading RDS orderable DB instance options: InvalidParameterCombination: Cannot find version 14.00.1000.169.v1 for sqlserver-ex
status code: 400, request id: 61ede54c-904e-47f9-bad5-6183978c8c67
with data.aws_rds_orderable_db_instance.test,
on terraform_plugin_test.tf line 2, in data "aws_rds_orderable_db_instance" "test":
2: data "aws_rds_orderable_db_instance" "test" {
--- FAIL: TestAccRDSInstance_MSSQL_tz (3.08s)
=== CONT TestAccRDSInstance_portUpdate
--- PASS: TestAccRDSInstance_SnapshotIdentifier_iamDatabaseAuthenticationEnabled (1139.51s)
=== CONT TestAccRDSInstance_separateIopsUpdate
--- PASS: TestAccRDSInstance_ReplicateSourceDB_multiAZ (2080.60s)
=== CONT TestAccRDSInstance_MonitoringRoleARN_removedToEnabled
--- PASS: TestAccRDSInstance_SnapshotIdentifier_allowMajorVersionUpgrade (2138.59s)
=== CONT TestAccRDSInstance_MonitoringRoleARN_enabledToRemoved
instance_test.go:2548: Step 1/3 error: Error running apply: exit status 1
Error: Error creating DB Instance: InstanceQuotaExceeded: DB Instance quota exceeded
status code: 400, request id: bca74a28-de8d-4a48-938f-873a5f1e37cb
with aws_db_instance.test,
on terraform_plugin_test.tf line 43, in resource "aws_db_instance" "test":
43: resource "aws_db_instance" "test" {
--- FAIL: TestAccRDSInstance_MonitoringRoleARN_enabledToRemoved (77.60s)
=== CONT TestAccRDSInstance_MonitoringRoleARN_enabledToDisabled
--- PASS: TestAccRDSInstance_SnapshotIdentifier_dbSubnetGroupName (1214.83s)
=== CONT TestAccRDSInstance_monitoringInterval
--- PASS: TestAccRDSInstance_minorVersion (508.66s)
=== CONT TestAccRDSInstance_SnapshotIdentifier_vpcSecurityGroupIDs_tags
--- PASS: TestAccRDSInstance_ec2Classic (561.90s)
=== CONT TestAccRDSInstance_SnapshotIdentifier_vpcSecurityGroupIDs
--- PASS: TestAccRDSInstance_cloudWatchLogsExport (590.83s)
=== CONT TestAccRDSInstance_SnapshotIdentifier_AssociationRemoved
=== CONT TestAccRDSInstance_SnapshotIdentifier_vpcSecurityGroupIDs
instance_test.go:2396: Step 1/1 error: Error running apply: exit status 1
Error: Error creating DB Instance: InstanceQuotaExceeded: DB Instance quota exceeded
status code: 400, request id: 1d9c1dee-c7e8-4910-90c7-923bde12a3d5
with aws_db_instance.source,
on terraform_plugin_test.tf line 20, in resource "aws_db_instance" "source":
20: resource "aws_db_instance" "source" {
--- FAIL: TestAccRDSInstance_SnapshotIdentifier_vpcSecurityGroupIDs (19.72s)
=== CONT TestAccRDSInstance_replicateSourceDB_namePrefix
--- PASS: TestAccRDSInstance_SnapshotIdentifier_DBSubnetGroupName_vpcSecurityGroupIDs (1347.95s)
=== CONT TestAccRDSInstance_SnapshotIdentifier_nameGenerated
=== CONT TestAccRDSInstance_replicateSourceDB_namePrefix
instance_test.go:673: Step 1/2 error: Error running apply: exit status 1
Error: Error creating DB Instance: InstanceQuotaExceeded: DB Instance quota exceeded
status code: 400, request id: 9c3d87d4-be6a-4dfd-b413-dd36d9e9a391
with aws_db_instance.source,
on terraform_plugin_test.tf line 11, in resource "aws_db_instance" "source":
11: resource "aws_db_instance" "source" {
--- FAIL: TestAccRDSInstance_replicateSourceDB_namePrefix (12.68s)
=== CONT TestAccRDSInstance_ReplicateSourceDB_monitoring
--- PASS: TestAccRDSInstance_SnapshotIdentifier_deletionProtection (1384.20s)
=== CONT TestAccRDSInstance_SnapshotIdentifier_namePrefix
instance_test.go:1649: Step 1/2 error: Error running apply: exit status 1
Error: Error creating DB Instance: InstanceQuotaExceeded: DB Instance quota exceeded
status code: 400, request id: 4a79af0c-c976-49df-90c7-69ef3a20710e
with aws_db_instance.source,
on terraform_plugin_test.tf line 11, in resource "aws_db_instance" "source":
11: resource "aws_db_instance" "source" {
=== CONT TestAccRDSInstance_ReplicateSourceDB_monitoring
instance_test.go:1195: Step 1/1 error: Error running apply: exit status 1
Error: Error creating DB Instance: InstanceQuotaExceeded: DB Instance quota exceeded
status code: 400, request id: ff86ae52-ac6e-411a-b2be-1b900e79caf0
with aws_db_instance.source,
on terraform_plugin_test.tf line 38, in resource "aws_db_instance" "source":
38: resource "aws_db_instance" "source" {
--- FAIL: TestAccRDSInstance_SnapshotIdentifier_namePrefix (16.76s)
=== CONT TestAccRDSInstance_SnapshotIdentifier_basic
--- FAIL: TestAccRDSInstance_ReplicateSourceDB_monitoring (29.09s)
=== CONT TestAccRDSInstance_s3Import_nameGenerated
=== CONT TestAccRDSInstance_SnapshotIdentifier_basic
instance_test.go:1612: Step 1/1 error: Error running apply: exit status 1
Error: Error creating DB Instance: InstanceQuotaExceeded: DB Instance quota exceeded
status code: 400, request id: a64fedcb-4c1a-45a8-a5ba-85bcf7888b54
with aws_db_instance.source,
on terraform_plugin_test.tf line 11, in resource "aws_db_instance" "source":
11: resource "aws_db_instance" "source" {
--- FAIL: TestAccRDSInstance_SnapshotIdentifier_basic (16.04s)
=== CONT TestAccRDSInstance_s3Import_namePrefix
=== CONT TestAccRDSInstance_s3Import_nameGenerated
instance_test.go:1577: Step 1/2 error: Error running apply: exit status 1
Error: Error creating DB Instance: InstanceQuotaExceeded: DB Instance quota exceeded
status code: 400, request id: b0436107-aea0-463e-b67b-aab73a201fd6
with aws_db_instance.test,
on terraform_plugin_test.tf line 107, in resource "aws_db_instance" "test":
107: resource "aws_db_instance" "test" {
--- FAIL: TestAccRDSInstance_s3Import_nameGenerated (32.46s)
=== CONT TestAccRDSInstance_DBSubnetGroupName_ramShared
acctest.go:598: skipping test because at least one environment variable of [AWS_ALTERNATE_PROFILE AWS_ALTERNATE_ACCESS_KEY_ID] must be set. Usage: credentials for running acceptance testing in alternate AWS account.
--- SKIP: TestAccRDSInstance_DBSubnetGroupName_ramShared (0.10s)
=== CONT TestAccRDSInstance_replicateSourceDB_basic
=== CONT TestAccRDSInstance_s3Import_namePrefix
instance_test.go:1544: Step 1/2 error: Error running apply: exit status 1
Error: Error creating DB Instance: InstanceQuotaExceeded: DB Instance quota exceeded
status code: 400, request id: 829c4899-504d-4603-9042-5129ffc566ec
with aws_db_instance.test,
on terraform_plugin_test.tf line 107, in resource "aws_db_instance" "test":
107: resource "aws_db_instance" "test" {
--- FAIL: TestAccRDSInstance_s3Import_namePrefix (31.57s)
=== CONT TestAccRDSInstance_password
=== CONT TestAccRDSInstance_replicateSourceDB_basic
instance_test.go:636: Step 1/2 error: Error running apply: exit status 1
Error: Error creating DB Instance: InstanceQuotaExceeded: DB Instance quota exceeded
status code: 400, request id: 433a7eab-6a16-46dc-ba16-4e37bd61d353
with aws_db_instance.source,
on terraform_plugin_test.tf line 11, in resource "aws_db_instance" "source":
11: resource "aws_db_instance" "source" {
--- FAIL: TestAccRDSInstance_replicateSourceDB_basic (12.61s)
=== CONT TestAccRDSInstance_maxAllocatedStorage
--- PASS: TestAccRDSInstance_SnapshotIdentifier_backupWindow (1275.67s)
=== CONT TestAccRDSInstance_isAlreadyBeingDeleted
=== CONT TestAccRDSInstance_MySQL_snapshotRestoreWithEngineVersion
instance_test.go:2793: Step 1/1 error: Error running apply: exit status 1
Error: Error creating DB Instance: InstanceQuotaExceeded: DB Instance quota exceeded
status code: 400, request id: 3cd17f38-4556-4194-99b6-0b776e45207b
with aws_db_instance.mysql_restore,
on terraform_plugin_test.tf line 72, in resource "aws_db_instance" "mysql_restore":
72: resource "aws_db_instance" "mysql_restore" {
=== CONT TestAccRDSInstance_password
instance_test.go:596: Step 2/3 error: Error running apply: exit status 1
Error: Error creating DB Instance: InstanceQuotaExceeded: DB Instance quota exceeded
status code: 400, request id: 91aca87b-5979-458e-b3bc-939da5176de8
with aws_db_instance.test,
on terraform_plugin_test.tf line 11, in resource "aws_db_instance" "test":
11: resource "aws_db_instance" "test" {
=== CONT TestAccRDSInstance_isAlreadyBeingDeleted
instance_test.go:514: Step 1/2 error: Error running apply: exit status 1
Error: Error creating DB Instance: InstanceQuotaExceeded: DB Instance quota exceeded
status code: 400, request id: c810b0b1-d332-4d7c-955a-7df8f868058c
with aws_db_instance.test,
on terraform_plugin_test.tf line 11, in resource "aws_db_instance" "test":
11: resource "aws_db_instance" "test" {
--- FAIL: TestAccRDSInstance_password (22.95s)
=== CONT TestAccRDSInstance_FinalSnapshotIdentifier_skipFinalSnapshot
--- FAIL: TestAccRDSInstance_isAlreadyBeingDeleted (13.65s)
=== CONT TestAccRDSInstance_finalSnapshotIdentifier
=== CONT TestAccRDSInstance_FinalSnapshotIdentifier_skipFinalSnapshot
instance_test.go:492: Step 1/1 error: Error running apply: exit status 1
Error: Error creating DB Instance: InstanceQuotaExceeded: DB Instance quota exceeded
status code: 400, request id: 06cb0633-99f3-4393-94bb-dc63a5860684
with aws_db_instance.snapshot,
on terraform_plugin_test.tf line 11, in resource "aws_db_instance" "snapshot":
11: resource "aws_db_instance" "snapshot" {
=== CONT TestAccRDSInstance_finalSnapshotIdentifier
instance_test.go:471: Step 1/1 error: Error running apply: exit status 1
Error: Error creating DB Instance: InstanceQuotaExceeded: DB Instance quota exceeded
status code: 400, request id: a2e683dd-f9e0-4ba9-83aa-ec74c1ea9b43
with aws_db_instance.snapshot,
on terraform_plugin_test.tf line 11, in resource "aws_db_instance" "snapshot":
11: resource "aws_db_instance" "snapshot" {
--- FAIL: TestAccRDSInstance_FinalSnapshotIdentifier_skipFinalSnapshot (11.25s)
=== CONT TestAccRDSInstance_deletionProtection
=== CONT TestAccRDSInstance_DBSubnetGroupName_vpcSecurityGroupIDs
--- FAIL: TestAccRDSInstance_finalSnapshotIdentifier (10.98s)
=== CONT TestAccRDSInstance_deletionProtection
instance_test.go:431: Step 1/3 error: Error running apply: exit status 1
Error: Error creating DB Instance: InstanceQuotaExceeded: DB Instance quota exceeded
status code: 400, request id: 17fc30d7-1873-46df-b240-2c764fae31c2
with aws_db_instance.test,
on terraform_plugin_test.tf line 11, in resource "aws_db_instance" "test":
11: resource "aws_db_instance" "test" {
--- FAIL: TestAccRDSInstance_deletionProtection (9.81s)
=== CONT TestAccRDSInstance_ReplicateSourceDB_port
=== CONT TestAccRDSInstance_DBSubnetGroupName_vpcSecurityGroupIDs
instance_test.go:407: Step 1/1 error: Error running apply: exit status 1
Error: Error creating DB Instance: InstanceQuotaExceeded: DB Instance quota exceeded
status code: 400, request id: 7008a23a-6ca9-457e-b732-e7aadaba81eb
with aws_db_instance.test,
on terraform_plugin_test.tf line 50, in resource "aws_db_instance" "test":
50: resource "aws_db_instance" "test" {
=== CONT TestAccRDSInstance_ReplicateSourceDB_port
instance_test.go:1360: Step 1/1 error: Error running apply: exit status 1
Error: Error creating DB Instance: InstanceQuotaExceeded: DB Instance quota exceeded
status code: 400, request id: dd2cd026-09c9-4d7a-a0c9-ec185a67b22a
with aws_db_instance.source,
on terraform_plugin_test.tf line 11, in resource "aws_db_instance" "source":
11: resource "aws_db_instance" "source" {
--- FAIL: TestAccRDSInstance_ReplicateSourceDB_port (10.97s)
=== CONT TestAccRDSInstance_subnetGroup
--- FAIL: TestAccRDSInstance_DBSubnetGroupName_vpcSecurityGroupIDs (21.63s)
=== CONT TestAccRDSInstance_ReplicateSourceDB_parameterGroupTwoStep
--- PASS: TestAccRDSInstance_SnapshotIdentifier_autoMinorVersionUpgrade (1117.46s)
=== CONT TestAccRDSInstance_dbSubnetGroupName
=== CONT TestAccRDSInstance_subnetGroup
instance_test.go:228: Step 1/2 error: Error running apply: exit status 1
Error: Error creating DB Instance: InstanceQuotaExceeded: DB Instance quota exceeded
status code: 400, request id: b8353499-2ca0-4522-ae30-526b3985c3a0
with aws_db_instance.bar,
on terraform_plugin_test.tf line 57, in resource "aws_db_instance" "bar":
57: resource "aws_db_instance" "bar" {
--- FAIL: TestAccRDSInstance_subnetGroup (24.77s)
=== CONT TestAccRDSInstance_ReplicateSourceDB_replicaMode
=== CONT TestAccRDSInstance_dbSubnetGroupName
instance_test.go:350: Step 1/1 error: Error running apply: exit status 1
Error: Error creating DB Instance: InstanceQuotaExceeded: DB Instance quota exceeded
status code: 400, request id: 4a6f6c39-d52e-4a2b-8aa7-a2d6512cbce7
with aws_db_instance.test,
on terraform_plugin_test.tf line 45, in resource "aws_db_instance" "test":
45: resource "aws_db_instance" "test" {
--- FAIL: TestAccRDSInstance_dbSubnetGroupName (24.32s)
=== CONT TestAccRDSInstance_ReplicateSourceDB_caCertificateIdentifier
=== CONT TestAccRDSInstance_ReplicateSourceDB_replicaMode
instance_test.go:1440: Step 1/1 error: Error running apply: exit status 1
Error: Error creating DB Instance: InstanceQuotaExceeded: DB Instance quota exceeded
status code: 400, request id: 4de8f3fc-49e7-4122-93ac-fff45b28f4b1
with aws_db_instance.source,
on terraform_plugin_test.tf line 11, in resource "aws_db_instance" "source":
11: resource "aws_db_instance" "source" {
--- FAIL: TestAccRDSInstance_ReplicateSourceDB_replicaMode (11.64s)
=== CONT TestAccRDSInstance_ReplicateSourceDB_vpcSecurityGroupIDs
=== CONT TestAccRDSInstance_ReplicateSourceDB_caCertificateIdentifier
instance_test.go:1413: Step 1/1 error: Error running apply: exit status 1
Error: Error creating DB Instance: InstanceQuotaExceeded: DB Instance quota exceeded
status code: 400, request id: 6b1fa83e-87d4-48cf-bab6-f68bbc136b90
with aws_db_instance.source,
on terraform_plugin_test.tf line 15, in resource "aws_db_instance" "source":
15: resource "aws_db_instance" "source" {
--- FAIL: TestAccRDSInstance_ReplicateSourceDB_caCertificateIdentifier (10.72s)
=== CONT TestAccRDSInstance_allowMajorVersionUpgrade
=== CONT TestAccRDSInstance_ReplicateSourceDB_vpcSecurityGroupIDs
instance_test.go:1386: Step 1/1 error: Error running apply: exit status 1
Error: Error creating DB Instance: InstanceQuotaExceeded: DB Instance quota exceeded
status code: 400, request id: 60689ea2-1aba-4bb7-bd36-20f23f374c85
with aws_db_instance.source,
on terraform_plugin_test.tf line 20, in resource "aws_db_instance" "source":
20: resource "aws_db_instance" "source" {
--- FAIL: TestAccRDSInstance_ReplicateSourceDB_vpcSecurityGroupIDs (14.99s)
=== CONT TestAccRDSInstance_iamAuth
=== CONT TestAccRDSInstance_allowMajorVersionUpgrade
instance_test.go:306: Step 1/3 error: Error running apply: exit status 1
Error: Error creating DB Instance: InstanceQuotaExceeded: DB Instance quota exceeded
status code: 400, request id: 113526a3-567a-4e56-a5d6-862f5cb4cf97
with aws_db_instance.test,
on terraform_plugin_test.tf line 11, in resource "aws_db_instance" "test":
11: resource "aws_db_instance" "test" {
--- FAIL: TestAccRDSInstance_allowMajorVersionUpgrade (11.03s)
=== CONT TestAccRDSInstance_optionGroup
=== CONT TestAccRDSInstance_iamAuth
instance_test.go:281: Step 1/1 error: Error running apply: exit status 1
Error: Error creating DB Instance: InstanceQuotaExceeded: DB Instance quota exceeded
status code: 400, request id: 0d0a2b1c-db86-4f59-b6f1-d93571cab2ee
with aws_db_instance.bar,
on terraform_plugin_test.tf line 16, in resource "aws_db_instance" "bar":
16: resource "aws_db_instance" "bar" {
--- FAIL: TestAccRDSInstance_iamAuth (11.27s)
=== CONT TestAccRDSInstance_ReplicateSourceDB_availabilityZone
=== CONT TestAccRDSInstance_optionGroup
instance_test.go:259: Step 1/1 error: Error running apply: exit status 1
Error: Error creating DB Instance: InstanceQuotaExceeded: DB Instance quota exceeded
status code: 400, request id: c52c2fd1-884a-408d-8552-142dee8b60ab
with aws_db_instance.bar,
on terraform_plugin_test.tf line 18, in resource "aws_db_instance" "bar":
18: resource "aws_db_instance" "bar" {
--- FAIL: TestAccRDSInstance_optionGroup (15.01s)
=== CONT TestAccRDSInstance_ReplicateSourceDB_maintenanceWindow
=== CONT TestAccRDSInstance_ReplicateSourceDB_availabilityZone
instance_test.go:900: Step 1/1 error: Error running apply: exit status 1
Error: Error creating DB Instance: InstanceQuotaExceeded: DB Instance quota exceeded
status code: 400, request id: 0eabacae-eee7-414e-a3ec-a36d72a54aaa
with aws_db_instance.source,
on terraform_plugin_test.tf line 20, in resource "aws_db_instance" "source":
20: resource "aws_db_instance" "source" {
--- FAIL: TestAccRDSInstance_ReplicateSourceDB_availabilityZone (13.21s)
=== CONT TestAccRDSInstance_ReplicateSourceDB_iamDatabaseAuthenticationEnabled
=== CONT TestAccRDSInstance_ReplicateSourceDB_maintenanceWindow
instance_test.go:1143: Step 1/1 error: Error running apply: exit status 1
Error: Error creating DB Instance: InstanceQuotaExceeded: DB Instance quota exceeded
status code: 400, request id: e8fdb104-05a9-4d2f-a703-a2b0f0bb1313
with aws_db_instance.source,
on terraform_plugin_test.tf line 11, in resource "aws_db_instance" "source":
11: resource "aws_db_instance" "source" {
--- FAIL: TestAccRDSInstance_ReplicateSourceDB_maintenanceWindow (15.64s)
=== CONT TestAccRDSInstance_ReplicateSourceDBDBSubnetGroupName_vpcSecurityGroupIDs
=== CONT TestAccRDSInstance_ReplicateSourceDB_iamDatabaseAuthenticationEnabled
instance_test.go:1117: Step 1/1 error: Error running apply: exit status 1
Error: Error creating DB Instance: InstanceQuotaExceeded: DB Instance quota exceeded
status code: 400, request id: 748a1984-4c11-46ad-8f2e-d4c254c7c039
with aws_db_instance.source,
on terraform_plugin_test.tf line 11, in resource "aws_db_instance" "source":
11: resource "aws_db_instance" "source" {
--- FAIL: TestAccRDSInstance_ReplicateSourceDB_iamDatabaseAuthenticationEnabled (12.49s)
=== CONT TestAccRDSInstance_ReplicateSourceDBDBSubnetGroupName_ramShared
acctest.go:598: skipping test because at least one environment variable of [AWS_ALTERNATE_PROFILE AWS_ALTERNATE_ACCESS_KEY_ID] must be set. Usage: credentials for running acceptance testing in alternate AWS account.
--- SKIP: TestAccRDSInstance_ReplicateSourceDBDBSubnetGroupName_ramShared (0.21s)
=== CONT TestAccRDSInstance_ReplicateSourceDB_dbSubnetGroupName
--- PASS: TestAccRDSInstance_SnapshotIdentifier_availabilityZone (1261.23s)
=== CONT TestAccRDSInstance_ReplicateSourceDB_backupWindow
=== CONT TestAccRDSInstance_s3Import_basic
instance_test.go:1510: Step 1/2 error: Error running apply: exit status 1
Error: unexpected state 'incompatible-restore', wanted target 'available, storage-optimization'. last error: %!s(<nil>)
with aws_db_instance.test,
on terraform_plugin_test.tf line 107, in resource "aws_db_instance" "test":
107: resource "aws_db_instance" "test" {
--- PASS: TestAccRDSInstance_EnabledCloudWatchLogsExports_mySQL (933.32s)
=== CONT TestAccRDSInstance_ReplicateSourceDB_backupRetentionPeriod
--- PASS: TestAccRDSInstance_portUpdate (575.70s)
=== CONT TestAccRDSInstance_ReplicateSourceDB_iops
--- FAIL: TestAccRDSInstance_MySQL_snapshotRestoreWithEngineVersion (738.21s)
=== CONT TestAccRDSInstance_ReplicateSourceDB_autoMinorVersionUpgrade
--- PASS: TestAccRDSInstance_EnabledCloudWatchLogsExports_oracle (1377.15s)
=== CONT TestAccRDSInstance_ReplicateSourceDB_allowMajorVersionUpgrade
--- PASS: TestAccRDSInstance_MonitoringRoleARN_removedToEnabled (694.92s)
=== CONT TestAccRDSInstance_ReplicateSourceDB_allocatedStorageAndIops
--- PASS: TestAccRDSInstance_separateIopsUpdate (777.91s)
=== CONT TestAccRDSInstance_ReplicateSourceDB_parameterGroupName_replicaCopiesValue
--- PASS: TestAccRDSInstance_SnapshotIdentifier_backupRetentionPeriod_override (1683.56s)
=== CONT TestAccRDSInstance_ReplicateSourceDB_parameterGroupName_setOnReplica
--- FAIL: TestAccRDSInstance_s3Import_basic (995.58s)
=== CONT TestAccRDSInstance_nameGenerated
--- PASS: TestAccRDSInstance_maxAllocatedStorage (643.49s)
=== CONT TestAccRDSInstance_kmsKey
--- PASS: TestAccRDSInstance_SnapshotIdentifier_backupRetentionPeriod_unset (1807.10s)
=== CONT TestAccRDSInstance_ReplicateSourceDB_maxAllocatedStorage
--- PASS: TestAccRDSInstance_MonitoringRoleARN_enabledToDisabled (883.96s)
=== CONT TestAccRDSInstance_ReplicateSourceDB_allocatedStorage
--- PASS: TestAccRDSInstance_SnapshotIdentifier_allocatedStorage (1351.65s)
=== CONT TestAccRDSInstance_replicateSourceDB_addLater
--- PASS: TestAccRDSInstance_SnapshotIdentifier_vpcSecurityGroupIDs_tags (1134.07s)
=== CONT TestAccRDSInstance_ReplicateSourceDB_parameterGroupName_differentSetOnBoth
--- PASS: TestAccRDSInstance_nameGenerated (489.10s)
=== CONT TestAccRDSInstance_namePrefix
--- PASS: TestAccRDSInstance_kmsKey (481.21s)
=== CONT TestAccRDSInstance_replicateSourceDB_nameGenerated
--- PASS: TestAccRDSInstance_SnapshotIdentifier_nameGenerated (1210.24s)
=== CONT TestAccRDSInstance_onlyMajorVersion
--- PASS: TestAccRDSInstance_SnapshotIdentifier_AssociationRemoved (1313.38s)
=== CONT TestAccRDSInstance_ReplicateSourceDB_parameterGroupName_sameSetOnBoth
--- PASS: TestAccRDSInstance_monitoringInterval (1415.49s)
--- PASS: TestAccRDSInstance_namePrefix (330.30s)
--- PASS: TestAccRDSInstance_onlyMajorVersion (328.60s)
=== CONT TestAccRDSInstance_ReplicateSourceDB_parameterGroupName_setOnReplica
instance_test.go:1333: Step 1/1 error: Check failed: 1 error occurred:
* Check 5/5 error: expected DB Instance (tf-acc-test-8087412187966427428) Parameter Group (tf-acc-test-8087412187966427428) apply status to be: "in-sync", got: "pending-reboot"
--- PASS: TestAccRDSInstance_ReplicateSourceDB_autoMinorVersionUpgrade (1419.78s)
--- PASS: TestAccRDSInstance_ReplicateSourceDB_backupRetentionPeriod (1598.00s)
--- PASS: TestAccRDSInstance_ReplicateSourceDB_iops (1587.28s)
=== CONT TestAccRDSInstance_ReplicateSourceDB_allocatedStorage
instance_test.go:769: Step 1/1 error: Check failed: Check 4/4 error: aws_db_instance.test: Attribute 'allocated_storage' expected "10", got "5"
--- PASS: TestAccRDSInstance_ReplicateSourceDB_backupWindow (1670.86s)
--- PASS: TestAccRDSInstance_ReplicateSourceDB_allowMajorVersionUpgrade (1432.58s)
--- PASS: TestAccRDSInstance_ReplicateSourceDB_parameterGroupName_replicaCopiesValue (1482.44s)
--- PASS: TestAccRDSInstance_ReplicateSourceDB_allocatedStorageAndIops (1530.83s)
--- FAIL: TestAccRDSInstance_ReplicateSourceDB_parameterGroupName_setOnReplica (1467.16s)
--- PASS: TestAccRDSInstance_ReplicateSourceDB_maxAllocatedStorage (1388.23s)
--- PASS: TestAccRDSInstance_ReplicateSourceDBDBSubnetGroupName_vpcSecurityGroupIDs (1951.48s)
--- PASS: TestAccRDSInstance_ReplicateSourceDB_dbSubnetGroupName (2024.26s)
--- PASS: TestAccRDSInstance_replicateSourceDB_addLater (1321.36s)
--- FAIL: TestAccRDSInstance_ReplicateSourceDB_allocatedStorage (1576.31s)
--- PASS: TestAccRDSInstance_replicateSourceDB_nameGenerated (1469.73s)
--- PASS: TestAccRDSInstance_ReplicateSourceDB_parameterGroupName_sameSetOnBoth (1458.33s)
--- PASS: TestAccRDSInstance_ReplicateSourceDB_parameterGroupName_differentSetOnBoth (1663.38s)
--- PASS: TestAccRDSInstance_ReplicateSourceDB_parameterGroupTwoStep (2697.08s)
FAIL
FAIL github.com/hashicorp/terraform-provider-aws/internal/service/rds 5113.084s
FAIL
make: *** [testacc] Error 1
Failures are unrelated to this change.
741386e
to
5266be1
Compare
…_source_db` is set). Makes `replica_mode` `Computed`
5266be1
to
9c2c950
Compare
776a491
to
cd3f564
Compare
cd3f564
to
2f03e81
Compare
This functionality has been released in v4.0.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! |
Hi, I noticed that after this change it is no longer possible to set a different engine version for DB replicas. However, it is actually a legit workflow (at least on RDS PostgreSQL): when updating minor engine version (e.g. from 12.8 to 12.9), RDS won't let you update primary instance until all replicas minor versions have been updated. So usually we first updated minor versions on all replicas and only then updated minor engine version on primary instances. After this change it's no longer possible and I'm afraid we'd have to resort to manual update from AWS Console or CLI. Can this change be revisited / reverted? |
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. |
Hi @take-five. We don't always see comments on resolved PRs, so it's better to create a new issue which references the problem PR. Instructions for linking can be found at https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/autolinked-references-and-urls. In this case, #24887 reports this issue. |
Setting some parameters on a replica RDS Instance causes a modify followed by a reboot. This sometimes caused errors.
Closes #11905
Closes #20538
Output from acceptance testing in Commercial partition
All failures are pre-existing