The AWS load balancer scheme entry

The third entry in the questions.yaml example defines whether the AWS load balancer is publicly accessible or internal to the VPC.

The third entry defines the scheme of the AWS load balancer. It contains the following fields:

  • variable: Specifies an annotation key in the service.annotations section. This annotation configures how the AWS load balancer behaves when the service type is LoadBalancer.
  • type: Specifies enum, which means that the user must select the value from a fixed set of options.
  • description: Explains that the annotation determines whether the AWS load balancer is publicly accessible or internal to the virtual private cloud (VPC).
  • options: Lists the following allowed values:
    • internet-facing: Creates a publicly accessible load balancer that exposes the service to the internet.
    • internal: Creates a private load balancer that is accessible only inside the same VPC, for internal traffic.