You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Improve fetching of env_crn in Runtime role to not rely on Platform role
* Have DF teardown only execute when an Environment is found
* Introduce 'purge' keyword for Definitions to signal that an AWS VPC and all child objects, and all unattached EBS volumes in the name_prefix, should be removed from the given infra_region
* Add network, compute, and storage discovery to AWS Initialization
* Add teardown of discovered network, compute and storage when purge is used
* Enforce check that a CDP Environment has no listed descendants before allowing teardown
* Add new Runtime purge discovery and execution controlled by new purge key
* Move Datahub purge to after Experiences that lean on Datahubs for execution to allow controlled removal to be tried first
* Improve async wait for Runtime removal to complete
* Add force delete, and force data removal options to Runtimes where appropriate
* Standardise usage of json_query to correctly use FQCN of community.general.json_query
* Add warning to Create AWS Buckets function for common error where user attempts to create a bucket that is already owned elsewhere
* Remove unused Runtime service info registrations
* Make EKS Teardown async in case of multiple orphaned clusters
* Handle edge case for network teardown where the entry exists but has no objects to remove
* Reorder AWS Network teardown so that NGW and RTB are removed before cleaning ENI that may be using them
* Improve setting CDP Environment CRN during Runtime role Discovery when an Environment matching the name is found. Do not default to an empty string.
* Add task to discover list of DF Service Deployments matching target Environment during Runtime role execution.
* Improve logic around when to run DF and DW teardown tasks.
* Add option to loop over DF Service teardown for situations where multiple Disabled services may need purging besides the single Active service.
* Source force_teardown from globals rather than from top level key
Signed-off-by: Daniel Chaffelson <chaffelson@gmail.com>
Copy file name to clipboardExpand all lines: roles/common/defaults/main.yml
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -138,4 +138,7 @@ common__include_dw: "{{ dw is defined | bool }}"
138
138
common__include_de: "{{ de is defined | bool }}"
139
139
common__include_df: "{{ df is defined | bool }}"
140
140
common__include_datahub: "{{ datahub is defined | bool }}"
141
-
common__include_opdb: "{{ opdb is defined | bool }}"
141
+
common__include_opdb: "{{ opdb is defined | bool }}"
142
+
143
+
# Teardown
144
+
common__force_teardown: "{{ globals.force_teardown | default(False) }}"# WARNING: This will purge your namespace and anything related to it, use with extreme caution
0 commit comments