Skip to content

Commit

Permalink
deploy: 68d106e
Browse files Browse the repository at this point in the history
  • Loading branch information
softwarefactory-project-zuul[bot] committed Sep 12, 2023
1 parent c2f052d commit 1c4ebd1
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -375,27 +375,27 @@ <h2><a class="toc-backref" href="#id4" role="doc-backlink">Notes</a><a class="he
<section id="examples">
<h2><a class="toc-backref" href="#id5" role="doc-backlink">Examples</a><a class="headerlink" href="#examples" title="Link to this heading"></a></h2>
<div class="highlight-yaml+jinja notranslate"><div class="highlight"><pre><span></span><span class="p p-Indicator">-</span><span class="w"> </span><span class="nt">name</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">obtain all ACM certificates</span>
<span class="w"> </span><span class="nt">community.aws.aws_acm_info</span><span class="p">:</span>
<span class="w"> </span><span class="nt">community.aws.acm_certificate_info</span><span class="p">:</span>

<span class="p p-Indicator">-</span><span class="w"> </span><span class="nt">name</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">obtain all information for a single ACM certificate</span>
<span class="w"> </span><span class="nt">community.aws.aws_acm_info</span><span class="p">:</span>
<span class="w"> </span><span class="nt">community.aws.acm_certificate_info</span><span class="p">:</span>
<span class="w"> </span><span class="nt">domain_name</span><span class="p">:</span><span class="w"> </span><span class="s">&quot;*.example_com&quot;</span>

<span class="p p-Indicator">-</span><span class="w"> </span><span class="nt">name</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">obtain all certificates pending validation</span>
<span class="w"> </span><span class="nt">community.aws.aws_acm_info</span><span class="p">:</span>
<span class="w"> </span><span class="nt">community.aws.acm_certificate_info</span><span class="p">:</span>
<span class="w"> </span><span class="nt">statuses</span><span class="p">:</span>
<span class="w"> </span><span class="p p-Indicator">-</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">PENDING_VALIDATION</span>

<span class="p p-Indicator">-</span><span class="w"> </span><span class="nt">name</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">obtain all certificates with tag Name=foo and myTag=bar</span>
<span class="w"> </span><span class="nt">community.aws.aws_acm_info</span><span class="p">:</span>
<span class="w"> </span><span class="nt">community.aws.acm_certificate_info</span><span class="p">:</span>
<span class="w"> </span><span class="nt">tags</span><span class="p">:</span>
<span class="w"> </span><span class="nt">Name</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">foo</span>
<span class="w"> </span><span class="nt">myTag</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">bar</span>


<span class="c1"># The output is still a list of certificates, just one item long.</span>
<span class="p p-Indicator">-</span><span class="w"> </span><span class="nt">name</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">obtain information about a certificate with a particular ARN</span>
<span class="w"> </span><span class="nt">community.aws.aws_acm_info</span><span class="p">:</span>
<span class="w"> </span><span class="nt">community.aws.acm_certificate_info</span><span class="p">:</span>
<span class="w"> </span><span class="nt">certificate_arn</span><span class="p">:</span><span class="w"> </span><span class="s">&quot;arn:aws:acm:ap-southeast-2:123456789012:certificate/abcdeabc-abcd-1234-4321-abcdeabcde12&quot;</span>
</pre></div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -446,14 +446,14 @@ <h2><a class="toc-backref" href="#id4" role="doc-backlink">Notes</a><a class="he
<section id="examples">
<h2><a class="toc-backref" href="#id5" role="doc-backlink">Examples</a><a class="headerlink" href="#examples" title="Link to this heading"></a></h2>
<div class="highlight-yaml+jinja notranslate"><div class="highlight"><pre><span></span><span class="p p-Indicator">-</span><span class="w"> </span><span class="nt">name</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">upload a self-signed certificate</span>
<span class="w"> </span><span class="nt">community.aws.aws_acm</span><span class="p">:</span>
<span class="w"> </span><span class="nt">community.aws.acm_certificate</span><span class="p">:</span>
<span class="w"> </span><span class="nt">certificate</span><span class="p">:</span><span class="w"> </span><span class="s">&quot;</span><span class="cp">{{</span> <span class="nv">lookup</span><span class="o">(</span><span class="s1">&#39;file&#39;</span><span class="o">,</span> <span class="s1">&#39;cert.pem&#39;</span> <span class="o">)</span> <span class="cp">}}</span><span class="s">&quot;</span>
<span class="w"> </span><span class="nt">privateKey</span><span class="p">:</span><span class="w"> </span><span class="s">&quot;</span><span class="cp">{{</span> <span class="nv">lookup</span><span class="o">(</span><span class="s1">&#39;file&#39;</span><span class="o">,</span> <span class="s1">&#39;key.pem&#39;</span> <span class="o">)</span> <span class="cp">}}</span><span class="s">&quot;</span>
<span class="w"> </span><span class="nt">name_tag</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">my_cert</span><span class="w"> </span><span class="c1"># to be applied through an AWS tag as &quot;Name&quot;:&quot;my_cert&quot;</span>
<span class="w"> </span><span class="nt">region</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">ap-southeast-2</span><span class="w"> </span><span class="c1"># AWS region</span>

<span class="p p-Indicator">-</span><span class="w"> </span><span class="nt">name</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">create/update a certificate with a chain</span>
<span class="w"> </span><span class="nt">community.aws.aws_acm</span><span class="p">:</span>
<span class="w"> </span><span class="nt">community.aws.acm_certificate</span><span class="p">:</span>
<span class="w"> </span><span class="nt">certificate</span><span class="p">:</span><span class="w"> </span><span class="s">&quot;</span><span class="cp">{{</span> <span class="nv">lookup</span><span class="o">(</span><span class="s1">&#39;file&#39;</span><span class="o">,</span> <span class="s1">&#39;cert.pem&#39;</span> <span class="o">)</span> <span class="cp">}}</span><span class="s">&quot;</span>
<span class="w"> </span><span class="nt">private_key</span><span class="p">:</span><span class="w"> </span><span class="s">&quot;</span><span class="cp">{{</span> <span class="nv">lookup</span><span class="o">(</span><span class="s1">&#39;file&#39;</span><span class="o">,</span> <span class="s1">&#39;key.pem&#39;</span> <span class="o">)</span> <span class="cp">}}</span><span class="s">&quot;</span>
<span class="w"> </span><span class="nt">name_tag</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">my_cert</span>
Expand All @@ -467,25 +467,25 @@ <h2><a class="toc-backref" href="#id5" role="doc-backlink">Examples</a><a class=
<span class="w"> </span><span class="nt">var</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">cert_create.certificate.arn</span>

<span class="p p-Indicator">-</span><span class="w"> </span><span class="nt">name</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">delete the cert we just created</span>
<span class="w"> </span><span class="nt">community.aws.aws_acm</span><span class="p">:</span>
<span class="w"> </span><span class="nt">community.aws.acm_certificate</span><span class="p">:</span>
<span class="w"> </span><span class="nt">name_tag</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">my_cert</span>
<span class="w"> </span><span class="nt">state</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">absent</span>
<span class="w"> </span><span class="nt">region</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">ap-southeast-2</span>

<span class="p p-Indicator">-</span><span class="w"> </span><span class="nt">name</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">delete a certificate with a particular ARN</span>
<span class="w"> </span><span class="nt">community.aws.aws_acm</span><span class="p">:</span>
<span class="w"> </span><span class="nt">community.aws.acm_certificate</span><span class="p">:</span>
<span class="w"> </span><span class="nt">certificate_arn</span><span class="p">:</span><span class="w"> </span><span class="s">&quot;arn:aws:acm:ap-southeast-2:123456789012:certificate/01234567-abcd-abcd-abcd-012345678901&quot;</span>
<span class="w"> </span><span class="nt">state</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">absent</span>
<span class="w"> </span><span class="nt">region</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">ap-southeast-2</span>

<span class="p p-Indicator">-</span><span class="w"> </span><span class="nt">name</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">delete all certificates with a particular domain name</span>
<span class="w"> </span><span class="nt">community.aws.aws_acm</span><span class="p">:</span>
<span class="w"> </span><span class="nt">community.aws.acm_certificate</span><span class="p">:</span>
<span class="w"> </span><span class="nt">domain_name</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">acm.ansible.com</span>
<span class="w"> </span><span class="nt">state</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">absent</span>
<span class="w"> </span><span class="nt">region</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">ap-southeast-2</span>

<span class="p p-Indicator">-</span><span class="w"> </span><span class="nt">name</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">add tags to an existing certificate with a particular ARN</span>
<span class="w"> </span><span class="nt">community.aws.aws_acm</span><span class="p">:</span>
<span class="w"> </span><span class="nt">community.aws.acm_certificate</span><span class="p">:</span>
<span class="w"> </span><span class="nt">certificate_arn</span><span class="p">:</span><span class="w"> </span><span class="s">&quot;arn:aws:acm:ap-southeast-2:123456789012:certificate/01234567-abcd-abcd-abcd-012345678901&quot;</span>
<span class="w"> </span><span class="nt">tags</span><span class="p">:</span>
<span class="w"> </span><span class="nt">Name</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">my_certificate</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -602,7 +602,7 @@ <h2><a class="toc-backref" href="#id5" role="doc-backlink">Examples</a><a class=
<span class="w"> </span><span class="nt">asg_name</span><span class="p">:</span><span class="w"> </span><span class="s">&quot;application-asg&quot;</span>

<span class="p p-Indicator">-</span><span class="w"> </span><span class="nt">name</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">create TargetTracking predefined policy</span>
<span class="w"> </span><span class="nt">ec2_scaling_policy</span><span class="p">:</span>
<span class="w"> </span><span class="nt">community.aws.autoscaling_policy</span><span class="p">:</span>
<span class="w"> </span><span class="nt">name</span><span class="p">:</span><span class="w"> </span><span class="s">&quot;predefined-policy-1&quot;</span>
<span class="w"> </span><span class="nt">policy_type</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">TargetTrackingScaling</span>
<span class="w"> </span><span class="nt">target_tracking_config</span><span class="p">:</span>
Expand All @@ -613,7 +613,7 @@ <h2><a class="toc-backref" href="#id5" role="doc-backlink">Examples</a><a class=
<span class="w"> </span><span class="nt">register</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">result</span>

<span class="p p-Indicator">-</span><span class="w"> </span><span class="nt">name</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">create TargetTracking predefined policy with resource_label</span>
<span class="w"> </span><span class="nt">ec2_scaling_policy</span><span class="p">:</span>
<span class="w"> </span><span class="nt">community.aws.autoscaling_policy</span><span class="p">:</span>
<span class="w"> </span><span class="nt">name</span><span class="p">:</span><span class="w"> </span><span class="s">&quot;predefined-policy-1&quot;</span>
<span class="w"> </span><span class="nt">policy_type</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">TargetTrackingScaling</span>
<span class="w"> </span><span class="nt">target_tracking_config</span><span class="p">:</span>
Expand All @@ -625,7 +625,7 @@ <h2><a class="toc-backref" href="#id5" role="doc-backlink">Examples</a><a class=
<span class="w"> </span><span class="nt">register</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">result</span>

<span class="p p-Indicator">-</span><span class="w"> </span><span class="nt">name</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">create TargetTrackingScaling custom policy</span>
<span class="w"> </span><span class="nt">ec2_scaling_policy</span><span class="p">:</span>
<span class="w"> </span><span class="nt">community.aws.autoscaling_policy</span><span class="p">:</span>
<span class="w"> </span><span class="nt">name</span><span class="p">:</span><span class="w"> </span><span class="s">&quot;custom-policy-1&quot;</span>
<span class="w"> </span><span class="nt">policy_type</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">TargetTrackingScaling</span>
<span class="w"> </span><span class="nt">target_tracking_config</span><span class="p">:</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ <h2><a class="toc-backref" href="#id5" role="doc-backlink">Examples</a><a class=
<div class="highlight-yaml+jinja notranslate"><div class="highlight"><pre><span></span><span class="c1"># Note: These examples do not set authentication details, see the AWS Guide for details.</span>

<span class="c1"># Example for creating a pipeline for continuous deploy of Github code to an ECS cluster (container)</span>
<span class="p p-Indicator">-</span><span class="w"> </span><span class="nt">community.aws.aws_codepipeline</span><span class="p">:</span>
<span class="p p-Indicator">-</span><span class="w"> </span><span class="nt">community.aws.codepipeline</span><span class="p">:</span>
<span class="w"> </span><span class="nt">name</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">my_deploy_pipeline</span>
<span class="w"> </span><span class="nt">role_arn</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">arn:aws:iam::123456:role/AWS-CodePipeline-Service</span>
<span class="w"> </span><span class="nt">artifact_store</span><span class="p">:</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -380,10 +380,10 @@ <h2><a class="toc-backref" href="#id5" role="doc-backlink">Examples</a><a class=
<div class="highlight-yaml+jinja notranslate"><div class="highlight"><pre><span></span><span class="c1"># Note: These examples do not set authentication details, see the AWS Guide for details.</span>

<span class="p p-Indicator">-</span><span class="w"> </span><span class="nt">name</span><span class="p">:</span><span class="w"> </span><span class="s">&quot;Get</span><span class="nv"> </span><span class="s">AWS</span><span class="nv"> </span><span class="s">storage</span><span class="nv"> </span><span class="s">gateway</span><span class="nv"> </span><span class="s">information&quot;</span>
<span class="w"> </span><span class="nt">community.aws.aws_sgw_info</span><span class="p">:</span>
<span class="w"> </span><span class="nt">community.aws.storagegateway_info</span><span class="p">:</span>

<span class="p p-Indicator">-</span><span class="w"> </span><span class="nt">name</span><span class="p">:</span><span class="w"> </span><span class="s">&quot;Get</span><span class="nv"> </span><span class="s">AWS</span><span class="nv"> </span><span class="s">storage</span><span class="nv"> </span><span class="s">gateway</span><span class="nv"> </span><span class="s">information</span><span class="nv"> </span><span class="s">for</span><span class="nv"> </span><span class="s">region</span><span class="nv"> </span><span class="s">eu-west-3&quot;</span>
<span class="w"> </span><span class="nt">community.aws.aws_sgw_info</span><span class="p">:</span>
<span class="w"> </span><span class="nt">community.aws.storagegateway_info</span><span class="p">:</span>
<span class="w"> </span><span class="nt">region</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">eu-west-3</span>
</pre></div>
</div>
Expand Down

0 comments on commit 1c4ebd1

Please sign in to comment.