nodepool/nodepool/tests/fixtures/aws/aws.yaml

124 lines
3.8 KiB
YAML

zookeeper-servers:
- host: {zookeeper_host}
port: {zookeeper_port}
chroot: {zookeeper_chroot}
zookeeper-tls:
ca: {zookeeper_ca}
cert: {zookeeper_cert}
key: {zookeeper_key}
tenant-resource-limits:
- tenant-name: tenant-1
max-cores: 1024
labels:
- name: ubuntu1404
- name: ubuntu1404-bad-ami-name
- name: ubuntu1404-by-filters
- name: ubuntu1404-by-capitalized-filters
- name: ubuntu1404-non-host-key-checking
- name: ubuntu1404-userdata
- name: ubuntu1404-iam-instance-profile-name
- name: ubuntu1404-iam-instance-profile-arn
- name: ubuntu1404-with-tags
- name: ubuntu1404-with-shell-type
- name: ubuntu1404-ebs-optimized
- name: ubuntu1404-imdsv2
providers:
- name: ec2-us-west-2
driver: aws
region-name: us-west-2
cloud-images:
- name: ubuntu1404
image-id: ami-1e749f67
username: ubuntu
- name: ubuntu1404-bad-ami-name
image-id: bad-ami-name
username: ubuntu
- name: ubuntu1404-by-filters
image-filters:
- name: name
values:
- ubuntu*
username: ubuntu
- name: ubuntu1404-by-capitalized-filters
image-filters:
- Name: name
Values:
- ubuntu*
username: ubuntu
- name: ubuntu1404-with-shell-type
image-id: ami-1e749f67
username: ubuntu
shell-type: csh
pools:
- name: main
max-servers: 1
subnet-id: {subnet_id}
security-group-id: {security_group_id}
node-attributes:
key1: value1
key2: value2
labels:
- name: ubuntu1404
cloud-image: ubuntu1404
instance-type: t3.medium
key-name: zuul
- name: ubuntu1404-bad-ami-name
cloud-image: ubuntu1404-bad-ami-name
instance-type: t3.medium
key-name: zuul
- name: ubuntu1404-by-filters
cloud-image: ubuntu1404-by-filters
instance-type: t3.medium
key-name: zuul
- name: ubuntu1404-by-capitalized-filters
cloud-image: ubuntu1404-by-capitalized-filters
instance-type: t3.medium
key-name: zuul
- name: ubuntu1404-userdata
cloud-image: ubuntu1404
instance-type: t3.medium
key-name: zuul
userdata: fake-user-data
- name: ubuntu1404-iam-instance-profile-name
cloud-image: ubuntu1404
instance-type: t3.medium
key-name: zuul
iam-instance-profile:
name: not-a-real-profile
- name: ubuntu1404-iam-instance-profile-arn
cloud-image: ubuntu1404
instance-type: t3.medium
key-name: zuul
iam-instance-profile:
arn: {instance_profile_arn}
- name: ubuntu1404-with-tags
cloud-image: ubuntu1404
instance-type: t3.medium
key-name: zuul
tags:
has-tags: true
Name: ignored-name
dynamic-tags:
# Note: we double the braces to deal with unit-test
# pre-processing of this file. The output and actual
# file syntax is single braces.
dynamic-tenant: "Tenant is {{request.tenant_name}}"
- name: ubuntu1404-with-shell-type
cloud-image: ubuntu1404-with-shell-type
instance-type: t3.medium
key-name: zuul
- name: ubuntu1404-ebs-optimized
cloud-image: ubuntu1404
ebs-optimized: True
instance-type: t3.medium
key-name: zuul
- name: ubuntu1404-imdsv2
cloud-image: ubuntu1404
instance-type: t3.medium
key-name: zuul
imdsv2: required