<h3 dir="auto">Description</h3>
<p dir="auto">While working on implementing <a href="https://github.com/apache/airflow/pull/26457" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/26457/hovercard">custom task notes</a> I wanted to test my changes with <a href="https://airflow.apache.org/docs/apache-airflow/2.3.0/concepts/dynamic-task-mapping.html#simple-mapping" rel="nofollow">Dynamic Task mapping</a>, but we don't have any example DAGs for this.<br>
We should add an example DAG containing this.</p>
<h3 dir="auto">Use case/motivation</h3>
<p dir="auto">For showing our users how this functionality can be used and also to improve testability for new features.</p>
<h3 dir="auto">Related issues</h3>
<p dir="auto"><em>No response</em></p>
<h3 dir="auto">Are you willing to submit a PR?</h3>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Yes I am willing to submit a PR!</li>
</ul>
<h3 dir="auto">Code of Conduct</h3>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I agree to follow this project's <a href="https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md">Code of Conduct</a></li>
</ul>
<h3 dir="auto">Apache Airflow version</h3>
<p dir="auto">2.3.0 (latest released)</p>
<h3 dir="auto">What happened</h3>
<p dir="auto">The automatic <code class="notranslate">cloud_sql_proxy</code> download via the <code class="notranslate">CloudSqlProxyRunner</code> is not working because the environment is using the <code class="notranslate">uname -a</code> info and it is pull <code class="notranslate">x86_64</code>.  The url for the <code class="notranslate">cloud_sql_proxy</code> binaries are no longer  using <code class="notranslate">x86_64</code>.  Instead, the binaries are now using <code class="notranslate">amd64</code> indicator.</p>
<h3 dir="auto">What you think should happen instead</h3>
<p dir="auto">The hardcoded process should be opened up to include a user defined option via an extra parameter for the CloudSQLDatabaseHook and other hooks.  This would hedge for future URL updates without the need for a full blown release.</p>
<h3 dir="auto">How to reproduce</h3>
<p dir="auto">Run in an environment that has no local copy of the <code class="notranslate">cloud_sql_proxy</code> and the <code class="notranslate">uname -a</code> gives <code class="notranslate">x86_64</code>.</p>
<h3 dir="auto">Operating System</h3>
<p dir="auto">Linux</p>
<h3 dir="auto">Versions of Apache Airflow Providers</h3>
<p dir="auto"><em>No response</em></p>
<h3 dir="auto">Deployment</h3>
<p dir="auto">Composer</p>
<h3 dir="auto">Deployment details</h3>
<p dir="auto"><em>No response</em></p>
<h3 dir="auto">Anything else</h3>
<p dir="auto">This will happen every time the <code class="notranslate">_download_sql_proxy_if_needed</code> is ran in an <code class="notranslate">x86_64</code> environment.</p>
<h3 dir="auto">Are you willing to submit PR?</h3>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Yes I am willing to submit a PR!</li>
</ul>
<h3 dir="auto">Code of Conduct</h3>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I agree to follow this project's <a href="https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md">Code of Conduct</a></li>
</ul>