-
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
Use engine_version and engine_version_actual for aws_db_instance #20207
Use engine_version and engine_version_actual for aws_db_instance #20207
Conversation
7674f99
to
0b4c37f
Compare
0b4c37f
to
b04e438
Compare
b04e438
to
159d048
Compare
159d048
to
60d9036
Compare
4407fb1
to
1196612
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 🚀.
% ACCTEST_TIMEOUT=600m ACCTEST_PARALLELISM=10 make testacc TESTARGS='-run=TestAccAWSDBInstance_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 10 -run=TestAccAWSDBInstance_ -timeout 600m
=== RUN TestAccAWSDBInstance_basic
=== PAUSE TestAccAWSDBInstance_basic
=== RUN TestAccAWSDBInstance_OnlyMajorVersion
=== PAUSE TestAccAWSDBInstance_OnlyMajorVersion
=== RUN TestAccAWSDBInstance_namePrefix
=== PAUSE TestAccAWSDBInstance_namePrefix
=== RUN TestAccAWSDBInstance_generatedName
=== PAUSE TestAccAWSDBInstance_generatedName
=== RUN TestAccAWSDBInstance_kmsKey
=== PAUSE TestAccAWSDBInstance_kmsKey
=== RUN TestAccAWSDBInstance_subnetGroup
=== PAUSE TestAccAWSDBInstance_subnetGroup
=== RUN TestAccAWSDBInstance_optionGroup
=== PAUSE TestAccAWSDBInstance_optionGroup
=== RUN TestAccAWSDBInstance_iamAuth
=== PAUSE TestAccAWSDBInstance_iamAuth
=== RUN TestAccAWSDBInstance_AllowMajorVersionUpgrade
=== PAUSE TestAccAWSDBInstance_AllowMajorVersionUpgrade
=== RUN TestAccAWSDBInstance_DbSubnetGroupName
=== PAUSE TestAccAWSDBInstance_DbSubnetGroupName
=== RUN TestAccAWSDBInstance_DbSubnetGroupName_RamShared
=== PAUSE TestAccAWSDBInstance_DbSubnetGroupName_RamShared
=== RUN TestAccAWSDBInstance_DbSubnetGroupName_VpcSecurityGroupIds
=== PAUSE TestAccAWSDBInstance_DbSubnetGroupName_VpcSecurityGroupIds
=== RUN TestAccAWSDBInstance_DeletionProtection
=== PAUSE TestAccAWSDBInstance_DeletionProtection
=== RUN TestAccAWSDBInstance_FinalSnapshotIdentifier
=== PAUSE TestAccAWSDBInstance_FinalSnapshotIdentifier
=== RUN TestAccAWSDBInstance_FinalSnapshotIdentifier_SkipFinalSnapshot
=== PAUSE TestAccAWSDBInstance_FinalSnapshotIdentifier_SkipFinalSnapshot
=== RUN TestAccAWSDBInstance_IsAlreadyBeingDeleted
=== PAUSE TestAccAWSDBInstance_IsAlreadyBeingDeleted
=== RUN TestAccAWSDBInstance_MaxAllocatedStorage
=== PAUSE TestAccAWSDBInstance_MaxAllocatedStorage
=== RUN TestAccAWSDBInstance_Password
=== PAUSE TestAccAWSDBInstance_Password
=== RUN TestAccAWSDBInstance_ReplicateSourceDb
=== PAUSE TestAccAWSDBInstance_ReplicateSourceDb
=== RUN TestAccAWSDBInstance_ReplicateSourceDb_AllocatedStorage
=== PAUSE TestAccAWSDBInstance_ReplicateSourceDb_AllocatedStorage
=== RUN TestAccAWSDBInstance_ReplicateSourceDb_Iops
=== PAUSE TestAccAWSDBInstance_ReplicateSourceDb_Iops
=== RUN TestAccAWSDBInstance_ReplicateSourceDb_AllocatedStorageAndIops
=== PAUSE TestAccAWSDBInstance_ReplicateSourceDb_AllocatedStorageAndIops
=== RUN TestAccAWSDBInstance_ReplicateSourceDb_AllowMajorVersionUpgrade
=== PAUSE TestAccAWSDBInstance_ReplicateSourceDb_AllowMajorVersionUpgrade
=== RUN TestAccAWSDBInstance_ReplicateSourceDb_AutoMinorVersionUpgrade
=== PAUSE TestAccAWSDBInstance_ReplicateSourceDb_AutoMinorVersionUpgrade
=== RUN TestAccAWSDBInstance_ReplicateSourceDb_AvailabilityZone
=== PAUSE TestAccAWSDBInstance_ReplicateSourceDb_AvailabilityZone
=== RUN TestAccAWSDBInstance_ReplicateSourceDb_BackupRetentionPeriod
=== PAUSE TestAccAWSDBInstance_ReplicateSourceDb_BackupRetentionPeriod
=== RUN TestAccAWSDBInstance_ReplicateSourceDb_BackupWindow
=== PAUSE TestAccAWSDBInstance_ReplicateSourceDb_BackupWindow
=== RUN TestAccAWSDBInstance_ReplicateSourceDb_DbSubnetGroupName
=== PAUSE TestAccAWSDBInstance_ReplicateSourceDb_DbSubnetGroupName
=== RUN TestAccAWSDBInstance_ReplicateSourceDb_DbSubnetGroupName_RamShared
=== PAUSE TestAccAWSDBInstance_ReplicateSourceDb_DbSubnetGroupName_RamShared
=== RUN TestAccAWSDBInstance_ReplicateSourceDb_DbSubnetGroupName_VpcSecurityGroupIds
=== PAUSE TestAccAWSDBInstance_ReplicateSourceDb_DbSubnetGroupName_VpcSecurityGroupIds
=== RUN TestAccAWSDBInstance_ReplicateSourceDb_DeletionProtection
provider_test.go:58: CreateDBInstanceReadReplica API currently ignores DeletionProtection=true with SourceDBInstanceIdentifier set
--- SKIP: TestAccAWSDBInstance_ReplicateSourceDb_DeletionProtection (0.00s)
=== RUN TestAccAWSDBInstance_ReplicateSourceDb_IamDatabaseAuthenticationEnabled
=== PAUSE TestAccAWSDBInstance_ReplicateSourceDb_IamDatabaseAuthenticationEnabled
=== RUN TestAccAWSDBInstance_ReplicateSourceDb_MaintenanceWindow
=== PAUSE TestAccAWSDBInstance_ReplicateSourceDb_MaintenanceWindow
=== RUN TestAccAWSDBInstance_ReplicateSourceDb_MaxAllocatedStorage
=== PAUSE TestAccAWSDBInstance_ReplicateSourceDb_MaxAllocatedStorage
=== RUN TestAccAWSDBInstance_ReplicateSourceDb_Monitoring
=== PAUSE TestAccAWSDBInstance_ReplicateSourceDb_Monitoring
=== RUN TestAccAWSDBInstance_ReplicateSourceDb_MultiAZ
=== PAUSE TestAccAWSDBInstance_ReplicateSourceDb_MultiAZ
=== RUN TestAccAWSDBInstance_ReplicateSourceDb_ParameterGroupName
=== PAUSE TestAccAWSDBInstance_ReplicateSourceDb_ParameterGroupName
=== RUN TestAccAWSDBInstance_ReplicateSourceDb_Port
=== PAUSE TestAccAWSDBInstance_ReplicateSourceDb_Port
=== RUN TestAccAWSDBInstance_ReplicateSourceDb_VpcSecurityGroupIds
=== PAUSE TestAccAWSDBInstance_ReplicateSourceDb_VpcSecurityGroupIds
=== RUN TestAccAWSDBInstance_ReplicateSourceDb_CACertificateIdentifier
=== PAUSE TestAccAWSDBInstance_ReplicateSourceDb_CACertificateIdentifier
=== RUN TestAccAWSDBInstance_S3Import
=== PAUSE TestAccAWSDBInstance_S3Import
=== RUN TestAccAWSDBInstance_SnapshotIdentifier
=== PAUSE TestAccAWSDBInstance_SnapshotIdentifier
=== RUN TestAccAWSDBInstance_SnapshotIdentifierRemoved
=== PAUSE TestAccAWSDBInstance_SnapshotIdentifierRemoved
=== RUN TestAccAWSDBInstance_SnapshotIdentifier_AllocatedStorage
=== PAUSE TestAccAWSDBInstance_SnapshotIdentifier_AllocatedStorage
=== RUN TestAccAWSDBInstance_SnapshotIdentifier_Io1Storage
=== PAUSE TestAccAWSDBInstance_SnapshotIdentifier_Io1Storage
=== RUN TestAccAWSDBInstance_SnapshotIdentifier_AllowMajorVersionUpgrade
=== PAUSE TestAccAWSDBInstance_SnapshotIdentifier_AllowMajorVersionUpgrade
=== RUN TestAccAWSDBInstance_SnapshotIdentifier_AutoMinorVersionUpgrade
=== PAUSE TestAccAWSDBInstance_SnapshotIdentifier_AutoMinorVersionUpgrade
=== RUN TestAccAWSDBInstance_SnapshotIdentifier_AvailabilityZone
=== PAUSE TestAccAWSDBInstance_SnapshotIdentifier_AvailabilityZone
=== RUN TestAccAWSDBInstance_SnapshotIdentifier_BackupRetentionPeriod
=== PAUSE TestAccAWSDBInstance_SnapshotIdentifier_BackupRetentionPeriod
=== RUN TestAccAWSDBInstance_SnapshotIdentifier_BackupRetentionPeriod_Unset
=== PAUSE TestAccAWSDBInstance_SnapshotIdentifier_BackupRetentionPeriod_Unset
=== RUN TestAccAWSDBInstance_SnapshotIdentifier_BackupWindow
=== PAUSE TestAccAWSDBInstance_SnapshotIdentifier_BackupWindow
=== RUN TestAccAWSDBInstance_SnapshotIdentifier_DbSubnetGroupName
=== PAUSE TestAccAWSDBInstance_SnapshotIdentifier_DbSubnetGroupName
=== RUN TestAccAWSDBInstance_SnapshotIdentifier_DbSubnetGroupName_RamShared
=== PAUSE TestAccAWSDBInstance_SnapshotIdentifier_DbSubnetGroupName_RamShared
=== RUN TestAccAWSDBInstance_SnapshotIdentifier_DbSubnetGroupName_VpcSecurityGroupIds
=== PAUSE TestAccAWSDBInstance_SnapshotIdentifier_DbSubnetGroupName_VpcSecurityGroupIds
=== RUN TestAccAWSDBInstance_SnapshotIdentifier_DeletionProtection
=== PAUSE TestAccAWSDBInstance_SnapshotIdentifier_DeletionProtection
=== RUN TestAccAWSDBInstance_SnapshotIdentifier_IamDatabaseAuthenticationEnabled
=== PAUSE TestAccAWSDBInstance_SnapshotIdentifier_IamDatabaseAuthenticationEnabled
=== RUN TestAccAWSDBInstance_SnapshotIdentifier_MaintenanceWindow
=== PAUSE TestAccAWSDBInstance_SnapshotIdentifier_MaintenanceWindow
=== RUN TestAccAWSDBInstance_SnapshotIdentifier_MaxAllocatedStorage
=== PAUSE TestAccAWSDBInstance_SnapshotIdentifier_MaxAllocatedStorage
=== RUN TestAccAWSDBInstance_SnapshotIdentifier_Monitoring
=== PAUSE TestAccAWSDBInstance_SnapshotIdentifier_Monitoring
=== RUN TestAccAWSDBInstance_SnapshotIdentifier_MultiAZ
=== PAUSE TestAccAWSDBInstance_SnapshotIdentifier_MultiAZ
=== RUN TestAccAWSDBInstance_SnapshotIdentifier_MultiAZ_SQLServer
=== PAUSE TestAccAWSDBInstance_SnapshotIdentifier_MultiAZ_SQLServer
=== RUN TestAccAWSDBInstance_SnapshotIdentifier_ParameterGroupName
=== PAUSE TestAccAWSDBInstance_SnapshotIdentifier_ParameterGroupName
=== RUN TestAccAWSDBInstance_SnapshotIdentifier_Port
=== PAUSE TestAccAWSDBInstance_SnapshotIdentifier_Port
=== RUN TestAccAWSDBInstance_SnapshotIdentifier_Tags
=== PAUSE TestAccAWSDBInstance_SnapshotIdentifier_Tags
=== RUN TestAccAWSDBInstance_SnapshotIdentifier_Tags_Unset
provider_test.go:58: To be fixed: https://github.com/hashicorp/terraform-provider-aws/issues/5959
--- SKIP: TestAccAWSDBInstance_SnapshotIdentifier_Tags_Unset (0.00s)
=== RUN TestAccAWSDBInstance_SnapshotIdentifier_VpcSecurityGroupIds
=== PAUSE TestAccAWSDBInstance_SnapshotIdentifier_VpcSecurityGroupIds
=== RUN TestAccAWSDBInstance_SnapshotIdentifier_VpcSecurityGroupIds_Tags
=== PAUSE TestAccAWSDBInstance_SnapshotIdentifier_VpcSecurityGroupIds_Tags
=== RUN TestAccAWSDBInstance_MonitoringInterval
=== PAUSE TestAccAWSDBInstance_MonitoringInterval
=== RUN TestAccAWSDBInstance_MonitoringRoleArn_EnabledToDisabled
=== PAUSE TestAccAWSDBInstance_MonitoringRoleArn_EnabledToDisabled
=== RUN TestAccAWSDBInstance_MonitoringRoleArn_EnabledToRemoved
=== PAUSE TestAccAWSDBInstance_MonitoringRoleArn_EnabledToRemoved
=== RUN TestAccAWSDBInstance_MonitoringRoleArn_RemovedToEnabled
=== PAUSE TestAccAWSDBInstance_MonitoringRoleArn_RemovedToEnabled
=== RUN TestAccAWSDBInstance_separateIopsUpdate
=== PAUSE TestAccAWSDBInstance_separateIopsUpdate
=== RUN TestAccAWSDBInstance_portUpdate
=== PAUSE TestAccAWSDBInstance_portUpdate
=== RUN TestAccAWSDBInstance_MSSQL_TZ
=== PAUSE TestAccAWSDBInstance_MSSQL_TZ
=== RUN TestAccAWSDBInstance_MSSQL_Domain
=== PAUSE TestAccAWSDBInstance_MSSQL_Domain
=== RUN TestAccAWSDBInstance_MSSQL_DomainSnapshotRestore
=== PAUSE TestAccAWSDBInstance_MSSQL_DomainSnapshotRestore
=== RUN TestAccAWSDBInstance_MySQL_SnapshotRestoreWithEngineVersion
=== PAUSE TestAccAWSDBInstance_MySQL_SnapshotRestoreWithEngineVersion
=== RUN TestAccAWSDBInstance_MinorVersion
=== PAUSE TestAccAWSDBInstance_MinorVersion
=== RUN TestAccAWSDBInstance_ec2Classic
=== PAUSE TestAccAWSDBInstance_ec2Classic
=== RUN TestAccAWSDBInstance_cloudwatchLogsExportConfiguration
=== PAUSE TestAccAWSDBInstance_cloudwatchLogsExportConfiguration
=== RUN TestAccAWSDBInstance_EnabledCloudwatchLogsExports_MySQL
=== PAUSE TestAccAWSDBInstance_EnabledCloudwatchLogsExports_MySQL
=== RUN TestAccAWSDBInstance_EnabledCloudwatchLogsExports_MSSQL
=== PAUSE TestAccAWSDBInstance_EnabledCloudwatchLogsExports_MSSQL
=== RUN TestAccAWSDBInstance_EnabledCloudwatchLogsExports_Oracle
=== PAUSE TestAccAWSDBInstance_EnabledCloudwatchLogsExports_Oracle
=== RUN TestAccAWSDBInstance_EnabledCloudwatchLogsExports_Postgresql
=== PAUSE TestAccAWSDBInstance_EnabledCloudwatchLogsExports_Postgresql
=== RUN TestAccAWSDBInstance_NoDeleteAutomatedBackups
=== PAUSE TestAccAWSDBInstance_NoDeleteAutomatedBackups
=== RUN TestAccAWSDBInstance_PerformanceInsightsEnabled_DisabledToEnabled
=== PAUSE TestAccAWSDBInstance_PerformanceInsightsEnabled_DisabledToEnabled
=== RUN TestAccAWSDBInstance_PerformanceInsightsEnabled_EnabledToDisabled
=== PAUSE TestAccAWSDBInstance_PerformanceInsightsEnabled_EnabledToDisabled
=== RUN TestAccAWSDBInstance_PerformanceInsightsKmsKeyId
=== PAUSE TestAccAWSDBInstance_PerformanceInsightsKmsKeyId
=== RUN TestAccAWSDBInstance_PerformanceInsightsRetentionPeriod
=== PAUSE TestAccAWSDBInstance_PerformanceInsightsRetentionPeriod
=== RUN TestAccAWSDBInstance_ReplicateSourceDb_PerformanceInsightsEnabled
=== PAUSE TestAccAWSDBInstance_ReplicateSourceDb_PerformanceInsightsEnabled
=== RUN TestAccAWSDBInstance_SnapshotIdentifier_PerformanceInsightsEnabled
=== PAUSE TestAccAWSDBInstance_SnapshotIdentifier_PerformanceInsightsEnabled
=== RUN TestAccAWSDBInstance_CACertificateIdentifier
=== PAUSE TestAccAWSDBInstance_CACertificateIdentifier
=== RUN TestAccAWSDBInstance_RestoreToPointInTime_SourceIdentifier
=== PAUSE TestAccAWSDBInstance_RestoreToPointInTime_SourceIdentifier
=== RUN TestAccAWSDBInstance_RestoreToPointInTime_SourceResourceID
=== PAUSE TestAccAWSDBInstance_RestoreToPointInTime_SourceResourceID
=== CONT TestAccAWSDBInstance_basic
=== CONT TestAccAWSDBInstance_SnapshotIdentifier_BackupRetentionPeriod
=== CONT TestAccAWSDBInstance_separateIopsUpdate
=== CONT TestAccAWSDBInstance_RestoreToPointInTime_SourceResourceID
=== CONT TestAccAWSDBInstance_portUpdate
=== CONT TestAccAWSDBInstance_MonitoringRoleArn_RemovedToEnabled
=== CONT TestAccAWSDBInstance_MonitoringRoleArn_EnabledToRemoved
=== CONT TestAccAWSDBInstance_MonitoringRoleArn_EnabledToDisabled
=== CONT TestAccAWSDBInstance_MonitoringInterval
=== CONT TestAccAWSDBInstance_SnapshotIdentifier_VpcSecurityGroupIds_Tags
--- PASS: TestAccAWSDBInstance_basic (548.38s)
=== CONT TestAccAWSDBInstance_SnapshotIdentifier_VpcSecurityGroupIds
--- PASS: TestAccAWSDBInstance_portUpdate (603.38s)
=== CONT TestAccAWSDBInstance_SnapshotIdentifier_Tags
--- PASS: TestAccAWSDBInstance_MonitoringRoleArn_RemovedToEnabled (665.87s)
=== CONT TestAccAWSDBInstance_SnapshotIdentifier_Port
--- PASS: TestAccAWSDBInstance_MonitoringRoleArn_EnabledToDisabled (698.28s)
=== CONT TestAccAWSDBInstance_SnapshotIdentifier_ParameterGroupName
--- PASS: TestAccAWSDBInstance_separateIopsUpdate (777.21s)
=== CONT TestAccAWSDBInstance_SnapshotIdentifier_MultiAZ_SQLServer
--- PASS: TestAccAWSDBInstance_MonitoringRoleArn_EnabledToRemoved (815.52s)
=== CONT TestAccAWSDBInstance_SnapshotIdentifier_MultiAZ
--- PASS: TestAccAWSDBInstance_MonitoringInterval (1064.22s)
=== CONT TestAccAWSDBInstance_SnapshotIdentifier_Monitoring
--- PASS: TestAccAWSDBInstance_SnapshotIdentifier_VpcSecurityGroupIds_Tags (1240.68s)
=== CONT TestAccAWSDBInstance_SnapshotIdentifier_MaxAllocatedStorage
--- PASS: TestAccAWSDBInstance_RestoreToPointInTime_SourceResourceID (1307.12s)
=== CONT TestAccAWSDBInstance_SnapshotIdentifier_MaintenanceWindow
--- PASS: TestAccAWSDBInstance_SnapshotIdentifier_BackupRetentionPeriod (1394.90s)
=== CONT TestAccAWSDBInstance_SnapshotIdentifier_IamDatabaseAuthenticationEnabled
--- PASS: TestAccAWSDBInstance_SnapshotIdentifier_Tags (1153.54s)
=== CONT TestAccAWSDBInstance_SnapshotIdentifier_DeletionProtection
--- PASS: TestAccAWSDBInstance_SnapshotIdentifier_Port (1191.81s)
=== CONT TestAccAWSDBInstance_SnapshotIdentifier_DbSubnetGroupName_VpcSecurityGroupIds
--- PASS: TestAccAWSDBInstance_SnapshotIdentifier_VpcSecurityGroupIds (1309.47s)
=== CONT TestAccAWSDBInstance_SnapshotIdentifier_DbSubnetGroupName_RamShared
provider_test.go:715: 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: TestAccAWSDBInstance_SnapshotIdentifier_DbSubnetGroupName_RamShared (0.04s)
=== CONT TestAccAWSDBInstance_SnapshotIdentifier_DbSubnetGroupName
--- PASS: TestAccAWSDBInstance_SnapshotIdentifier_ParameterGroupName (1307.20s)
=== CONT TestAccAWSDBInstance_SnapshotIdentifier_BackupWindow
--- PASS: TestAccAWSDBInstance_SnapshotIdentifier_Monitoring (1328.12s)
=== CONT TestAccAWSDBInstance_SnapshotIdentifier_BackupRetentionPeriod_Unset
--- PASS: TestAccAWSDBInstance_SnapshotIdentifier_MaxAllocatedStorage (1152.62s)
=== CONT TestAccAWSDBInstance_EnabledCloudwatchLogsExports_Postgresql
--- PASS: TestAccAWSDBInstance_SnapshotIdentifier_MaintenanceWindow (1197.25s)
=== CONT TestAccAWSDBInstance_RestoreToPointInTime_SourceIdentifier
--- PASS: TestAccAWSDBInstance_SnapshotIdentifier_IamDatabaseAuthenticationEnabled (1130.06s)
=== CONT TestAccAWSDBInstance_CACertificateIdentifier
=== CONT TestAccAWSDBInstance_SnapshotIdentifier_MultiAZ_SQLServer
resource_aws_db_instance_test.go:1830: Step 1/1 error: Check failed: Check 4/4 error: aws_db_instance.test: Attribute 'multi_az' expected "true", got "false"
--- PASS: TestAccAWSDBInstance_SnapshotIdentifier_MultiAZ (1997.02s)
=== CONT TestAccAWSDBInstance_SnapshotIdentifier_PerformanceInsightsEnabled
--- PASS: TestAccAWSDBInstance_EnabledCloudwatchLogsExports_Postgresql (428.24s)
=== CONT TestAccAWSDBInstance_ReplicateSourceDb_PerformanceInsightsEnabled
--- PASS: TestAccAWSDBInstance_SnapshotIdentifier_DbSubnetGroupName (1008.62s)
=== CONT TestAccAWSDBInstance_PerformanceInsightsRetentionPeriod
--- PASS: TestAccAWSDBInstance_CACertificateIdentifier (446.00s)
=== CONT TestAccAWSDBInstance_PerformanceInsightsKmsKeyId
--- PASS: TestAccAWSDBInstance_SnapshotIdentifier_DbSubnetGroupName_VpcSecurityGroupIds (1124.33s)
=== CONT TestAccAWSDBInstance_PerformanceInsightsEnabled_EnabledToDisabled
--- PASS: TestAccAWSDBInstance_SnapshotIdentifier_DeletionProtection (1236.30s)
=== CONT TestAccAWSDBInstance_PerformanceInsightsEnabled_DisabledToEnabled
--- FAIL: TestAccAWSDBInstance_SnapshotIdentifier_MultiAZ_SQLServer (2263.25s)
=== CONT TestAccAWSDBInstance_NoDeleteAutomatedBackups
--- PASS: TestAccAWSDBInstance_SnapshotIdentifier_BackupWindow (1047.68s)
=== CONT TestAccAWSDBInstance_ec2Classic
--- PASS: TestAccAWSDBInstance_ec2Classic (424.21s)
=== CONT TestAccAWSDBInstance_EnabledCloudwatchLogsExports_Oracle
resource_aws_db_instance_test.go:2556: Step 1/2 error: Error running pre-apply refresh: exit status 1
Error: error reading RDS orderable DB instance options: InvalidParameterCombination: Cannot find version 11.2.0.4.v25 for oracle-se
status code: 400, request id: 0c6d7a28-dd60-4a11-9d6a-201f08790955
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: TestAccAWSDBInstance_EnabledCloudwatchLogsExports_Oracle (2.45s)
=== CONT TestAccAWSDBInstance_EnabledCloudwatchLogsExports_MSSQL
--- PASS: TestAccAWSDBInstance_RestoreToPointInTime_SourceIdentifier (1282.52s)
=== CONT TestAccAWSDBInstance_EnabledCloudwatchLogsExports_MySQL
--- PASS: TestAccAWSDBInstance_NoDeleteAutomatedBackups (761.06s)
=== CONT TestAccAWSDBInstance_cloudwatchLogsExportConfiguration
--- PASS: TestAccAWSDBInstance_PerformanceInsightsEnabled_DisabledToEnabled (825.64s)
=== CONT TestAccAWSDBInstance_MSSQL_DomainSnapshotRestore
--- PASS: TestAccAWSDBInstance_PerformanceInsightsRetentionPeriod (991.95s)
=== CONT TestAccAWSDBInstance_MinorVersion
--- PASS: TestAccAWSDBInstance_SnapshotIdentifier_BackupRetentionPeriod_Unset (1620.37s)
=== CONT TestAccAWSDBInstance_MySQL_SnapshotRestoreWithEngineVersion
--- PASS: TestAccAWSDBInstance_PerformanceInsightsKmsKeyId (1072.01s)
=== CONT TestAccAWSDBInstance_MSSQL_Domain
--- PASS: TestAccAWSDBInstance_PerformanceInsightsEnabled_EnabledToDisabled (1074.65s)
=== CONT TestAccAWSDBInstance_MSSQL_TZ
=== CONT TestAccAWSDBInstance_EnabledCloudwatchLogsExports_MySQL
resource_aws_db_instance_test.go:2470: Step 2/4 error: After applying this test step and performing a `terraform refresh`, the plan was not empty.
stdout
Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
~ update in-place
Terraform will perform the following actions:
# aws_db_instance.bar will be updated in-place
~ resource "aws_db_instance" "bar" {
~ enabled_cloudwatch_logs_exports = [
+ "general",
# (2 unchanged elements hidden)
]
id = "foobarbaz-test-terraform-2521903670497593162"
name = "baz"
tags = {}
# (45 unchanged attributes hidden)
}
Plan: 0 to add, 1 to change, 0 to destroy.
--- PASS: TestAccAWSDBInstance_cloudwatchLogsExportConfiguration (462.98s)
=== CONT TestAccAWSDBInstance_ReplicateSourceDb_AvailabilityZone
--- PASS: TestAccAWSDBInstance_MinorVersion (477.51s)
=== CONT TestAccAWSDBInstance_SnapshotIdentifier_AvailabilityZone
--- FAIL: TestAccAWSDBInstance_EnabledCloudwatchLogsExports_MySQL (614.50s)
=== CONT TestAccAWSDBInstance_SnapshotIdentifier_AutoMinorVersionUpgrade
--- PASS: TestAccAWSDBInstance_SnapshotIdentifier_PerformanceInsightsEnabled (1689.55s)
=== CONT TestAccAWSDBInstance_SnapshotIdentifier_AllowMajorVersionUpgrade
--- PASS: TestAccAWSDBInstance_EnabledCloudwatchLogsExports_MSSQL (1047.89s)
=== CONT TestAccAWSDBInstance_SnapshotIdentifier_Io1Storage
--- PASS: TestAccAWSDBInstance_ReplicateSourceDb_PerformanceInsightsEnabled (1707.44s)
=== CONT TestAccAWSDBInstance_SnapshotIdentifier_AllocatedStorage
--- PASS: TestAccAWSDBInstance_SnapshotIdentifier_AvailabilityZone (1033.73s)
=== CONT TestAccAWSDBInstance_SnapshotIdentifierRemoved
--- PASS: TestAccAWSDBInstance_SnapshotIdentifier_AutoMinorVersionUpgrade (1188.44s)
=== CONT TestAccAWSDBInstance_SnapshotIdentifier
--- PASS: TestAccAWSDBInstance_ReplicateSourceDb_AvailabilityZone (1462.41s)
=== CONT TestAccAWSDBInstance_S3Import
--- PASS: TestAccAWSDBInstance_SnapshotIdentifier_AllocatedStorage (1484.40s)
=== CONT TestAccAWSDBInstance_ReplicateSourceDb_CACertificateIdentifier
--- PASS: TestAccAWSDBInstance_MySQL_SnapshotRestoreWithEngineVersion (2128.17s)
=== CONT TestAccAWSDBInstance_ReplicateSourceDb_VpcSecurityGroupIds
--- PASS: TestAccAWSDBInstance_SnapshotIdentifier_Io1Storage (1630.06s)
=== CONT TestAccAWSDBInstance_ReplicateSourceDb_Port
=== CONT TestAccAWSDBInstance_S3Import
resource_aws_db_instance_test.go:1250: Step 1/1 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.s3,
on terraform_plugin_test.tf line 124, in resource "aws_db_instance" "s3":
124: resource "aws_db_instance" "s3" {
--- FAIL: TestAccAWSDBInstance_S3Import (895.50s)
=== CONT TestAccAWSDBInstance_ReplicateSourceDb_ParameterGroupName
--- PASS: TestAccAWSDBInstance_MSSQL_TZ (2583.52s)
=== CONT TestAccAWSDBInstance_ReplicateSourceDb_MultiAZ
--- PASS: TestAccAWSDBInstance_SnapshotIdentifier_AllowMajorVersionUpgrade (2141.63s)
=== CONT TestAccAWSDBInstance_ReplicateSourceDb_Monitoring
--- PASS: TestAccAWSDBInstance_SnapshotIdentifierRemoved (1290.23s)
=== CONT TestAccAWSDBInstance_ReplicateSourceDb_MaxAllocatedStorage
--- PASS: TestAccAWSDBInstance_SnapshotIdentifier (1139.42s)
=== CONT TestAccAWSDBInstance_ReplicateSourceDb_MaintenanceWindow
--- PASS: TestAccAWSDBInstance_MSSQL_DomainSnapshotRestore (3578.95s)
=== CONT TestAccAWSDBInstance_ReplicateSourceDb_IamDatabaseAuthenticationEnabled
--- PASS: TestAccAWSDBInstance_ReplicateSourceDb_CACertificateIdentifier (1463.74s)
=== CONT TestAccAWSDBInstance_ReplicateSourceDb_DbSubnetGroupName_VpcSecurityGroupIds
--- PASS: TestAccAWSDBInstance_ReplicateSourceDb_VpcSecurityGroupIds (1448.50s)
=== CONT TestAccAWSDBInstance_ReplicateSourceDb_DbSubnetGroupName_RamShared
provider_test.go:715: 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: TestAccAWSDBInstance_ReplicateSourceDb_DbSubnetGroupName_RamShared (0.09s)
=== CONT TestAccAWSDBInstance_ReplicateSourceDb_DbSubnetGroupName
--- PASS: TestAccAWSDBInstance_ReplicateSourceDb_Port (1558.98s)
=== CONT TestAccAWSDBInstance_ReplicateSourceDb_BackupWindow
--- PASS: TestAccAWSDBInstance_MSSQL_Domain (3971.87s)
=== CONT TestAccAWSDBInstance_ReplicateSourceDb_BackupRetentionPeriod
--- PASS: TestAccAWSDBInstance_ReplicateSourceDb_MaxAllocatedStorage (1433.63s)
=== CONT TestAccAWSDBInstance_DeletionProtection
--- PASS: TestAccAWSDBInstance_ReplicateSourceDb_MaintenanceWindow (1385.06s)
=== CONT TestAccAWSDBInstance_ReplicateSourceDb_AutoMinorVersionUpgrade
--- PASS: TestAccAWSDBInstance_ReplicateSourceDb_ParameterGroupName (1665.60s)
=== CONT TestAccAWSDBInstance_ReplicateSourceDb_AllowMajorVersionUpgrade
--- PASS: TestAccAWSDBInstance_ReplicateSourceDb_Monitoring (1653.02s)
=== CONT TestAccAWSDBInstance_ReplicateSourceDb_AllocatedStorageAndIops
--- PASS: TestAccAWSDBInstance_DeletionProtection (508.07s)
=== CONT TestAccAWSDBInstance_ReplicateSourceDb_Iops
--- PASS: TestAccAWSDBInstance_ReplicateSourceDb_IamDatabaseAuthenticationEnabled (1392.03s)
=== CONT TestAccAWSDBInstance_ReplicateSourceDb_AllocatedStorage
--- PASS: TestAccAWSDBInstance_ReplicateSourceDb_MultiAZ (2348.64s)
=== CONT TestAccAWSDBInstance_ReplicateSourceDb
--- PASS: TestAccAWSDBInstance_ReplicateSourceDb_BackupWindow (1429.29s)
=== CONT TestAccAWSDBInstance_Password
--- PASS: TestAccAWSDBInstance_ReplicateSourceDb_BackupRetentionPeriod (1426.16s)
=== CONT TestAccAWSDBInstance_MaxAllocatedStorage
--- PASS: TestAccAWSDBInstance_ReplicateSourceDb_DbSubnetGroupName_VpcSecurityGroupIds (2047.75s)
=== CONT TestAccAWSDBInstance_IsAlreadyBeingDeleted
=== CONT TestAccAWSDBInstance_ReplicateSourceDb_AllocatedStorage
resource_aws_db_instance_test.go:666: Step 1/1 error: Check failed: Check 4/4 error: aws_db_instance.test: Attribute 'allocated_storage' expected "10", got "5"
--- PASS: TestAccAWSDBInstance_Password (540.51s)
=== CONT TestAccAWSDBInstance_FinalSnapshotIdentifier_SkipFinalSnapshot
--- PASS: TestAccAWSDBInstance_ReplicateSourceDb_AllowMajorVersionUpgrade (1404.29s)
=== CONT TestAccAWSDBInstance_FinalSnapshotIdentifier
--- PASS: TestAccAWSDBInstance_ReplicateSourceDb_AutoMinorVersionUpgrade (1580.71s)
=== CONT TestAccAWSDBInstance_optionGroup
--- PASS: TestAccAWSDBInstance_ReplicateSourceDb_DbSubnetGroupName (2154.57s)
=== CONT TestAccAWSDBInstance_DbSubnetGroupName_VpcSecurityGroupIds
--- PASS: TestAccAWSDBInstance_IsAlreadyBeingDeleted (499.05s)
=== CONT TestAccAWSDBInstance_DbSubnetGroupName_RamShared
provider_test.go:715: 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: TestAccAWSDBInstance_DbSubnetGroupName_RamShared (0.04s)
=== CONT TestAccAWSDBInstance_DbSubnetGroupName
--- FAIL: TestAccAWSDBInstance_ReplicateSourceDb_AllocatedStorage (1251.79s)
=== CONT TestAccAWSDBInstance_AllowMajorVersionUpgrade
--- PASS: TestAccAWSDBInstance_MaxAllocatedStorage (607.16s)
=== CONT TestAccAWSDBInstance_iamAuth
--- PASS: TestAccAWSDBInstance_DbSubnetGroupName_VpcSecurityGroupIds (473.49s)
=== CONT TestAccAWSDBInstance_namePrefix
--- PASS: TestAccAWSDBInstance_ReplicateSourceDb_AllocatedStorageAndIops (1925.76s)
=== CONT TestAccAWSDBInstance_subnetGroup
--- PASS: TestAccAWSDBInstance_ReplicateSourceDb (1268.04s)
=== CONT TestAccAWSDBInstance_OnlyMajorVersion
--- PASS: TestAccAWSDBInstance_optionGroup (578.18s)
=== CONT TestAccAWSDBInstance_kmsKey
--- PASS: TestAccAWSDBInstance_FinalSnapshotIdentifier_SkipFinalSnapshot (762.05s)
=== CONT TestAccAWSDBInstance_generatedName
--- PASS: TestAccAWSDBInstance_DbSubnetGroupName (453.06s)
--- PASS: TestAccAWSDBInstance_ReplicateSourceDb_Iops (1897.27s)
--- PASS: TestAccAWSDBInstance_AllowMajorVersionUpgrade (466.72s)
--- PASS: TestAccAWSDBInstance_iamAuth (473.16s)
--- PASS: TestAccAWSDBInstance_FinalSnapshotIdentifier (848.90s)
--- PASS: TestAccAWSDBInstance_OnlyMajorVersion (320.89s)
--- PASS: TestAccAWSDBInstance_namePrefix (435.41s)
--- PASS: TestAccAWSDBInstance_kmsKey (464.54s)
--- PASS: TestAccAWSDBInstance_generatedName (466.91s)
--- PASS: TestAccAWSDBInstance_subnetGroup (971.20s)
Failures are not related to this change and are occurring in nightly CI.
1196612
to
4407fb1
Compare
4407fb1
to
6dfe07c
Compare
This functionality has been released in v3.54.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 @bill-rich, We're seeing new diffs on plans since the latest release which might be caused by this PR. Was this an expected result? (These instances have not had recent upgrades or other changes). Should we now be
|
We are also seeing the same behaviour as @tdmalone - we have had to pin our provider version to hold it back from using v3.54.0 as we don't know what's going to happen if we apply and don't want our RDS instances to be destroyed and recreated accidentally. |
We are also experiencing the same issue, if this is expected please can a suitable alternative be provided for this please? |
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. |
Instead of suppressing diffs to allow for using less specific
engine_version
s, allowengine_version
to be less specific, and keep the actual engine version inengine_version_actual
.Community Note
Relates #20211.
Closes #19240.
Closes #14277.
Output from acceptance testing: