Skip to content

fargate-profile resource

Source: internal/service/eks/fargate_profile_types.go:3

Example usage:

imports: {
  aws-eks: 'github.com/cloudboss/unobin-library-aws//service/eks'
}

resources: {
  example: aws-eks.fargate-profile {
    # Set input fields here.
  }
}

Inputs

cluster-name

string

required

fargate-profile-name

string

required

pod-execution-role-arn

string

required

selector

list(object)
list(
  object({
    namespace: string
    labels: optional(map(string))
  })
)

required

subnet-ids

optional(list(string))

tags

optional(map(string))

Input Constraints

Selector rules

selector must not be empty.

Rule logic
Require
@core.length(input.selector) >= 1

Subnet ids rules

subnet-ids must not be empty when present.

Rule logic
When
input.subnet-ids != null
Require
@core.length(input.subnet-ids) >= 1

Outputs

cluster-name

string

fargate-profile-name

string

arn

string

pod-execution-role-arn

string

selector

list(object)
list(
  object({
    namespace: string
    labels: optional(map(string))
  })
)

status

string

subnet-ids

list(string)