add AWS example
See: Id2cd819def3e83f92fcd8126a74aa19690dcf4c8 Change-Id: I19d400d260b2844779c1106c01a0a13aa27010b3
This commit is contained in:
parent
2c7f255f58
commit
e8ffcf8d27
@ -47,4 +47,14 @@ openstacksdk_user_home: /var/lib/nodepool
|
||||
openstacksdk_pip_virtualenv_python: python3
|
||||
openstacksdk_pip_virtualenv: /opt/venv/nodepool-untagged
|
||||
|
||||
openstacksdk_file_clouds_yaml_src: "{{ windmill_config_git_dest }}/nodepool/clouds.yaml.j2"
|
||||
openstacksdk_file_clouds_yaml_src: "{{ windmill_config_git_dest }}/nodepool/openstack/clouds.yaml.j2"
|
||||
|
||||
# windmill.goto3
|
||||
boto3_user_name: nodepool
|
||||
boto3_user_group: nodepool
|
||||
boto3_user_home: /var/lib/nodepool
|
||||
|
||||
boto3_pip_virtualenv_python: python3
|
||||
boto3_pip_virtualenv: /opt/venv/nodepool-untagged
|
||||
|
||||
boto3_file_credentials_src: "{{ windmill_config_git_dest }}/nodepool/aws/credentials.j2"
|
||||
|
1
nodepool/aws/credentials.j2
Normal file
1
nodepool/aws/credentials.j2
Normal file
@ -0,0 +1 @@
|
||||
# Default template for ~/.aws/credentials
|
@ -23,6 +23,23 @@ providers:
|
||||
diskimage: ubuntu-bionic
|
||||
min-ram: 8192
|
||||
console-log: true
|
||||
- name: ec2-us-east-2
|
||||
driver: aws
|
||||
region-name: us-east-2
|
||||
cloud-images:
|
||||
- name: ubuntu-bionic
|
||||
image-id: ami-07c1207a9d40bc3bd
|
||||
username: ec2-user
|
||||
pools:
|
||||
- name: main
|
||||
max-servers: 5
|
||||
subnet-id: subnet-0eb42065e8c196f38
|
||||
security-group-id: sg-0dea0b7beee7f8b88
|
||||
labels:
|
||||
- name: ubuntu-bionic
|
||||
cloud-image: ubuntu-bionic
|
||||
instance-type: t2.small
|
||||
key-name: zuul
|
||||
|
||||
diskimages:
|
||||
- name: ubuntu-bionic
|
||||
|
Loading…
x
Reference in New Issue
Block a user