--- # Copyright Red Hat, 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: "Tofu Action" environment: TF_CLI_ARGS: '-no-color' TF_IN_AUTOMATION: 'true' community.general.terraform: binary_path: "{{ tofu_binary_path.stdout }}" state: "{{ cifmw_tofu_plan_state }}" variables: "{{ cifmw_tofu_plan_variables | default(omit) }}" variables_files: "{{ cifmw_tofu_plan_variables_files | default(omit) }}" backend_config: "{{ cifmw_tofu_backend_config | default(omit) }}" backend_config_files: "{{ cifmw_tofu_backend_config_files | default(omit) }}" force_init: true init_reconfigure: true project_path: "{{ cifmw_tofu_project_path }}" check_mode: "{{ cifmw_tofu_check_mode }}" register: _tofu_plan_execution