Skip to content

Commit 20e504a

Browse files
committed
Update DW cluster setup (remove initial catalog setup)
Signed-off-by: Webster Mudge <wmudge@cloudera.com>
1 parent 5de1fa2 commit 20e504a

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

roles/runtime/tasks/setup_aws.yml

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -42,18 +42,8 @@
4242
env: "{{ run__env_name }}"
4343
overlay: "{{ run__dw_overlay_network }}"
4444
private_load_balancer: "{{ run__dw_private_load_balancer }}"
45-
aws_public_subnets: "{{ run__datahub_public_subnet_ids }}"
46-
aws_private_subnets: "{{ run__datahub_private_subnet_ids if run__dw_private_worker_nodes else [] }}"
47-
state: present
48-
wait: yes
49-
register: __dw_builds
50-
51-
# TODO Refactor for non-AWS?
52-
- name: Create CDP DW Database Catalogs
53-
cloudera.cloud.dw_database_catalog:
54-
cluster_id: "{{ __dw_builds.cluster.id }}"
55-
name: "{{ __dw_dbc_config.name }}"
56-
load_demo_data: "{{ __dw_dbc_config.load_demo_data }}"
45+
aws_public_subnets: "{{ run__aws_public_subnet_ids }}"
46+
aws_private_subnets: "{{ run__aws_private_subnet_ids if run__dw_private_worker_nodes else [] }}"
5747
state: present
5848
wait: yes
5949
async: 3600 # 1 hour timeout

0 commit comments

Comments
 (0)