RDS: Enhanced monitoring feature are not updated #8721
Labels
bug
provider/aws
waiting-response
An issue/pull request is waiting for a response from the community
A
terraform refresh
does not update the monitoring interval and role in the state file.Terraform Version
v0.6.16
Affected Resource(s)
aws_db_instance
Terraform Configuration Files
State File
AWS cli result
aws rds describe-db-instances --db-instance-identifier db --query "DBInstances[*].{MonitoringInterval:MonitoringInterval,MonitoringRoleArn:MonitoringRoleArn}"
terraform plan
resultExpected Behavior
The state file and the reality clearly differ. A
terraform refresh
should update the state file to the reflect that.Actual Behavior
A
terraform refresh
does not pick up the most recent state from AWS regarding monitoring interval and role ARN.Steps to Reproduce
terraform apply
terraform refresh
Important Factoids
The initial run of
terraform apply
failed.References
The text was updated successfully, but these errors were encountered: