- name: Attach existing RDS instance hosts: localhost roles: - { role: check } - { role: s3, when: "backend|bool == true" } - { role: dynamodb, when: "backend|bool == true" } - { role: attach_existing_rds } - { role: s3_config, when: "backend|bool == true and upload_config_to_s3|bool == true" } - { role: s3_debug, when: "backend|bool == true and upload_debug_info_to_s3|bool == true" } vars_prompt: - name: "confirmation" prompt: "Are you sure you want to attach the existing RDS? If backend variable is set to True, this action includes creating the S3 and DynamoDB table for storing Terraform state files." default: False