|
69 | 69 |
|
70 | 70 | - name: Create CDP DW Database catalogs |
71 | 71 | when: not __dw_dbc_config.use_default_dbc |
72 | | - cloudera.cloud.dw_dbc: |
| 72 | + cloudera.cloud.dw_database_catalog: |
73 | 73 | cluster_id : "{{ run__dw_list.clusters[0].id }}" |
74 | 74 | name: "{{ __dw_dbc_config.name }}" |
75 | 75 | load_demo_data: "{{ __dw_dbc_config.load_demo_data }}" |
|
97 | 97 | label: "{{ __dw_dbc_build.__dw_dbc_config.name }}" |
98 | 98 |
|
99 | 99 | - name: Set CDP DW Database catalog name to id map |
100 | | - when: __dw_dbc_build_async.dbcs is defined |
| 100 | + when: __dw_dbc_build_async.database_catalogs is defined |
101 | 101 | ansible.builtin.set_fact: |
102 | | - run__dw_dbc_ids: "{{ run__dw_dbc_ids | default({}) | combine({ __dw_dbc_build_async.dbcs[0].name : __dw_dbc_build_async.dbcs[0].id}) }}" |
| 102 | + run__dw_dbc_ids: "{{ run__dw_dbc_ids | default({}) | combine({ __dw_dbc_build_async.database_catalogs[0].name : __dw_dbc_build_async.database_catalogs[0].id}) }}" |
103 | 103 | loop: "{{ __dw_dbc_builds_async.results }}" |
104 | 104 | loop_control: |
105 | 105 | loop_var: __dw_dbc_build_async |
106 | 106 |
|
107 | 107 | - name: Create CDP DW Virtual warehouse |
108 | | - cloudera.cloud.dw_vw: |
| 108 | + cloudera.cloud.dw_virtual_warehouse: |
109 | 109 | cluster_id: "{{ run__dw_list.clusters[0].id }}" |
110 | 110 | dbc_id: "{{ run__dw_dbc_ids[__dw_vw_config.dbc_name] if not __dw_vw_config.use_default_dbc else run__dw_list.clusters[0].dbcs[0].id}}" |
111 | | - vw_type: "{{ __dw_vw_config.vw_type }}" |
| 111 | + type: "{{ __dw_vw_config.type }}" |
112 | 112 | name: "{{ __dw_vw_config.name }}" |
113 | 113 | template: "{{ __dw_vw_config.template }}" |
114 | | - autoscaling_min_cluster: "{{ __dw_vw_config.autoscaling_min_cluster | int }}" |
115 | | - autoscaling_max_cluster: "{{ __dw_vw_config.autoscaling_max_cluster | int }}" |
| 114 | + autoscaling_min_nodes: "{{ __dw_vw_config.autoscaling_min_nodes | int }}" |
| 115 | + autoscaling_max_nodes: "{{ __dw_vw_config.autoscaling_max_nodes | int }}" |
116 | 116 | common_configs: "{{ __dw_vw_config.common_configs }}" |
117 | 117 | application_configs: "{{ __dw_vw_config.application_configs }}" |
118 | 118 | ldap_groups: "{{ __dw_vw_config.ldap_groups }}" |
|
0 commit comments