Skip to content

Commit

Permalink
Convert example_eks_with_fargate_in_one_step.py and example_eks_with_…
Browse files Browse the repository at this point in the history
…fargate_profile to AIP-47 (#26537)

Co-authored-by: ferruzzi <ferruzzi@amazon.com>
  • Loading branch information
vincbeck and ferruzzi committed Sep 21, 2022
1 parent 378dfbe commit d095136
Show file tree
Hide file tree
Showing 7 changed files with 532 additions and 249 deletions.

This file was deleted.

This file was deleted.

8 changes: 4 additions & 4 deletions docs/apache-airflow-providers-amazon/operators/eks.rst
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ Note: An AWS IAM role with the following permissions is required:
``AmazonEKSClusterPolicy`` IAM Policy must be attached
``AmazonEKSWorkerNodePolicy`` IAM Policy must be attached

.. exampleinclude:: /../../airflow/providers/amazon/aws/example_dags/example_eks_with_fargate_in_one_step.py
.. exampleinclude:: /../../tests/system/providers/amazon/aws/example_eks_with_fargate_in_one_step.py
:language: python
:dedent: 4
:start-after: [START howto_operator_eks_create_cluster_with_fargate_profile]
Expand Down Expand Up @@ -160,7 +160,7 @@ Note: An AWS IAM role with the following permissions is required:
``AmazonEC2ContainerRegistryReadOnly`` IAM Policy must be attached
``AmazonEKSWorkerNodePolicy`` IAM Policy must be attached

.. exampleinclude:: /../../airflow/providers/amazon/aws/example_dags/example_eks_with_fargate_profile.py
.. exampleinclude:: /../../tests/system/providers/amazon/aws/example_eks_with_fargate_profile.py
:language: python
:dedent: 4
:start-after: [START howto_operator_eks_create_fargate_profile]
Expand All @@ -174,7 +174,7 @@ Delete an AWS Fargate Profile
To delete an existing AWS Fargate Profile you can use
:class:`~airflow.providers.amazon.aws.operators.eks.EksDeleteFargateProfileOperator`.

.. exampleinclude:: /../../airflow/providers/amazon/aws/example_dags/example_eks_with_fargate_profile.py
.. exampleinclude:: /../../tests/system/providers/amazon/aws/example_eks_with_fargate_profile.py
:language: python
:dedent: 4
:start-after: [START howto_operator_eks_delete_fargate_profile]
Expand Down Expand Up @@ -235,7 +235,7 @@ Wait on an AWS Fargate profile state
To check the state of an AWS Fargate profile until it reaches the target state or another terminal
state you can use :class:`~airflow.providers.amazon.aws.sensors.eks.EksFargateProfileSensor`.

.. exampleinclude:: /../../airflow/providers/amazon/aws/example_dags/example_eks_with_fargate_profile.py
.. exampleinclude:: /../../tests/system/providers/amazon/aws/example_eks_with_fargate_profile.py
:language: python
:dedent: 4
:start-after: [START howto_sensor_eks_fargate]
Expand Down
1 change: 1 addition & 0 deletions docs/spelling_wordlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -924,6 +924,7 @@ namespace
namespaced
namespaces
NaN
nat
natively
navbar
nd
Expand Down
Loading

0 comments on commit d095136

Please sign in to comment.