eks_fargate_profile
Create and delete Amazon EKS Fargate profiles
Collection: community.aws
Full Name: community.aws.eks_fargate_profile
Synopsis
Create and delete Amazon EKS Fargate profiles
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| access_key | str | |||
| aws_ca_bundle | path | |||
| aws_config | dict | |||
| cluster_name | str | yes | ||
| debug_botocore_endpoint_logs | bool | false | ||
| endpoint_url | str | |||
| name | str | yes | ||
| profile | str | |||
| purge_tags | bool | true | ||
| region | str | |||
| role_arn | str | |||
| secret_key | str | |||
| selectors | list | |||
| session_token | str | |||
| state | str | present | ||
| subnets | list | |||
| tags | dict | |||
| validate_certs | bool | true | ||
| wait | bool | false | ||
| wait_timeout | int | 1200 |
Example
yaml
- name: Create an EKS Fargate Profile
community.aws.eks_fargate_profile:
name: test_fargate
cluster_name: test_cluster
role_arn: my_eks_role
subnets:
- subnet-aaaa1111
selectors:
- namespace: nm-test
labels:
- label1: test
state: present
wait: true
- name: Remove an EKS Fargate Profile
community.aws.eks_fargate_profile:
name: test_fargate
cluster_name: test_cluster
wait: true
state: absent