diff --git a/examples/cdw/application.yml b/examples/cdw/application.yml new file mode 100644 index 0000000..cc80908 --- /dev/null +++ b/examples/cdw/application.yml @@ -0,0 +1,25 @@ +--- + +# Copyright 2021 Cloudera, Inc. All Rights Reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +- name: Coda + hosts: localhost + connection: local + gather_facts: no + become: no + tasks: + - name: Deployment results + debug: + msg: Success! \ No newline at end of file diff --git a/examples/cdw/definition.yml b/examples/cdw/definition.yml new file mode 100644 index 0000000..764c454 --- /dev/null +++ b/examples/cdw/definition.yml @@ -0,0 +1,27 @@ +--- + +# Copyright 2021 Cloudera, Inc. All Rights Reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +dw: + overlay_network: no + private_load_balancer: no + private_worker_nodes: yes + definitions: + - virtual_warehouses: + - type: "hive" + template: "xsmall" + autoscaling: + min_nodes: 2 + max_nodes: 6 \ No newline at end of file