aws::eks-fargate-profile

Creates an eks fargate profile.

Example

aws::eks-fargate-profile eks-fargate-example
    name: "fargate-profile-example"
    cluster: $(aws::eks-cluster ex)
    pod-execution-role: "arn:aws:iam::242040583208:role/EKS_FARGATE_POD_EXECUTION_ROLE"

    selector
        namespace: "example-namespace"

        labels: {
            "example-label-key": "example-label-value"
        }
    end

    subnets: [
        $(aws::subnet "subnet-example-us-east-1a"),
        $(aws::subnet "subnet-example-us-east-1b")
    ]

    tags: {
        "example-tag-key": "example-tag-value"
    }
end

Attributes

Attribute Description
name The name of the fargate profile. (Required)
cluster The cluster for which to manage the fargate profile. (Required)
pod-execution-role The pod execution role to use for pods in the fargate profile. (Required)
selector list The selectors to match for pods to use the fargate profile. (Required)
subnets set The subnets where the pods should be launched. (Required)
tags map The tags to attach to the fargate profile.

Outputs

Attribute Description
arn The Amazon Resource Number (ARN) of the fargate profile.