I am using Azure devops pipeline for deploying application onto the AWS. When I am deploying everything works fine. My requirement, I want to make rds publicly accessible alone false after task completed on deployment. I am trying to create on folder and added rds.tf, main.tf, variables.tf which i do for initial rds creation(same replicating for update rds publicly accessible false). Maintaining the terraform state in s3 bucket backend process. In this time, i m getting error “DB instance already created”.
How to resolve the error and make my rds update using terraform. Any one please suggest me!!