Skip to content

Commit

Permalink
further adjust
Browse files Browse the repository at this point in the history
  • Loading branch information
marknet15 committed Oct 1, 2021
1 parent f177d0b commit cb55043
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -200,18 +200,6 @@
- '"db_instance_class" in result.pending_modified_values or result.db_instance_class == "db.t2.medium"'
- '"engine_version" in result.pending_modified_values or result.engine_version == "10.2.21"'

- name: Delete the instance
rds_instance:
id: '{{ instance_id }}'
state: absent
skip_final_snapshot: True
register: result

- assert:
that:
- result.changed
- '"pending_modified_values" not in result'

always:

- name: Delete the instance
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@
wait: false
ignore_errors: yes


- name: Remove the point in time restored DB
rds_instance:
id: "{{ instance_id }}-point-in-time"
Expand Down

0 comments on commit cb55043

Please sign in to comment.