title: How to ignore duplicate resource error during terraform apply?
body: <p>I am trying to reapply my changes using <code>terraform apply</code> but when I am doing it again , it gives me error with resource already exists and stops the deployment . </p>
  
  <p>Example:</p>
  
  <pre><code>Error: AlreadyExistsException: An alias with the name arn:aws:kms:us-east-1:490449857273:alias/continuedep-cmk-us-east-1 already exists
          status code: 400, request id: 4447fd20-d33b-4c87-891e-cc5e09cc6108
  
    on ../../../modules/kms_cmk/main.tf line 11, in resource "aws_kms_alias" "keyalias":
    11: resource "aws_kms_alias" "keyalias" {
  
  
  
  Error: Error creating DB Subnet Group: DBSubnetGroupAlreadyExists: The DB subnet group 'continuedep-sbg' already exists.
          status code: 400, request id: 97d662b6-79d4-4fde-aaf7-a2f3e5a0bd9e
  
    on ../../../modules/rds-postgres/main.tf line 2, in resource "aws_db_subnet_group" "generic_db_subnet_group":
     2: resource "aws_db_subnet_group" "generic_db_subnet_group" {
  </code></pre>
  
  <p>Likewise i get errors with many other existing resources.I want to avoid/ignore such errors and continue my deployment .</p>
  
  <p>What other way i can use from which I can restart my terraform resource deployment from where it is interrupted in the middle. </p>
  
  <p>My terraform version is :
  <code>Terraform v0.12.9</code></p>